18#ifndef __BLUETOOTHAPIS_H
19#define __BLUETOOTHAPIS_H
34#define BLUETOOTH_ADDRESS BLUETOOTH_ADDRESS_STRUCT
35#define BLUETOOTH_NULL_ADDRESS ((ULONGLONG) 0x0)
37#define BLUETOOTH_MAX_NAME_SIZE (248)
38#define BLUETOOTH_MAX_PASSKEY_SIZE (16)
39#define BLUETOOTH_MAX_PASSKEY_BUFFER_SIZE (BLUETOOTH_MAX_PASSKEY_SIZE + 1)
41#define BLUETOOTH_SERVICE_DISABLE 0x00
42#define BLUETOOTH_SERVICE_ENABLE 0x01
43#define BLUETOOTH_SERVICE_MASK (BLUETOOTH_ENABLE_SERVICE | BLUETOOTH_DISABLE_SERVICE)
113#define BLUETOOTH_DEVICE_INFO BLUETOOTH_DEVICE_INFO_STRUCT
231#define BluetoothEnumAttributes BluetoothSdpEnumAttributes
DWORD WINAPI BluetoothSdpGetContainerElementData(BYTE *, ULONG, HBLUETOOTH_CONTAINER_ELEMENT *, PSDP_ELEMENT_DATA)
DWORD WINAPI BluetoothAuthenticateDevice(HWND, HANDLE, BLUETOOTH_DEVICE_INFO *, WCHAR *, ULONG)
BOOL WINAPI BluetoothFindDeviceClose(HBLUETOOTH_DEVICE_FIND)
struct _BLUETOOTH_DEVICE_SEARCH_PARAMS BLUETOOTH_DEVICE_SEARCH_PARAMS
struct _BLUETOOTH_SELECT_DEVICE_PARAMS BLUETOOTH_SELECT_DEVICE_PARAMS
DWORD WINAPI BluetoothSdpGetAttributeValue(BYTE *, ULONG, USHORT, PSDP_ELEMENT_DATA)
BOOL WINAPI BluetoothDisplayDeviceProperties(HWND, BLUETOOTH_DEVICE_INFO *)
BOOL WINAPI BluetoothFindRadioClose(HBLUETOOTH_RADIO_FIND)
struct _BLUETOOTH_ADDRESS BLUETOOTH_ADDRESS_STRUCT
HBLUETOOTH_RADIO_FIND WINAPI BluetoothFindFirstRadio(BLUETOOTH_FIND_RADIO_PARAMS *, HANDLE *)
DWORD WINAPI BluetoothSdpGetElementData(BYTE *, ULONG, PSDP_ELEMENT_DATA)
DWORD WINAPI BluetoothSendAuthenticationResponse(HANDLE, BLUETOOTH_DEVICE_INFO *, WCHAR *)
BOOL WINAPI BluetoothUnregisterAuthentication(HBLUETOOTH_AUTHENTICATION_REGISTRATION)
BOOL(WINAPI * PFN_AUTHENTICATION_CALLBACK)(void *, PBLUETOOTH_DEVICE_INFO)
BOOL WINAPI BluetoothSelectDevicesFree(BLUETOOTH_SELECT_DEVICE_PARAMS *)
struct _SDP_ELEMENT_DATA * PSDP_ELEMENT_DATA
enum _BLUETOOTH_AUTHENTICATION_METHOD BLUETOOTH_AUTHENTICATION_METHOD
BOOL WINAPI BluetoothFindNextRadio(HBLUETOOTH_RADIO_FIND, HANDLE *)
BOOL WINAPI BluetoothIsDiscoverable(HANDLE)
BOOL WINAPI BluetoothSelectDevices(BLUETOOTH_SELECT_DEVICE_PARAMS *)
DWORD WINAPI BluetoothGetRadioInfo(HANDLE, PBLUETOOTH_RADIO_INFO)
DWORD WINAPI BluetoothRegisterForAuthentication(const BLUETOOTH_DEVICE_INFO *, HBLUETOOTH_AUTHENTICATION_REGISTRATION *, PFN_AUTHENTICATION_CALLBACK, void *)
struct _BLUETOOTH_COD_PAIRS BLUETOOTH_COD_PAIRS
HANDLE HBLUETOOTH_DEVICE_FIND
struct _BLUETOOTH_FIND_RADIO_PARAMS BLUETOOTH_FIND_RADIO_PARAMS
HANDLE HBLUETOOTH_RADIO_FIND
BOOL(CALLBACK * PFN_AUTHENTICATION_CALLBACK_EX)(void *, BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS *)
BOOL WINAPI BluetoothFindNextDevice(HBLUETOOTH_DEVICE_FIND, BLUETOOTH_DEVICE_INFO *)
struct _BLUETOOTH_DEVICE_INFO BLUETOOTH_DEVICE_INFO_STRUCT
DWORD WINAPI BluetoothSetServiceState(HANDLE, BLUETOOTH_DEVICE_INFO *, GUID *, DWORD)
enum _BLUETOOTH_AUTHENTICATION_METHOD * PBLUETOOTH_AUTHENTICATION_METHOD
_BLUETOOTH_AUTHENTICATION_METHOD
@ BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY
@ BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY_NOTIFICATION
@ BLUETOOTH_AUTHENTICATION_METHOD_LEGACY
@ BLUETOOTH_AUTHENTICATION_METHOD_NUMERIC_COMPARISON
@ BLUETOOTH_AUTHENTICATION_METHOD_OOB
DWORD WINAPI BluetoothRemoveDevice(BLUETOOTH_ADDRESS *)
BOOL WINAPI BluetoothEnableIncomingConnections(HANDLE, BOOL)
DWORD WINAPI BluetoothGetDeviceInfo(HANDLE, BLUETOOTH_DEVICE_INFO *)
HANDLE HBLUETOOTH_AUTHENTICATION_REGISTRATION
BOOL WINAPI BluetoothEnableDiscovery(HANDLE, BOOL)
DWORD WINAPI BluetoothAuthenticateMultipleDevices(HWND, HANDLE, DWORD, BLUETOOTH_DEVICE_INFO *)
@ BLUETOOTH_IO_CAPABILITY_NOINPUTNOOUTPUT
@ BLUETOOTH_IO_CAPABILITY_UNDEFINED
@ BLUETOOTH_IO_CAPABILITY_DISPLAYYESNO
@ BLUETOOTH_IO_CAPABILITY_KEYBOARDONLY
@ BLUETOOTH_IO_CAPABILITY_DISPLAYONLY
BOOL WINAPI BluetoothSdpEnumAttributes(BYTE *, ULONG, PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK, void *)
struct _SDP_STRING_TYPE_DATA SDP_STRING_TYPE_DATA
struct _BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS * PBLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS
_BLUETOOTH_AUTHENTICATION_REQUIREMENTS
@ BLUETOOTH_MITM_ProtectionNotRequired
@ BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding
@ BLUETOOTH_MITM_ProtectionNotDefined
@ BLUETOOTH_MITM_ProtectionRequired
@ BLUETOOTH_MITM_ProtectionRequiredBonding
@ BLUETOOTH_MITM_ProtectionRequiredGeneralBonding
@ BLUETOOTH_MITM_ProtectionNotRequiredBonding
DWORD WINAPI BluetoothSdpGetString(BYTE *, ULONG, PSDP_STRING_TYPE_DATA, USHORT, WCHAR *, ULONG *)
#define BLUETOOTH_ADDRESS
HANDLE HBLUETOOTH_CONTAINER_ELEMENT
#define BLUETOOTH_DEVICE_INFO
enum _BLUETOOTH_AUTHENTICATION_REQUIREMENTS BLUETOOTH_AUTHENTICATION_REQUIREMENTS
struct _BLUETOOTH_RADIO_INFO * PBLUETOOTH_RADIO_INFO
BOOL WINAPI BluetoothIsConnectable(HANDLE)
struct _BLUETOOTH_RADIO_INFO BLUETOOTH_RADIO_INFO
HBLUETOOTH_DEVICE_FIND WINAPI BluetoothFindFirstDevice(BLUETOOTH_DEVICE_SEARCH_PARAMS *, BLUETOOTH_DEVICE_INFO *)
BOOL(WINAPI * PFN_DEVICE_CALLBACK)(void *pvParam, const BLUETOOTH_DEVICE_INFO *pDevice)
struct _BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS
BOOL(CALLBACK * PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK)(ULONG uAttribId, BYTE *pValueStream, ULONG cbStreamSize, void *pvParam)
struct _BLUETOOTH_DEVICE_INFO * PBLUETOOTH_DEVICE_INFO
DWORD WINAPI BluetoothUpdateDeviceRecord(BLUETOOTH_DEVICE_INFO *)
DWORD WINAPI BluetoothRegisterForAuthenticationEx(const BLUETOOTH_DEVICE_INFO *, HBLUETOOTH_AUTHENTICATION_REGISTRATION *, PFN_AUTHENTICATION_CALLBACK_EX, void *)
struct _SDP_ELEMENT_DATA SDP_ELEMENT_DATA
struct _SDP_STRING_TYPE_DATA * PSDP_STRING_TYPE_DATA
#define BLUETOOTH_MAX_NAME_SIZE
DWORD WINAPI BluetoothEnumerateInstalledServices(HANDLE, BLUETOOTH_DEVICE_INFO *, DWORD *, GUID *)
enum _BLUETOOTH_IO_CAPABILITY BLUETOOTH_IO_CAPABILITY
union _BLUETOOTH_ADDRESS::@2939 DUMMYUNIONNAME
BLUETOOTH_AUTHENTICATION_REQUIREMENTS authenticationRequirements
BLUETOOTH_IO_CAPABILITY ioCapability
BLUETOOTH_DEVICE_INFO deviceInfo
BLUETOOTH_AUTHENTICATION_METHOD authenticationMethod
const WCHAR * pcszDescription
BLUETOOTH_ADDRESS Address
WCHAR szName[BLUETOOTH_MAX_NAME_SIZE]
BOOL fReturnAuthenticated
WCHAR szName[BLUETOOTH_MAX_NAME_SIZE]
BLUETOOTH_ADDRESS address
BLUETOOTH_COD_PAIRS * prgClassOfDevices
BOOL fForceAuthentication
PBLUETOOTH_DEVICE_INFO pDevices
PFN_DEVICE_CALLBACK pfnDeviceCallback
SDP_ULARGE_INTEGER_16 uint128
SDP_LARGE_INTEGER_16 int128
struct _SDP_ELEMENT_DATA::@2942::@2944 url
struct _SDP_ELEMENT_DATA::@2942::@2945 sequence
union _SDP_ELEMENT_DATA::@2942 data
SDP_SPECIFICTYPE specificType
struct _SDP_ELEMENT_DATA::@2942::@2946 alternative
struct _SDP_ELEMENT_DATA::@2942::@2943 string