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"
33 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
35 /***********************************************************************
36 * TPWriteProfileString (SETUPX.62)
38 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string )
40 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) );
45 /***********************************************************************
46 * suErrorToIds (SETUPX.61)
48 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
50 FIXME( "%x %x: stub\n", w1, w2 );
54 /***********************************************************************
55 * CM_Connect_MachineA (SETUPAPI.@)
57 CONFIGRET WINAPI CM_Connect_MachineA(PCSTR name, PHMACHINE machine)
59 FIXME("(%s %p) stub\n", name, machine);
60 return CR_ACCESS_DENIED;
63 /***********************************************************************
64 * CM_Connect_MachineW (SETUPAPI.@)
66 CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)
69 return CR_ACCESS_DENIED;
72 /***********************************************************************
73 * CM_Create_DevNodeA (SETUPAPI.@)
75 CONFIGRET WINAPI CM_Create_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, DEVINST dnParent, ULONG ulFlags)
77 FIXME("(%p %s 0x%08x 0x%08x) stub\n", pdnDevInst, pDeviceID, dnParent, ulFlags);
81 /***********************************************************************
82 * CM_Create_DevNodeW (SETUPAPI.@)
84 CONFIGRET WINAPI CM_Create_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, DEVINST dnParent, ULONG ulFlags)
86 FIXME("(%p %s 0x%08x 0x%08x) stub\n", pdnDevInst, debugstr_w(pDeviceID), dnParent, ulFlags);
90 /***********************************************************************
91 * CM_Disconnect_Machine (SETUPAPI.@)
93 CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
100 /***********************************************************************
101 * CM_Get_Device_ID_ListA (SETUPAPI.@)
104 CONFIGRET WINAPI CM_Get_Device_ID_ListA(
105 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
107 FIXME("%p %p %d %d\n", pszFilter, Buffer, BufferLen, ulFlags );
112 /***********************************************************************
113 * CM_Get_Parent (SETUPAPI.@)
115 DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
117 FIXME("%p 0x%08x 0x%08x stub\n", pdnDevInst, dnDevInst, ulFlags);
118 *pdnDevInst = dnDevInst;
122 /***********************************************************************
123 * SetupInitializeFileLogW(SETUPAPI.@)
125 HSPFILELOG WINAPI SetupInitializeFileLogW(LPCWSTR LogFileName, DWORD Flags)
127 FIXME("Stub %s, 0x%x\n",debugstr_w(LogFileName),Flags);
128 return INVALID_HANDLE_VALUE;
131 /***********************************************************************
132 * SetupInitializeFileLogA(SETUPAPI.@)
134 HSPFILELOG WINAPI SetupInitializeFileLogA(LPCSTR LogFileName, DWORD Flags)
136 FIXME("Stub %s, 0x%x\n",debugstr_a(LogFileName),Flags);
137 return INVALID_HANDLE_VALUE;
140 /***********************************************************************
141 * SetupTerminateFileLog(SETUPAPI.@)
143 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
145 FIXME ("Stub %p\n",FileLogHandle);
149 /***********************************************************************
150 * RegistryDelnode(SETUPAPI.@)
152 BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
154 FIXME("%08x %08x: stub\n", x, y);
158 /***********************************************************************
159 * SetupCloseLog(SETUPAPI.@)
161 void WINAPI SetupCloseLog(void)
166 /***********************************************************************
167 * SetupLogErrorW(SETUPAPI.@)
169 BOOL WINAPI SetupLogErrorW(LPCWSTR MessageString, LogSeverity Severity)
171 FIXME("(%s, %d) stub\n", debugstr_w(MessageString), Severity);
175 /***********************************************************************
176 * SetupOpenLog(SETUPAPI.@)
178 BOOL WINAPI SetupOpenLog(BOOL Reserved)
180 FIXME("(%d) stub\n", Reserved);
184 /***********************************************************************
185 * SetupPromptReboot(SETUPAPI.@)
187 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
189 FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
193 /***********************************************************************
194 * SetupSetSourceListA (SETUPAPI.@)
196 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
198 FIXME("0x%08x %p %d\n", flags, list, count);
202 /***********************************************************************
203 * SetupSetSourceListW (SETUPAPI.@)
205 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
207 FIXME("0x%08x %p %d\n", flags, list, count);
211 /***********************************************************************
212 * SetupDiGetINFClassA (SETUPAPI.@)
214 BOOL WINAPI SetupDiGetINFClassA(PCSTR inf, LPGUID class_guid, PSTR class_name,
215 DWORD size, PDWORD required_size)
217 FIXME("%s %p %p %d %p\n", debugstr_a(inf), class_guid, class_name, size, required_size);
221 /***********************************************************************
222 * SetupDiGetINFClassW (SETUPAPI.@)
224 BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name,
225 DWORD size, PDWORD required_size)
227 FIXME("%s %p %p %d %p\n", debugstr_w(inf), class_guid, class_name, size, required_size);
231 /***********************************************************************
232 * SetupDiDestroyClassImageList (SETUPAPI.@)
234 BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA ClassListImageData)
236 FIXME("(%p) stub\n", ClassListImageData);
240 /***********************************************************************
241 * SetupPromptForDiskA (SETUPAPI.@)
243 UINT WINAPI SetupPromptForDiskA(HWND hwndParent, PCSTR DialogTitle, PCSTR DiskName,
244 PCSTR PathToSource, PCSTR FileSought, PCSTR TagFile, DWORD DiskPromptStyle,
245 PSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
247 FIXME("%p %s %s %s %s %s %d %p %d %p: stub\n", hwndParent, debugstr_a(DialogTitle),
248 debugstr_a(DiskName), debugstr_a(PathToSource), debugstr_a(FileSought),
249 debugstr_a(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
254 /***********************************************************************
255 * SetupPromptForDiskW (SETUPAPI.@)
257 UINT WINAPI SetupPromptForDiskW(HWND hwndParent, PCWSTR DialogTitle, PCWSTR DiskName,
258 PCWSTR PathToSource, PCWSTR FileSought, PCWSTR TagFile, DWORD DiskPromptStyle,
259 PWSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
261 FIXME("%p %s %s %s %s %s %d %p %d %p: stub\n", hwndParent, debugstr_w(DialogTitle),
262 debugstr_w(DiskName), debugstr_w(PathToSource), debugstr_w(FileSought),
263 debugstr_w(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
268 /***********************************************************************
269 * CM_Locate_DevNodeA (SETUPAPI.@)
271 CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags)
273 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags);
278 /***********************************************************************
279 * CM_Locate_DevNodeW (SETUPAPI.@)
281 CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags)
283 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags);