INativeImageEvalute::Evaluate Method
Gets a value that indicates whether the specified native image can be used with the specified managed assembly.
HRESULT Evaluate (
[in] IAssembly *pILAssembly,
[in] IAssembly *pNativeAssembly,
[in] BYTE *pbCachedData,
[in] DWORD dwDataSize
);
Parameters
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