INativeImageEvalute::Evaluate Method
Gets a value that indicates whether the specified native image can be used with the specified managed assembly.
HRESULT Evaluate (
IAssembly *pILAssembly,
IAssembly *pNativeAssembly,
BYTE *pbCachedData,
DWORD dwDataSize
);
Parameters
Parameter | Description |
---|---|
pILAssembly |
[in] The managed assembly for which to determine whether the native image can be used. |
pNativeAssembly |
[in] The native image to check for usability. |
pbCachedData |
[in] The information that was cached when the native image was created. |
dwDataSize |
[in] The size, in bytes, of pbCachedData. |
Return Value
HRESULT | Description |
---|---|
S_OK |
The native image can be used with the managed assembly. |
S_FALSE |
The native image cannot be used with the managed assembly. |
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