[umpnpmgr]
authorEric Kohl <eric.kohl@reactos.org>
Wed, 6 Jan 2010 21:14:13 +0000 (21:14 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 6 Jan 2010 21:14:13 +0000 (21:14 +0000)
Silence device arrival debug messages.

svn path=/trunk/; revision=44981

reactos/base/services/umpnpmgr/umpnpmgr.c

index 2c3af57..fbf11e7 100644 (file)
@@ -2322,7 +2322,7 @@ PnpEventThread(LPVOID lpParameter)
             DWORD len;
             DWORD DeviceIdLength;
 
-            DPRINT("Device arrival event: %S\n", PnpEvent->TargetDevice.DeviceIds);
+            DPRINT("Device enumerated: %S\n", PnpEvent->TargetDevice.DeviceIds);
 
             DeviceIdLength = lstrlenW(PnpEvent->TargetDevice.DeviceIds);
             if (DeviceIdLength)
@@ -2342,6 +2342,11 @@ PnpEventThread(LPVOID lpParameter)
                 }
             }
         }
+        else if (UuidEqual(&PnpEvent->EventGuid, (UUID*)&GUID_DEVICE_ARRIVAL, &RpcStatus))
+        {
+            DPRINT("Device arrival: %S\n", PnpEvent->TargetDevice.DeviceIds);
+            /* FIXME: ? */
+        }
         else
         {
             DPRINT1("Unknown event, GUID {%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}\n",