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 * CM_Connect_MachineA (SETUPAPI.@)
38 CONFIGRET WINAPI CM_Connect_MachineA(PCSTR name, PHMACHINE machine)
40 FIXME("(%s %p) stub\n", name, machine);
41 return CR_ACCESS_DENIED;
44 /***********************************************************************
45 * CM_Connect_MachineW (SETUPAPI.@)
47 CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)
50 return CR_ACCESS_DENIED;
53 /***********************************************************************
54 * CM_Create_DevNodeA (SETUPAPI.@)
56 CONFIGRET WINAPI CM_Create_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, DEVINST dnParent, ULONG ulFlags)
58 FIXME("(%p %s 0x%08x 0x%08x) stub\n", pdnDevInst, pDeviceID, dnParent, ulFlags);
62 /***********************************************************************
63 * CM_Create_DevNodeW (SETUPAPI.@)
65 CONFIGRET WINAPI CM_Create_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, DEVINST dnParent, ULONG ulFlags)
67 FIXME("(%p %s 0x%08x 0x%08x) stub\n", pdnDevInst, debugstr_w(pDeviceID), dnParent, ulFlags);
71 /***********************************************************************
72 * CM_Disconnect_Machine (SETUPAPI.@)
74 CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
81 /***********************************************************************
82 * CM_Get_Device_ID_ListA (SETUPAPI.@)
84 CONFIGRET WINAPI CM_Get_Device_ID_ListA(
85 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
87 FIXME("%s %p %d 0x%08x\n", debugstr_a(pszFilter), Buffer, BufferLen, ulFlags);
89 if (BufferLen >= 2) Buffer[0] = Buffer[1] = 0;
93 /***********************************************************************
94 * CM_Get_Device_ID_ListW (SETUPAPI.@)
96 CONFIGRET WINAPI CM_Get_Device_ID_ListW(
97 PCWSTR pszFilter, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
99 FIXME("%s %p %d 0x%08x\n", debugstr_w(pszFilter), Buffer, BufferLen, ulFlags);
101 if (BufferLen >= 2) Buffer[0] = Buffer[1] = 0;
105 /***********************************************************************
106 * CM_Get_Parent (SETUPAPI.@)
108 DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
110 FIXME("%p 0x%08x 0x%08x stub\n", pdnDevInst, dnDevInst, ulFlags);
111 *pdnDevInst = dnDevInst;
115 /***********************************************************************
116 * SetupInitializeFileLogW(SETUPAPI.@)
118 HSPFILELOG WINAPI SetupInitializeFileLogW(LPCWSTR LogFileName, DWORD Flags)
120 FIXME("Stub %s, 0x%x\n",debugstr_w(LogFileName),Flags);
121 return INVALID_HANDLE_VALUE;
124 /***********************************************************************
125 * SetupInitializeFileLogA(SETUPAPI.@)
127 HSPFILELOG WINAPI SetupInitializeFileLogA(LPCSTR LogFileName, DWORD Flags)
129 FIXME("Stub %s, 0x%x\n",debugstr_a(LogFileName),Flags);
130 return INVALID_HANDLE_VALUE;
133 /***********************************************************************
134 * SetupTerminateFileLog(SETUPAPI.@)
136 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
138 FIXME ("Stub %p\n",FileLogHandle);
142 /***********************************************************************
143 * RegistryDelnode(SETUPAPI.@)
145 BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
147 FIXME("%08x %08x: stub\n", x, y);
151 /***********************************************************************
152 * SetupCloseLog(SETUPAPI.@)
154 void WINAPI SetupCloseLog(void)
159 /***********************************************************************
160 * SetupLogErrorW(SETUPAPI.@)
162 BOOL WINAPI SetupLogErrorW(LPCWSTR MessageString, LogSeverity Severity)
164 FIXME("(%s, %d) stub\n", debugstr_w(MessageString), Severity);
168 /***********************************************************************
169 * SetupOpenLog(SETUPAPI.@)
171 BOOL WINAPI SetupOpenLog(BOOL Reserved)
173 FIXME("(%d) stub\n", Reserved);
177 /***********************************************************************
178 * SetupPromptReboot(SETUPAPI.@)
180 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
182 FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
186 /***********************************************************************
187 * SetupSetSourceListA (SETUPAPI.@)
189 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
191 FIXME("0x%08x %p %d\n", flags, list, count);
195 /***********************************************************************
196 * SetupSetSourceListW (SETUPAPI.@)
198 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
200 FIXME("0x%08x %p %d\n", flags, list, count);
204 /***********************************************************************
205 * SetupDiGetINFClassA (SETUPAPI.@)
207 BOOL WINAPI SetupDiGetINFClassA(PCSTR inf, LPGUID class_guid, PSTR class_name,
208 DWORD size, PDWORD required_size)
210 FIXME("%s %p %p %d %p\n", debugstr_a(inf), class_guid, class_name, size, required_size);
214 /***********************************************************************
215 * SetupDiGetINFClassW (SETUPAPI.@)
217 BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name,
218 DWORD size, PDWORD required_size)
220 FIXME("%s %p %p %d %p\n", debugstr_w(inf), class_guid, class_name, size, required_size);
224 /***********************************************************************
225 * SetupDiDestroyClassImageList (SETUPAPI.@)
227 BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA ClassListImageData)
229 FIXME("(%p) stub\n", ClassListImageData);
233 /***********************************************************************
234 * SetupDiGetClassImageList (SETUPAPI.@)
236 BOOL WINAPI SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA ClassImageListData)
238 FIXME("(%p) stub\n", ClassImageListData);
242 /***********************************************************************
243 * SetupDiGetClassImageList (SETUPAPI.@)
245 BOOL WINAPI SetupDiGetClassImageIndex(PSP_CLASSIMAGELIST_DATA ClassImageListData, const GUID *class, PINT index)
247 FIXME("%p %p %p\n", ClassImageListData, class, index);
251 /***********************************************************************
252 * CM_Locate_DevNodeA (SETUPAPI.@)
254 CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags)
256 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags);
261 /***********************************************************************
262 * CM_Locate_DevNodeW (SETUPAPI.@)
264 CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags)
266 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags);
271 /***********************************************************************
272 * CM_Locate_DevNode_ExA (SETUPAPI.@)
274 CONFIGRET WINAPI CM_Locate_DevNode_ExA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags, HMACHINE hMachine)
276 FIXME("%p %s 0x%08x %p: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags, hMachine);
281 /***********************************************************************
282 * CM_Locate_DevNode_ExW (SETUPAPI.@)
284 CONFIGRET WINAPI CM_Locate_DevNode_ExW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags, HMACHINE hMachine)
286 FIXME("%p %s 0x%08x %p: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags, hMachine);
291 /***********************************************************************
292 * CM_Get_Device_Interface_List_Size_ExA (SETUPAPI.@)
294 CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExA(PULONG len, LPGUID class, DEVINSTID_A id,
295 ULONG flags, HMACHINE machine)
297 FIXME("%p %p %s 0x%08x %p: stub\n", len, class, debugstr_a(id), flags, machine);
301 /***********************************************************************
302 * CM_Get_Device_Interface_List_Size_ExW (SETUPAPI.@)
304 CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExW(PULONG len, LPGUID class, DEVINSTID_W id,
305 ULONG flags, HMACHINE machine)
307 FIXME("%p %p %s 0x%08x %p: stub\n", len, class, debugstr_w(id), flags, machine);
311 /***********************************************************************
312 * CM_Enumerate_Classes (SETUPAPI.@)
314 CONFIGRET WINAPI CM_Enumerate_Classes(ULONG index, LPGUID class, ULONG flags)
316 FIXME("%u %p 0x%08x: stub\n", index, class, flags);
317 return CR_NO_SUCH_VALUE;