2000-07-08 20:27:03 +02:00
|
|
|
/*
|
|
|
|
* SetupAPI stubs
|
|
|
|
*
|
2002-03-10 00:29:33 +01:00
|
|
|
* Copyright 2000 James Hatheway
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 14:49:52 +02:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2000-07-08 20:27:03 +02:00
|
|
|
*/
|
|
|
|
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
#include "wine/debug.h"
|
2000-07-08 20:27:03 +02:00
|
|
|
#include "windef.h"
|
2003-09-06 01:08:26 +02:00
|
|
|
#include "winbase.h"
|
|
|
|
#include "wingdi.h"
|
|
|
|
#include "winuser.h"
|
2003-09-11 04:58:46 +02:00
|
|
|
#include "winreg.h"
|
2007-11-13 09:32:13 +01:00
|
|
|
#include "cfgmgr32.h"
|
2000-11-06 21:24:43 +01:00
|
|
|
#include "setupapi.h"
|
2008-03-01 02:46:58 +01:00
|
|
|
#include "winnls.h"
|
2000-11-06 21:24:43 +01:00
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
|
2000-07-08 20:27:03 +02:00
|
|
|
|
2008-12-29 18:43:00 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Connect_MachineA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Connect_MachineA(PCSTR name, PHMACHINE machine)
|
|
|
|
{
|
|
|
|
FIXME("(%s %p) stub\n", name, machine);
|
|
|
|
return CR_ACCESS_DENIED;
|
|
|
|
}
|
|
|
|
|
2002-10-29 22:31:26 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Connect_MachineW (SETUPAPI.@)
|
|
|
|
*/
|
2007-11-13 09:32:13 +01:00
|
|
|
CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)
|
2002-10-10 21:23:57 +02:00
|
|
|
{
|
2013-04-13 15:36:17 +02:00
|
|
|
FIXME("stub\n");
|
2002-10-10 21:23:57 +02:00
|
|
|
return CR_ACCESS_DENIED;
|
|
|
|
}
|
2002-10-29 22:31:26 +01:00
|
|
|
|
2008-12-29 18:43:12 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Create_DevNodeA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Create_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, DEVINST dnParent, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(%p %s 0x%08lx 0x%08lx) stub\n", pdnDevInst, pDeviceID, dnParent, ulFlags);
|
2008-12-29 18:43:12 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Create_DevNodeW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Create_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, DEVINST dnParent, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(%p %s 0x%08lx 0x%08lx) stub\n", pdnDevInst, debugstr_w(pDeviceID), dnParent, ulFlags);
|
2008-12-29 18:43:12 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2002-10-29 22:31:26 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Disconnect_Machine (SETUPAPI.@)
|
|
|
|
*/
|
2007-11-13 09:32:13 +01:00
|
|
|
CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE handle)
|
2002-10-10 21:23:57 +02:00
|
|
|
{
|
2013-04-13 15:36:17 +02:00
|
|
|
FIXME("stub\n");
|
2002-10-10 21:23:57 +02:00
|
|
|
return CR_SUCCESS;
|
|
|
|
|
|
|
|
}
|
2003-04-03 01:19:14 +02:00
|
|
|
|
2017-01-19 15:05:01 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Open_DevNode_Key (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Open_DevNode_Key(
|
|
|
|
DEVINST dnDevInst, REGSAM access, ULONG ulHardwareProfile, REGDISPOSITION disposition,
|
|
|
|
PHKEY phkDevice, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx 0x%08lx 0x%08lx 0x%08lx %p 0x%08lx : stub\n", dnDevInst, access, ulHardwareProfile,
|
2017-01-19 15:05:01 +01:00
|
|
|
disposition, phkDevice, ulFlags);
|
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Child (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Child(
|
|
|
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p 0x%08lx 0x%08lx: stub\n", pdnDevInst, dnDevInst, ulFlags);
|
2017-01-19 15:05:01 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2017-01-27 13:32:30 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Child_Ex (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Child_Ex(
|
|
|
|
PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags, HMACHINE hMachine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p 0x%08lx 0x%08lx %p: stub\n", pdnDevInst, dnDevInst, ulFlags, hMachine);
|
2017-01-27 13:32:30 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2013-04-03 18:09:03 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_ID_ExA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
DWORD WINAPI CM_Get_Device_ID_ExA(
|
|
|
|
DEVINST dnDevInst, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags, HMACHINE hMachine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %p 0x%08lx 0x%08lx %p: stub\n", dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
|
2013-04-03 18:09:03 +02:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2009-12-15 17:46:59 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_ID_ExW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
DWORD WINAPI CM_Get_Device_ID_ExW(
|
|
|
|
DEVINST dnDevInst, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags, HMACHINE hMachine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %p 0x%08lx 0x%08lx %p: stub\n", dnDevInst, Buffer, BufferLen, ulFlags, hMachine);
|
2009-12-15 17:46:59 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2004-05-07 02:40:44 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_ID_ListA (SETUPAPI.@)
|
|
|
|
*/
|
2007-11-13 09:32:13 +01:00
|
|
|
CONFIGRET WINAPI CM_Get_Device_ID_ListA(
|
2004-05-07 02:40:44 +02:00
|
|
|
PCSTR pszFilter, PCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%s %p %ld 0x%08lx: stub\n", debugstr_a(pszFilter), Buffer, BufferLen, ulFlags);
|
2009-08-04 12:19:05 +02:00
|
|
|
|
|
|
|
if (BufferLen >= 2) Buffer[0] = Buffer[1] = 0;
|
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_ID_ListW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_ID_ListW(
|
|
|
|
PCWSTR pszFilter, PWCHAR Buffer, ULONG BufferLen, ULONG ulFlags )
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%s %p %ld 0x%08lx: stub\n", debugstr_w(pszFilter), Buffer, BufferLen, ulFlags);
|
2009-08-04 12:19:05 +02:00
|
|
|
|
|
|
|
if (BufferLen >= 2) Buffer[0] = Buffer[1] = 0;
|
2004-05-07 02:40:44 +02:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2011-05-26 19:23:09 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_ID_List_SizeA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_ID_List_SizeA( PULONG pulLen, PCSTR pszFilter, ULONG ulFlags )
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %s 0x%08lx: stub\n", pulLen, debugstr_a(pszFilter), ulFlags);
|
2011-05-26 19:23:09 +02:00
|
|
|
|
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_ID_List_SizeW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_ID_List_SizeW( PULONG pulLen, PCWSTR pszFilter, ULONG ulFlags )
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %s 0x%08lx: stub\n", pulLen, debugstr_w(pszFilter), ulFlags);
|
2011-05-26 19:23:09 +02:00
|
|
|
|
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2007-11-07 19:38:16 +01:00
|
|
|
/***********************************************************************
|
2008-03-01 02:46:58 +01:00
|
|
|
* CM_Get_Parent (SETUPAPI.@)
|
2007-11-07 19:38:16 +01:00
|
|
|
*/
|
2008-03-01 02:46:58 +01:00
|
|
|
DWORD WINAPI CM_Get_Parent(PDEVINST pdnDevInst, DEVINST dnDevInst, ULONG ulFlags)
|
2007-11-07 19:38:16 +01:00
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p 0x%08lx 0x%08lx stub\n", pdnDevInst, dnDevInst, ulFlags);
|
2018-04-01 23:48:49 +02:00
|
|
|
if(pdnDevInst)
|
|
|
|
*pdnDevInst = 0;
|
|
|
|
return CR_NO_SUCH_DEVNODE;
|
2007-11-07 19:38:16 +01:00
|
|
|
}
|
|
|
|
|
2004-03-16 20:13:18 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupInitializeFileLogW(SETUPAPI.@)
|
|
|
|
*/
|
2007-09-18 22:33:15 +02:00
|
|
|
HSPFILELOG WINAPI SetupInitializeFileLogW(LPCWSTR LogFileName, DWORD Flags)
|
2004-03-16 20:13:18 +01:00
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("Stub %s, 0x%lx\n",debugstr_w(LogFileName),Flags);
|
2004-03-16 20:13:18 +01:00
|
|
|
return INVALID_HANDLE_VALUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* SetupInitializeFileLogA(SETUPAPI.@)
|
|
|
|
*/
|
2007-09-18 22:33:15 +02:00
|
|
|
HSPFILELOG WINAPI SetupInitializeFileLogA(LPCSTR LogFileName, DWORD Flags)
|
2004-03-16 20:13:18 +01:00
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("Stub %s, 0x%lx\n",debugstr_a(LogFileName),Flags);
|
2004-03-16 20:13:18 +01:00
|
|
|
return INVALID_HANDLE_VALUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* SetupTerminateFileLog(SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
|
|
|
|
{
|
|
|
|
FIXME ("Stub %p\n",FileLogHandle);
|
|
|
|
return TRUE;
|
|
|
|
}
|
2006-04-04 14:04:32 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* RegistryDelnode(SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI RegistryDelnode(DWORD x, DWORD y)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%08lx %08lx: stub\n", x, y);
|
2006-04-04 14:04:32 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
2006-09-14 02:18:23 +02:00
|
|
|
|
2006-12-15 10:02:00 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupPromptReboot(SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
|
|
|
|
{
|
2013-04-13 15:36:17 +02:00
|
|
|
FIXME("%p, %p, %d: stub\n", file_queue, owner, scan_only);
|
2006-12-15 10:02:00 +01:00
|
|
|
return 0;
|
|
|
|
}
|
2007-02-18 19:37:51 +01:00
|
|
|
|
2010-08-21 22:39:49 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupQueryDrivesInDiskSpaceListA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupQueryDrivesInDiskSpaceListA(HDSKSPC disk_space, PSTR return_buffer, DWORD return_buffer_size, PDWORD required_size)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p, %p, %ld, %p: stub\n", disk_space, return_buffer, return_buffer_size, required_size);
|
2010-08-21 22:39:49 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* SetupQueryDrivesInDiskSpaceListW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupQueryDrivesInDiskSpaceListW(HDSKSPC disk_space, PWSTR return_buffer, DWORD return_buffer_size, PDWORD required_size)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p, %p, %ld, %p: stub\n", disk_space, return_buffer, return_buffer_size, required_size);
|
2010-08-21 22:39:49 +02:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2012-05-31 23:31:07 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupAddToSourceListA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupAddToSourceListA(DWORD flags, PCSTR source)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %s: stub\n", flags, debugstr_a(source));
|
2012-05-31 23:31:07 +02:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2012-12-08 18:40:37 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupAddToSourceListW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupAddToSourceListW(DWORD flags, PCWSTR source)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %s: stub\n", flags, debugstr_w(source));
|
2012-12-08 18:40:37 +01:00
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2007-02-18 19:37:51 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupSetSourceListA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %p %d: stub\n", flags, list, count);
|
2007-02-18 19:37:51 +01:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* SetupSetSourceListW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %p %d: stub\n", flags, list, count);
|
2007-02-18 19:37:51 +01:00
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2008-12-29 18:43:08 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiDestroyClassImageList (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA ClassListImageData)
|
|
|
|
{
|
|
|
|
FIXME("(%p) stub\n", ClassListImageData);
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
2009-01-24 15:52:51 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetClassImageList (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA ClassImageListData)
|
|
|
|
{
|
|
|
|
FIXME("(%p) stub\n", ClassImageListData);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2009-09-01 11:48:12 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetClassImageList (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupDiGetClassImageIndex(PSP_CLASSIMAGELIST_DATA ClassImageListData, const GUID *class, PINT index)
|
|
|
|
{
|
|
|
|
FIXME("%p %p %p\n", ClassImageListData, class, index);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2008-12-24 21:28:31 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Locate_DevNodeA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %s 0x%08lx: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags);
|
2008-12-24 21:28:31 +01:00
|
|
|
|
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Locate_DevNodeW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %s 0x%08lx: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags);
|
2008-12-24 21:28:31 +01:00
|
|
|
|
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
2009-05-07 14:02:37 +02:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Locate_DevNode_ExA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Locate_DevNode_ExA(PDEVINST pdnDevInst, DEVINSTID_A pDeviceID, ULONG ulFlags, HMACHINE hMachine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %s 0x%08lx %p: stub\n", pdnDevInst, debugstr_a(pDeviceID), ulFlags, hMachine);
|
2009-05-07 14:02:37 +02:00
|
|
|
|
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Locate_DevNode_ExW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Locate_DevNode_ExW(PDEVINST pdnDevInst, DEVINSTID_W pDeviceID, ULONG ulFlags, HMACHINE hMachine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %s 0x%08lx %p: stub\n", pdnDevInst, debugstr_w(pDeviceID), ulFlags, hMachine);
|
2009-05-07 14:02:37 +02:00
|
|
|
|
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
2009-05-13 10:50:35 +02:00
|
|
|
|
2014-10-07 21:27:27 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_Interface_List_SizeA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeA(PULONG len, LPGUID class, DEVINSTID_A id,
|
|
|
|
ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p %s 0x%08lx: stub\n", len, class, debugstr_a(id), flags);
|
2014-10-07 21:27:27 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_Interface_List_SizeW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_Interface_List_SizeW(PULONG len, LPGUID class, DEVINSTID_W id,
|
|
|
|
ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p %s 0x%08lx: stub\n", len, class, debugstr_w(id), flags);
|
2014-10-07 21:27:27 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2009-05-13 10:50:35 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_Interface_List_Size_ExA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExA(PULONG len, LPGUID class, DEVINSTID_A id,
|
|
|
|
ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p %s 0x%08lx %p: stub\n", len, class, debugstr_a(id), flags, machine);
|
2009-05-13 10:50:35 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_Interface_List_Size_ExW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_Interface_List_Size_ExW(PULONG len, LPGUID class, DEVINSTID_W id,
|
|
|
|
ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p %s 0x%08lx %p: stub\n", len, class, debugstr_w(id), flags, machine);
|
2012-01-11 20:50:43 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2020-05-13 10:06:09 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_Interface_AliasA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_Interface_AliasA(const char *interface, GUID *class,
|
|
|
|
char *name, ULONG *len, ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%s %p %p %p 0x%08lx: stub\n", debugstr_a(interface), class, name, len, flags);
|
2020-05-13 10:06:09 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Device_Interface_AliasW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Device_Interface_AliasW(const WCHAR *interface, GUID *class,
|
|
|
|
WCHAR *name, ULONG *len, ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%s %p %p %p 0x%08lx: stub\n", debugstr_w(interface), class, name, len, flags);
|
2020-05-13 10:06:09 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2012-01-11 20:50:43 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_DevNode_Registry_Property_ExA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_DevNode_Registry_Property_ExA(DEVINST dev, ULONG prop, PULONG regdatatype,
|
|
|
|
PVOID buf, PULONG len, ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %lu %p %p %p 0x%08lx %p: stub\n", dev, prop, regdatatype, buf, len, flags, machine);
|
2009-05-13 10:50:35 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
2009-08-04 12:19:05 +02:00
|
|
|
|
2012-01-09 23:07:10 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_DevNode_Registry_Property_ExW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_DevNode_Registry_Property_ExW(DEVINST dev, ULONG prop, PULONG regdatatype,
|
|
|
|
PVOID buf, PULONG len, ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx %lu %p %p %p 0x%08lx %p: stub\n", dev, prop, regdatatype, buf, len, flags, machine);
|
2012-01-09 23:07:10 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2014-05-06 18:12:45 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_DevNode_Registry_PropertyA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_DevNode_Registry_PropertyA(DEVINST dev, ULONG prop, PULONG regdatatype,
|
|
|
|
PVOID buf, PULONG len, ULONG flags)
|
|
|
|
{
|
|
|
|
return CM_Get_DevNode_Registry_Property_ExA(dev, prop, regdatatype, buf, len, flags, NULL);
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_DevNode_Registry_PropertyW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_DevNode_Registry_PropertyW(DEVINST dev, ULONG prop, PULONG regdatatype,
|
|
|
|
PVOID buf, PULONG len, ULONG flags)
|
|
|
|
{
|
|
|
|
return CM_Get_DevNode_Registry_Property_ExW(dev, prop, regdatatype, buf, len, flags, NULL);
|
|
|
|
}
|
|
|
|
|
2016-06-02 19:08:11 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_DevNode_Status (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_DevNode_Status(ULONG *status, ULONG *problem, DEVINST dev,
|
|
|
|
ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p 0x%08lx 0x%08lx: stub\n", status, problem, dev, flags);
|
2016-06-02 19:08:11 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_DevNode_Status_Ex (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_DevNode_Status_Ex(ULONG *status, ULONG *problem, DEVINST dev,
|
|
|
|
ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p 0x%08lx 0x%08lx %p: stub\n", status, problem, dev, flags, machine);
|
2016-06-02 19:08:11 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2009-08-04 12:19:05 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Enumerate_Classes (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Enumerate_Classes(ULONG index, LPGUID class, ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%lu %p 0x%08lx: stub\n", index, class, flags);
|
2009-08-04 12:19:05 +02:00
|
|
|
return CR_NO_SUCH_VALUE;
|
|
|
|
}
|
2010-02-05 17:46:02 +01:00
|
|
|
|
2012-01-12 21:05:01 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Class_Registry_PropertyA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Class_Registry_PropertyA(LPGUID class, ULONG prop, PULONG regdatatype,
|
|
|
|
PVOID buf, ULONG len, ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %lu %p %p %lu 0x%08lx %p: stub\n", class, prop, regdatatype, buf, len, flags, machine);
|
2012-01-12 21:05:01 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2012-01-12 21:05:08 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Class_Registry_PropertyW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Class_Registry_PropertyW(LPGUID class, ULONG prop, PULONG regdatatype,
|
|
|
|
PVOID buf, ULONG len, ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %lu %p %p %lu 0x%08lx %p: stub\n", class, prop, regdatatype, buf, len, flags, machine);
|
2012-01-12 21:05:08 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2019-02-12 21:34:12 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Sibling (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Sibling(
|
|
|
|
PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p 0x%08lx 0x%08lx: stub\n", pdnDevInst, DevInst, ulFlags);
|
2019-02-12 21:34:12 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2017-01-27 14:19:44 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Get_Sibling_Ex (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Get_Sibling_Ex(
|
|
|
|
PDEVINST pdnDevInst, DEVINST DevInst, ULONG ulFlags, HMACHINE hMachine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p 0x%08lx 0x%08lx %p: stub\n", pdnDevInst, DevInst, ulFlags, hMachine);
|
2017-01-27 14:19:44 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2013-04-13 15:36:06 +02:00
|
|
|
CONFIGRET WINAPI CM_Reenumerate_DevNode(DEVINST dnDevInst, ULONG ulFlags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx 0x%08lx: stub\n", dnDevInst, ulFlags);
|
2013-04-13 15:36:06 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
CONFIGRET WINAPI CM_Reenumerate_DevNode_Ex(DEVINST dnDevInst, ULONG ulFlags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("0x%08lx 0x%08lx %p: stub\n", dnDevInst, ulFlags, machine);
|
2013-04-13 15:36:06 +02:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2012-01-11 20:50:07 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Set_Class_Registry_PropertyA (SETUPAPI.@)
|
|
|
|
*/
|
2019-05-23 05:59:56 +02:00
|
|
|
CONFIGRET WINAPI CM_Set_Class_Registry_PropertyA(LPGUID class, ULONG prop, LPCVOID buf, ULONG len,
|
2012-01-11 20:50:07 +01:00
|
|
|
ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %lu %p %lu 0x%08lx %p: stub\n", class, prop, buf, len, flags, machine);
|
2012-01-11 20:50:07 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2012-01-11 20:50:24 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Set_Class_Registry_PropertyW (SETUPAPI.@)
|
|
|
|
*/
|
2019-05-23 05:59:56 +02:00
|
|
|
CONFIGRET WINAPI CM_Set_Class_Registry_PropertyW(LPGUID class, ULONG prop, LPCVOID buf, ULONG len,
|
2012-01-11 20:50:24 +01:00
|
|
|
ULONG flags, HMACHINE machine)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %lu %p %lu 0x%08lx %p: stub\n", class, prop, buf, len, flags, machine);
|
2012-01-11 20:50:24 +01:00
|
|
|
return CR_FAILURE;
|
|
|
|
}
|
|
|
|
|
2010-02-05 17:46:02 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupLogFileW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupLogFileW(
|
|
|
|
HSPFILELOG FileLogHandle,
|
|
|
|
PCWSTR LogSectionName,
|
|
|
|
PCWSTR SourceFileName,
|
|
|
|
PCWSTR TargetFileName,
|
|
|
|
DWORD Checksum,
|
|
|
|
PCWSTR DiskTagfile,
|
|
|
|
PCWSTR DiskDescription,
|
|
|
|
PCWSTR OtherInfo,
|
|
|
|
DWORD Flags )
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(%p, %s, '%s', '%s', %ld, %s, %s, %s, %ld): stub\n", FileLogHandle,
|
2010-02-05 17:46:02 +01:00
|
|
|
debugstr_w(LogSectionName), debugstr_w(SourceFileName),
|
|
|
|
debugstr_w(TargetFileName), Checksum, debugstr_w(DiskTagfile),
|
|
|
|
debugstr_w(DiskDescription), debugstr_w(OtherInfo), Flags);
|
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* SetupLogFileA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupLogFileA(
|
|
|
|
HSPFILELOG FileLogHandle,
|
|
|
|
PCSTR LogSectionName,
|
|
|
|
PCSTR SourceFileName,
|
|
|
|
PCSTR TargetFileName,
|
|
|
|
DWORD Checksum,
|
|
|
|
PCSTR DiskTagfile,
|
|
|
|
PCSTR DiskDescription,
|
|
|
|
PCSTR OtherInfo,
|
|
|
|
DWORD Flags )
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(%p, %p, '%s', '%s', %ld, %p, %p, %p, %ld): stub\n", FileLogHandle,
|
2010-02-05 17:46:02 +01:00
|
|
|
LogSectionName, SourceFileName, TargetFileName, Checksum, DiskTagfile,
|
|
|
|
DiskDescription, OtherInfo, Flags);
|
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
2010-06-27 10:44:44 +02:00
|
|
|
|
2014-01-27 20:12:41 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiDestroyDriverInfoList (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
|
|
|
|
BOOL WINAPI SetupDiDestroyDriverInfoList(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD DriverType)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("%p %p %ld\n", DeviceInfoSet, DeviceInfoData, DriverType);
|
2014-01-27 20:12:41 +01:00
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2011-12-29 22:54:10 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiDrawMiniIcon (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
INT WINAPI SetupDiDrawMiniIcon(HDC hdc, RECT rc, INT MiniIconIndex, DWORD Flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(%p, %s, %d, %lx) stub\n", hdc, wine_dbgstr_rect(&rc), MiniIconIndex, Flags);
|
2011-12-29 22:54:10 +01:00
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2011-12-29 22:53:17 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetClassBitmapIndex (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupDiGetClassBitmapIndex(const GUID *ClassGuid, PINT MiniIconIndex)
|
|
|
|
{
|
|
|
|
FIXME("(%s, %p) stub\n", debugstr_guid(ClassGuid), MiniIconIndex);
|
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2010-07-28 16:24:47 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiLoadClassIcon (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupDiLoadClassIcon(const GUID *ClassGuid, HICON *LargeIcon, PINT MiniIconIndex)
|
|
|
|
{
|
|
|
|
FIXME(": stub %s, %p, %p\n", debugstr_guid(ClassGuid), LargeIcon, MiniIconIndex);
|
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|
2011-01-06 23:49:18 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiSetSelectedDevice (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
BOOL WINAPI SetupDiSetSelectedDevice(HDEVINFO SetupDiSetSelectedDevice, PSP_DEVINFO_DATA DeviceInfoData)
|
|
|
|
{
|
|
|
|
FIXME("(%p, %p) stub\n", SetupDiSetSelectedDevice, DeviceInfoData);
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
2017-03-16 19:49:25 +01:00
|
|
|
|
2019-03-06 21:25:16 +01:00
|
|
|
/***********************************************************************
|
|
|
|
* CM_Request_Device_EjectA (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Request_Device_EjectA(DEVINST dev, PPNP_VETO_TYPE type, LPSTR name, ULONG length, ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(0x%08lx, %p, %p, %lu, 0x%08lx) stub\n", dev, type, name, length, flags);
|
2019-03-06 21:25:16 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CM_Request_Device_EjectW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
CONFIGRET WINAPI CM_Request_Device_EjectW(DEVINST dev, PPNP_VETO_TYPE type, LPWSTR name, ULONG length, ULONG flags)
|
|
|
|
{
|
2022-02-17 07:13:03 +01:00
|
|
|
FIXME("(0x%08lx, %p, %p, %lu, 0x%08lx) stub\n", dev, type, name, length, flags);
|
2019-03-06 21:25:16 +01:00
|
|
|
return CR_SUCCESS;
|
|
|
|
}
|
2022-03-12 22:48:44 +01:00
|
|
|
|
|
|
|
BOOL WINAPI SetupDiGetClassRegistryPropertyW(const GUID *class, DWORD prop, DWORD *datatype, BYTE *buff, DWORD size,
|
|
|
|
DWORD *req_size, const WCHAR *name, VOID *reserved)
|
|
|
|
{
|
|
|
|
FIXME("class %s, prop %ld, datatype %p, buff %p, size %ld, req_size %p, name %s, reserved %p stub!\n",
|
|
|
|
debugstr_guid(class), prop, datatype, buff, size, req_size, debugstr_w(name), reserved);
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
return FALSE;
|
|
|
|
}
|