Skip to content

Commit 1d4d655

Browse files
vibhavpjulliard
authored andcommitted
bluetoothapis: Add stub for BluetoothEnableIncomingConnections.
1 parent 558e5b3 commit 1d4d655

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

MAINTAINERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ F: dlls/xaudio*/
5252
Bluetooth support
5353
M: Vibhav Pant <[email protected]>
5454
F: dlls/winebth.sys/
55-
F: dlls/bluetoothapis/sdp.c
55+
F: dlls/bluetoothapis/
5656

5757
Common Controls Library
5858
P: Nikolay Sivov <[email protected]>

dlls/bluetoothapis/bluetoothapis.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@ stub BluetoothAddressToString
22
@ stub BluetoothDisconnectDevice
33
@ stub BluetoothEnableDiscovery
4-
@ stub BluetoothEnableIncomingConnections
4+
@ stdcall BluetoothEnableIncomingConnections(ptr long)
55
@ stub BluetoothEnumerateInstalledServices
66
@ stub BluetoothEnumerateInstalledServicesEx
77
@ stub BluetoothEnumerateLocalServices

dlls/bluetoothapis/main.c

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Bluetooth APIs
33
*
44
* Copyright 2016 Austin English
5+
* Copyright 2025 Vibhav Pant
56
*
67
* This library is free software; you can redistribute it and/or
78
* modify it under the terms of the GNU Lesser General Public
@@ -263,6 +264,15 @@ BOOL WINAPI BluetoothIsConnectable( HANDLE radio )
263264
}
264265
}
265266

267+
/*********************************************************************
268+
* BluetoothEnableIncomingConnections
269+
*/
270+
BOOL WINAPI BluetoothEnableIncomingConnections( HANDLE radio, BOOL enable )
271+
{
272+
FIXME( "(%p, %d): stub!\n", radio, enable );
273+
return FALSE;
274+
}
275+
266276
/*********************************************************************
267277
* BluetoothIsDiscoverable
268278
*/

dlls/bthprops.cpl/bthprops.cpl.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@ stub BluetoothDisconnectDevice
77
@ stub BluetoothDisplayDeviceProperties
88
@ stub BluetoothEnableDiscovery
9-
@ stub BluetoothEnableIncomingConnections
9+
@ stdcall -import BluetoothEnableIncomingConnections(ptr long)
1010
@ stub BluetoothEnumerateInstalledServices
1111
@ stub BluetoothEnumerateInstalledServicesEx
1212
@ stub BluetoothFindBrowseGroupClose

dlls/irprops.cpl/irprops.cpl.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@ stub BluetoothDisconnectDevice
55
@ stub BluetoothDisplayDeviceProperties
66
@ stub BluetoothEnableDiscovery
7-
@ stub BluetoothEnableIncomingConnections
7+
@ stdcall BluetoothEnableIncomingConnections(ptr long) bthprops.cpl.BluetoothEnableIncomingConnections
88
@ stub BluetoothEnumerateInstalledServices
99
@ stub BluetoothFindBrowseGroupClose
1010
@ stub BluetoothFindClassIdClose

0 commit comments

Comments
 (0)