Author: tfaber
Date: Thu Oct 6 22:34:45 2011
New Revision: 54038
URL:
http://svn.reactos.org/svn/reactos?rev=54038&view=rev
Log:
[SETUPAPI]
- Implement a FIXME in SetupDiOpenDeviceInfoW
Modified:
trunk/reactos/dll/win32/setupapi/devinst.c
Modified: trunk/reactos/dll/win32/setupapi/devinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/devinst…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/devinst.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/devinst.c [iso-8859-1] Thu Oct 6 22:34:45 2011
@@ -4826,10 +4826,10 @@
PLIST_ENTRY ItemList = list->ListHead.Flink;
while (ItemList != &list->ListHead)
{
- // TODO
- //if (good one)
- // break;
- FIXME("not implemented\n");
+ deviceInfo = CONTAINING_RECORD(ItemList, struct DeviceInfo, ListEntry);
+ if (!wcscmp(deviceInfo->instanceId, DeviceInstanceId))
+ break;
+ deviceInfo = NULL;
ItemList = ItemList->Flink;
}