IMetaDataImport::GetNativeCallConvFromSig method (rometadataapi.h)

Gets the native calling convention for the method that is represented by the specified signature pointer.

Syntax

HRESULT GetNativeCallConvFromSig(
  [in]  const BYTE *pvSig,
  [in]  ULONG      cbSig,
  [out] ULONG      *pCallConv
);

Parameters

[in] pvSig

A pointer to the metadata signature of the method to return the calling convention for.

[in] cbSig

The size in bytes of const.

[out] pCallConv

A pointer to the native calling convention.

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