[SETUPAPI]
authorPierre Schweitzer <pierre@reactos.org>
Sat, 24 Oct 2015 09:50:50 +0000 (09:50 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 24 Oct 2015 09:50:50 +0000 (09:50 +0000)
Properly return the machine handle in CM_Connect_MachineW()

CID 716459

svn path=/trunk/; revision=69668

reactos/dll/win32/setupapi/cfgmgr.c

index 6d68087..1f4f8be 100644 (file)
@@ -555,7 +555,7 @@ CONFIGRET WINAPI CM_Connect_MachineW(
         }
     }
 
-    phMachine = (PHMACHINE)pMachine;
+    *phMachine = (PHMACHINE)pMachine;
 
     return CR_SUCCESS;
 }