[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:
Cameron Gutman 2013-08-11 17:49:17 +00:00
parent 4df1a905ab
commit fb58b492f6

View file

@ -1780,7 +1780,8 @@ BOOL WINAPI SetupDiCreateDeviceInfoW(
cr = CM_Create_DevInst_ExW(&DevInst,
(DEVINSTID)DeviceName,
RootDevInst,
0,
(CreationFlags & DICD_GENERATE_ID) ?
CM_CREATE_DEVINST_GENERATE_ID : 0,
set->hMachine);
if (cr != CR_SUCCESS)
{