[PATCH] bthprops.cpl: add BluetoothFindDeviceClose stub
Louis Lenders
xerox.xerox2000x at gmail.com
Wed Mar 6 03:03:27 CST 2019
Wine bug: https://bugs.winehq.org/show_bug.cgi?id=46706
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
dlls/bthprops.cpl/bthprops.cpl.spec | 2 +-
dlls/bthprops.cpl/main.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/bthprops.cpl/bthprops.cpl.spec b/dlls/bthprops.cpl/bthprops.cpl.spec
index ed80b0e265..626b3857c5 100644
--- a/dlls/bthprops.cpl/bthprops.cpl.spec
+++ b/dlls/bthprops.cpl/bthprops.cpl.spec
@@ -11,7 +11,7 @@
@ stub BluetoothEnumerateInstalledServicesEx
@ stub BluetoothFindBrowseGroupClose
@ stub BluetoothFindClassIdClose
-@ stub BluetoothFindDeviceClose
+@ stdcall BluetoothFindDeviceClose(ptr)
@ stub BluetoothFindFirstBrowseGroup
@ stub BluetoothFindFirstClassId
@ stdcall BluetoothFindFirstDevice(ptr ptr)
diff --git a/dlls/bthprops.cpl/main.c b/dlls/bthprops.cpl/main.c
index d670f2e358..67eab76d07 100644
--- a/dlls/bthprops.cpl/main.c
+++ b/dlls/bthprops.cpl/main.c
@@ -60,3 +60,13 @@ BOOL WINAPI BluetoothFindRadioClose(HBLUETOOTH_RADIO_FIND find)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+/*********************************************************************
+ * BluetoothFindDeviceClose
+ */
+BOOL WINAPI BluetoothFindDeviceClose(HBLUETOOTH_DEVICE_FIND find)
+{
+ FIXME("(%p): stub!\n", find);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
--
2.20.1
More information about the wine-devel
mailing list