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 ModuleRef tokens that represent imported modules.
Syntax
HRESULT EnumModuleRefs (
[in, out] HCORENUM *phEnum,
[out] mdModuleRef rModuleRefs[],
[in] ULONG cMax,
[out] ULONG *pcModuleRefs
);
Parameters
phEnum
[in, out] A pointer to the enumerator. This must be NULL for the first call of this method.
rModuleRefs
[out] The array used to store the ModuleRef tokens.
cMax
[in] The maximum size of the rModuleRefs array.
pcModuleRefs
[out] The number of ModuleRef tokens returned in rModuleRefs.
Return Value
| HRESULT | Description |
|---|---|
S_OK |
EnumModuleRefs returned successfully. |
S_FALSE |
There are no tokens to enumerate. In that case, pcModuleRefs is zero. |
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib