19#define pKdSendPacket KdSendPacket
22#define pKdReceivePacket KdReceivePacket
42 DebugIo->ApiNumber = ApiNumber;
43 DebugIo->ProcessorLevel = 0;
47 DebugIo->u.PrintString.LengthOfString =
Length;
49 DebugIo->u.GetString.LengthOfPromptString =
Length;
51 Header->Length =
sizeof(*DebugIo);
91 Header.MaximumLength =
sizeof(DebugIo);
92 Data.MaximumLength = ResponseString->MaximumLength;
94 Data.Buffer = ResponseString->Buffer;
130 ResponseString->Length = 0;
135 return ResponseString->Length;
190 PromptString.
Buffer = Prompt;
194 ResponseBuffer.Buffer =
Buffer;
195 ResponseBuffer.Length = 0;
static VOID KdbPrintStringWorker(_In_ const CSTRING *Output, _In_ ULONG ApiNumber, _Inout_ PDBGKD_DEBUG_IO DebugIo, _Inout_ PSTRING Header, _Inout_ PSTRING Data)
VOID KdbPrintString(_In_ const CSTRING *Output)
USHORT KdbPromptString(_In_ const CSTRING *PromptString, _Inout_ PSTRING ResponseString)
static BOOLEAN KdbPromptStringWorker(_In_ const CSTRING *PromptString, _Inout_ PSTRING ResponseString)
VOID KdbPuts(_In_ PCSTR String)
VOID KdbPutsN(_In_ PCCH String, _In_ USHORT Length)
VOID __cdecl KdbPrintf(_In_ PCSTR Format,...)
static KD_CONTEXT KdbgKdContext
SIZE_T KdbPrompt(_In_ PCSTR Prompt, _Out_ PCHAR Buffer, _In_ SIZE_T Size)
FORCEINLINE struct _KPRCB * KeGetCurrentPrcb(VOID)
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define KdPacketNeedsResend
DBGKD_GET_STRING GetString
union _DBGKD_DEBUG_IO::@3546 u
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
#define DbgKdPrintStringApi
#define DbgKdGetStringApi
#define PACKET_TYPE_KD_DEBUG_IO
void int int ULONGLONG int va_list * ap