[SETUPAPI] Fix broken control definition.
[reactos.git] / dll / win32 / setupapi / stubs.c
1 /*
2 * SetupAPI stubs
3 *
4 * Copyright 2000 James Hatheway
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 #include "setupapi_private.h"
22
23 /***********************************************************************
24 * pSetupRegistryDelnode(SETUPAPI.@)
25 */
26 BOOL WINAPI pSetupRegistryDelnode(DWORD x, DWORD y)
27 {
28 FIXME("%08x %08x: stub\n", x, y);
29 return FALSE;
30 }
31
32 /***********************************************************************
33 * SetupPromptReboot(SETUPAPI.@)
34 */
35 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
36 {
37 FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
38 return 0;
39 }
40
41 /***********************************************************************
42 * SetupSetSourceListA (SETUPAPI.@)
43 */
44 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
45 {
46 FIXME("0x%08x %p %d\n", flags, list, count);
47 return FALSE;
48 }
49
50 /***********************************************************************
51 * SetupSetSourceListW (SETUPAPI.@)
52 */
53 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
54 {
55 FIXME("0x%08x %p %d\n", flags, list, count);
56 return FALSE;
57 }
58
59
60 /***********************************************************************
61 * SetupDiRemoveDevice(SETUPAPI.@)
62 */
63 BOOL WINAPI
64 SetupDiRemoveDevice(
65 IN HDEVINFO DeviceInfoSet,
66 IN PSP_DEVINFO_DATA DeviceInfoData)
67 {
68 FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
69 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
70 return FALSE;
71 }
72
73
74 /***********************************************************************
75 * SetupDiUnremoveDevice(SETUPAPI.@)
76 */
77 BOOL WINAPI
78 SetupDiUnremoveDevice(
79 IN HDEVINFO DeviceInfoSet,
80 IN PSP_DEVINFO_DATA DeviceInfoData)
81 {
82 FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
83 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
84 return FALSE;
85 }
86
87
88 /***********************************************************************
89 * SetupDiRemoveDeviceInterface (SETUPAPI.@)
90 */
91 BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO info, PSP_DEVICE_INTERFACE_DATA data)
92 {
93 FIXME("(%p, %p): stub\n", info, data);
94 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
95 return FALSE;
96 }
97
98
99 WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSet, IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, IN CONST GUID *AliasInterfaceClassGuid, OUT PSP_DEVICE_INTERFACE_DATA AliasDeviceInterfaceData)
100 {
101 FIXME("%p %p %p %p %p stub\n", DeviceInfoSet, DeviceInterfaceData, AliasInterfaceClassGuid, AliasDeviceInterfaceData);
102 SetLastError(ERROR_INVALID_PARAMETER);
103 return FALSE;
104 }
105
106 WINSETUPAPI BOOL WINAPI SetupSetNonInteractiveMode(BOOL NonInteractiveFlag)
107 {
108 FIXME("(%d) stub\n", NonInteractiveFlag);
109 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
110 return FALSE;
111 }
112
113 /***********************************************************************
114 * SetupVerifyInfFileA(SETUPAPI.@)
115 */
116 BOOL WINAPI
117 SetupVerifyInfFileA(
118 IN PCSTR InfName,
119 IN PSP_ALTPLATFORM_INFO AltPlatformInfo,
120 OUT PSP_INF_SIGNER_INFO_A InfFileName)
121 {
122 FIXME ("Stub %s %p %p\n", debugstr_a(InfName), AltPlatformInfo, InfFileName);
123 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
124 return FALSE;
125 }
126
127 /***********************************************************************
128 * SetupVerifyInfFileW(SETUPAPI.@)
129 */
130 BOOL WINAPI
131 SetupVerifyInfFileW(
132 IN PCWSTR InfName,
133 IN PSP_ALTPLATFORM_INFO AltPlatformInfo,
134 OUT PSP_INF_SIGNER_INFO_W InfFileName)
135 {
136 FIXME ("Stub %s %p %p\n", debugstr_w(InfName), AltPlatformInfo, InfFileName);
137 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
138 return FALSE;
139 }
140