INativeImageInstallInfo Interface
Provides methods to enable callers to get and cache information about a native image. This provides 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: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0