Eric Kohl
dde7e6e254
[SETUPAPI] CM_Locate_DevNode_ExW: The root device does not need to be validated
2022-04-17 22:50:26 +02:00
Eric Kohl
b0a73746cd
[UMPNPMGR][SETUPAPI] Fix notification handles in PNP_RegisterNotification and PNP_UnregisterNotification
...
- Notification handles must be context handles
- Register and unregister notification targets
2022-03-20 14:59:30 +01:00
Eric Kohl
7faca935e6
[SETUPAPI] PNP_RegisterNotification: Parameter 8 seems to be a process ID
2021-07-08 10:58:47 +02:00
Jérôme Gardou
e470b58376
[REACTOS] Explicitly link against pseh & include pseh headers in a few places
2021-04-28 13:10:23 +02:00
Hervé Poussineau
8da00cd97c
[SETUPAPI] Fix CM_Open_Class_Key_ExW, when pClassGuid is used
...
Braces around GUID were missing.
2021-04-11 15:12:02 +02:00
Victor Perevertkin
aa05649902
[SETUPAPI] Do not use strlen on buffers which may possibly contain REG_MULTI_SZ
...
CORE-14187
2020-12-06 19:49:57 +03:00
Eric Kohl
6efb3cbe03
[SETUPAPI] Implement CM_Get_Next_Res_Des_Ex() partially (WIP)
2020-05-17 20:04:26 +02:00
Eric Kohl
3909ebcf35
[SETUPAPI] Improve CM_Disable_DevNode_Ex
...
Replace the call to PNP_DeviceInstanceAction(PNP_DEVINST_DISABLE) by a call to PNP_DisableDevInst() because PNP_DeviceInstanceAction(PNP_DEVINST_DISABLE) is a no-op.
2020-03-07 13:26:53 +01:00
Hervé Poussineau
35cb8f1393
[SETUPAPI] Implement StopDevice()
2020-03-05 22:47:15 +01:00
Eric Kohl
433c9d327e
[SETUPAPI] Implement CM_Delete_DevNode_Key_Ex()
...
CM_REGISTRY_USER is not supported yet.
2019-07-13 14:26:57 +02:00
Eric Kohl
93f77f2625
[SETUPAPI] CM_Delete_DevNode_Key[_Ex]: Use DEVINST instead of DEVNODE because we are using DEVINST anywhere else.
2019-07-08 00:08:22 +02:00
Eric Kohl
86e8a477b6
[SETUPAPI] CMP_RegisterNotification: When a window is registered, pass the window text to PNP_RegisterNotification().
2019-07-07 23:47:01 +02:00
Eric Kohl
ece54dcd2f
[SETUPAPI][UMPNPMGR] The 3rd parameter of PNP_RegisterNotification() seems to be the service name
2019-07-07 13:41:00 +02:00
Eric Kohl
7eb6e42626
[UMPNPMGR][SETUPAPI] PNP_RegisterNotification() has got 9 parameters.
2019-06-29 13:38:42 +02:00
Eric Kohl
a9c4c07955
[SETUPAPI][UMPNPMGR] PNP_UnregisterNotification: Add 2 unknown parameters
2019-06-23 21:45:54 +02:00
Eric Kohl
ca0406131c
[SETUPAPI][UMPNPMGR] Improve CMP_RegisterNotification/PNP_RegisterNotification
...
Pass the notification filter to PNP_RegisterNotification as a byte-pointer to the filter and the size of the filter.
2019-06-23 19:31:34 +02:00
Serge Gautherie
b13990bd78
[SETUPAPI] Revert "Fix a typo in CM_Query_Resource_Conflict_List." ( #1634 )
...
Previous code was correct.
This reverts commit c47ad98f
.
2019-06-15 17:55:33 +02:00
Eric Kohl
c47ad98ff7
[SETUPAPI] Fix a typo in CM_Query_Resource_Conflict_List.
2019-06-06 19:12:44 +02:00
Eric Kohl
adc9bd48b7
[SETUPAPI] GetDeviceInstanceKeyPath: Create a new driver instance property if needed and SEH-protect calls to umpnpmgr.
2019-06-06 19:08:43 +02:00
Eric Kohl
e88a6b2053
[SETUPAPI] Implement CM_Next_Range()
2019-03-02 20:59:12 +01:00
Bișoc George
0bc8e2a5bb
[COVERITY][SETUPAPI] Release the blocks of memory when done
...
pRange variable allocates blocks of memory from the heap by HeapAlloc() although this resource is never freed afterwards.
COVERITY CID 1427056
2019-03-02 20:39:09 +01:00
Eric Kohl
2037bab6c4
[SETUPAPI] GetDeviceInstanceKeyPath: Trying to open the hardware key opens the software key and vice versa. Fix it by swapping the code paths.
2018-12-03 22:03:38 +01:00
Pierre Schweitzer
699af9f62a
[SETUPAPI] Allocate big enough buffer in CM_Query_Resource_Conflict_List().
...
CID 1441357
2018-11-16 22:07:08 +01:00
Eric Kohl
0fbaea843e
[SETUPAPI] Add stubs for CM_Detect_Resource_Conflict and CM_Detect_Resource_Conflict_Ex
2018-05-21 02:30:35 +02:00
Eric Kohl
d1c376f37d
[SETUPAPI] Implement CM_Get_Resource_Conflict_Count and add stubs for CM_Get_Resource_Conflict_DetailsA/W
2018-05-20 11:48:39 +02:00
Eric Kohl
cee1817e06
[SETUPAPI] Implement CM_Free_Resource_Conflict_Handle() and CM_Query_Resource_Conflict_List()
2018-05-19 18:12:28 +02:00
Eric Kohl
d7e40954d5
[SETUPAPI] Add CM_Free_Resource_Conflict_Handle and CM_Query_Resource_Conflict_List stubs
2018-05-19 15:14:30 +02:00
Eric Kohl
19fc20f222
[SETUPAPI] Add a proper (SEH protected) check for LOG_CONF handles
2018-02-04 20:23:51 +01:00
Eric Kohl
60a218948e
[SETUPAPI] Fix the coding style, annotations and debug messages
...
* Fix the coding style.
* Add missing annotations.
* Add the function name to the debug messages.
* Treat all machine handles like pointers.
2018-02-04 20:16:46 +01:00
Eric Kohl
65d3bf7482
[SETUPAPI] Fix the coding style, add annotations and fix the debug messages.
2018-02-04 15:41:13 +01:00
Eric Kohl
c7fc2ef4d2
[SETUPAPI] Update some more functions to the current coding style, add annotations and add function names to the TRACE calls.
2018-02-04 11:17:30 +01:00
Eric Kohl
3ad5c7fd84
[SETUPAPI] Improve the range list implementation.
...
- SEH-protect the range list validation and move it into a separate function.
- Use a mutex to synchronize access to the range list.
- Implement CM_First_Range and parts of CM_Add_Range.
2017-11-12 23:27:09 +01:00
Eric Kohl
a2a372398a
[SETUPAPI]: CM_Open_DevNode_Key_Ex: FIXME/ERR --> TRACE
2017-11-05 17:55:25 +01:00
Eric Kohl
d57b0ef91e
[SETUPAPI] GetDeviceInstanceKeyPath: Fix temporary buffer allocation, add missing code paths and fix registry paths.
...
This should fix parts of CORE-13944.
2017-11-05 17:31:34 +01:00
Eric Kohl
d9a3398172
[SETUPAPI] Update some more functions to the current coding style, add annotations and add function names to the TRACE calls.
2017-11-05 11:33:08 +01:00
Eric Kohl
8e850d19bc
[SETUPAPI] GetDeviceInstanceKeyPath: Implement the CM_REGISTRY_SOFTWARE | CM_REGISTRY_CONFIG part.
2017-11-05 09:39:44 +01:00
Eric Kohl
06f9e1220f
[SETUPAPI] CM_Open_DevNode_Key_Ex: Add support for remote registry access and the Disposition parameter.
2017-11-04 21:19:39 +01:00
Eric Kohl
f86e78d00b
[SETUPAPI] Update some functions to the current coding style, add annotations and add function names to the TRACE calls.
2017-11-04 19:01:28 +01:00
Eric Kohl
78cf2a04a5
[SETUPAPI] Start the implementation of CM_Open_DevNode_Key_Ex().
2017-11-04 17:26:38 +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