Esdras Tarsis : bthprops.cpl: Add BluetoothGetRadioInfo stub.
Alexandre Julliard
julliard at winehq.org
Mon Aug 16 18:07:24 CDT 2021
Module: wine
Branch: master
Commit: 4ffaf9016e5e2887d47c090ae5a25c9f12a7c44c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4ffaf9016e5e2887d47c090ae5a25c9f12a7c44c
Author: Esdras Tarsis <esdrastarsis at gmail.com>
Date: Sat Aug 14 19:34:15 2021 -0300
bthprops.cpl: Add BluetoothGetRadioInfo stub.
Needed for War Dust.
Signed-off-by: Esdras Tarsis <esdrastarsis at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/bthprops.cpl/bthprops.cpl.spec | 2 +-
dlls/bthprops.cpl/main.c | 9 +++++++++
dlls/irprops.cpl/irprops.cpl.spec | 2 +-
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/dlls/bthprops.cpl/bthprops.cpl.spec b/dlls/bthprops.cpl/bthprops.cpl.spec
index 49b181763ee..d57eb9136e6 100644
--- a/dlls/bthprops.cpl/bthprops.cpl.spec
+++ b/dlls/bthprops.cpl/bthprops.cpl.spec
@@ -35,7 +35,7 @@
@ stdcall BluetoothFindRadioClose(ptr)
@ stub BluetoothFindServiceClose
@ stub BluetoothGetDeviceInfo
-@ stub BluetoothGetRadioInfo
+@ stdcall BluetoothGetRadioInfo(ptr ptr)
@ stub BluetoothIsConnectable
@ stub BluetoothIsDiscoverable
@ stub BluetoothIsVersionAvailable
diff --git a/dlls/bthprops.cpl/main.c b/dlls/bthprops.cpl/main.c
index 943c9dcb764..672b682a29d 100644
--- a/dlls/bthprops.cpl/main.c
+++ b/dlls/bthprops.cpl/main.c
@@ -80,3 +80,12 @@ BOOL WINAPI BluetoothFindNextRadio(HBLUETOOTH_RADIO_FIND find, HANDLE *radio)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+/*********************************************************************
+ * BluetoothGetRadioInfo
+ */
+DWORD WINAPI BluetoothGetRadioInfo(HANDLE radio, PBLUETOOTH_RADIO_INFO info)
+{
+ FIXME("(%p, %p): stub!\n", radio, info);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
diff --git a/dlls/irprops.cpl/irprops.cpl.spec b/dlls/irprops.cpl/irprops.cpl.spec
index f2fa18aab89..a3e5faa7076 100644
--- a/dlls/irprops.cpl/irprops.cpl.spec
+++ b/dlls/irprops.cpl/irprops.cpl.spec
@@ -31,7 +31,7 @@
@ stdcall BluetoothFindRadioClose(ptr) bthprops.cpl.BluetoothFindRadioClose
@ stub BluetoothFindServiceClose
@ stub BluetoothGetDeviceInfo
-@ stub BluetoothGetRadioInfo
+@ stdcall BluetoothGetRadioInfo(ptr ptr) bthprops.cpl.BluetoothGetRadioInfo
@ stub BluetoothIsConnectable
@ stub BluetoothIsDiscoverable
@ stub BluetoothMapClassOfDeviceToImageIndex
More information about the wine-cvs
mailing list