IMetaDataAssemblyImport::EnumFiles method (rometadataapi.h)
Enumerates the files referenced in the current assembly manifest.
Syntax
HRESULT EnumFiles(
[in, out] HCORENUM *phEnum,
[out] mdFile [] rFiles,
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be a null value for the first call of this method.
[out] rFiles
The array used to store the mdFile metadata tokens.
[in] cMax
The maximum number of mdFile tokens that can be placed in rFiles.
[out] pcTokens
The number of mdFile tokens actually placed in rFiles.
Return value
HRESULT | Description |
---|---|
S_OK | EnumFiles returned successfully. |
S_FALSE | There are no tokens to enumerate. In this case, pcTokens is set to zero. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |