Austin English : bthprops.cpl: Add BluetoothFindFirstDevice stub.

Alexandre Julliard julliard at winehq.org
Fri May 27 09:42:32 CDT 2016


Module: wine
Branch: master
Commit: 08809557331106b15a8b25097a611b8afaa68add
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=08809557331106b15a8b25097a611b8afaa68add

Author: Austin English <austinenglish at gmail.com>
Date:   Thu May 19 23:07:52 2016 -0500

bthprops.cpl: Add BluetoothFindFirstDevice stub.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/bthprops.cpl/bthprops.cpl.spec b/dlls/bthprops.cpl/bthprops.cpl.spec
index 3842a36..ed80b0e 100644
--- a/dlls/bthprops.cpl/bthprops.cpl.spec
+++ b/dlls/bthprops.cpl/bthprops.cpl.spec
@@ -14,7 +14,7 @@
 @ stub BluetoothFindDeviceClose
 @ stub BluetoothFindFirstBrowseGroup
 @ stub BluetoothFindFirstClassId
-@ stub BluetoothFindFirstDevice
+@ stdcall BluetoothFindFirstDevice(ptr ptr)
 @ stub BluetoothFindFirstProfileDescriptor
 @ stub BluetoothFindFirstProtocolDescriptorStack
 @ stub BluetoothFindFirstProtocolEntry
diff --git a/dlls/bthprops.cpl/main.c b/dlls/bthprops.cpl/main.c
index b261328..02ee371 100644
--- a/dlls/bthprops.cpl/main.c
+++ b/dlls/bthprops.cpl/main.c
@@ -32,6 +32,17 @@
 WINE_DEFAULT_DEBUG_CHANNEL(bthpropscpl);
 
 /*********************************************************************
+ *  BluetoothFindFirstDevice
+ */
+HBLUETOOTH_DEVICE_FIND WINAPI BluetoothFindFirstDevice(BLUETOOTH_DEVICE_SEARCH_PARAMS *params,
+                                                       BLUETOOTH_DEVICE_INFO *info)
+{
+    FIXME("(%p %p): stub!\n", params, info);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return NULL;
+}
+
+/*********************************************************************
  *  BluetoothFindFirstRadio
  */
 HBLUETOOTH_RADIO_FIND WINAPI BluetoothFindFirstRadio(BLUETOOTH_FIND_RADIO_PARAMS *params, HANDLE *radio)
diff --git a/dlls/irprops.cpl/irprops.cpl.spec b/dlls/irprops.cpl/irprops.cpl.spec
index 083ccf4..d628315 100644
--- a/dlls/irprops.cpl/irprops.cpl.spec
+++ b/dlls/irprops.cpl/irprops.cpl.spec
@@ -11,7 +11,7 @@
 @ stub BluetoothFindDeviceClose
 @ stub BluetoothFindFirstBrowseGroup
 @ stub BluetoothFindFirstClassId
-@ stub BluetoothFindFirstDevice
+@ stdcall BluetoothFindFirstDevice(ptr ptr) bthprops.cpl.BluetoothFindFirstDevice
 @ stub BluetoothFindFirstProfileDescriptor
 @ stub BluetoothFindFirstProtocolDescriptorStack
 @ stub BluetoothFindFirstProtocolEntry




More information about the wine-cvs mailing list