oops, looks like I forgot to commit this file (SEH2 stubs)
[reactos.git] / reactos / 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 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
24
25 /***********************************************************************
26 * TPWriteProfileString (SETUPX.62)
27 */
28 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
29 {
30 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
31 return TRUE;
32 }
33
34
35 /***********************************************************************
36 * suErrorToIds (SETUPX.61)
37 */
38 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
39 {
40 FIXME( "%x %x: stub\n", w1, w2 );
41 return 0;
42 }
43
44 /***********************************************************************
45 * SetupInitializeFileLogW(SETUPAPI.@)
46 */
47 HSPFILELOG WINAPI SetupInitializeFileLogW(LPCWSTR LogFileName, DWORD Flags)
48 {
49 FIXME("Stub %s, 0x%x\n",debugstr_w(LogFileName),Flags);
50 return INVALID_HANDLE_VALUE;
51 }
52
53 /***********************************************************************
54 * SetupInitializeFileLogA(SETUPAPI.@)
55 */
56 HSPFILELOG WINAPI SetupInitializeFileLogA(LPCSTR LogFileName, DWORD Flags)
57 {
58 FIXME("Stub %s, 0x%x\n",debugstr_a(LogFileName),Flags);
59 return INVALID_HANDLE_VALUE;
60 }
61
62 /***********************************************************************
63 * SetupTerminateFileLog(SETUPAPI.@)
64 */
65 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
66 {
67 FIXME ("Stub %p\n",FileLogHandle);
68 return TRUE;
69 }
70
71 /***********************************************************************
72 * RegistryDelnode(SETUPAPI.@)
73 */
74 BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
75 {
76 FIXME("%08x %08x: stub\n", x, y);
77 return FALSE;
78 }
79
80 /***********************************************************************
81 * SetupCloseLog(SETUPAPI.@)
82 */
83 void WINAPI SetupCloseLog(void)
84 {
85 FIXME("() stub\n");
86 }
87
88 /***********************************************************************
89 * SetupLogErrorW(SETUPAPI.@)
90 */
91 BOOL WINAPI SetupLogErrorW(LPCWSTR MessageString, LogSeverity Severity)
92 {
93 FIXME("(%s, %d) stub\n", debugstr_w(MessageString), Severity);
94 return TRUE;
95 }
96
97 /***********************************************************************
98 * SetupOpenLog(SETUPAPI.@)
99 */
100 BOOL WINAPI SetupOpenLog(BOOL Reserved)
101 {
102 FIXME("(%d) stub\n", Reserved);
103 return TRUE;
104 }
105
106 /***********************************************************************
107 * SetupPromptReboot(SETUPAPI.@)
108 */
109 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
110 {
111 FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
112 return 0;
113 }
114
115 /***********************************************************************
116 * SetupSetSourceListA (SETUPAPI.@)
117 */
118 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
119 {
120 FIXME("0x%08x %p %d\n", flags, list, count);
121 return FALSE;
122 }
123
124 /***********************************************************************
125 * SetupSetSourceListW (SETUPAPI.@)
126 */
127 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
128 {
129 FIXME("0x%08x %p %d\n", flags, list, count);
130 return FALSE;
131 }
132
133 /***********************************************************************
134 * SetupDiRemoveDevice(SETUPAPI.@)
135 */
136 BOOL WINAPI
137 SetupDiRemoveDevice(
138 IN HDEVINFO DeviceInfoSet,
139 IN PSP_DEVINFO_DATA DeviceInfoData)
140 {
141 FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
142 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
143 return FALSE;
144 }
145
146
147 /***********************************************************************
148 * SetupDiUnremoveDevice(SETUPAPI.@)
149 */
150 BOOL WINAPI
151 SetupDiUnremoveDevice(
152 IN HDEVINFO DeviceInfoSet,
153 IN PSP_DEVINFO_DATA DeviceInfoData)
154 {
155 FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
156 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
157 return FALSE;
158 }