Mohamad Al-Jaf : include: Fix BluetoothRegisterForAuthentication prototype.
Module: wine Branch: master Commit: 079ff28fcecc734204b7e34352211a4ed0e0d839 URL: https://gitlab.winehq.org/wine/wine/-/commit/079ff28fcecc734204b7e34352211a4... Author: Mohamad Al-Jaf <mohamadaljaf(a)gmail.com> Date: Tue Feb 21 18:36:07 2023 -0500 include: Fix BluetoothRegisterForAuthentication prototype. The first parameter is defined as const BLUETOOTH_DEVICE_INFO in MSDN and bluetoothapis.h. --- include/bluetoothapis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bluetoothapis.h b/include/bluetoothapis.h index 1942513fab3..d3b5c941b7c 100644 --- a/include/bluetoothapis.h +++ b/include/bluetoothapis.h @@ -225,7 +225,7 @@ DWORD WINAPI BluetoothGetDeviceInfo(HANDLE, BLUETOOTH_DEVICE_INFO *); DWORD WINAPI BluetoothGetRadioInfo(HANDLE, PBLUETOOTH_RADIO_INFO); BOOL WINAPI BluetoothIsConnectable(HANDLE); BOOL WINAPI BluetoothIsDiscoverable(HANDLE); -DWORD WINAPI BluetoothRegisterForAuthentication(BLUETOOTH_DEVICE_INFO *, HBLUETOOTH_AUTHENTICATION_REGISTRATION *, PFN_AUTHENTICATION_CALLBACK, void *); +DWORD WINAPI BluetoothRegisterForAuthentication(const BLUETOOTH_DEVICE_INFO *, HBLUETOOTH_AUTHENTICATION_REGISTRATION *, PFN_AUTHENTICATION_CALLBACK, void *); DWORD WINAPI BluetoothRegisterForAuthenticationEx(const BLUETOOTH_DEVICE_INFO *, HBLUETOOTH_AUTHENTICATION_REGISTRATION *, PFN_AUTHENTICATION_CALLBACK_EX, void *); DWORD WINAPI BluetoothRemoveDevice(BLUETOOTH_ADDRESS *); #define BluetoothEnumAttributes BluetoothSdpEnumAttributes
participants (1)
-
Alexandre Julliard