Author: sginsberg
Date: Fri Oct 9 13:51:07 2009
New Revision: 43341
URL:
http://svn.reactos.org/svn/reactos?rev=43341&view=rev
Log:
- Fix DbgLoadImageSymbols -- it doesn't return anything.
- Fix DbgQueryDebugFilterState -- it returns NTSTATUS, not BOOLEAN! Also fix the callers
that depended on this.
Modified:
trunk/reactos/include/ddk/winddk.h
trunk/reactos/include/ndk/rtlfuncs.h
trunk/reactos/lib/drivers/ip/network/routines.c
trunk/reactos/lib/rtl/debug.c
Modified: trunk/reactos/include/ddk/winddk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/winddk.h?rev=4…
==============================================================================
--- trunk/reactos/include/ddk/winddk.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/winddk.h [iso-8859-1] Fri Oct 9 13:51:07 2009
@@ -10317,8 +10317,16 @@
IN PCH Format,
IN ...);
-NTKERNELAPI
-BOOLEAN
+ULONG
+NTAPI
+DbgPrompt(
+ IN PCCH Prompt,
+ OUT PCH Response,
+ IN ULONG MaximumResponseLength
+);
+
+NTKERNELAPI
+NTSTATUS
NTAPI
DbgQueryDebugFilterState(
IN ULONG ComponentId,
Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] Fri Oct 9 13:51:07 2009
@@ -2666,7 +2666,7 @@
VOID
);
-NTSTATUS
+VOID
NTAPI
DbgLoadImageSymbols(
IN PANSI_STRING Name,
Modified: trunk/reactos/lib/drivers/ip/network/routines.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/ip/network/rou…
==============================================================================
--- trunk/reactos/lib/drivers/ip/network/routines.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/ip/network/routines.c [iso-8859-1] Fri Oct 9 13:51:07 2009
@@ -94,8 +94,8 @@
UINT Length;
PCHAR Buffer;
- if (!DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_PBUFFER | DPFLTR_MASK) ||
- !DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_TCP | DPFLTR_MASK)) {
+ if (!NT_SUCCESS(DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_PBUFFER |
DPFLTR_MASK)) ||
+ !NT_SUCCESS(DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_TCP | DPFLTR_MASK)))
{
return;
}
@@ -139,8 +139,8 @@
PNDIS_BUFFER NextBuffer;
PCHAR CharBuffer;
- if (!DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_PBUFFER | DPFLTR_MASK) ||
- !DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_IP | DPFLTR_MASK)) {
+ if (!NT_SUCCESS(DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_PBUFFER |
DPFLTR_MASK)) ||
+ !NT_SUCCESS(DbgQueryDebugFilterState(DPFLTR_TCPIP_ID, DEBUG_IP | DPFLTR_MASK)))
{
return;
}
Modified: trunk/reactos/lib/rtl/debug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/debug.c?rev=43341&…
==============================================================================
--- trunk/reactos/lib/rtl/debug.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/debug.c [iso-8859-1] Fri Oct 9 13:51:07 2009
@@ -317,7 +317,7 @@
/*
* @implemented
*/
-NTSTATUS
+VOID
NTAPI
DbgLoadImageSymbols(IN PANSI_STRING Name,
IN PVOID Base,
@@ -346,7 +346,6 @@
/* Load the symbols */
DebugService2(Name, &SymbolInfo, BREAKPOINT_LOAD_SYMBOLS);
- return STATUS_SUCCESS;
}
/*