Copy msimg32
[reactos.git] / reactos / ntoskrnl / dbg / dbgctrl.c
1 /*
2 * ReactOS kernel
3 * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /*
20 * PROJECT: ReactOS kernel
21 * FILE: ntoskrnl/dbg/dbgctrl.c
22 * PURPOSE: System debug control
23 * PORTABILITY: Checked
24 */
25
26 /* INCLUDES *****************************************************************/
27
28 #include <ntoskrnl.h>
29 #define NDEBUG
30 #include <internal/debug.h>
31
32 /* FUNCTIONS *****************************************************************/
33
34 /*
35 * @unimplemented
36 */
37 NTSTATUS
38 STDCALL
39 DbgLoadImageSymbols(
40 IN PUNICODE_STRING Name,
41 IN ULONG Base,
42 IN ULONG Unknown3
43 )
44 {
45 UNIMPLEMENTED;
46 return STATUS_NOT_IMPLEMENTED;
47 }
48
49
50 NTSTATUS STDCALL
51 NtSystemDebugControl(DEBUG_CONTROL_CODE ControlCode,
52 PVOID InputBuffer,
53 ULONG InputBufferLength,
54 PVOID OutputBuffer,
55 ULONG OutputBufferLength,
56 PULONG ReturnLength)
57 {
58 switch (ControlCode) {
59 case DebugGetTraceInformation:
60 case DebugSetInternalBreakpoint:
61 case DebugSetSpecialCall:
62 case DebugClearSpecialCalls:
63 case DebugQuerySpecialCalls:
64 case DebugDbgBreakPoint:
65 break;
66 case DebugDbgLoadSymbols:
67 KDB_LOADUSERMODULE_HOOK((PLDR_MODULE) InputBuffer);
68 break;
69 default:
70 break;
71 }
72 return STATUS_SUCCESS;
73 }