开发者

property or method by DISPID

开发者 https://www.devze.com 2022-12-11 23:09 出处:网络
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 fo

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

精彩评论

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