Louis Lenders : bthprops.cpl: Add BluetoothFindDeviceClose stub.

Alexandre Julliard julliard at winehq.org
Thu Mar 7 16:27:59 CST 2019


Module: wine
Branch: master
Commit: f59e7f839185bd72830877711587f8694b2678c7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f59e7f839185bd72830877711587f8694b2678c7

Author: Louis Lenders <xerox.xerox2000x at gmail.com>
Date:   Wed Mar  6 04:03:27 2019 -0500

bthprops.cpl: Add BluetoothFindDeviceClose stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46706
Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/bthprops.cpl/bthprops.cpl.spec |  2 +-
 dlls/bthprops.cpl/main.c            | 10 ++++++++++
 dlls/irprops.cpl/irprops.cpl.spec   |  2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dlls/bthprops.cpl/bthprops.cpl.spec b/dlls/bthprops.cpl/bthprops.cpl.spec
index ed80b0e..626b385 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 d670f2e..60a781e 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;
+}
diff --git a/dlls/irprops.cpl/irprops.cpl.spec b/dlls/irprops.cpl/irprops.cpl.spec
index d628315..ca24b49 100644
--- a/dlls/irprops.cpl/irprops.cpl.spec
+++ b/dlls/irprops.cpl/irprops.cpl.spec
@@ -8,7 +8,7 @@
 @ stub BluetoothEnumerateInstalledServices
 @ stub BluetoothFindBrowseGroupClose
 @ stub BluetoothFindClassIdClose
-@ stub BluetoothFindDeviceClose
+@ stdcall BluetoothFindDeviceClose(ptr) bthprops.cpl.BluetoothFindDeviceClose
 @ stub BluetoothFindFirstBrowseGroup
 @ stub BluetoothFindFirstClassId
 @ stdcall BluetoothFindFirstDevice(ptr ptr) bthprops.cpl.BluetoothFindFirstDevice




More information about the wine-cvs mailing list