[DRIVERS][NTOS][EVTLIB][USER32]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 23 Sep 2017 13:34:50 +0000 (13:34 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 23 Sep 2017 13:34:50 +0000 (13:34 +0000)
- Silence some debug spam

svn path=/trunk/; revision=75929

reactos/drivers/filesystems/mup/dfs.c
reactos/drivers/ksfilter/swenum/swenum.c
reactos/drivers/network/ndisuio/main.c
reactos/drivers/network/ndisuio/protocol.c
reactos/ntoskrnl/wmi/wmi.c
reactos/sdk/lib/evtlib/evtlib.c
reactos/win32ss/user/user32/misc/dllmain.c

index 56d1a7a..05371e3 100644 (file)
@@ -90,7 +90,7 @@ DfsDriverEntry(PDRIVER_OBJECT DriverObject,
     /* We don't support DFS yet, so
      * fail to make sure it remains disabled
      */
-    UNIMPLEMENTED;
+    DPRINT("DfsDriverEntry not implemented\n");
     return STATUS_NOT_IMPLEMENTED;
 }
 
index f538fc3..6fa386c 100644 (file)
@@ -425,7 +425,7 @@ DriverEntry(
     DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = SwDispatchDeviceControl;
     DriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL] = SwDispatchSystemControl;
 
-    DPRINT1("SWENUM loaded\n");
+    DPRINT("SWENUM loaded\n");
     return STATUS_SUCCESS;
 }
 
index b95cf35..5da8d02 100644 (file)
@@ -8,7 +8,7 @@
 
 #include "ndisuio.h"
 
-//#define NDEBUG
+#define NDEBUG
 #include <debug.h>
 
 PDEVICE_OBJECT GlobalDeviceObject;
index 5e76284..764ff69 100644 (file)
@@ -88,7 +88,7 @@ NduNetPnPEvent(NDIS_HANDLE ProtocolBindingContext,
             return NDIS_STATUS_SUCCESS;
 
         case NetEventBindsComplete:
-            DPRINT1("NetPnPEvent: BindsComplete\n");
+            DPRINT("NetPnPEvent: BindsComplete\n");
             return NDIS_STATUS_SUCCESS;
 
         case NetEventPnPCapabilities:
index b0b0859..58547b6 100644 (file)
@@ -68,7 +68,7 @@ NTAPI
 IoWMIRegistrationControl(IN PDEVICE_OBJECT DeviceObject,
                          IN ULONG Action)
 {
-    DPRINT1("IoWMIRegistrationControl() called for DO %p, requesting %lu action, returning success\n",
+    DPRINT("IoWMIRegistrationControl() called for DO %p, requesting %lu action, returning success\n",
         DeviceObject, Action);
 
     return STATUS_SUCCESS;
index a11c070..45c1b07 100644 (file)
@@ -507,7 +507,7 @@ ElfpInitExistingFile(
         /* Is it an EVENTLOGEOF record? */
         if (RtlCompareMemory(&EofRec, &EOFRecord, EVENTLOGEOF_SIZE_FIXED) == EVENTLOGEOF_SIZE_FIXED)
         {
-            DPRINT1("Found EOF record at %llx\n", FileOffset.QuadPart);
+            DPRINT("Found EOF record at %llx\n", FileOffset.QuadPart);
 
             /* Got it! Break the loop and continue */
             break;
@@ -695,8 +695,8 @@ ElfpInitExistingFile(
         // LogFile->Header.Flags |= ELF_LOGFILE_HEADER_WRAP;
     // }
 
-    DPRINT1("StartOffset = 0x%x, EndOffset = 0x%x\n",
-            LogFile->Header.StartOffset, LogFile->Header.EndOffset);
+    DPRINT("StartOffset = 0x%x, EndOffset = 0x%x\n",
+           LogFile->Header.StartOffset, LogFile->Header.EndOffset);
 
     /*
      * For non-read-only logs of size < MaxSize, reorganize the events
@@ -816,7 +816,7 @@ Continue:
         if (NextOffset.QuadPart == LogFile->Header.EndOffset)
         {
             /* We have finished enumerating all the event records */
-            DPRINT1("NextOffset.QuadPart == LogFile->Header.EndOffset, break\n");
+            DPRINT("NextOffset.QuadPart == LogFile->Header.EndOffset, break\n");
             break;
         }
 
index 116a997..0316de1 100644 (file)
@@ -359,7 +359,7 @@ ClientThreadSetup(VOID)
 
     // FIXME: Disabling this call is a HACK!! See also User32CallClientThreadSetupFromKernel...
     // return ClientThreadSetupHelper(FALSE);
-    UNIMPLEMENTED;
+    TRACE("ClientThreadSetup is not implemented\n");
     return TRUE;
 }