Fixes a problem reported by WaxDragon when acquiring the nameserver address
[reactos.git] / reactos / ntoskrnl / kdbg / dbgctrl.c
1 /* $Id:$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * FILE: ntoskrnl/dbg/dbgctrl.c
6 * PURPOSE: System debug control
7 *
8 * PROGRAMMERS: No programmer listed.
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <ntoskrnl.h>
14 #define NDEBUG
15 #include <internal/debug.h>
16
17 /* FUNCTIONS *****************************************************************/
18
19 /*
20 * @unimplemented
21 */
22 NTSTATUS
23 STDCALL
24 DbgLoadImageSymbols(
25 IN PUNICODE_STRING Name,
26 IN ULONG Base,
27 IN ULONG Unknown3
28 )
29 {
30 UNIMPLEMENTED;
31 return STATUS_NOT_IMPLEMENTED;
32 }
33
34
35 NTSTATUS STDCALL
36 NtSystemDebugControl(DEBUG_CONTROL_CODE ControlCode,
37 PVOID InputBuffer,
38 ULONG InputBufferLength,
39 PVOID OutputBuffer,
40 ULONG OutputBufferLength,
41 PULONG ReturnLength)
42 {
43 switch (ControlCode) {
44 case DebugGetTraceInformation:
45 case DebugSetInternalBreakpoint:
46 case DebugSetSpecialCall:
47 case DebugClearSpecialCalls:
48 case DebugQuerySpecialCalls:
49 case DebugDbgBreakPoint:
50 break;
51 case DebugDbgLoadSymbols:
52 KDB_LOADUSERMODULE_HOOK((PLDR_MODULE) InputBuffer);
53 break;
54 default:
55 break;
56 }
57 return STATUS_SUCCESS;
58 }