ReactOS  0.4.15-dev-1392-g3014417
kdros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

FORCEINLINE VOID KdRosSetDebugCallback (ULONG Id, PVOID Callback)
 
FORCEINLINE VOID KdRosDumpStackFrames (ULONG Count, PULONG_PTR Backtrace)
 

Function Documentation

◆ KdRosDumpStackFrames()

FORCEINLINE VOID KdRosDumpStackFrames ( ULONG  Count,
PULONG_PTR  Backtrace 
)

Definition at line 41 of file kdros.h.

44 {
45  KdSystemDebugControl('DsoR', Backtrace, Count, 0, 0, 0, 0);
46 }
int Count
Definition: noreturn.cpp:7
NTSTATUS NTAPI KdSystemDebugControl(_In_ SYSDBG_COMMAND Command, _In_ PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_ PVOID OutputBuffer, _In_ ULONG OutputBufferLength, _Inout_ PULONG ReturnLength, _In_ KPROCESSOR_MODE PreviousMode)
Definition: kdapi.c:2152

◆ KdRosSetDebugCallback()

FORCEINLINE VOID KdRosSetDebugCallback ( ULONG  Id,
PVOID  Callback 
)

Definition at line 32 of file kdros.h.

35 {
36  KdSystemDebugControl('CsoR', Callback, Id, 0, 0, 0, 0);
37 }
DWORD Id
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:456
NTSTATUS NTAPI KdSystemDebugControl(_In_ SYSDBG_COMMAND Command, _In_ PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_ PVOID OutputBuffer, _In_ ULONG OutputBufferLength, _Inout_ PULONG ReturnLength, _In_ KPROCESSOR_MODE PreviousMode)
Definition: kdapi.c:2152