[PATCH] bthprops.cpl: Add BluetoothFindNextRadio stub.

Esdras Tarsis esdrastarsis at gmail.com
Sat Jul 3 17:10:08 CDT 2021


For GangV Battle Royale

Signed-off-by: Esdras Tarsis <esdrastarsis at gmail.com>
---
 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 26d2429c6ba..49b181763ee 100644
--- a/dlls/bthprops.cpl/bthprops.cpl.spec
+++ b/dlls/bthprops.cpl/bthprops.cpl.spec
@@ -27,7 +27,7 @@
 @ stub BluetoothFindNextProfileDescriptor
 @ stub BluetoothFindNextProtocolDescriptorStack
 @ stub BluetoothFindNextProtocolEntry
-@ stub BluetoothFindNextRadio
+@ stdcall BluetoothFindNextRadio(ptr ptr)
 @ stub BluetoothFindNextService
 @ stub BluetoothFindProfileDescriptorClose
 @ stub BluetoothFindProtocolDescriptorStackClose
diff --git a/dlls/bthprops.cpl/main.c b/dlls/bthprops.cpl/main.c
index 60a781ef840..943c9dcb764 100644
--- a/dlls/bthprops.cpl/main.c
+++ b/dlls/bthprops.cpl/main.c
@@ -70,3 +70,13 @@ BOOL WINAPI BluetoothFindDeviceClose(HBLUETOOTH_DEVICE_FIND find)
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return FALSE;
 }
+
+/*********************************************************************
+ *  BluetoothFindNextRadio
+ */
+BOOL WINAPI BluetoothFindNextRadio(HBLUETOOTH_RADIO_FIND find, HANDLE *radio)
+{
+    FIXME("(%p, %p): stub!\n", find, radio);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return FALSE;
+}
diff --git a/dlls/irprops.cpl/irprops.cpl.spec b/dlls/irprops.cpl/irprops.cpl.spec
index ca24b49dd47..f2fa18aab89 100644
--- a/dlls/irprops.cpl/irprops.cpl.spec
+++ b/dlls/irprops.cpl/irprops.cpl.spec
@@ -23,7 +23,7 @@
 @ stub BluetoothFindNextProfileDescriptor
 @ stub BluetoothFindNextProtocolDescriptorStack
 @ stub BluetoothFindNextProtocolEntry
-@ stub BluetoothFindNextRadio
+@ stdcall BluetoothFindNextRadio(ptr ptr) bthprops.cpl.BluetoothFindNextRadio
 @ stub BluetoothFindNextService
 @ stub BluetoothFindProfileDescriptorClose
 @ stub BluetoothFindProtocolDescriptorStackClose
-- 
2.32.0




More information about the wine-devel mailing list