Author: cgutman
Date: Sun Aug 11 17:49:17 2013
New Revision: 59698
URL:
http://svn.reactos.org/svn/reactos?rev=59698&view=rev
Log:
[SETUPAPI]
- Pass the CM_CREATE_DEVINST_GENERATE_ID flag to CM_Create_DevInst_ExW if DICD_GENERATE_ID
was used
- Currently unimplemented in umpnpmgr
Modified:
trunk/reactos/dll/win32/setupapi/devinst.c
Modified: trunk/reactos/dll/win32/setupapi/devinst.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/devinst…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/devinst.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/devinst.c [iso-8859-1] Sun Aug 11 17:49:17 2013
@@ -1780,7 +1780,8 @@
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)
{