Author: ekohl
Date: Wed Jan 6 22:14:13 2010
New Revision: 44981
URL:
http://svn.reactos.org/svn/reactos?rev=44981&view=rev
Log:
[umpnpmgr]
Silence device arrival debug messages.
Modified:
trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
Modified: trunk/reactos/base/services/umpnpmgr/umpnpmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/umpnpmgr/ump…
==============================================================================
--- trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/umpnpmgr/umpnpmgr.c [iso-8859-1] Wed Jan 6 22:14:13 2010
@@ -2322,7 +2322,7 @@
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 @@
}
}
}
+ 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",