mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[SETUPAPI]
- Pass the CM_CREATE_DEVINST_GENERATE_ID flag to CM_Create_DevInst_ExW if DICD_GENERATE_ID was used - Currently unimplemented in umpnpmgr svn path=/trunk/; revision=59698
This commit is contained in:
parent
4df1a905ab
commit
fb58b492f6
1 changed files with 2 additions and 1 deletions
|
@ -1780,7 +1780,8 @@ BOOL WINAPI SetupDiCreateDeviceInfoW(
|
||||||
cr = CM_Create_DevInst_ExW(&DevInst,
|
cr = CM_Create_DevInst_ExW(&DevInst,
|
||||||
(DEVINSTID)DeviceName,
|
(DEVINSTID)DeviceName,
|
||||||
RootDevInst,
|
RootDevInst,
|
||||||
0,
|
(CreationFlags & DICD_GENERATE_ID) ?
|
||||||
|
CM_CREATE_DEVINST_GENERATE_ID : 0,
|
||||||
set->hMachine);
|
set->hMachine);
|
||||||
if (cr != CR_SUCCESS)
|
if (cr != CR_SUCCESS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue