INativeImageDependency::GetNativeAssemblyDef Method
Gets the native image that corresponds to the managed assembly in the current metadata scope.
HRESULT GetNativeAssemblyDef (
CORCOMPILE_NGEN_SIGNATURE *pNativeSign
);
Parameters
Parameter | Description |
---|---|
pNativeSign |
[out] A pointer to the signature for the native image that corresponds to the managed assembly in the current metadata scope. |
Return Value
HRESULT | Description |
---|---|
S_OK |
GetNativeAssemblyDef returned successfully. |
INVALID_NGEN_SIGNATURE |
No hard-bound native image signature exists for the managed assembly in the current metadata scope. |
Requirements
Platforms: Windows 2000, Windows XP, Windows Server 2003 family
Header: Cor.h
Library: Used as a resource in Mscoree.dll
.NET Framework Version: 2.0