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::GetModuleFromScope method

Gets a metadata token for the module referenced in the current metadata scope.

Syntax


HRESULT GetModuleFromScope(
  [out] mdModule *ptkModule
);

Parameters

ptkModule [out]

A pointer to the token representing the module referenced in the current metadata scope.

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: