Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataAssemblyImport::EnumFiles method

Enumerates the files referenced in the current assembly manifest.

Syntax


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

Parameters

phEnum [in, out]

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

rFiles [out]

The array used to store the mdFile metadata tokens.

cMax [in]

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

pcTokens [out]

The number of mdFile tokens actually placed in rFiles.

Return value

HRESULTDescription
S_OKEnumFiles returned successfully.
S_FALSEThere are no tokens to enumerate. In this case, pcTokens is set to zero.

 

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataAssemblyImport

 

 

Show:
© 2017 Microsoft