4 * Copyright 2000 James Hatheway
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.
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.
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
23 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
34 /***********************************************************************
35 * TPWriteProfileString (SETUPX.62)
37 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
39 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
44 /***********************************************************************
45 * suErrorToIds (SETUPX.61)
47 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
49 FIXME( "%x %x: stub\n", w1, w2 );
53 /***********************************************************************
54 * SetupDiGetDeviceInfoListDetailA (SETUPAPI.@)
56 BOOL WINAPI SetupDiGetDeviceInfoListDetailA(HDEVINFO devinfo, PSP_DEVINFO_LIST_DETAIL_DATA_A devinfo_data )
62 /***********************************************************************
63 * SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
65 BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_LIST_DETAIL_DATA_W devinfo_data )
71 /***********************************************************************
74 * NO WINAPI in description given
76 HDEVINFO WINAPI SetupDiGetClassDevsExA(const GUID *class, PCSTR filter, HWND parent, DWORD flags, HDEVINFO deviceset, PCSTR machine, PVOID reserved)
78 FIXME("filter %s machine %s\n",debugstr_a(filter),debugstr_a(machine));
82 /***********************************************************************
83 * CM_Connect_MachineW (SETUPAPI.@)
85 DWORD WINAPI CM_Connect_MachineW(LPCWSTR name, void * machine)
87 #define CR_SUCCESS 0x00000000
88 #define CR_ACCESS_DENIED 0x00000033
90 return CR_ACCESS_DENIED;
93 /***********************************************************************
94 * CM_Disconnect_Machine (SETUPAPI.@)
96 DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
103 /***********************************************************************
104 * CM_Get_Device_ID_ListA (SETUPAPI.@)
107 DWORD WINAPI CM_Get_Device_ID_ListA(
108 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
110 FIXME("%p %p %d %d\n", pszFilter, Buffer, BufferLen, ulFlags );
116 /***********************************************************************
117 * SetupCopyOEMInfA (SETUPAPI.@)
119 BOOL WINAPI SetupCopyOEMInfA(PCSTR sourceinffile, PCSTR sourcemedialoc,
120 DWORD mediatype, DWORD copystyle, PSTR destinfname,
121 DWORD destnamesize, PDWORD required,
122 PSTR *destinfnamecomponent)
124 FIXME("stub: source %s location %s ...\n", debugstr_a(sourceinffile),
125 debugstr_a(sourcemedialoc));
129 /***********************************************************************
130 * SetupCopyOEMInfW (SETUPAPI.@)
132 BOOL WINAPI SetupCopyOEMInfW(PCWSTR sourceinffile, PCWSTR sourcemedialoc,
133 DWORD mediatype, DWORD copystyle, PWSTR destinfname,
134 DWORD destnamesize, PDWORD required,
135 PWSTR *destinfnamecomponent)
137 FIXME("stub: source %s location %s ...\n", debugstr_w(sourceinffile),
138 debugstr_w(sourcemedialoc));
142 /***********************************************************************
143 * SetupInitializeFileLogW(SETUPAPI.@)
145 HANDLE WINAPI SetupInitializeFileLogW(LPWSTR LogFileName, DWORD Flags)
147 FIXME("Stub %s, 0x%x\n",debugstr_w(LogFileName),Flags);
148 return INVALID_HANDLE_VALUE;
151 /***********************************************************************
152 * SetupInitializeFileLogA(SETUPAPI.@)
154 HANDLE WINAPI SetupInitializeFileLogA(LPSTR LogFileName, DWORD Flags)
156 FIXME("Stub %s, 0x%x\n",debugstr_a(LogFileName),Flags);
157 return INVALID_HANDLE_VALUE;
160 /***********************************************************************
161 * SetupTerminateFileLog(SETUPAPI.@)
163 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
165 FIXME ("Stub %p\n",FileLogHandle);
169 /***********************************************************************
170 * RegistryDelnode(SETUPAPI.@)
172 BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
174 FIXME("%08x %08x: stub\n", x, y);
178 /***********************************************************************
179 * SetupCloseLog(SETUPAPI.@)
181 void WINAPI SetupCloseLog()
186 /***********************************************************************
187 * SetupLogErrorW(SETUPAPI.@)
189 BOOL WINAPI SetupLogErrorW(PCWSTR MessageString, LogSeverity Severity)
191 FIXME("(%s, %d) stub\n", debugstr_w(MessageString), Severity);
195 /***********************************************************************
196 * SetupOpenLog(SETUPAPI.@)
198 BOOL WINAPI SetupOpenLog(BOOL Reserved)
200 FIXME("(%d) stub\n", Reserved);
204 /***********************************************************************
205 * SetupPromptReboot(SETUPAPI.@)
207 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
209 FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
213 /***********************************************************************
214 * SetupSetSourceListA (SETUPAPI.@)
216 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
218 FIXME("0x%08x %p %d\n", flags, list, count);
222 /***********************************************************************
223 * SetupSetSourceListW (SETUPAPI.@)
225 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
227 FIXME("0x%08x %p %d\n", flags, list, count);
231 /***********************************************************************
232 * SetupDiGetINFClassA (SETUPAPI.@)
234 BOOL WINAPI SetupDiGetINFClassA(PCSTR inf, LPGUID class_guid, PSTR class_name,
235 DWORD size, PDWORD required_size)
237 FIXME("%s %p %p %d %p\n", debugstr_a(inf), class_guid, class_name, size, required_size);
241 /***********************************************************************
242 * SetupDiGetINFClassW (SETUPAPI.@)
244 BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name,
245 DWORD size, PDWORD required_size)
247 FIXME("%s %p %p %d %p\n", debugstr_w(inf), class_guid, class_name, size, required_size);