2005-04-23 06:45:56 +00:00
|
|
|
/*
|
2006-06-28 14:02:39 +00:00
|
|
|
* PROJECT: ReactOS Kernel
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
2005-04-23 06:45:56 +00:00
|
|
|
* FILE: ntoskrnl/ex/dbgctrl.c
|
|
|
|
* PURPOSE: System debug control
|
2006-06-28 14:02:39 +00:00
|
|
|
* PROGRAMMERS: Alex Ionescu
|
2005-04-23 06:45:56 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
|
|
|
|
#include <ntoskrnl.h>
|
|
|
|
#define NDEBUG
|
2008-08-30 16:31:06 +00:00
|
|
|
#include <debug.h>
|
2005-04-23 06:45:56 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS *****************************************************************/
|
|
|
|
|
2006-06-28 14:02:39 +00:00
|
|
|
/*++
|
|
|
|
* @name NtSystemDebugControl
|
|
|
|
* @implemented
|
|
|
|
*
|
|
|
|
* Perform various queries to debugger.
|
|
|
|
* This API is subject to test-case creation to further evaluate its
|
|
|
|
* abilities (if needed to at all)
|
|
|
|
*
|
|
|
|
* See: http://www.osronline.com/showthread.cfm?link=93915
|
|
|
|
* http://void.ru/files/Ntexapi.h
|
|
|
|
* http://www.codeguru.com/code/legacy/system/ntexapi.zip
|
|
|
|
* http://www.securityfocus.com/bid/9694
|
|
|
|
*
|
|
|
|
* @param ControlCode
|
|
|
|
* Description of the parameter. Wrapped to more lines on ~70th
|
|
|
|
* column.
|
|
|
|
*
|
|
|
|
* @param InputBuffer
|
|
|
|
* FILLME
|
|
|
|
*
|
|
|
|
* @param InputBufferLength
|
|
|
|
* FILLME
|
|
|
|
*
|
|
|
|
* @param OutputBuffer
|
|
|
|
* FILLME
|
|
|
|
*
|
|
|
|
* @param OutputBufferLength
|
|
|
|
* FILLME
|
|
|
|
*
|
|
|
|
* @param ReturnLength
|
|
|
|
* FILLME
|
|
|
|
*
|
|
|
|
* @return STATUS_SUCCESS in case of success, proper error code otherwise
|
|
|
|
*
|
|
|
|
* @remarks None
|
|
|
|
*
|
|
|
|
*--*/
|
2005-05-09 01:38:29 +00:00
|
|
|
NTSTATUS
|
2006-06-28 14:02:39 +00:00
|
|
|
NTAPI
|
2006-05-10 17:47:44 +00:00
|
|
|
NtSystemDebugControl(SYSDBG_COMMAND ControlCode,
|
2005-04-23 06:45:56 +00:00
|
|
|
PVOID InputBuffer,
|
|
|
|
ULONG InputBufferLength,
|
|
|
|
PVOID OutputBuffer,
|
|
|
|
ULONG OutputBufferLength,
|
|
|
|
PULONG ReturnLength)
|
|
|
|
{
|
2007-03-05 01:35:43 +00:00
|
|
|
/* FIXME: TODO */
|
2005-04-23 06:45:56 +00:00
|
|
|
return STATUS_SUCCESS;
|
|
|
|
}
|