use REFGUID instead of UUID* to be compatible with MS PSDK

svn path=/trunk/; revision=31086
This commit is contained in:
Christoph von Wittich 2007-12-08 17:37:25 +00:00
parent 665ac7b486
commit 2d1aaeaa7e

View file

@ -365,7 +365,7 @@ EventThread(IN LPVOID lpParameter)
/* Process the pnp event */
DPRINT("Received PnP Event\n");
if (IsEqualIID(&PnpEvent->EventGuid, (UUID*)&GUID_DEVICE_ARRIVAL))
if (IsEqualIID(&PnpEvent->EventGuid, (REFGUID)&GUID_DEVICE_ARRIVAL))
{
DPRINT1("Device arrival event: %S\n", PnpEvent->TargetDevice.DeviceIds);
InstallDevice(hInf, hEnum, hServices, PnpEvent->TargetDevice.DeviceIds);