This commit is contained in:
2026-05-06 15:43:21 +03:00
parent e614572c4f
commit 6fa00a63d3
7 changed files with 55 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
--- qbluetoothservicediscoveryagent_win.cpp 2025-03-30 11:49:36.000000000 +0000
+++ qbluetoothservicediscoveryagent_win.cpp.new 2026-05-06 11:18:55.546127656 +0000
@@ -211,7 +211,7 @@
#else
# define SDP_CALLBACK QT_WIN_CALLBACK
#endif
-static BOOL SDP_CALLBACK bluetoothSdpCallback(ULONG attributeId, LPBYTE valueStream, ULONG streamSize, LPVOID param)
+static BOOL SDP_CALLBACK __attribute__((stdcall)) bluetoothSdpCallback(ULONG attributeId, LPBYTE valueStream, ULONG streamSize, LPVOID param)
{
QBluetoothServiceInfo *result = static_cast<QBluetoothServiceInfo*>(param);