2000-12-13 22:31:37 +01:00
|
|
|
/*
|
|
|
|
* SetupAPI device installer
|
|
|
|
*
|
2002-03-10 00:29:33 +01:00
|
|
|
* Copyright 2000 Andreas Mohr for Codeweavers
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2000-12-13 22:31:37 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "windef.h"
|
2001-07-25 02:43:29 +02:00
|
|
|
#include "winbase.h"
|
2002-03-10 00:29:33 +01:00
|
|
|
#include "wine/debug.h"
|
2002-05-29 00:39:14 +02:00
|
|
|
#include "setupapi.h"
|
2000-12-13 22:31:37 +01:00
|
|
|
|
2002-03-10 00:29:33 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
|
2000-12-13 22:31:37 +01:00
|
|
|
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(
|
|
|
|
HDEVINFO DeviceInfoSet,
|
|
|
|
PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
|
2002-06-01 01:06:46 +02:00
|
|
|
PSP_DEVICE_INTERFACE_DETAIL_DATAA DeviceInterfaceDetailData,
|
2002-05-29 00:39:14 +02:00
|
|
|
DWORD DeviceInterfaceDetailDataSize,
|
2002-06-01 01:06:46 +02:00
|
|
|
PDWORD RequiredSize,
|
2002-05-29 00:39:14 +02:00
|
|
|
PSP_DEVINFO_DATA DeviceInfoData )
|
|
|
|
{
|
|
|
|
FIXME("\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(
|
|
|
|
HDEVINFO DeviceInfoSet,
|
|
|
|
PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
|
2002-06-01 01:06:46 +02:00
|
|
|
PSP_DEVICE_INTERFACE_DETAIL_DATAW DeviceInterfaceDetailData,
|
2002-05-29 00:39:14 +02:00
|
|
|
DWORD DeviceInterfaceDetailDataSize,
|
2002-06-01 01:06:46 +02:00
|
|
|
PDWORD RequiredSize,
|
2002-05-29 00:39:14 +02:00
|
|
|
PSP_DEVINFO_DATA DeviceInfoData )
|
|
|
|
{
|
|
|
|
FIXME("\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiEnumDeviceInterfaces (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
BOOL WINAPI SetupDiEnumDeviceInterfaces(
|
|
|
|
HDEVINFO DeviceInfoSet,
|
2002-06-01 01:06:46 +02:00
|
|
|
PSP_DEVINFO_DATA DeviceInfoData,
|
2002-05-29 00:39:14 +02:00
|
|
|
CONST GUID * InterfaceClassGuid,
|
|
|
|
DWORD MemberIndex,
|
|
|
|
PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
|
|
|
|
{
|
|
|
|
FIXME("\n");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetClassDevsA (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
HDEVINFO WINAPI SetupDiGetClassDevsA(
|
|
|
|
CONST GUID *class,
|
|
|
|
LPCSTR enumstr,
|
|
|
|
HWND parent,
|
|
|
|
DWORD flags)
|
|
|
|
{
|
2002-10-19 01:48:57 +02:00
|
|
|
FIXME("%s %s %p %08lx\n",debugstr_guid(class),enumstr,parent,flags);
|
2002-05-29 00:39:14 +02:00
|
|
|
|
2002-10-10 20:57:32 +02:00
|
|
|
return (HDEVINFO) INVALID_HANDLE_VALUE;
|
2002-05-29 00:39:14 +02:00
|
|
|
}
|
|
|
|
|
2002-10-10 20:57:32 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetClassDevsW (SETUPAPI.@)
|
|
|
|
*/
|
|
|
|
HDEVINFO WINAPI SetupDiGetClassDevsW(
|
|
|
|
CONST GUID *class,
|
|
|
|
LPCWSTR enumstr,
|
|
|
|
HWND parent,
|
|
|
|
DWORD flags)
|
|
|
|
{
|
2002-10-19 01:48:57 +02:00
|
|
|
FIXME("%s %s %p %08lx\n",debugstr_guid(class),debugstr_w(enumstr),parent,flags);
|
2002-10-10 20:57:32 +02:00
|
|
|
|
|
|
|
return (HDEVINFO) INVALID_HANDLE_VALUE;
|
|
|
|
}
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiEnumDeviceInfo (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
BOOL WINAPI SetupDiEnumDeviceInfo(
|
|
|
|
HDEVINFO devinfo,
|
|
|
|
DWORD index,
|
|
|
|
PSP_DEVINFO_DATA info)
|
|
|
|
{
|
|
|
|
FIXME("%p %ld %p\n", devinfo, index, info );
|
|
|
|
|
|
|
|
if(info==NULL)
|
|
|
|
return FALSE;
|
2003-06-18 21:45:22 +02:00
|
|
|
if(info->cbSize < sizeof(*info))
|
2002-05-29 00:39:14 +02:00
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiDestroyDeviceInfoList (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
BOOL WINAPI SetupDiDestroyDeviceInfoList( HDEVINFO devinfo )
|
|
|
|
{
|
|
|
|
FIXME("%04lx\n", (DWORD)devinfo);
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2002-06-05 00:12:50 +02:00
|
|
|
/***********************************************************************
|
|
|
|
* SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
|
|
|
|
*/
|
2002-05-29 00:39:14 +02:00
|
|
|
BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
|
|
|
|
HDEVINFO devinfo,
|
|
|
|
PSP_DEVINFO_DATA DeviceInfoData,
|
|
|
|
DWORD Property,
|
|
|
|
PDWORD PropertyRegDataType,
|
|
|
|
PBYTE PropertyBuffer,
|
|
|
|
DWORD PropertyBufferSize,
|
|
|
|
PDWORD RequiredSize)
|
|
|
|
{
|
2002-06-01 01:06:46 +02:00
|
|
|
FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD)devinfo, DeviceInfoData,
|
2002-05-29 00:39:14 +02:00
|
|
|
Property, PropertyRegDataType, PropertyBuffer, PropertyBufferSize,
|
|
|
|
RequiredSize);
|
|
|
|
return FALSE;
|
|
|
|
}
|