Share via


INativeImageInstallInfo::GetEvaluationDataToCache Method

Gets the data to be used for the evaluation of the native image.

HRESULT GetEvaluationDataToCache (
      [out] BYTE            *ppbBuffer,
      [in, out] DWORD        *pdwBufferSize
);

Parameters

  • 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, 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

See Also

Concepts

INativeImageInstallInfo Interface