23#if (NTDDI_VERSION >= NTDDI_WIN2K)
32#if (NTDDI_VERSION >= NTDDI_WINXP)
43#ifdef _VA_LIST_DEFINED
83#if (NTDDI_VERSION >= NTDDI_VISTA)
104#define KdPrint(_x_) DbgPrint _x_
105#define KdPrintEx(_x_) DbgPrintEx _x_
106#define vKdPrintEx(_x_) vDbgPrintEx _x_
107#define vKdPrintExWithPrefix(_x_) vDbgPrintExWithPrefix _x_
108#define KdBreakPoint() DbgBreakPoint()
109#define KdBreakPointWithStatus(s) DbgBreakPointWithStatus(s)
114#define KdPrintEx(_x_)
115#define vKdPrintEx(_x_)
116#define vKdPrintExWithPrefix(_x_)
117#define KdBreakPoint()
118#define KdBreakPointWithStatus(s)
124#define KD_DEBUGGER_ENABLED KdDebuggerEnabled
126#define KD_DEBUGGER_NOT_PRESENT KdDebuggerNotPresent
130#define KD_DEBUGGER_ENABLED (*KdDebuggerEnabled)
133#define KD_DEBUGGER_NOT_PRESENT (*KdDebuggerNotPresent)
136#if (NTDDI_VERSION >= NTDDI_WIN2K)
148#if (_MSC_FULL_VER >= 150030729) && !defined(IMPORT_NATIVE_DBG_BREAK)
149#define DbgBreakPoint __debugbreak
166#if (NTDDI_VERSION >= NTDDI_WS03)
173#if (NTDDI_VERSION >= NTDDI_WS03SP1)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 ComponentId
NTSYSAPI ULONG NTAPI vDbgPrintEx(_In_ ULONG ComponentId, _In_ ULONG Level, _In_z_ PCCH Format, _In_ va_list ap)
NTSYSAPI NTSTATUS WINAPI vDbgPrintExWithPrefix(LPCSTR, ULONG, ULONG, LPCSTR, __ms_va_list)
NTSYSAPI void WINAPI DbgBreakPoint(void)
#define DbgPrintEx(cmpid, lvl, fmt,...)
NTSYSAPI ULONG NTAPI DbgPrompt(_In_z_ PCCH Prompt, _Out_writes_bytes_(MaximumResponseLength) PCH Response, _In_ ULONG MaximumResponseLength)
#define _Out_writes_bytes_(s)
#define _Printf_format_string_
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
_In_ UCHAR _In_ ULONG _Out_ PUCHAR _Outptr_result_bytebuffer_ OutBufferLength PVOID * OutBuffer
#define __analysis_noreturn
#define __CREATE_NTOS_DATA_IMPORT_ALIAS(_Name)
void int int ULONGLONG int va_list * ap
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
$endif(_NTDDK_) $if(_WDMDDK_) ULONG __cdecl DbgPrint(_In_z_ _Printf_format_string_ PCSTR Format
NTSYSAPI NTSTATUS NTAPI DbgSetDebugFilterState(_In_ ULONG ComponentId, _In_ ULONG Level, _In_ BOOLEAN State)
NTSYSAPI NTSTATUS NTAPI DbgSetDebugPrintCallback(_In_ PDEBUG_PRINT_CALLBACK DebugPrintCallback, _In_ BOOLEAN Enable)
NTSYSAPI ULONG __cdecl DbgPrintReturnControlC(_In_z_ _Printf_format_string_ PCCH Format,...)
NTKERNELAPI BOOLEAN NTAPI KdRefreshDebuggerNotPresent(VOID)
_In_ ULONG MaximumResponseLength
BOOLEAN * KdDebuggerEnabled
__analysis_noreturn NTSYSAPI VOID NTAPI DbgBreakPointWithStatus(_In_ ULONG Status)
VOID(* PDEBUG_PRINT_CALLBACK)(_In_ PSTRING Output, _In_ ULONG ComponentId, _In_ ULONG Level)
$if(_NTDDK_) NTSYSAPI ULONG NTAPI DbgPrompt(_In_z_ PCCH Prompt
NTSYSAPI NTSTATUS NTAPI DbgQueryDebugFilterState(_In_ ULONG ComponentId, _In_ ULONG Level)
NTKERNELAPI NTSTATUS NTAPI KdEnableDebugger(VOID)
NTKERNELAPI NTSTATUS NTAPI KdDisableDebugger(VOID)
BOOLEAN * KdDebuggerNotPresent
NTKERNELAPI NTSTATUS NTAPI KdChangeOption(_In_ KD_OPTION Option, _In_opt_ ULONG InBufferBytes, _In_ PVOID InBuffer, _In_opt_ ULONG OutBufferBytes, _Out_ PVOID OutBuffer, _Out_opt_ PULONG OutBufferNeeded)
enum _KD_OPTION KD_OPTION
_In_ __drv_aliasesMem PSTRING Prefix