IDebugClient5::IsKernelDebuggerEnabled method

The IsKernelDebuggerEnabled method checks whether kernel debugging is enabled for the local kernel.

Syntax

HRESULT IsKernelDebuggerEnabled(

);

Parameters

This function has no parameters.

Return Value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
Kernel debugging is enabled for the local kernel.
S_FALSE
Kernel debugging is not enabled for the local kernel.

Remarks

Kernel debugging is available for the local computer if the computer was booted by using the /debug boot switch. In some Windows installations, local kernel debugging is supported when other switches--such as /debugport--are used, but this is not a guaranteed feature of Windows and should not be relied on. For more information about kernel debugging on a single computer, see Performing Local Kernel Debugging.

For more information about connecting to live kernel-mode targets, see Live Kernel-Mode Targets.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

AttachKernel

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5