INativeImageInstallInfo::GetEvaluationDataToCache Method
Gets the data to be used for the evaluation of the native image.
HRESULT GetEvaluationDataToCache (
BYTE *ppbBuffer,
DWORD *pdwBufferSize
);
Parameters
Parameter | Description |
---|---|
ppbBuffer |
[out] A buffer to hold the evaluation data. |
pdwBufferSize |
[in, out] On input, the size in bytes of ppbBuffer; on output, the size in bytes of the returned evaluation data. |
Return Value
HRESULT | Description |
---|---|
S_OK |
The GetEvaluationDataToCache method returned successfully. |
ERROR_INSUFFICIENT_BUFFER |
The ppbBuffer buffer is not large enough to store the evaluation data. |
Remarks
After the native image is validated by using the information retrieved with the INativeImageInstallInfo::GetConfigString Method method, the common language runtime (CLR) will use the data returned by GetEvaluationDataToCache in ppbBuffer to determine whether the native image can be used.
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