Stub implementations of some functions.
This commit is contained in:
parent
922a5e4681
commit
a8693258af
|
@ -22,6 +22,7 @@
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "setupx16.h"
|
#include "setupx16.h"
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
#include "setupapi.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
|
WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
|
||||||
|
|
||||||
|
@ -42,3 +43,86 @@ RETERR16 WINAPI DiGetClassDevs16(LPLPDEVICE_INFO16 lplpdi,
|
||||||
*lplpdi = lpdi;
|
*lplpdi = lpdi;
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(
|
||||||
|
HDEVINFO DeviceInfoSet,
|
||||||
|
PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
|
||||||
|
PSP_DEVICE_INTERFACE_DETAIL_DATAA DeviceInterfaceDetailData,
|
||||||
|
DWORD DeviceInterfaceDetailDataSize,
|
||||||
|
PDWORD RequiredSize,
|
||||||
|
PSP_DEVINFO_DATA DeviceInfoData )
|
||||||
|
{
|
||||||
|
FIXME("\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(
|
||||||
|
HDEVINFO DeviceInfoSet,
|
||||||
|
PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
|
||||||
|
PSP_DEVICE_INTERFACE_DETAIL_DATAW DeviceInterfaceDetailData,
|
||||||
|
DWORD DeviceInterfaceDetailDataSize,
|
||||||
|
PDWORD RequiredSize,
|
||||||
|
PSP_DEVINFO_DATA DeviceInfoData )
|
||||||
|
{
|
||||||
|
FIXME("\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI SetupDiEnumDeviceInterfaces(
|
||||||
|
HDEVINFO DeviceInfoSet,
|
||||||
|
PSP_DEVINFO_DATA DeviceInfoData,
|
||||||
|
CONST GUID * InterfaceClassGuid,
|
||||||
|
DWORD MemberIndex,
|
||||||
|
PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
|
||||||
|
{
|
||||||
|
FIXME("\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
HDEVINFO WINAPI SetupDiGetClassDevsA(
|
||||||
|
CONST GUID *class,
|
||||||
|
LPCSTR enumstr,
|
||||||
|
HWND parent,
|
||||||
|
DWORD flags)
|
||||||
|
{
|
||||||
|
FIXME("%s %s %04x %08lx\n",debugstr_guid(class),enumstr,parent,flags);
|
||||||
|
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI SetupDiEnumDeviceInfo(
|
||||||
|
HDEVINFO devinfo,
|
||||||
|
DWORD index,
|
||||||
|
PSP_DEVINFO_DATA info)
|
||||||
|
{
|
||||||
|
FIXME("%p %ld %p\n", devinfo, index, info );
|
||||||
|
|
||||||
|
if(info==NULL)
|
||||||
|
return FALSE;
|
||||||
|
if(info->cbSize < sizeof *info)
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI SetupDiDestroyDeviceInfoList( HDEVINFO devinfo )
|
||||||
|
{
|
||||||
|
FIXME("%04lx\n", (DWORD)devinfo);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
|
||||||
|
HDEVINFO devinfo,
|
||||||
|
PSP_DEVINFO_DATA DeviceInfoData,
|
||||||
|
DWORD Property,
|
||||||
|
PDWORD PropertyRegDataType,
|
||||||
|
PBYTE PropertyBuffer,
|
||||||
|
DWORD PropertyBufferSize,
|
||||||
|
PDWORD RequiredSize)
|
||||||
|
{
|
||||||
|
FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD)devinfo, DeviceInfoData,
|
||||||
|
Property, PropertyRegDataType, PropertyBuffer, PropertyBufferSize,
|
||||||
|
RequiredSize);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -90,10 +90,11 @@ name setupapi
|
||||||
@ stub SetupDiDeleteDevRegKey
|
@ stub SetupDiDeleteDevRegKey
|
||||||
@ stub SetupDiDeleteDeviceInfo
|
@ stub SetupDiDeleteDeviceInfo
|
||||||
@ stub SetupDiDestroyClassImageList
|
@ stub SetupDiDestroyClassImageList
|
||||||
@ stub SetupDiDestroyDeviceInfoList
|
@ stdcall SetupDiDestroyDeviceInfoList(long) SetupDiDestroyDeviceInfoList
|
||||||
@ stub SetupDiDestroyDriverInfoList
|
@ stub SetupDiDestroyDriverInfoList
|
||||||
@ stub SetupDiDrawMiniIcon
|
@ stub SetupDiDrawMiniIcon
|
||||||
@ stub SetupDiEnumDeviceInfo
|
@ stdcall SetupDiEnumDeviceInfo(long long ptr) SetupDiEnumDeviceInfo
|
||||||
|
@ stdcall SetupDiEnumDeviceInterfaces(long ptr ptr long ptr) SetupDiEnumDeviceInterfaces
|
||||||
@ stub SetupDiEnumDriverInfoA
|
@ stub SetupDiEnumDriverInfoA
|
||||||
@ stub SetupDiEnumDriverInfoW
|
@ stub SetupDiEnumDriverInfoW
|
||||||
@ stub SetupDiGetActualSectionToInstallA
|
@ stub SetupDiGetActualSectionToInstallA
|
||||||
|
@ -103,7 +104,7 @@ name setupapi
|
||||||
@ stub SetupDiGetClassDescriptionW
|
@ stub SetupDiGetClassDescriptionW
|
||||||
@ stub SetupDiGetClassDevPropertySheetsA
|
@ stub SetupDiGetClassDevPropertySheetsA
|
||||||
@ stub SetupDiGetClassDevPropertySheetsW
|
@ stub SetupDiGetClassDevPropertySheetsW
|
||||||
@ stub SetupDiGetClassDevsA
|
@ stdcall SetupDiGetClassDevsA(ptr ptr long long) SetupDiGetClassDevsA
|
||||||
@ stub SetupDiGetClassDevsW
|
@ stub SetupDiGetClassDevsW
|
||||||
@ stub SetupDiGetClassImageIndex
|
@ stub SetupDiGetClassImageIndex
|
||||||
@ stub SetupDiGetClassImageList
|
@ stub SetupDiGetClassImageList
|
||||||
|
@ -114,12 +115,15 @@ name setupapi
|
||||||
@ stub SetupDiGetDeviceInstallParamsW
|
@ stub SetupDiGetDeviceInstallParamsW
|
||||||
@ stub SetupDiGetDeviceInstanceIdA
|
@ stub SetupDiGetDeviceInstanceIdA
|
||||||
@ stub SetupDiGetDeviceInstanceIdW
|
@ stub SetupDiGetDeviceInstanceIdW
|
||||||
@ stub SetupDiGetDeviceRegistryPropertyA
|
@ stdcall SetupDiGetDeviceRegistryPropertyA(long ptr long ptr ptr long ptr) SetupDiGetDeviceRegistryPropertyA
|
||||||
@ stub SetupDiGetDeviceRegistryPropertyW
|
@ stub SetupDiGetDeviceRegistryPropertyW
|
||||||
@ stub SetupDiGetDriverInfoDetailA
|
@ stub SetupDiGetDriverInfoDetailA
|
||||||
@ stub SetupDiGetDriverInfoDetailW
|
@ stub SetupDiGetDriverInfoDetailW
|
||||||
@ stub SetupDiGetDriverInstallParamsA
|
@ stub SetupDiGetDriverInstallParamsA
|
||||||
@ stub SetupDiGetDriverInstallParamsW
|
@ stub SetupDiGetDriverInstallParamsW
|
||||||
|
@ stub SetupDiGetDeviceInterfaceAlias
|
||||||
|
@ stdcall SetupDiGetDeviceInterfaceDetailA(long ptr ptr long ptr ptr) SetupDiGetDeviceInterfaceDetailA
|
||||||
|
@ stdcall SetupDiGetDeviceInterfaceDetailW(long ptr ptr long ptr ptr) SetupDiGetDeviceInterfaceDetailW
|
||||||
@ stub SetupDiGetHwProfileFriendlyNameA
|
@ stub SetupDiGetHwProfileFriendlyNameA
|
||||||
@ stub SetupDiGetHwProfileFriendlyNameW
|
@ stub SetupDiGetHwProfileFriendlyNameW
|
||||||
@ stub SetupDiGetHwProfileList
|
@ stub SetupDiGetHwProfileList
|
||||||
|
|
|
@ -130,6 +130,29 @@ typedef struct _SP_DEVINFO_DATA
|
||||||
DWORD Reserved;
|
DWORD Reserved;
|
||||||
} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
|
} SP_DEVINFO_DATA, *PSP_DEVINFO_DATA;
|
||||||
|
|
||||||
|
typedef struct _SP_DEVICE_INTERFACE_DATA
|
||||||
|
{
|
||||||
|
DWORD cbSize;
|
||||||
|
GUID InterfaceClassGuid;
|
||||||
|
DWORD Flags;
|
||||||
|
ULONG_PTR Reserved;
|
||||||
|
} SP_DEVICE_INTERFACE_DATA, *PSP_DEVICE_INTERFACE_DATA;
|
||||||
|
|
||||||
|
typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATAA
|
||||||
|
{
|
||||||
|
DWORD cbSize;
|
||||||
|
CHAR DevicePath[ANYSIZE_ARRAY];
|
||||||
|
} SP_DEVICE_INTERFACE_DETAIL_DATAA, *PSP_DEVICE_INTERFACE_DETAIL_DATAA;
|
||||||
|
|
||||||
|
typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATAW
|
||||||
|
{
|
||||||
|
DWORD cbSize;
|
||||||
|
WCHAR DevicePath[ANYSIZE_ARRAY];
|
||||||
|
} SP_DEVICE_INTERFACE_DETAIL_DATAW, *PSP_DEVICE_INTERFACE_DETAIL_DATAW;
|
||||||
|
|
||||||
|
DECL_WINELIB_TYPE_AW(SP_DEVICE_INTERFACE_DETAIL_DATA)
|
||||||
|
DECL_WINELIB_TYPE_AW(PSP_DEVICE_INTERFACE_DETAIL_DATA)
|
||||||
|
|
||||||
#define INF_STYLE_NONE 0x00
|
#define INF_STYLE_NONE 0x00
|
||||||
#define INF_STYLE_OLDNT 0x01
|
#define INF_STYLE_OLDNT 0x01
|
||||||
#define INF_STYLE_WIN4 0x02
|
#define INF_STYLE_WIN4 0x02
|
||||||
|
|
Loading…
Reference in New Issue