[NEWDEV] Add InstallDevInstEx
[reactos.git] / dll / win32 / newdev / newdev.c
index 1b30c96..960f752 100644 (file)
@@ -807,17 +807,19 @@ cleanup:
 
 BOOL
 WINAPI
-InstallDevInst(
+InstallDevInstEx(
     IN HWND hWndParent,
     IN LPCWSTR InstanceId,
     IN BOOL bUpdate,
-    OUT LPDWORD lpReboot)
+    OUT LPDWORD lpReboot,
+    IN DWORD Unknown)
 {
     PDEVINSTDATA DevInstData = NULL;
     BOOL ret;
     BOOL retval = FALSE;
 
-    TRACE("InstllDevInst(%p, %s, %d, %p)\n", hWndParent, debugstr_w(InstanceId), bUpdate, lpReboot);
+    TRACE("InstllDevInstEx(%p, %s, %d, %p, %lx)\n",
+          hWndParent, debugstr_w(InstanceId), bUpdate, lpReboot, Unknown);
 
     DevInstData = HeapAlloc(GetProcessHeap(), 0, sizeof(DEVINSTDATA));
     if (!DevInstData)
@@ -916,6 +918,21 @@ cleanup:
 }
 
 
+/*
+ * @implemented
+ */
+BOOL
+WINAPI
+InstallDevInst(
+    IN HWND hWndParent,
+    IN LPCWSTR InstanceId,
+    IN BOOL bUpdate,
+    OUT LPDWORD lpReboot)
+{
+    return InstallDevInstEx(hWndParent, InstanceId, bUpdate, lpReboot, 0);
+}
+
+
 /*
 * @implemented
 */