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.

IMetaDataImport::GetModuleRefProps method

Gets the name of the module referenced by the specified metadata token.

Syntax


HRESULT GetModuleRefProps(
  [in]                                         mdModuleRef tkModuleRef,
  [out, size_is(cchName), length_is(*pchName)] LPWSTR      szName,
  [in]                                         ULONG       cchName,
  [out]                                        ULONG       *pchName
);

Parameters

tkModuleRef [in]

The ModuleRef metadata token that references the module to get metadata information for.

szName [out]

A buffer to hold the module name.

cchName [in]

The requested size of szName in wide characters.

pchName [out]

The returned size of szName in wide characters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show: