From 8687529bdf85d7654e5e5cf06d02bab631f89279 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 2 Feb 2019 15:13:35 +0100 Subject: [PATCH] [SETUPAPI] Add a stub for SetupDiDeleteDeviceInterfaceData to make the wine tests work. --- dll/win32/setupapi/interface.c | 14 ++++++++++++++ dll/win32/setupapi/setupapi.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/dll/win32/setupapi/interface.c b/dll/win32/setupapi/interface.c index 172d045018c..f080d518285 100644 --- a/dll/win32/setupapi/interface.c +++ b/dll/win32/setupapi/interface.c @@ -627,3 +627,17 @@ SetupDiOpenDeviceInterfaceRegKey( return hKey; } + +/*********************************************************************** + * SetupDiDeleteDeviceInterfaceData (SETUPAPI.@) + */ +BOOL +WINAPI +SetupDiDeleteDeviceInterfaceData( + HDEVINFO DeviceInfoSet, + PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData) +{ + FIXME("SetupDiDeleteDeviceInterfaceData(%p %p) stub\n", + DeviceInfoSet, DeviceInterfaceData); + return TRUE; +} diff --git a/dll/win32/setupapi/setupapi.spec b/dll/win32/setupapi/setupapi.spec index 99de0fca825..bfe00fa1141 100644 --- a/dll/win32/setupapi/setupapi.spec +++ b/dll/win32/setupapi/setupapi.spec @@ -281,7 +281,7 @@ @ stdcall SetupDiCreateDeviceInterfaceW(ptr ptr ptr wstr long ptr) @ stdcall SetupDiDeleteDevRegKey(ptr ptr long long long) @ stdcall SetupDiDeleteDeviceInfo(long ptr) -@ stub SetupDiDeleteDeviceInterfaceData +@ stdcall SetupDiDeleteDeviceInterfaceData(ptr ptr) @ stdcall SetupDiDeleteDeviceInterfaceRegKey(ptr ptr long) @ stdcall SetupDiDestroyClassImageList(ptr) @ stdcall SetupDiDestroyDeviceInfoList(long) -- 2.17.1