mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NEWDEV] Add InstallDevInstEx
This commit is contained in:
parent
fc35f6eb4b
commit
731ef01361
3 changed files with 30 additions and 4 deletions
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@ stdcall ClientSideInstallW(ptr ptr wstr long)
|
||||
@ stdcall DevInstallW(ptr ptr wstr long)
|
||||
@ stdcall InstallDevInst(ptr wstr long ptr)
|
||||
@ stub InstallDevInstEx
|
||||
@ stdcall InstallDevInstEx(ptr wstr long ptr long)
|
||||
@ stdcall InstallNewDevice(ptr ptr ptr)
|
||||
@ stub InstallSelectedDevice
|
||||
@ stdcall InstallSelectedDriverW(ptr ptr wstr long ptr)
|
||||
|
|
|
@ -28,6 +28,15 @@ InstallDevInst(
|
|||
IN BOOL bUpdate,
|
||||
OUT LPDWORD lpReboot);
|
||||
|
||||
BOOL
|
||||
WINAPI
|
||||
InstallDevInstEx(
|
||||
IN HWND hWndParent,
|
||||
IN LPCWSTR InstanceId,
|
||||
IN BOOL bUpdate,
|
||||
OUT LPDWORD lpReboot,
|
||||
IN DWORD Unknown);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue