INativeImageInstallInfo Interface
Provides methods to allow callers to get and cache information about a native image. This allows direct binding to the native image, rather than through a corresponding managed assembly.
interface INativeImageInstallInfo : IUnknown {
HRESULT EnumDependencies (
HCORENUM *phEnum,
INativeImageDependency *rDeps[],
ULONG cMax,
DWORD *pdwCount
);
HRESULT GetConfigMask (
DWORD *pConfigMask
);
HRESULT GetConfigString (
LPWSTR szConfigString,
DWORD *pdwLength
);
HRESULT GetEvaluationDataToCache (
BYTE *ppbBuffer,
DWORD *pdwBufferSize
);
HRESULT GetILSignature (
CORCOMPILE_ASSEMBLY_SIGNATURE *pILSign
);
HRESULT GetILStrongSignature (
BYTE *pbSig,
DWORD *pcbSig
);
HRESULT GetSignature (
CORCOMPILE_NGEN_SIGNATURE *pNgenSign
);
};
Methods
Method | Description |
---|---|
Gets an enumerator for the assemblies upon which the current native image is dependent. |
|
Gets a mask of the currently cached native image to be used for partial matching. |
|
Gets a string that contains information about the contents, dependencies, and assumptions of the native image. |
|
Gets the data to be used for evaluation of the native image. |
|
Gets the signature of the Microsoft intermediate language (MSIL) assembly. |
|
Gets the strong-named signature of the managed assembly. |
|
Gets the signature of the native image. |
Remarks
The IMetaDataAssemblyImport Interface interface can be queried for the INativeImageInstallInfo interface.
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