Pastaba.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti prisijungti arba pakeisti katalogus.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti pakeisti katalogus.
Enumerates ModuleRef tokens that represent imported modules.
Syntax
HRESULT EnumModuleRefs(
[in, out] HCORENUM *phEnum,
[out] mdModuleRef [] rgModuleRefs,
[in] ULONG cMax,
[out] ULONG *pcModuleRefs
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be NULL for the first call of this method.
[out] rgModuleRefs
The array used to store the ModuleRef tokens.
[in] cMax
The maximum size of the rgModuleRefs array.
[out] pcModuleRefs
The number of ModuleRef tokens returned in rgModuleRefs.
Return value
| HRESULT | Description |
|---|---|
| S_OK | EnumModuleRefs returned successfully. |
| S_FALSE | There are no tokens to enumerate. In this case, pcModuleRefs is 0 (zero). |
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |