Skip to content

Latest commit

 

History

History
68 lines (54 loc) · 2.1 KB

nf-wdm-kddisabledebugger.md

File metadata and controls

68 lines (54 loc) · 2.1 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdm.KdDisableDebugger
KdDisableDebugger function (wdm.h)
The KdDisableDebugger routine disables the kernel debugger.
devtest\kddisabledebugger.htm
devtest
02/23/2018
KdDisableDebugger function
DebugFns_e280d38c-6f87-4540-a782-d7669815a0f5.xml, KdDisableDebugger, KdDisableDebugger routine [Driver Development Tools], devtest.kddisabledebugger, wdm/KdDisableDebugger
wdm.h
Wdm.h
Universal
Available in Microsoft Windows 2000 and later versions of Windows.
NtosKrnl.lib
NtosKrnl.exe
Any level
Windows
KdDisableDebugger
wdm/KdDisableDebugger
APIRef
kbSyntax
DllExport
NtosKrnl.exe
KdDisableDebugger

KdDisableDebugger function

-description

The KdDisableDebugger routine disables the kernel debugger.

-returns

KdDisableDebugger returns STATUS_SUCCESS if the kernel debugger was successfully disabled. Otherwise, the return value can be one of the following error status codes:

STATUS_ACCESS_DENIED

STATUS_DEBUGGER_INACTIVE

-remarks

If the operating system was booted with no debug controls, KdDisableDebugger returns STATUS_DEBUGGER_INACTIVE.

If the kernel debugger is blocked (that is, the KdBlockEnable system variable is set to a value other than FALSE), KdDisableDebugger returns STATUS_ACCESS_DENIED.

After a caller calls KdDisableDebugger to disable the kernel debugger, the caller can call the KdEnableDebugger routine to re-enable the kernel debugger.

-see-also

KdEnableDebugger