Don't fill twice the output buffer. Bug spotted by Filip
Modified: trunk/reactos/lib/setupapi/devinst.c
_____
Modified: trunk/reactos/lib/setupapi/devinst.c
--- trunk/reactos/lib/setupapi/devinst.c 2005-09-02 18:51:32 UTC
(rev 17605)
+++ trunk/reactos/lib/setupapi/devinst.c 2005-09-02 19:05:01 UTC
(rev 17606)
@@ -3873,12 +3873,6 @@
if (deviceInfo)
{
/* good one found */
- if (DeviceInfoData)
- {
- memcpy(&DeviceInfoData->ClassGuid,
&deviceInfo->ClassGuid, sizeof(GUID));
- DeviceInfoData->DevInst = 0; /* FIXME */
- DeviceInfoData->Reserved = (ULONG_PTR)deviceInfo;
- }
ret = TRUE;
}
else
Show replies by date