Hervé Poussineau
f9df7af28a
[SETUPAPI] Reimplement SetupDiBuildClassInfoListExW using CM_* functions
...
We can now enumerate device classes on other computers.
2021-04-11 15:12:02 +02:00
Eric Kohl
e4646bc5d1
[SETUPAPI] SetupDiInstallDevice: Do not fail if the .inf file does not have a .Services section
...
CORE-17530
2021-04-07 21:39:55 +02:00
Hervé Poussineau
0f3133c308
[SETUPAPI] Use CM_* functions to get list of devices
...
- this prevents duplicating the code with umpnpmgr::PNP_GetDeviceList
- we can enumerate devices on other computers
This is part of the bugfix for CORE-17529
2021-04-02 21:41:09 +02:00
Victor Perevertkin
e468da06be
[SETUPAPI] Set the CONFIGFLAG_FAILEDINSTALL flag in SetupDiInstallDevice
...
The code follows the comment now. The fix may be wrong, but DNF_DISABLED
is a kernel flag and should definitely not be used in a dll.
2021-01-27 05:15:14 +03:00
Hervé Poussineau
ea4af587a9
[SETUPAPI] Add function names in traces
2020-06-20 08:16:07 +02:00
Hervé Poussineau
35cb8f1393
[SETUPAPI] Implement StopDevice()
2020-03-05 22:47:15 +01:00
Eric Kohl
8dc70d2454
[SETUPAPI] Implement SetupDiRestartDevices()
2019-06-22 21:01:25 +02:00
Timo Kreuzer
61e35141e8
[SETUPAPI] Use ClassInstallReserved field instead of Reserved to store a pointer.
...
The Reserved field is ULONG and we need ULONG_PTR. ClassInstallReserved was unused so far. I have no idea whether this is correct, but it cannot be more incorrect than what we had.
2019-04-01 22:20:39 +02:00
Hervé Poussineau
6cc607bac2
[SETUPAPI] SetupDiGetDeviceInfoListClass: fix buffer overflow (and return correct results)
2019-04-01 11:38:32 +02:00
Eric Kohl
df36ee9fe2
[SETUPAPI] Replace the remaining internal calls to SetupDiOpenDevRegKey and SetupDiCreateDevRegKeyW by calls to SETUPDI_OpenDrvKey, SETUPDI_CreateDevKey or SETUPDI_CreateDrvKey.
2018-09-23 20:19:26 +02:00
Eric Kohl
60e166535a
[SETUPAPI] Do not use SetupDiOpenDevRegKey in other SetupDi functions. Use SETUPDI_OpenDevKey or SETUPDI_OpenDrvKey instead.
...
Note: The remaining calls to SetupDiOpenDevRegKey and SetupDiCreateDevRegKey will be fixed in another patch.
Fixes CORE-15091
2018-09-23 16:16:12 +02:00
Eric Kohl
de08785ade
[SETUPAPI] SetupDiCreateDevRegKeyW / SetupDiOpenDevRegKey: Create or open the 'Device Parameters' subkey of the given devices enum key when we try to access its hardware key.
...
This creates the PortName value in the proper location for serial ports.
2018-09-22 14:43:43 +02:00
Eric Kohl
91fab9e53b
[SETUPAPI] SetupDiGetDeviceRegistryPropertyW call CM_Get_DevNode_Registry_Property_ExW for properties that can not be retrieved from the registry
2018-08-20 00:16:18 +02:00
Eric Kohl
35bd6571bd
[SETUPAPI] SetupDiCallClassInstaller: Use the class GUID enclosed in curly brackets as a sub key name to retrieve the class co-installer.
2018-05-12 12:42:56 +02:00
Andreas Maier
387067ad29
[SETUPAPI]: Fix a FIXME in SetupDiSetDeviceRegistryPropertyA.
...
Rename SetupDiSetDeviceRegistryPropertyW to IntSetupDiSetDeviceRegistryPropertyAW and use it for both (A/W).
The FIXME in the A-Version was already implemented in the W-Version.
CORE-14173.
2018-01-09 18:51:12 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00