IMetaDataAssemblyImport::EnumFiles method (rometadataapi.h)

Enumerates the files referenced in the current assembly manifest.

Syntax

HRESULT EnumFiles(
  HCORENUM  *phEnum,
  mdFile [] rFiles,
  ULONG     cMax,
  ULONG     *pcTokens
);

Parameters

phEnum

A pointer to the enumerator. This must be a null value for the first call of this method.

rFiles

The array used to store the mdFile metadata tokens.

cMax

The maximum number of mdFile tokens that can be placed in rFiles.

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

   
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataAssemblyImport