*********** SYNC ALTERNATIVE FOR WINE SYNC

[WINESYNC] setupapi: Implement SetupDiGetClassDevsW.

wine commit id f841667cac1558d2131543c5dc9baba1c6418b01 by Juan Lang <juan.lang@gmail.com>

SYNC NOTE: The functions added there (and still existing in Wine's code up to now)
have our own equivalent (see comments):

SETUPDI_EnumerateDevices    --> SETUP_CreateDevicesList
SETUPDI_EnumerateInterfaces --> SETUP_CreateInterfaceList

The other SETUPDI_* are internal helpers for the previous ones:
SETUPDI_EnumerateMatchingDevices
SETUPDI_EnumerateMatchingInterfaces

TODO: Sync the name and functionality?
This commit is contained in:
winesync 2024-01-02 18:34:56 +01:00 committed by Hermès Bélusca-Maïto
parent c54a81f29a
commit db4dab577e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 5 additions and 1 deletions

View file

@ -117,6 +117,7 @@ SetupDiDestroyClassImageList(
return ret;
}
// SETUPDI_EnumerateDevices
LONG
SETUP_CreateDevicesList(
IN OUT struct DeviceInfoSet *list,

View file

@ -64,6 +64,7 @@ DestroyDeviceInterface(
return HeapFree(GetProcessHeap(), 0, deviceInterface);
}
// SETUPDI_EnumerateInterfaces
LONG
SETUP_CreateInterfaceList(
struct DeviceInfoSet *list,

View file

@ -308,6 +308,7 @@ CreateDeviceInfo(
IN LPCGUID pClassGuid,
OUT struct DeviceInfo **pDeviceInfo);
// SETUPDI_EnumerateDevices
LONG
SETUP_CreateDevicesList(
IN OUT struct DeviceInfoSet *list,
@ -343,6 +344,7 @@ BOOL
DestroyDeviceInterface(
struct DeviceInterface* deviceInterface);
// SETUPDI_EnumerateInterfaces
LONG
SETUP_CreateInterfaceList(
struct DeviceInfoSet *list,

View file

@ -5,4 +5,4 @@ files:
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
tags:
wine: f4b9bc2454b6c996ea601a2ae3d3ce80b8225273
wine: f841667cac1558d2131543c5dc9baba1c6418b01