IDebugClient5::IsKernelDebuggerEnabled method (dbgeng.h)

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

Syntax

HRESULT IsKernelDebuggerEnabled();

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

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

See also

AttachKernel

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5