msvcrt: Improve acosf compatibility with native ucrtbase.
[wine.git] / dlls / setupapi / stubs.c
blob7eb0666f6515c4fdbd8d0faf62140a7f25b4fb16
1 /*
2 * SetupAPI stubs
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
21 #include <stdarg.h>
23 #include "wine/debug.h"
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wingdi.h"
27 #include "winuser.h"
28 #include "winreg.h"
29 #include "cfgmgr32.h"
30 #include "setupapi.h"
31 #include "winnls.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)
49 FIXME("stub\n");
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);
59 return CR_SUCCESS;
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);
68 return CR_SUCCESS;
71 /***********************************************************************
72 * CM_Disconnect_Machine (SETUPAPI.@)
74 CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
76 FIXME("stub\n");
77 return CR_SUCCESS;
81 /***********************************************************************
82 * CM_Open_DevNode_Key (SETUPAPI.@)
84 CONFIGRET WINAPI CM_Open_DevNode_Key(
85 DEVINST dnDevInst, REGSAM access, ULONG ulHardwareProfile, REGDISPOSITION disposition,
86 PHKEY phkDevice, ULONG ulFlags)
88 FIXME("0x%08x 0x%08x 0x%08x 0x%08x %p 0x%08x : stub\n", dnDevInst, access, ulHardwareProfile,
89 disposition, phkDevice, ulFlags);
90 return CR_SUCCESS;
93 /***********************************************************************
94 * CM_Get_Child (SETUPAPI.@)
96 CONFIGRET WINAPI CM_Get_Child(
97 PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
99 FIXME("%p 0x%08x 0x%08x: stub\n", pdnDevInst, dnDevInst, ulFlags);
100 return CR_SUCCESS;
103 /***********************************************************************
104 * CM_Get_Child_Ex (SETUPAPI.@)
106 CONFIGRET WINAPI CM_Get_Child_Ex(
107 PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
109 FIXME("%p 0x%08x 0x%08x %p: stub\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
110 return CR_SUCCESS;
113 /***********************************************************************
114 * CM_Get_Device_ID_ExA (SETUPAPI.@)
116 DWORD WINAPI CM_Get_Device_ID_ExA(
117 DEVINST dnDevInst, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags, HMACHINE hMachine)
119 FIXME("0x%08x %p 0x%08x 0x%08x %p: stub\n", dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
120 return CR_SUCCESS;
123 /***********************************************************************
124 * CM_Get_Device_ID_ExW (SETUPAPI.@)
126 DWORD WINAPI CM_Get_Device_ID_ExW(
127 DEVINST dnDevInst, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags, HMACHINE hMachine)
129 FIXME("0x%08x %p 0x%08x 0x%08x %p: stub\n", dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
130 return CR_SUCCESS;
133 /***********************************************************************
134 * CM_Get_Device_ID_ListA (SETUPAPI.@)
136 CONFIGRET WINAPI CM_Get_Device_ID_ListA(
137 PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
139 FIXME("%s %p %d 0x%08x: stub\n", debugstr_a(pszFilter), Buffer, BufferLen, ulFlags);
141 if (BufferLen >= 2) Buffer[0] = Buffer[1] = 0;
142 return CR_SUCCESS;
145 /***********************************************************************
146 * CM_Get_Device_ID_ListW (SETUPAPI.@)
148 CONFIGRET WINAPI CM_Get_Device_ID_ListW(
149 PCWSTR pszFilter, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
151 FIXME("%s %p %d 0x%08x: stub\n", debugstr_w(pszFilter), Buffer, BufferLen, ulFlags);
153 if (BufferLen >= 2) Buffer[0] = Buffer[1] = 0;
154 return CR_SUCCESS;
157 /***********************************************************************
158 * CM_Get_Device_ID_List_SizeA (SETUPAPI.@)
160 CONFIGRET WINAPI CM_Get_Device_ID_List_SizeA( PULONG pulLen, PCSTR pszFilter, ULONG ulFlags )
162 FIXME("%p %s 0x%08x: stub\n", pulLen, debugstr_a(pszFilter), ulFlags);
164 return CR_SUCCESS;
167 /***********************************************************************
168 * CM_Get_Device_ID_List_SizeW (SETUPAPI.@)
170 CONFIGRET WINAPI CM_Get_Device_ID_List_SizeW( PULONG pulLen, PCWSTR pszFilter, ULONG ulFlags )
172 FIXME("%p %s 0x%08x: stub\n", pulLen, debugstr_w(pszFilter), ulFlags);
174 return CR_SUCCESS;
177 /***********************************************************************
178 * CM_Get_Parent (SETUPAPI.@)
180 DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
182 FIXME("%p 0x%08x 0x%08x stub\n", pdnDevInst, dnDevInst, ulFlags);
183 if(pdnDevInst)
184 *pdnDevInst = 0;
185 return CR_NO_SUCH_DEVNODE;
188 /***********************************************************************
189 * SetupInitializeFileLogW(SETUPAPI.@)
191 HSPFILELOG WINAPI SetupInitializeFileLogW(LPCWSTR LogFileName, DWORD Flags)
193 FIXME("Stub %s, 0x%x\n",debugstr_w(LogFileName),Flags);
194 return INVALID_HANDLE_VALUE;
197 /***********************************************************************
198 * SetupInitializeFileLogA(SETUPAPI.@)
200 HSPFILELOG WINAPI SetupInitializeFileLogA(LPCSTR LogFileName, DWORD Flags)
202 FIXME("Stub %s, 0x%x\n",debugstr_a(LogFileName),Flags);
203 return INVALID_HANDLE_VALUE;
206 /***********************************************************************
207 * SetupTerminateFileLog(SETUPAPI.@)
209 BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
211 FIXME ("Stub %p\n",FileLogHandle);
212 return TRUE;
215 /***********************************************************************
216 * RegistryDelnode(SETUPAPI.@)
218 BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
220 FIXME("%08x %08x: stub\n", x, y);
221 return FALSE;
224 /***********************************************************************
225 * SetupPromptReboot(SETUPAPI.@)
227 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
229 FIXME("%p, %p, %d: stub\n", file_queue, owner, scan_only);
230 return 0;
233 /***********************************************************************
234 * SetupQueryDrivesInDiskSpaceListA (SETUPAPI.@)
236 BOOL WINAPI SetupQueryDrivesInDiskSpaceListA(HDSKSPC disk_space, PSTR return_buffer, DWORD return_buffer_size, PDWORD required_size)
238 FIXME("%p, %p, %d, %p: stub\n", disk_space, return_buffer, return_buffer_size, required_size);
239 return FALSE;
242 /***********************************************************************
243 * SetupQueryDrivesInDiskSpaceListW (SETUPAPI.@)
245 BOOL WINAPI SetupQueryDrivesInDiskSpaceListW(HDSKSPC disk_space, PWSTR return_buffer, DWORD return_buffer_size, PDWORD required_size)
247 FIXME("%p, %p, %d, %p: stub\n", disk_space, return_buffer, return_buffer_size, required_size);
248 return FALSE;
251 /***********************************************************************
252 * SetupAddToSourceListA (SETUPAPI.@)
254 BOOL WINAPI SetupAddToSourceListA(DWORD flags, PCSTR source)
256 FIXME("0x%08x %s: stub\n", flags, debugstr_a(source));
257 return TRUE;
260 /***********************************************************************
261 * SetupAddToSourceListW (SETUPAPI.@)
263 BOOL WINAPI SetupAddToSourceListW(DWORD flags, PCWSTR source)
265 FIXME("0x%08x %s: stub\n", flags, debugstr_w(source));
266 return TRUE;
269 /***********************************************************************
270 * SetupSetSourceListA (SETUPAPI.@)
272 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
274 FIXME("0x%08x %p %d: stub\n", flags, list, count);
275 return FALSE;
278 /***********************************************************************
279 * SetupSetSourceListW (SETUPAPI.@)
281 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
283 FIXME("0x%08x %p %d: stub\n", flags, list, count);
284 return FALSE;
287 /***********************************************************************
288 * SetupDiDestroyClassImageList (SETUPAPI.@)
290 BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA ClassListImageData)
292 FIXME("(%p) stub\n", ClassListImageData);
293 return TRUE;
296 /***********************************************************************
297 * SetupDiGetClassImageList (SETUPAPI.@)
299 BOOL WINAPI SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA ClassImageListData)
301 FIXME("(%p) stub\n", ClassImageListData);
302 return FALSE;
305 /***********************************************************************
306 * SetupDiGetClassImageList (SETUPAPI.@)
308 BOOL WINAPI SetupDiGetClassImageIndex(PSP_CLASSIMAGELIST_DATA ClassImageListData, const GUID *class, PINT index)
310 FIXME("%p %p %p\n", ClassImageListData, class, index);
311 return FALSE;
314 /***********************************************************************
315 * CM_Locate_DevNodeA (SETUPAPI.@)
317 CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags)
319 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags);
321 return CR_FAILURE;
324 /***********************************************************************
325 * CM_Locate_DevNodeW (SETUPAPI.@)
327 CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags)
329 FIXME("%p %s 0x%08x: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags);
331 return CR_FAILURE;
334 /***********************************************************************
335 * CM_Locate_DevNode_ExA (SETUPAPI.@)
337 CONFIGRET WINAPI CM_Locate_DevNode_ExA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags, HMACHINE hMachine)
339 FIXME("%p %s 0x%08x %p: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags, hMachine);
341 return CR_FAILURE;
344 /***********************************************************************
345 * CM_Locate_DevNode_ExW (SETUPAPI.@)
347 CONFIGRET WINAPI CM_Locate_DevNode_ExW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags, HMACHINE hMachine)
349 FIXME("%p %s 0x%08x %p: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags, hMachine);
351 return CR_FAILURE;
354 /***********************************************************************
355 * CM_Get_Device_Interface_List_SizeA (SETUPAPI.@)
357 CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeA(PULONG len, LPGUID class, DEVINSTID_A id,
358 ULONG flags)
360 FIXME("%p %p %s 0x%08x: stub\n", len, class, debugstr_a(id), flags);
361 return CR_FAILURE;
364 /***********************************************************************
365 * CM_Get_Device_Interface_List_SizeW (SETUPAPI.@)
367 CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeW(PULONG len, LPGUID class, DEVINSTID_W id,
368 ULONG flags)
370 FIXME("%p %p %s 0x%08x: stub\n", len, class, debugstr_w(id), flags);
371 return CR_FAILURE;
374 /***********************************************************************
375 * CM_Get_Device_Interface_List_Size_ExA (SETUPAPI.@)
377 CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExA(PULONG len, LPGUID class, DEVINSTID_A id,
378 ULONG flags, HMACHINE machine)
380 FIXME("%p %p %s 0x%08x %p: stub\n", len, class, debugstr_a(id), flags, machine);
381 return CR_FAILURE;
384 /***********************************************************************
385 * CM_Get_Device_Interface_List_Size_ExW (SETUPAPI.@)
387 CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExW(PULONG len, LPGUID class, DEVINSTID_W id,
388 ULONG flags, HMACHINE machine)
390 FIXME("%p %p %s 0x%08x %p: stub\n", len, class, debugstr_w(id), flags, machine);
391 return CR_FAILURE;
394 /***********************************************************************
395 * CM_Get_Device_Interface_AliasA (SETUPAPI.@)
397 CONFIGRET WINAPI CM_Get_Device_Interface_AliasA(const char *interface, GUID *class,
398 char *name, ULONG *len, ULONG flags)
400 FIXME("%s %p %p %p 0x%08x: stub\n", debugstr_a(interface), class, name, len, flags);
401 return CR_FAILURE;
404 /***********************************************************************
405 * CM_Get_Device_Interface_AliasW (SETUPAPI.@)
407 CONFIGRET WINAPI CM_Get_Device_Interface_AliasW(const WCHAR *interface, GUID *class,
408 WCHAR *name, ULONG *len, ULONG flags)
410 FIXME("%s %p %p %p 0x%08x: stub\n", debugstr_w(interface), class, name, len, flags);
411 return CR_FAILURE;
414 /***********************************************************************
415 * CM_Get_DevNode_Registry_Property_ExA (SETUPAPI.@)
417 CONFIGRET WINAPI CM_Get_DevNode_Registry_Property_ExA(DEVINST dev, ULONG prop, PULONG regdatatype,
418 PVOID buf, PULONG len, ULONG flags, HMACHINE machine)
420 FIXME("0x%08x %u %p %p %p 0x%08x %p: stub\n", dev, prop, regdatatype, buf, len, flags, machine);
421 return CR_FAILURE;
424 /***********************************************************************
425 * CM_Get_DevNode_Registry_Property_ExW (SETUPAPI.@)
427 CONFIGRET WINAPI CM_Get_DevNode_Registry_Property_ExW(DEVINST dev, ULONG prop, PULONG regdatatype,
428 PVOID buf, PULONG len, ULONG flags, HMACHINE machine)
430 FIXME("0x%08x %u %p %p %p 0x%08x %p: stub\n", dev, prop, regdatatype, buf, len, flags, machine);
431 return CR_FAILURE;
434 /***********************************************************************
435 * CM_Get_DevNode_Registry_PropertyA (SETUPAPI.@)
437 CONFIGRET WINAPI CM_Get_DevNode_Registry_PropertyA(DEVINST dev, ULONG prop, PULONG regdatatype,
438 PVOID buf, PULONG len, ULONG flags)
440 return CM_Get_DevNode_Registry_Property_ExA(dev, prop, regdatatype, buf, len, flags, NULL);
443 /***********************************************************************
444 * CM_Get_DevNode_Registry_PropertyW (SETUPAPI.@)
446 CONFIGRET WINAPI CM_Get_DevNode_Registry_PropertyW(DEVINST dev, ULONG prop, PULONG regdatatype,
447 PVOID buf, PULONG len, ULONG flags)
449 return CM_Get_DevNode_Registry_Property_ExW(dev, prop, regdatatype, buf, len, flags, NULL);
452 /***********************************************************************
453 * CM_Get_DevNode_Status (SETUPAPI.@)
455 CONFIGRET WINAPI CM_Get_DevNode_Status(ULONG *status, ULONG *problem, DEVINST dev,
456 ULONG flags)
458 FIXME("%p %p 0x%08x 0x%08x: stub\n", status, problem, dev, flags);
459 return CR_FAILURE;
462 /***********************************************************************
463 * CM_Get_DevNode_Status_Ex (SETUPAPI.@)
465 CONFIGRET WINAPI CM_Get_DevNode_Status_Ex(ULONG *status, ULONG *problem, DEVINST dev,
466 ULONG flags, HMACHINE machine)
468 FIXME("%p %p 0x%08x 0x%08x %p: stub\n", status, problem, dev, flags, machine);
469 return CR_FAILURE;
472 /***********************************************************************
473 * CM_Enumerate_Classes (SETUPAPI.@)
475 CONFIGRET WINAPI CM_Enumerate_Classes(ULONG index, LPGUID class, ULONG flags)
477 FIXME("%u %p 0x%08x: stub\n", index, class, flags);
478 return CR_NO_SUCH_VALUE;
481 /***********************************************************************
482 * CM_Get_Class_Registry_PropertyA (SETUPAPI.@)
484 CONFIGRET WINAPI CM_Get_Class_Registry_PropertyA(LPGUID class, ULONG prop, PULONG regdatatype,
485 PVOID buf, ULONG len, ULONG flags, HMACHINE machine)
487 FIXME("%p %u %p %p %u 0x%08x %p: stub\n", class, prop, regdatatype, buf, len, flags, machine);
488 return CR_FAILURE;
491 /***********************************************************************
492 * CM_Get_Class_Registry_PropertyW (SETUPAPI.@)
494 CONFIGRET WINAPI CM_Get_Class_Registry_PropertyW(LPGUID class, ULONG prop, PULONG regdatatype,
495 PVOID buf, ULONG len, ULONG flags, HMACHINE machine)
497 FIXME("%p %u %p %p %u 0x%08x %p: stub\n", class, prop, regdatatype, buf, len, flags, machine);
498 return CR_FAILURE;
501 /***********************************************************************
502 * CM_Get_Sibling (SETUPAPI.@)
504 CONFIGRET WINAPI CM_Get_Sibling(
505 PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags)
507 FIXME("%p 0x%08x 0x%08x: stub\n", pdnDevInst, DevInst, ulFlags);
508 return CR_FAILURE;
511 /***********************************************************************
512 * CM_Get_Sibling_Ex (SETUPAPI.@)
514 CONFIGRET WINAPI CM_Get_Sibling_Ex(
515 PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags, HMACHINE hMachine)
517 FIXME("%p 0x%08x 0x%08x %p: stub\n", pdnDevInst, DevInst, ulFlags, hMachine);
518 return CR_FAILURE;
521 CONFIGRET WINAPI CM_Reenumerate_DevNode(DEVINST dnDevInst, ULONG ulFlags)
523 FIXME("0x%08x 0x%08x: stub\n", dnDevInst, ulFlags);
524 return CR_FAILURE;
527 CONFIGRET WINAPI CM_Reenumerate_DevNode_Ex(DEVINST dnDevInst, ULONG ulFlags, HMACHINE machine)
529 FIXME("0x%08x 0x%08x %p: stub\n", dnDevInst, ulFlags, machine);
530 return CR_FAILURE;
533 /***********************************************************************
534 * CM_Set_Class_Registry_PropertyA (SETUPAPI.@)
536 CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, LPCVOID buf, ULONG len,
537 ULONG flags, HMACHINE machine)
539 FIXME("%p %u %p %u 0x%08x %p: stub\n", class, prop, buf, len, flags, machine);
540 return CR_FAILURE;
543 /***********************************************************************
544 * CM_Set_Class_Registry_PropertyW (SETUPAPI.@)
546 CONFIGRET WINAPI CM_Set_Class_Registry_PropertyW(LPGUID class, ULONG prop, LPCVOID buf, ULONG len,
547 ULONG flags, HMACHINE machine)
549 FIXME("%p %u %p %u 0x%08x %p: stub\n", class, prop, buf, len, flags, machine);
550 return CR_FAILURE;
553 /***********************************************************************
554 * SetupLogFileW (SETUPAPI.@)
556 BOOL WINAPI SetupLogFileW(
557 HSPFILELOG FileLogHandle,
558 PCWSTR LogSectionName,
559 PCWSTR SourceFileName,
560 PCWSTR TargetFileName,
561 DWORD Checksum,
562 PCWSTR DiskTagfile,
563 PCWSTR DiskDescription,
564 PCWSTR OtherInfo,
565 DWORD Flags )
567 FIXME("(%p, %s, '%s', '%s', %d, %s, %s, %s, %d): stub\n", FileLogHandle,
568 debugstr_w(LogSectionName), debugstr_w(SourceFileName),
569 debugstr_w(TargetFileName), Checksum, debugstr_w(DiskTagfile),
570 debugstr_w(DiskDescription), debugstr_w(OtherInfo), Flags);
572 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
573 return FALSE;
576 /***********************************************************************
577 * SetupLogFileA (SETUPAPI.@)
579 BOOL WINAPI SetupLogFileA(
580 HSPFILELOG FileLogHandle,
581 PCSTR LogSectionName,
582 PCSTR SourceFileName,
583 PCSTR TargetFileName,
584 DWORD Checksum,
585 PCSTR DiskTagfile,
586 PCSTR DiskDescription,
587 PCSTR OtherInfo,
588 DWORD Flags )
590 FIXME("(%p, %p, '%s', '%s', %d, %p, %p, %p, %d): stub\n", FileLogHandle,
591 LogSectionName, SourceFileName, TargetFileName, Checksum, DiskTagfile,
592 DiskDescription, OtherInfo, Flags);
594 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
595 return FALSE;
598 /***********************************************************************
599 * SetupDiDestroyDriverInfoList (SETUPAPI.@)
602 BOOL WINAPI SetupDiDestroyDriverInfoList(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD DriverType)
604 FIXME("%p %p %d\n", DeviceInfoSet, DeviceInfoData, DriverType);
606 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
607 return FALSE;
610 /***********************************************************************
611 * SetupDiDrawMiniIcon (SETUPAPI.@)
613 INT WINAPI SetupDiDrawMiniIcon(HDC hdc, RECT rc, INT MiniIconIndex, DWORD Flags)
615 FIXME("(%p, %s, %d, %x) stub\n", hdc, wine_dbgstr_rect(&rc), MiniIconIndex, Flags);
617 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
618 return 0;
621 /***********************************************************************
622 * SetupDiGetClassBitmapIndex (SETUPAPI.@)
624 BOOL WINAPI SetupDiGetClassBitmapIndex(const GUID *ClassGuid, PINT MiniIconIndex)
626 FIXME("(%s, %p) stub\n", debugstr_guid(ClassGuid), MiniIconIndex);
628 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
629 return FALSE;
632 /***********************************************************************
633 * SetupDiLoadClassIcon (SETUPAPI.@)
635 BOOL WINAPI SetupDiLoadClassIcon(const GUID *ClassGuid, HICON *LargeIcon, PINT MiniIconIndex)
637 FIXME(": stub %s, %p, %p\n", debugstr_guid(ClassGuid), LargeIcon, MiniIconIndex);
639 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
640 return FALSE;
643 /***********************************************************************
644 * SetupDiSetSelectedDevice (SETUPAPI.@)
646 BOOL WINAPI SetupDiSetSelectedDevice(HDEVINFO SetupDiSetSelectedDevice, PSP_DEVINFO_DATA DeviceInfoData)
648 FIXME("(%p, %p) stub\n", SetupDiSetSelectedDevice, DeviceInfoData);
650 return TRUE;
653 /***********************************************************************
654 * CM_Request_Device_EjectA (SETUPAPI.@)
656 CONFIGRET WINAPI CM_Request_Device_EjectA(DEVINST dev, PPNP_VETO_TYPE type, LPSTR name, ULONG length, ULONG flags)
658 FIXME("(0x%08x, %p, %p, %u, 0x%08x) stub\n", dev, type, name, length, flags);
659 return CR_SUCCESS;
662 /***********************************************************************
663 * CM_Request_Device_EjectW (SETUPAPI.@)
665 CONFIGRET WINAPI CM_Request_Device_EjectW(DEVINST dev, PPNP_VETO_TYPE type, LPWSTR name, ULONG length, ULONG flags)
667 FIXME("(0x%08x, %p, %p, %u, 0x%08x) stub\n", dev, type, name, length, flags);
668 return CR_SUCCESS;