Delen 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: 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

See Also

Reference

INativeImageInstallInfo Interface