2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/ex/dbgctrl.c
5 * PURPOSE: System debug control
6 * PROGRAMMERS: Alex Ionescu
9 /* INCLUDES *****************************************************************/
13 #include <internal/debug.h>
15 /* FUNCTIONS *****************************************************************/
20 NtQueryDebugFilterState(ULONG ComponentId
,
23 return STATUS_SUCCESS
;
29 NtSetDebugFilterState(ULONG ComponentId
,
33 return STATUS_SUCCESS
;
37 * @name NtSystemDebugControl
40 * Perform various queries to debugger.
41 * This API is subject to test-case creation to further evaluate its
42 * abilities (if needed to at all)
44 * See: http://www.osronline.com/showthread.cfm?link=93915
45 * http://void.ru/files/Ntexapi.h
46 * http://www.codeguru.com/code/legacy/system/ntexapi.zip
47 * http://www.securityfocus.com/bid/9694
50 * Description of the parameter. Wrapped to more lines on ~70th
56 * @param InputBufferLength
62 * @param OutputBufferLength
68 * @return STATUS_SUCCESS in case of success, proper error code otherwise
75 NtSystemDebugControl(SYSDBG_COMMAND ControlCode
,
77 ULONG InputBufferLength
,
79 ULONG OutputBufferLength
,
84 case SysDbgQueryTraceInformation
:
85 case SysDbgSetTracepoint
:
86 case SysDbgSetSpecialCall
:
87 case SysDbgClearSpecialCalls
:
88 case SysDbgQuerySpecialCalls
:
89 case SysDbgBreakPoint
:
92 case SysDbgQueryVersion
:
99 return STATUS_SUCCESS
;