Partilhar via


INativeImageDependency::GetNativeAssemblyDef Method

Gets the native image that corresponds to the managed assembly in the current metadata scope.

HRESULT GetNativeAssemblyDef (
      [out] CORCOMPILE_NGEN_SIGNATURE   *pNativeSign
); 

Parameters

  • 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

See Also

Concepts

INativeImageDependency Interface