mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:23:10 +00:00
[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
This commit is contained in:
parent
2a80ae2bb6
commit
60e166535a
4 changed files with 24 additions and 20 deletions
|
@ -312,6 +312,9 @@ SETUP_CreateDevicesList(
|
|||
IN CONST GUID *Class OPTIONAL,
|
||||
IN PCWSTR Enumerator OPTIONAL);
|
||||
|
||||
HKEY SETUPDI_OpenDevKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired);
|
||||
HKEY SETUPDI_OpenDrvKey(HKEY RootKey, struct DeviceInfo *devInfo, REGSAM samDesired);
|
||||
|
||||
/* driver.c */
|
||||
|
||||
struct InfFileDetails *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue