Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enumerates all interfaces implemented by the specified TypeDef
.
Syntax
HRESULT EnumInterfaceImpls (
[in, out] HCORENUM *phEnum,
[in] mdTypeDef td,
[out] mdInterfaceImpl rImpls[],
[in] ULONG cMax,
[out] ULONG* pcImpls
);
Parameters
phEnum
[in, out] A pointer to the enumerator.
td
[in] The token of the TypeDef whose MethodDef tokens representing interface implementations are to be enumerated.
rImpls
[out] The array used to store the MethodDef tokens.
cMax
[in] The maximum length of the rImpls
array.
pcImpls
[out] 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 that case, pcImpls is set to zero. |
Remarks
The enumeration returns a collection of mdInterfaceImpl
tokens for each interface implemented by the specified TypeDef
. Interface tokens are returned in the order the interfaces were specified (through DefineTypeDef
or SetTypeDefProps
). Properties of the returned mdInterfaceImpl
tokens can be queried using GetInterfaceImplProps.
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0