Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Enumerates MethodDef tokens representing interface implementations.
Syntax
HRESULT EnumInterfaceImpls(
[in, out] HCORENUM *phEnum,
[in] mdTypeDef td,
[out] mdInterfaceImpl [] rImpls,
[in] ULONG cMax,
[out, retval] ULONG *pcImpls
);
Parameters
[in, out] phEnum
A pointer to the enumerator.
[in] td
The token of the TypeDef whose MethodDef tokens representing interface implementations are to be enumerated.
[out] rImpls
The array used to store the MethodDef tokens.
[in] cMax
The maximum size of the rImpls array.
[out, retval] pcImpls
The actual number of tokens returned in rImpls.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumInterfaceImpls returned successfully. |
| S_FALSE | There are no MethodDef tokens to enumerate. In this case, pcImpls is 0 (zero). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |