Partilhar via


INativeImageEvaluate Interface

Provides a callback method to determine whether native images can be used by the common language runtime.

interface INativeImageEvaluate : IUnknown {
        
    HRESULT Evaluate (
        IAssembly    *pILAssembly,
        IAssembly    *pNativeAssembly,
        BYTE         *pbCachedData,
        DWORD        dwDataSize
    );
        
};

Methods

Method

Description

INativeImageEvalute::Evaluate Method

Gets a value that indicates whether the specified native image can be used with the specified managed assembly.

Remarks

The Evaluate method must be called before either the managed or the native assembly is loaded.

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

Metadata Interfaces