ICorDebugProcess2::GetDesiredNGENCompilerFlags Method

Gets the current compiler flag settings that the common language runtime (CLR) uses to select the correct precompiled (that is, native) image to be loaded into this process.

Syntax

HRESULT GetDesiredNGENCompilerFlags (
    [out] DWORD   *pdwFlags
);

Parameters

pdwFlags [out] A pointer to a bitwise combination of the CorDebugJITCompilerFlags enumeration values that are used to select the correct precompiled image to be loaded.

Remarks

Use the ICorDebugProcess2::SetDesiredNGENCompilerFlags method to set the flags that the CLR will use to select the correct pre-compiled image to load.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0