Add stubs for InstallNewDevice, InstallSelectedDriver, UpdateDriverForPlugAndPlayDevi...
[reactos.git] / reactos / lib / newdev / stubs.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS New devices installation
4 * FILE: lib/newdev/stubs.c
5 * PURPOSE: Stubs
6 *
7 * PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
8 */
9
10 #include "newdev.h"
11
12 BOOL WINAPI
13 InstallNewDevice(
14 IN HWND hwndParent,
15 IN LPGUID ClassGuid OPTIONAL,
16 OUT PDWORD Reboot)
17 {
18 UNIMPLEMENTED;
19 SetLastError(ERROR_GEN_FAILURE);
20 return FALSE;
21 }
22
23 BOOL WINAPI
24 InstallSelectedDriverW(
25 IN HWND hwndParent,
26 IN HDEVINFO DeviceInfoSet,
27 IN LPCWSTR Reserved,
28 IN BOOL Backup,
29 OUT PDWORD pReboot)
30 {
31 UNIMPLEMENTED;
32 SetLastError(ERROR_GEN_FAILURE);
33 return FALSE;
34 }
35
36 BOOL WINAPI
37 UpdateDriverForPlugAndPlayDevicesA(
38 IN HWND hwndParent,
39 IN LPCSTR HardwareId,
40 IN LPCSTR FullInfPath,
41 IN DWORD InstallFlags,
42 OUT PBOOL bRebootRequired OPTIONAL)
43 {
44 UNIMPLEMENTED;
45 SetLastError(ERROR_GEN_FAILURE);
46 return FALSE;
47 }
48
49 BOOL WINAPI
50 UpdateDriverForPlugAndPlayDevicesW(
51 IN HWND hwndParent,
52 IN LPCWSTR HardwareId,
53 IN LPCWSTR FullInfPath,
54 IN DWORD InstallFlags,
55 OUT PBOOL bRebootRequired OPTIONAL)
56 {
57 UNIMPLEMENTED;
58 SetLastError(ERROR_GEN_FAILURE);
59 return FALSE;
60 }
61