IMetaDataImport::GetModuleFromScope method (rometadataapi.h)

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

Syntax

HRESULT GetModuleFromScope(
  [out] mdModule *ptkModule
);

Parameters

[out] ptkModule

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

Requirement Value
Target Platform Windows
Header rometadataapi.h

See also

IMetaDataImport