[SETUPAPI]

- Properly stub SetupDiRemoveDeviceInterface. From Wine commit cdb72f39 by Hans Leidekker. Fixes crash when running setupapi_winetest:devinst.
CORE-13362

svn path=/trunk/; revision=75031
This commit is contained in:
Thomas Faber 2017-06-14 07:14:44 +00:00
parent b5cdb03dd8
commit 25b44b332b
2 changed files with 12 additions and 1 deletions

View file

@ -368,7 +368,7 @@
@ stdcall SetupDiRegisterCoDeviceInstallers(ptr ptr)
@ stdcall SetupDiRegisterDeviceInfo(ptr ptr long ptr ptr ptr)
@ stdcall SetupDiRemoveDevice(ptr ptr)
@ stub SetupDiRemoveDeviceInterface
@ stdcall SetupDiRemoveDeviceInterface(ptr ptr)
@ stub SetupDiRestartDevices
@ stdcall SetupDiSelectBestCompatDrv(ptr ptr)
@ stdcall SetupDiSelectDevice(ptr ptr)

View file

@ -85,6 +85,17 @@ SetupDiUnremoveDevice(
}
/***********************************************************************
* SetupDiRemoveDeviceInterface (SETUPAPI.@)
*/
BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO info, PSP_DEVICE_INTERFACE_DATA data)
{
FIXME("(%p, %p): stub\n", info, data);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSet, IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, IN CONST GUID *AliasInterfaceClassGuid, OUT PSP_DEVICE_INTERFACE_DATA AliasDeviceInterfaceData)
{
FIXME("%p %p %p %p %p stub\n", DeviceInfoSet, DeviceInterfaceData, AliasInterfaceClassGuid, AliasDeviceInterfaceData);