开发者

property or method by DISPID

Is it possib开发者_StackOverflow社区le to know if a given DISPID (result of GetIDsOfNames) is either a method, a property getter or setter ?


You can tell this by obtaining the INVOKEKIND enumeration for the DISPID. Take a look at ITypeInfo::GetFuncDesc. For an example how to do this check out the implementation of the ATL function AtlGetFuncInfoFromId.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜