]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/Devices/Bluetooth/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Devices / Bluetooth / mod.rs
1 #[link(name = "windows")]
2 extern "system" {
3 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
4 #[cfg(feature = "Win32_Foundation")]
5 pub fn BluetoothAuthenticateDevice(hwndparent: super::super::Foundation::HWND, hradio: super::super::Foundation::HANDLE, pbtbi: *mut BLUETOOTH_DEVICE_INFO, pszpasskey: ::windows_sys::core::PCWSTR, ulpasskeylength: u32) -> u32;
6 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
7 #[cfg(feature = "Win32_Foundation")]
8 pub fn BluetoothAuthenticateDeviceEx(hwndparentin: super::super::Foundation::HWND, hradioin: super::super::Foundation::HANDLE, pbtdiinout: *mut BLUETOOTH_DEVICE_INFO, pbtoobdata: *const BLUETOOTH_OOB_DATA_INFO, authenticationrequirement: AUTHENTICATION_REQUIREMENTS) -> u32;
9 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
10 #[cfg(feature = "Win32_Foundation")]
11 pub fn BluetoothAuthenticateMultipleDevices(hwndparent: super::super::Foundation::HWND, hradio: super::super::Foundation::HANDLE, cdevices: u32, rgbtdi: *mut BLUETOOTH_DEVICE_INFO) -> u32;
12 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
13 #[cfg(feature = "Win32_Foundation")]
14 pub fn BluetoothDisplayDeviceProperties(hwndparent: super::super::Foundation::HWND, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL;
15 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
16 #[cfg(feature = "Win32_Foundation")]
17 pub fn BluetoothEnableDiscovery(hradio: super::super::Foundation::HANDLE, fenabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
18 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
19 #[cfg(feature = "Win32_Foundation")]
20 pub fn BluetoothEnableIncomingConnections(hradio: super::super::Foundation::HANDLE, fenabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
21 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
22 #[cfg(feature = "Win32_Foundation")]
23 pub fn BluetoothEnumerateInstalledServices(hradio: super::super::Foundation::HANDLE, pbtdi: *const BLUETOOTH_DEVICE_INFO, pcserviceinout: *mut u32, pguidservices: *mut ::windows_sys::core::GUID) -> u32;
24 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
25 #[cfg(feature = "Win32_Foundation")]
26 pub fn BluetoothFindDeviceClose(hfind: isize) -> super::super::Foundation::BOOL;
27 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
28 #[cfg(feature = "Win32_Foundation")]
29 pub fn BluetoothFindFirstDevice(pbtsp: *const BLUETOOTH_DEVICE_SEARCH_PARAMS, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> isize;
30 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
31 #[cfg(feature = "Win32_Foundation")]
32 pub fn BluetoothFindFirstRadio(pbtfrp: *const BLUETOOTH_FIND_RADIO_PARAMS, phradio: *mut super::super::Foundation::HANDLE) -> isize;
33 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
34 #[cfg(feature = "Win32_Foundation")]
35 pub fn BluetoothFindNextDevice(hfind: isize, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL;
36 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
37 #[cfg(feature = "Win32_Foundation")]
38 pub fn BluetoothFindNextRadio(hfind: isize, phradio: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
39 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
40 #[cfg(feature = "Win32_Foundation")]
41 pub fn BluetoothFindRadioClose(hfind: isize) -> super::super::Foundation::BOOL;
42 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
43 #[cfg(feature = "Win32_Foundation")]
44 pub fn BluetoothGATTAbortReliableWrite(hdevice: super::super::Foundation::HANDLE, reliablewritecontext: u64, flags: u32) -> ::windows_sys::core::HRESULT;
45 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
46 #[cfg(feature = "Win32_Foundation")]
47 pub fn BluetoothGATTBeginReliableWrite(hdevice: super::super::Foundation::HANDLE, reliablewritecontext: *mut u64, flags: u32) -> ::windows_sys::core::HRESULT;
48 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
49 #[cfg(feature = "Win32_Foundation")]
50 pub fn BluetoothGATTEndReliableWrite(hdevice: super::super::Foundation::HANDLE, reliablewritecontext: u64, flags: u32) -> ::windows_sys::core::HRESULT;
51 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
52 #[cfg(feature = "Win32_Foundation")]
53 pub fn BluetoothGATTGetCharacteristicValue(hdevice: super::super::Foundation::HANDLE, characteristic: *const BTH_LE_GATT_CHARACTERISTIC, characteristicvaluedatasize: u32, characteristicvalue: *mut BTH_LE_GATT_CHARACTERISTIC_VALUE, characteristicvaluesizerequired: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT;
54 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
55 #[cfg(feature = "Win32_Foundation")]
56 pub fn BluetoothGATTGetCharacteristics(hdevice: super::super::Foundation::HANDLE, service: *const BTH_LE_GATT_SERVICE, characteristicsbuffercount: u16, characteristicsbuffer: *mut BTH_LE_GATT_CHARACTERISTIC, characteristicsbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT;
57 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
58 #[cfg(feature = "Win32_Foundation")]
59 pub fn BluetoothGATTGetDescriptorValue(hdevice: super::super::Foundation::HANDLE, descriptor: *const BTH_LE_GATT_DESCRIPTOR, descriptorvaluedatasize: u32, descriptorvalue: *mut BTH_LE_GATT_DESCRIPTOR_VALUE, descriptorvaluesizerequired: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT;
60 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
61 #[cfg(feature = "Win32_Foundation")]
62 pub fn BluetoothGATTGetDescriptors(hdevice: super::super::Foundation::HANDLE, characteristic: *const BTH_LE_GATT_CHARACTERISTIC, descriptorsbuffercount: u16, descriptorsbuffer: *mut BTH_LE_GATT_DESCRIPTOR, descriptorsbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT;
63 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
64 #[cfg(feature = "Win32_Foundation")]
65 pub fn BluetoothGATTGetIncludedServices(hdevice: super::super::Foundation::HANDLE, parentservice: *const BTH_LE_GATT_SERVICE, includedservicesbuffercount: u16, includedservicesbuffer: *mut BTH_LE_GATT_SERVICE, includedservicesbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT;
66 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
67 #[cfg(feature = "Win32_Foundation")]
68 pub fn BluetoothGATTGetServices(hdevice: super::super::Foundation::HANDLE, servicesbuffercount: u16, servicesbuffer: *mut BTH_LE_GATT_SERVICE, servicesbufferactual: *mut u16, flags: u32) -> ::windows_sys::core::HRESULT;
69 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
70 #[cfg(feature = "Win32_Foundation")]
71 pub fn BluetoothGATTRegisterEvent(hservice: super::super::Foundation::HANDLE, eventtype: BTH_LE_GATT_EVENT_TYPE, eventparameterin: *const ::core::ffi::c_void, callback: PFNBLUETOOTH_GATT_EVENT_CALLBACK, callbackcontext: *const ::core::ffi::c_void, peventhandle: *mut isize, flags: u32) -> ::windows_sys::core::HRESULT;
72 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
73 #[cfg(feature = "Win32_Foundation")]
74 pub fn BluetoothGATTSetCharacteristicValue(hdevice: super::super::Foundation::HANDLE, characteristic: *const BTH_LE_GATT_CHARACTERISTIC, characteristicvalue: *const BTH_LE_GATT_CHARACTERISTIC_VALUE, reliablewritecontext: u64, flags: u32) -> ::windows_sys::core::HRESULT;
75 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
76 #[cfg(feature = "Win32_Foundation")]
77 pub fn BluetoothGATTSetDescriptorValue(hdevice: super::super::Foundation::HANDLE, descriptor: *const BTH_LE_GATT_DESCRIPTOR, descriptorvalue: *const BTH_LE_GATT_DESCRIPTOR_VALUE, flags: u32) -> ::windows_sys::core::HRESULT;
78 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
79 pub fn BluetoothGATTUnregisterEvent(eventhandle: isize, flags: u32) -> ::windows_sys::core::HRESULT;
80 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
81 #[cfg(feature = "Win32_Foundation")]
82 pub fn BluetoothGetDeviceInfo(hradio: super::super::Foundation::HANDLE, pbtdi: *mut BLUETOOTH_DEVICE_INFO) -> u32;
83 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
84 #[cfg(feature = "Win32_Foundation")]
85 pub fn BluetoothGetRadioInfo(hradio: super::super::Foundation::HANDLE, pradioinfo: *mut BLUETOOTH_RADIO_INFO) -> u32;
86 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
87 #[cfg(feature = "Win32_Foundation")]
88 pub fn BluetoothIsConnectable(hradio: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
89 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
90 #[cfg(feature = "Win32_Foundation")]
91 pub fn BluetoothIsDiscoverable(hradio: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
92 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
93 #[cfg(feature = "Win32_Foundation")]
94 pub fn BluetoothIsVersionAvailable(majorversion: u8, minorversion: u8) -> super::super::Foundation::BOOL;
95 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
96 #[cfg(feature = "Win32_Foundation")]
97 pub fn BluetoothRegisterForAuthentication(pbtdi: *const BLUETOOTH_DEVICE_INFO, phreghandle: *mut isize, pfncallback: PFN_AUTHENTICATION_CALLBACK, pvparam: *const ::core::ffi::c_void) -> u32;
98 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
99 #[cfg(feature = "Win32_Foundation")]
100 pub fn BluetoothRegisterForAuthenticationEx(pbtdiin: *const BLUETOOTH_DEVICE_INFO, phreghandleout: *mut isize, pfncallbackin: PFN_AUTHENTICATION_CALLBACK_EX, pvparam: *const ::core::ffi::c_void) -> u32;
101 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
102 pub fn BluetoothRemoveDevice(paddress: *const BLUETOOTH_ADDRESS) -> u32;
103 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
104 #[cfg(feature = "Win32_Foundation")]
105 pub fn BluetoothSdpEnumAttributes(psdpstream: *const u8, cbstreamsize: u32, pfncallback: PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK, pvparam: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
106 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
107 #[cfg(feature = "Win32_Foundation")]
108 pub fn BluetoothSdpGetAttributeValue(precordstream: *const u8, cbrecordlength: u32, usattributeid: u16, pattributedata: *mut SDP_ELEMENT_DATA) -> u32;
109 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
110 #[cfg(feature = "Win32_Foundation")]
111 pub fn BluetoothSdpGetContainerElementData(pcontainerstream: *const u8, cbcontainerlength: u32, pelement: *mut isize, pdata: *mut SDP_ELEMENT_DATA) -> u32;
112 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
113 #[cfg(feature = "Win32_Foundation")]
114 pub fn BluetoothSdpGetElementData(psdpstream: *const u8, cbsdpstreamlength: u32, pdata: *mut SDP_ELEMENT_DATA) -> u32;
115 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
116 pub fn BluetoothSdpGetString(precordstream: *const u8, cbrecordlength: u32, pstringdata: *const SDP_STRING_TYPE_DATA, usstringoffset: u16, pszstring: ::windows_sys::core::PWSTR, pcchstringlength: *mut u32) -> u32;
117 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
118 #[cfg(feature = "Win32_Foundation")]
119 pub fn BluetoothSelectDevices(pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS) -> super::super::Foundation::BOOL;
120 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
121 #[cfg(feature = "Win32_Foundation")]
122 pub fn BluetoothSelectDevicesFree(pbtsdp: *mut BLUETOOTH_SELECT_DEVICE_PARAMS) -> super::super::Foundation::BOOL;
123 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
124 #[cfg(feature = "Win32_Foundation")]
125 pub fn BluetoothSendAuthenticationResponse(hradio: super::super::Foundation::HANDLE, pbtdi: *const BLUETOOTH_DEVICE_INFO, pszpasskey: ::windows_sys::core::PCWSTR) -> u32;
126 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
127 #[cfg(feature = "Win32_Foundation")]
128 pub fn BluetoothSendAuthenticationResponseEx(hradioin: super::super::Foundation::HANDLE, pauthresponse: *const BLUETOOTH_AUTHENTICATE_RESPONSE) -> u32;
129 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
130 #[cfg(feature = "Win32_Foundation")]
131 pub fn BluetoothSetLocalServiceInfo(hradioin: super::super::Foundation::HANDLE, pclassguid: *const ::windows_sys::core::GUID, ulinstance: u32, pserviceinfoin: *const BLUETOOTH_LOCAL_SERVICE_INFO) -> u32;
132 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
133 #[cfg(feature = "Win32_Foundation")]
134 pub fn BluetoothSetServiceState(hradio: super::super::Foundation::HANDLE, pbtdi: *const BLUETOOTH_DEVICE_INFO, pguidservice: *const ::windows_sys::core::GUID, dwserviceflags: u32) -> u32;
135 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
136 #[cfg(feature = "Win32_Foundation")]
137 pub fn BluetoothUnregisterAuthentication(hreghandle: isize) -> super::super::Foundation::BOOL;
138 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
139 #[cfg(feature = "Win32_Foundation")]
140 pub fn BluetoothUpdateDeviceRecord(pbtdi: *const BLUETOOTH_DEVICE_INFO) -> u32;
141 }
142 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
143 pub const A2DP_SINK_SUPPORTED_FEATURES_AMPLIFIER: u32 = 8u32;
144 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
145 pub const A2DP_SINK_SUPPORTED_FEATURES_HEADPHONE: u32 = 1u32;
146 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
147 pub const A2DP_SINK_SUPPORTED_FEATURES_RECORDER: u32 = 4u32;
148 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
149 pub const A2DP_SINK_SUPPORTED_FEATURES_SPEAKER: u32 = 2u32;
150 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
151 pub const A2DP_SOURCE_SUPPORTED_FEATURES_MICROPHONE: u32 = 2u32;
152 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
153 pub const A2DP_SOURCE_SUPPORTED_FEATURES_MIXER: u32 = 8u32;
154 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
155 pub const A2DP_SOURCE_SUPPORTED_FEATURES_PLAYER: u32 = 1u32;
156 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
157 pub const A2DP_SOURCE_SUPPORTED_FEATURES_TUNER: u32 = 4u32;
158 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
159 pub const AF_BTH: u16 = 32u16;
160 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
161 pub const ATT_PROTOCOL_UUID16: u32 = 7u32;
162 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
163 pub type AUTHENTICATION_REQUIREMENTS = i32;
164 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
165 pub const MITMProtectionNotRequired: AUTHENTICATION_REQUIREMENTS = 0i32;
166 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
167 pub const MITMProtectionRequired: AUTHENTICATION_REQUIREMENTS = 1i32;
168 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
169 pub const MITMProtectionNotRequiredBonding: AUTHENTICATION_REQUIREMENTS = 2i32;
170 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
171 pub const MITMProtectionRequiredBonding: AUTHENTICATION_REQUIREMENTS = 3i32;
172 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
173 pub const MITMProtectionNotRequiredGeneralBonding: AUTHENTICATION_REQUIREMENTS = 4i32;
174 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
175 pub const MITMProtectionRequiredGeneralBonding: AUTHENTICATION_REQUIREMENTS = 5i32;
176 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
177 pub const MITMProtectionNotDefined: AUTHENTICATION_REQUIREMENTS = 255i32;
178 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
179 pub const AVCTP_PROTOCOL_UUID16: u32 = 23u32;
180 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
181 pub const AVDTP_PROTOCOL_UUID16: u32 = 25u32;
182 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
183 pub const AVRCP_SUPPORTED_FEATURES_CATEGORY_1: u32 = 1u32;
184 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
185 pub const AVRCP_SUPPORTED_FEATURES_CATEGORY_2: u32 = 2u32;
186 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
187 pub const AVRCP_SUPPORTED_FEATURES_CATEGORY_3: u32 = 4u32;
188 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
189 pub const AVRCP_SUPPORTED_FEATURES_CATEGORY_4: u32 = 8u32;
190 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
191 pub const AVRCP_SUPPORTED_FEATURES_CT_BROWSING: u32 = 64u32;
192 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
193 pub const AVRCP_SUPPORTED_FEATURES_CT_COVER_ART_IMAGE: u32 = 256u32;
194 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
195 pub const AVRCP_SUPPORTED_FEATURES_CT_COVER_ART_IMAGE_PROPERTIES: u32 = 128u32;
196 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
197 pub const AVRCP_SUPPORTED_FEATURES_CT_COVER_ART_LINKED_THUMBNAIL: u32 = 512u32;
198 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
199 pub const AVRCP_SUPPORTED_FEATURES_TG_BROWSING: u32 = 64u32;
200 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
201 pub const AVRCP_SUPPORTED_FEATURES_TG_COVER_ART: u32 = 256u32;
202 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
203 pub const AVRCP_SUPPORTED_FEATURES_TG_GROUP_NAVIGATION: u32 = 32u32;
204 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
205 pub const AVRCP_SUPPORTED_FEATURES_TG_MULTIPLE_PLAYER_APPLICATIONS: u32 = 128u32;
206 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
207 pub const AVRCP_SUPPORTED_FEATURES_TG_PLAYER_APPLICATION_SETTINGS: u32 = 16u32;
208 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
209 pub const AVRemoteControlControllerServiceClass_UUID16: u32 = 4367u32;
210 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
211 pub const AVRemoteControlServiceClassID_UUID16: u32 = 4366u32;
212 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
213 pub const AVRemoteControlTargetServiceClassID_UUID16: u32 = 4364u32;
214 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
215 pub const AdvancedAudioDistributionProfileID_UUID16: u32 = 4365u32;
216 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
217 pub const AdvancedAudioDistributionServiceClassID_UUID16: u32 = 4365u32;
218 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
219 pub const AudioSinkServiceClassID_UUID16: u32 = 4363u32;
220 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
221 pub const AudioSinkSourceServiceClassID_UUID16: u32 = 4363u32;
222 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
223 pub const AudioSourceServiceClassID_UUID16: u32 = 4362u32;
224 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
225 pub const AudioVideoServiceClassID_UUID16: u32 = 4396u32;
226 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
227 pub const AudioVideoServiceClass_UUID16: u32 = 4396u32;
228 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
229 pub const BDIF_ADDRESS: u32 = 1u32;
230 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
231 pub const BDIF_BR: u32 = 16384u32;
232 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
233 pub const BDIF_BR_SECURE_CONNECTION_PAIRED: u32 = 134217728u32;
234 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
235 pub const BDIF_COD: u32 = 2u32;
236 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
237 pub const BDIF_CONNECTED: u32 = 32u32;
238 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
239 pub const BDIF_CONNECTION_INBOUND: u32 = 67108864u32;
240 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
241 pub const BDIF_DEBUGKEY: u32 = 536870912u32;
242 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
243 pub const BDIF_EIR: u32 = 8192u32;
244 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
245 pub const BDIF_LE: u32 = 32768u32;
246 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
247 pub const BDIF_LE_CONNECTABLE: u32 = 33554432u32;
248 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
249 pub const BDIF_LE_CONNECTED: u32 = 16777216u32;
250 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
251 pub const BDIF_LE_DEBUGKEY: u32 = 1073741824u32;
252 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
253 pub const BDIF_LE_DISCOVERABLE: u32 = 2097152u32;
254 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
255 pub const BDIF_LE_MITM_PROTECTED: u32 = 262144u32;
256 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
257 pub const BDIF_LE_NAME: u32 = 4194304u32;
258 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
259 pub const BDIF_LE_PAIRED: u32 = 65536u32;
260 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
261 pub const BDIF_LE_PERSONAL: u32 = 131072u32;
262 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
263 pub const BDIF_LE_PRIVACY_ENABLED: u32 = 524288u32;
264 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
265 pub const BDIF_LE_RANDOM_ADDRESS_TYPE: u32 = 1048576u32;
266 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
267 pub const BDIF_LE_SECURE_CONNECTION_PAIRED: u32 = 268435456u32;
268 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
269 pub const BDIF_LE_VISIBLE: u32 = 8388608u32;
270 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
271 pub const BDIF_NAME: u32 = 4u32;
272 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
273 pub const BDIF_PAIRED: u32 = 8u32;
274 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
275 pub const BDIF_PERSONAL: u32 = 16u32;
276 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
277 pub const BDIF_RSSI: u32 = 4096u32;
278 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
279 pub const BDIF_SHORT_NAME: u32 = 64u32;
280 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
281 pub const BDIF_SSP_MITM_PROTECTED: u32 = 1024u32;
282 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
283 pub const BDIF_SSP_PAIRED: u32 = 512u32;
284 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
285 pub const BDIF_SSP_SUPPORTED: u32 = 256u32;
286 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
287 pub const BDIF_TX_POWER: u32 = 2147483648u32;
288 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
289 pub const BDIF_VISIBLE: u32 = 128u32;
290 #[repr(C)]
291 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
292 pub struct BLUETOOTH_ADDRESS {
293 pub Anonymous: BLUETOOTH_ADDRESS_0,
294 }
295 impl ::core::marker::Copy for BLUETOOTH_ADDRESS {}
296 impl ::core::clone::Clone for BLUETOOTH_ADDRESS {
297 fn clone(&self) -> Self {
298 *self
299 }
300 }
301 #[repr(C)]
302 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
303 pub union BLUETOOTH_ADDRESS_0 {
304 pub ullLong: u64,
305 pub rgBytes: [u8; 6],
306 }
307 impl ::core::marker::Copy for BLUETOOTH_ADDRESS_0 {}
308 impl ::core::clone::Clone for BLUETOOTH_ADDRESS_0 {
309 fn clone(&self) -> Self {
310 *self
311 }
312 }
313 #[repr(C)]
314 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
315 pub struct BLUETOOTH_AUTHENTICATE_RESPONSE {
316 pub bthAddressRemote: BLUETOOTH_ADDRESS,
317 pub authMethod: BLUETOOTH_AUTHENTICATION_METHOD,
318 pub Anonymous: BLUETOOTH_AUTHENTICATE_RESPONSE_0,
319 pub negativeResponse: u8,
320 }
321 impl ::core::marker::Copy for BLUETOOTH_AUTHENTICATE_RESPONSE {}
322 impl ::core::clone::Clone for BLUETOOTH_AUTHENTICATE_RESPONSE {
323 fn clone(&self) -> Self {
324 *self
325 }
326 }
327 #[repr(C)]
328 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
329 pub union BLUETOOTH_AUTHENTICATE_RESPONSE_0 {
330 pub pinInfo: BLUETOOTH_PIN_INFO,
331 pub oobInfo: BLUETOOTH_OOB_DATA_INFO,
332 pub numericCompInfo: BLUETOOTH_NUMERIC_COMPARISON_INFO,
333 pub passkeyInfo: BLUETOOTH_PASSKEY_INFO,
334 }
335 impl ::core::marker::Copy for BLUETOOTH_AUTHENTICATE_RESPONSE_0 {}
336 impl ::core::clone::Clone for BLUETOOTH_AUTHENTICATE_RESPONSE_0 {
337 fn clone(&self) -> Self {
338 *self
339 }
340 }
341 #[repr(C)]
342 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
343 #[cfg(feature = "Win32_Foundation")]
344 pub struct BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS {
345 pub deviceInfo: BLUETOOTH_DEVICE_INFO,
346 pub authenticationMethod: BLUETOOTH_AUTHENTICATION_METHOD,
347 pub ioCapability: BLUETOOTH_IO_CAPABILITY,
348 pub authenticationRequirements: BLUETOOTH_AUTHENTICATION_REQUIREMENTS,
349 pub Anonymous: BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_0,
350 }
351 #[cfg(feature = "Win32_Foundation")]
352 impl ::core::marker::Copy for BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS {}
353 #[cfg(feature = "Win32_Foundation")]
354 impl ::core::clone::Clone for BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS {
355 fn clone(&self) -> Self {
356 *self
357 }
358 }
359 #[repr(C)]
360 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
361 #[cfg(feature = "Win32_Foundation")]
362 pub union BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_0 {
363 pub Numeric_Value: u32,
364 pub Passkey: u32,
365 }
366 #[cfg(feature = "Win32_Foundation")]
367 impl ::core::marker::Copy for BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_0 {}
368 #[cfg(feature = "Win32_Foundation")]
369 impl ::core::clone::Clone for BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS_0 {
370 fn clone(&self) -> Self {
371 *self
372 }
373 }
374 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
375 pub type BLUETOOTH_AUTHENTICATION_METHOD = i32;
376 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
377 pub const BLUETOOTH_AUTHENTICATION_METHOD_LEGACY: BLUETOOTH_AUTHENTICATION_METHOD = 1i32;
378 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
379 pub const BLUETOOTH_AUTHENTICATION_METHOD_OOB: BLUETOOTH_AUTHENTICATION_METHOD = 2i32;
380 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
381 pub const BLUETOOTH_AUTHENTICATION_METHOD_NUMERIC_COMPARISON: BLUETOOTH_AUTHENTICATION_METHOD = 3i32;
382 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
383 pub const BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY_NOTIFICATION: BLUETOOTH_AUTHENTICATION_METHOD = 4i32;
384 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
385 pub const BLUETOOTH_AUTHENTICATION_METHOD_PASSKEY: BLUETOOTH_AUTHENTICATION_METHOD = 5i32;
386 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
387 pub type BLUETOOTH_AUTHENTICATION_REQUIREMENTS = i32;
388 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
389 pub const BLUETOOTH_MITM_ProtectionNotRequired: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 0i32;
390 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
391 pub const BLUETOOTH_MITM_ProtectionRequired: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 1i32;
392 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
393 pub const BLUETOOTH_MITM_ProtectionNotRequiredBonding: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 2i32;
394 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
395 pub const BLUETOOTH_MITM_ProtectionRequiredBonding: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 3i32;
396 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
397 pub const BLUETOOTH_MITM_ProtectionNotRequiredGeneralBonding: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 4i32;
398 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
399 pub const BLUETOOTH_MITM_ProtectionRequiredGeneralBonding: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 5i32;
400 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
401 pub const BLUETOOTH_MITM_ProtectionNotDefined: BLUETOOTH_AUTHENTICATION_REQUIREMENTS = 255i32;
402 #[repr(C)]
403 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
404 pub struct BLUETOOTH_COD_PAIRS {
405 pub ulCODMask: u32,
406 pub pcszDescription: ::windows_sys::core::PCWSTR,
407 }
408 impl ::core::marker::Copy for BLUETOOTH_COD_PAIRS {}
409 impl ::core::clone::Clone for BLUETOOTH_COD_PAIRS {
410 fn clone(&self) -> Self {
411 *self
412 }
413 }
414 #[repr(C)]
415 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
416 #[cfg(feature = "Win32_Foundation")]
417 pub struct BLUETOOTH_DEVICE_INFO {
418 pub dwSize: u32,
419 pub Address: BLUETOOTH_ADDRESS,
420 pub ulClassofDevice: u32,
421 pub fConnected: super::super::Foundation::BOOL,
422 pub fRemembered: super::super::Foundation::BOOL,
423 pub fAuthenticated: super::super::Foundation::BOOL,
424 pub stLastSeen: super::super::Foundation::SYSTEMTIME,
425 pub stLastUsed: super::super::Foundation::SYSTEMTIME,
426 pub szName: [u16; 248],
427 }
428 #[cfg(feature = "Win32_Foundation")]
429 impl ::core::marker::Copy for BLUETOOTH_DEVICE_INFO {}
430 #[cfg(feature = "Win32_Foundation")]
431 impl ::core::clone::Clone for BLUETOOTH_DEVICE_INFO {
432 fn clone(&self) -> Self {
433 *self
434 }
435 }
436 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
437 pub const BLUETOOTH_DEVICE_NAME_SIZE: u32 = 256u32;
438 #[repr(C)]
439 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
440 #[cfg(feature = "Win32_Foundation")]
441 pub struct BLUETOOTH_DEVICE_SEARCH_PARAMS {
442 pub dwSize: u32,
443 pub fReturnAuthenticated: super::super::Foundation::BOOL,
444 pub fReturnRemembered: super::super::Foundation::BOOL,
445 pub fReturnUnknown: super::super::Foundation::BOOL,
446 pub fReturnConnected: super::super::Foundation::BOOL,
447 pub fIssueInquiry: super::super::Foundation::BOOL,
448 pub cTimeoutMultiplier: u8,
449 pub hRadio: super::super::Foundation::HANDLE,
450 }
451 #[cfg(feature = "Win32_Foundation")]
452 impl ::core::marker::Copy for BLUETOOTH_DEVICE_SEARCH_PARAMS {}
453 #[cfg(feature = "Win32_Foundation")]
454 impl ::core::clone::Clone for BLUETOOTH_DEVICE_SEARCH_PARAMS {
455 fn clone(&self) -> Self {
456 *self
457 }
458 }
459 #[repr(C)]
460 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
461 pub struct BLUETOOTH_FIND_RADIO_PARAMS {
462 pub dwSize: u32,
463 }
464 impl ::core::marker::Copy for BLUETOOTH_FIND_RADIO_PARAMS {}
465 impl ::core::clone::Clone for BLUETOOTH_FIND_RADIO_PARAMS {
466 fn clone(&self) -> Self {
467 *self
468 }
469 }
470 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
471 pub const BLUETOOTH_GATT_FLAG_CONNECTION_AUTHENTICATED: u32 = 2u32;
472 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
473 pub const BLUETOOTH_GATT_FLAG_CONNECTION_ENCRYPTED: u32 = 1u32;
474 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
475 pub const BLUETOOTH_GATT_FLAG_FORCE_READ_FROM_CACHE: u32 = 8u32;
476 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
477 pub const BLUETOOTH_GATT_FLAG_FORCE_READ_FROM_DEVICE: u32 = 4u32;
478 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
479 pub const BLUETOOTH_GATT_FLAG_NONE: u32 = 0u32;
480 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
481 pub const BLUETOOTH_GATT_FLAG_RETURN_ALL: u32 = 64u32;
482 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
483 pub const BLUETOOTH_GATT_FLAG_SIGNED_WRITE: u32 = 16u32;
484 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
485 pub const BLUETOOTH_GATT_FLAG_WRITE_WITHOUT_RESPONSE: u32 = 32u32;
486 #[repr(C)]
487 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
488 pub struct BLUETOOTH_GATT_VALUE_CHANGED_EVENT {
489 pub ChangedAttributeHandle: u16,
490 pub CharacteristicValueDataSize: usize,
491 pub CharacteristicValue: *mut BTH_LE_GATT_CHARACTERISTIC_VALUE,
492 }
493 impl ::core::marker::Copy for BLUETOOTH_GATT_VALUE_CHANGED_EVENT {}
494 impl ::core::clone::Clone for BLUETOOTH_GATT_VALUE_CHANGED_EVENT {
495 fn clone(&self) -> Self {
496 *self
497 }
498 }
499 #[repr(C)]
500 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
501 #[cfg(feature = "Win32_Foundation")]
502 pub struct BLUETOOTH_GATT_VALUE_CHANGED_EVENT_REGISTRATION {
503 pub NumCharacteristics: u16,
504 pub Characteristics: [BTH_LE_GATT_CHARACTERISTIC; 1],
505 }
506 #[cfg(feature = "Win32_Foundation")]
507 impl ::core::marker::Copy for BLUETOOTH_GATT_VALUE_CHANGED_EVENT_REGISTRATION {}
508 #[cfg(feature = "Win32_Foundation")]
509 impl ::core::clone::Clone for BLUETOOTH_GATT_VALUE_CHANGED_EVENT_REGISTRATION {
510 fn clone(&self) -> Self {
511 *self
512 }
513 }
514 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
515 pub type BLUETOOTH_IO_CAPABILITY = i32;
516 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
517 pub const BLUETOOTH_IO_CAPABILITY_DISPLAYONLY: BLUETOOTH_IO_CAPABILITY = 0i32;
518 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
519 pub const BLUETOOTH_IO_CAPABILITY_DISPLAYYESNO: BLUETOOTH_IO_CAPABILITY = 1i32;
520 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
521 pub const BLUETOOTH_IO_CAPABILITY_KEYBOARDONLY: BLUETOOTH_IO_CAPABILITY = 2i32;
522 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
523 pub const BLUETOOTH_IO_CAPABILITY_NOINPUTNOOUTPUT: BLUETOOTH_IO_CAPABILITY = 3i32;
524 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
525 pub const BLUETOOTH_IO_CAPABILITY_UNDEFINED: BLUETOOTH_IO_CAPABILITY = 255i32;
526 #[repr(C)]
527 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
528 #[cfg(feature = "Win32_Foundation")]
529 pub struct BLUETOOTH_LOCAL_SERVICE_INFO {
530 pub Enabled: super::super::Foundation::BOOL,
531 pub btAddr: BLUETOOTH_ADDRESS,
532 pub szName: [u16; 256],
533 pub szDeviceString: [u16; 256],
534 }
535 #[cfg(feature = "Win32_Foundation")]
536 impl ::core::marker::Copy for BLUETOOTH_LOCAL_SERVICE_INFO {}
537 #[cfg(feature = "Win32_Foundation")]
538 impl ::core::clone::Clone for BLUETOOTH_LOCAL_SERVICE_INFO {
539 fn clone(&self) -> Self {
540 *self
541 }
542 }
543 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
544 pub const BLUETOOTH_MAX_NAME_SIZE: u32 = 248u32;
545 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
546 pub const BLUETOOTH_MAX_PASSKEY_BUFFER_SIZE: u32 = 17u32;
547 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
548 pub const BLUETOOTH_MAX_PASSKEY_SIZE: u32 = 16u32;
549 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
550 pub const BLUETOOTH_MAX_SERVICE_NAME_SIZE: u32 = 256u32;
551 #[repr(C)]
552 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
553 pub struct BLUETOOTH_NUMERIC_COMPARISON_INFO {
554 pub NumericValue: u32,
555 }
556 impl ::core::marker::Copy for BLUETOOTH_NUMERIC_COMPARISON_INFO {}
557 impl ::core::clone::Clone for BLUETOOTH_NUMERIC_COMPARISON_INFO {
558 fn clone(&self) -> Self {
559 *self
560 }
561 }
562 #[repr(C)]
563 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
564 pub struct BLUETOOTH_OOB_DATA_INFO {
565 pub C: [u8; 16],
566 pub R: [u8; 16],
567 }
568 impl ::core::marker::Copy for BLUETOOTH_OOB_DATA_INFO {}
569 impl ::core::clone::Clone for BLUETOOTH_OOB_DATA_INFO {
570 fn clone(&self) -> Self {
571 *self
572 }
573 }
574 #[repr(C)]
575 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
576 pub struct BLUETOOTH_PASSKEY_INFO {
577 pub passkey: u32,
578 }
579 impl ::core::marker::Copy for BLUETOOTH_PASSKEY_INFO {}
580 impl ::core::clone::Clone for BLUETOOTH_PASSKEY_INFO {
581 fn clone(&self) -> Self {
582 *self
583 }
584 }
585 #[repr(C)]
586 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
587 pub struct BLUETOOTH_PIN_INFO {
588 pub pin: [u8; 16],
589 pub pinLength: u8,
590 }
591 impl ::core::marker::Copy for BLUETOOTH_PIN_INFO {}
592 impl ::core::clone::Clone for BLUETOOTH_PIN_INFO {
593 fn clone(&self) -> Self {
594 *self
595 }
596 }
597 #[repr(C)]
598 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
599 pub struct BLUETOOTH_RADIO_INFO {
600 pub dwSize: u32,
601 pub address: BLUETOOTH_ADDRESS,
602 pub szName: [u16; 248],
603 pub ulClassofDevice: u32,
604 pub lmpSubversion: u16,
605 pub manufacturer: u16,
606 }
607 impl ::core::marker::Copy for BLUETOOTH_RADIO_INFO {}
608 impl ::core::clone::Clone for BLUETOOTH_RADIO_INFO {
609 fn clone(&self) -> Self {
610 *self
611 }
612 }
613 #[repr(C)]
614 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
615 #[cfg(feature = "Win32_Foundation")]
616 pub struct BLUETOOTH_SELECT_DEVICE_PARAMS {
617 pub dwSize: u32,
618 pub cNumOfClasses: u32,
619 pub prgClassOfDevices: *mut BLUETOOTH_COD_PAIRS,
620 pub pszInfo: ::windows_sys::core::PWSTR,
621 pub hwndParent: super::super::Foundation::HWND,
622 pub fForceAuthentication: super::super::Foundation::BOOL,
623 pub fShowAuthenticated: super::super::Foundation::BOOL,
624 pub fShowRemembered: super::super::Foundation::BOOL,
625 pub fShowUnknown: super::super::Foundation::BOOL,
626 pub fAddNewDeviceWizard: super::super::Foundation::BOOL,
627 pub fSkipServicesPage: super::super::Foundation::BOOL,
628 pub pfnDeviceCallback: PFN_DEVICE_CALLBACK,
629 pub pvParam: *mut ::core::ffi::c_void,
630 pub cNumDevices: u32,
631 pub pDevices: *mut BLUETOOTH_DEVICE_INFO,
632 }
633 #[cfg(feature = "Win32_Foundation")]
634 impl ::core::marker::Copy for BLUETOOTH_SELECT_DEVICE_PARAMS {}
635 #[cfg(feature = "Win32_Foundation")]
636 impl ::core::clone::Clone for BLUETOOTH_SELECT_DEVICE_PARAMS {
637 fn clone(&self) -> Self {
638 *self
639 }
640 }
641 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
642 pub const BLUETOOTH_SERVICE_DISABLE: u32 = 0u32;
643 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
644 pub const BLUETOOTH_SERVICE_ENABLE: u32 = 1u32;
645 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
646 pub const BNEP_PROTOCOL_UUID16: u32 = 15u32;
647 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
648 pub const BTHLEENUM_ATT_MTU_DEFAULT: u32 = 23u32;
649 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
650 pub const BTHLEENUM_ATT_MTU_INITIAL_NEGOTIATION: u32 = 525u32;
651 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
652 pub const BTHLEENUM_ATT_MTU_MAX: u32 = 65535u32;
653 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
654 pub const BTHLEENUM_ATT_MTU_MIN: u32 = 23u32;
655 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
656 pub const BTHNS_RESULT_DEVICE_AUTHENTICATED: u32 = 262144u32;
657 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
658 pub const BTHNS_RESULT_DEVICE_CONNECTED: u32 = 65536u32;
659 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
660 pub const BTHNS_RESULT_DEVICE_REMEMBERED: u32 = 131072u32;
661 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
662 pub const BTHPROTO_L2CAP: u32 = 256u32;
663 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
664 pub const BTHPROTO_RFCOMM: u32 = 3u32;
665 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
666 pub const BTH_ADDR_GIAC: u32 = 10390323u32;
667 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
668 pub const BTH_ADDR_IAC_FIRST: u32 = 10390272u32;
669 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
670 pub const BTH_ADDR_IAC_LAST: u32 = 10390335u32;
671 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
672 pub const BTH_ADDR_LIAC: u32 = 10390272u32;
673 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
674 pub const BTH_ADDR_STRING_SIZE: u32 = 12u32;
675 #[repr(C)]
676 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
677 #[cfg(feature = "Win32_Foundation")]
678 pub struct BTH_DEVICE_INFO {
679 pub flags: u32,
680 pub address: u64,
681 pub classOfDevice: u32,
682 pub name: [super::super::Foundation::CHAR; 248],
683 }
684 #[cfg(feature = "Win32_Foundation")]
685 impl ::core::marker::Copy for BTH_DEVICE_INFO {}
686 #[cfg(feature = "Win32_Foundation")]
687 impl ::core::clone::Clone for BTH_DEVICE_INFO {
688 fn clone(&self) -> Self {
689 *self
690 }
691 }
692 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
693 pub const BTH_EIR_128_UUIDS_COMPLETE_ID: u32 = 7u32;
694 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
695 pub const BTH_EIR_128_UUIDS_PARTIAL_ID: u32 = 6u32;
696 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
697 pub const BTH_EIR_16_UUIDS_COMPLETE_ID: u32 = 3u32;
698 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
699 pub const BTH_EIR_16_UUIDS_PARTIAL_ID: u32 = 2u32;
700 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
701 pub const BTH_EIR_32_UUIDS_COMPLETE_ID: u32 = 5u32;
702 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
703 pub const BTH_EIR_32_UUIDS_PARTIAL_ID: u32 = 4u32;
704 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
705 pub const BTH_EIR_FLAGS_ID: u32 = 1u32;
706 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
707 pub const BTH_EIR_LOCAL_NAME_COMPLETE_ID: u32 = 9u32;
708 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
709 pub const BTH_EIR_LOCAL_NAME_PARTIAL_ID: u32 = 8u32;
710 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
711 pub const BTH_EIR_MANUFACTURER_ID: u32 = 255u32;
712 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
713 pub const BTH_EIR_OOB_BD_ADDR_ID: u32 = 12u32;
714 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
715 pub const BTH_EIR_OOB_COD_ID: u32 = 13u32;
716 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
717 pub const BTH_EIR_OOB_OPT_DATA_LEN_ID: u32 = 11u32;
718 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
719 pub const BTH_EIR_OOB_SP_HASH_ID: u32 = 14u32;
720 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
721 pub const BTH_EIR_OOB_SP_RANDOMIZER_ID: u32 = 15u32;
722 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
723 pub const BTH_EIR_SIZE: u32 = 240u32;
724 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
725 pub const BTH_EIR_TX_POWER_LEVEL_ID: u32 = 10u32;
726 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
727 pub const BTH_ERROR_ACL_CONNECTION_ALREADY_EXISTS: u32 = 11u32;
728 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
729 pub const BTH_ERROR_AUTHENTICATION_FAILURE: u32 = 5u32;
730 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
731 pub const BTH_ERROR_CHANNEL_CLASSIFICATION_NOT_SUPPORTED: u32 = 46u32;
732 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
733 pub const BTH_ERROR_COARSE_CLOCK_ADJUSTMENT_REJECTED: u32 = 64u32;
734 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
735 pub const BTH_ERROR_COMMAND_DISALLOWED: u32 = 12u32;
736 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
737 pub const BTH_ERROR_CONNECTION_FAILED_TO_BE_ESTABLISHED: u32 = 62u32;
738 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
739 pub const BTH_ERROR_CONNECTION_REJECTED_DUE_TO_NO_SUITABLE_CHANNEL_FOUND: u32 = 57u32;
740 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
741 pub const BTH_ERROR_CONNECTION_TERMINATED_DUE_TO_MIC_FAILURE: u32 = 61u32;
742 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
743 pub const BTH_ERROR_CONNECTION_TIMEOUT: u32 = 8u32;
744 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
745 pub const BTH_ERROR_CONTROLLER_BUSY: u32 = 58u32;
746 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
747 pub const BTH_ERROR_DIFFERENT_TRANSACTION_COLLISION: u32 = 42u32;
748 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
749 pub const BTH_ERROR_DIRECTED_ADVERTISING_TIMEOUT: u32 = 60u32;
750 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
751 pub const BTH_ERROR_ENCRYPTION_MODE_NOT_ACCEPTABLE: u32 = 37u32;
752 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
753 pub const BTH_ERROR_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE: u32 = 54u32;
754 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
755 pub const BTH_ERROR_HARDWARE_FAILURE: u32 = 3u32;
756 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
757 pub const BTH_ERROR_HOST_BUSY_PAIRING: u32 = 56u32;
758 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
759 pub const BTH_ERROR_HOST_REJECTED_LIMITED_RESOURCES: u32 = 13u32;
760 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
761 pub const BTH_ERROR_HOST_REJECTED_PERSONAL_DEVICE: u32 = 15u32;
762 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
763 pub const BTH_ERROR_HOST_REJECTED_SECURITY_REASONS: u32 = 14u32;
764 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
765 pub const BTH_ERROR_HOST_TIMEOUT: u32 = 16u32;
766 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
767 pub const BTH_ERROR_INSTANT_PASSED: u32 = 40u32;
768 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
769 pub const BTH_ERROR_INSUFFICIENT_SECURITY: u32 = 47u32;
770 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
771 pub const BTH_ERROR_INVALID_HCI_PARAMETER: u32 = 18u32;
772 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
773 pub const BTH_ERROR_INVALID_LMP_PARAMETERS: u32 = 30u32;
774 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
775 pub const BTH_ERROR_KEY_MISSING: u32 = 6u32;
776 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
777 pub const BTH_ERROR_LIMIT_REACHED: u32 = 67u32;
778 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
779 pub const BTH_ERROR_LMP_PDU_NOT_ALLOWED: u32 = 36u32;
780 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
781 pub const BTH_ERROR_LMP_RESPONSE_TIMEOUT: u32 = 34u32;
782 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
783 pub const BTH_ERROR_LMP_TRANSACTION_COLLISION: u32 = 35u32;
784 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
785 pub const BTH_ERROR_LOCAL_HOST_TERMINATED_CONNECTION: u32 = 22u32;
786 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
787 pub const BTH_ERROR_MAC_CONNECTION_FAILED: u32 = 63u32;
788 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
789 pub const BTH_ERROR_MAX_NUMBER_OF_CONNECTIONS: u32 = 9u32;
790 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
791 pub const BTH_ERROR_MAX_NUMBER_OF_SCO_CONNECTIONS: u32 = 10u32;
792 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
793 pub const BTH_ERROR_MEMORY_FULL: u32 = 7u32;
794 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
795 pub const BTH_ERROR_NO_CONNECTION: u32 = 2u32;
796 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
797 pub const BTH_ERROR_OPERATION_CANCELLED_BY_HOST: u32 = 68u32;
798 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
799 pub const BTH_ERROR_PACKET_TOO_LONG: u32 = 69u32;
800 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
801 pub const BTH_ERROR_PAGE_TIMEOUT: u32 = 4u32;
802 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
803 pub const BTH_ERROR_PAIRING_NOT_ALLOWED: u32 = 24u32;
804 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
805 pub const BTH_ERROR_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED: u32 = 41u32;
806 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
807 pub const BTH_ERROR_PARAMETER_OUT_OF_MANDATORY_RANGE: u32 = 48u32;
808 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
809 pub const BTH_ERROR_QOS_IS_NOT_SUPPORTED: u32 = 39u32;
810 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
811 pub const BTH_ERROR_QOS_REJECTED: u32 = 45u32;
812 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
813 pub const BTH_ERROR_QOS_UNACCEPTABLE_PARAMETER: u32 = 44u32;
814 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
815 pub const BTH_ERROR_REMOTE_LOW_RESOURCES: u32 = 20u32;
816 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
817 pub const BTH_ERROR_REMOTE_POWERING_OFF: u32 = 21u32;
818 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
819 pub const BTH_ERROR_REMOTE_USER_ENDED_CONNECTION: u32 = 19u32;
820 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
821 pub const BTH_ERROR_REPEATED_ATTEMPTS: u32 = 23u32;
822 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
823 pub const BTH_ERROR_RESERVED_SLOT_VIOLATION: u32 = 52u32;
824 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
825 pub const BTH_ERROR_ROLE_CHANGE_NOT_ALLOWED: u32 = 33u32;
826 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
827 pub const BTH_ERROR_ROLE_SWITCH_FAILED: u32 = 53u32;
828 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
829 pub const BTH_ERROR_ROLE_SWITCH_PENDING: u32 = 50u32;
830 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
831 pub const BTH_ERROR_SCO_AIRMODE_REJECTED: u32 = 29u32;
832 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
833 pub const BTH_ERROR_SCO_INTERVAL_REJECTED: u32 = 28u32;
834 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
835 pub const BTH_ERROR_SCO_OFFSET_REJECTED: u32 = 27u32;
836 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
837 pub const BTH_ERROR_SECURE_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST: u32 = 55u32;
838 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
839 pub const BTH_ERROR_SUCCESS: u32 = 0u32;
840 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
841 pub const BTH_ERROR_TYPE_0_SUBMAP_NOT_DEFINED: u32 = 65u32;
842 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
843 pub const BTH_ERROR_UKNOWN_LMP_PDU: u32 = 25u32;
844 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
845 pub const BTH_ERROR_UNACCEPTABLE_CONNECTION_INTERVAL: u32 = 59u32;
846 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
847 pub const BTH_ERROR_UNIT_KEY_NOT_USED: u32 = 38u32;
848 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
849 pub const BTH_ERROR_UNKNOWN_ADVERTISING_IDENTIFIER: u32 = 66u32;
850 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
851 pub const BTH_ERROR_UNKNOWN_HCI_COMMAND: u32 = 1u32;
852 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
853 pub const BTH_ERROR_UNSPECIFIED: u32 = 255u32;
854 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
855 pub const BTH_ERROR_UNSPECIFIED_ERROR: u32 = 31u32;
856 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
857 pub const BTH_ERROR_UNSUPPORTED_FEATURE_OR_PARAMETER: u32 = 17u32;
858 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
859 pub const BTH_ERROR_UNSUPPORTED_LMP_PARM_VALUE: u32 = 32u32;
860 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
861 pub const BTH_ERROR_UNSUPPORTED_REMOTE_FEATURE: u32 = 26u32;
862 #[repr(C)]
863 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
864 pub struct BTH_HCI_EVENT_INFO {
865 pub bthAddress: u64,
866 pub connectionType: u8,
867 pub connected: u8,
868 }
869 impl ::core::marker::Copy for BTH_HCI_EVENT_INFO {}
870 impl ::core::clone::Clone for BTH_HCI_EVENT_INFO {
871 fn clone(&self) -> Self {
872 *self
873 }
874 }
875 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
876 pub const BTH_HOST_FEATURE_ENHANCED_RETRANSMISSION_MODE: u64 = 1u64;
877 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
878 pub const BTH_HOST_FEATURE_LOW_ENERGY: u64 = 4u64;
879 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
880 pub const BTH_HOST_FEATURE_SCO_HCI: u64 = 8u64;
881 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
882 pub const BTH_HOST_FEATURE_SCO_HCIBYPASS: u64 = 16u64;
883 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
884 pub const BTH_HOST_FEATURE_STREAMING_MODE: u64 = 2u64;
885 #[repr(C, packed(1))]
886 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
887 pub struct BTH_INFO_REQ {
888 pub btAddr: u64,
889 pub infoType: u16,
890 }
891 impl ::core::marker::Copy for BTH_INFO_REQ {}
892 impl ::core::clone::Clone for BTH_INFO_REQ {
893 fn clone(&self) -> Self {
894 *self
895 }
896 }
897 #[repr(C, packed(1))]
898 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
899 pub struct BTH_INFO_RSP {
900 pub result: u16,
901 pub dataLen: u8,
902 pub Anonymous: BTH_INFO_RSP_0,
903 }
904 impl ::core::marker::Copy for BTH_INFO_RSP {}
905 impl ::core::clone::Clone for BTH_INFO_RSP {
906 fn clone(&self) -> Self {
907 *self
908 }
909 }
910 #[repr(C, packed(1))]
911 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
912 pub union BTH_INFO_RSP_0 {
913 pub connectionlessMTU: u16,
914 pub data: [u8; 44],
915 }
916 impl ::core::marker::Copy for BTH_INFO_RSP_0 {}
917 impl ::core::clone::Clone for BTH_INFO_RSP_0 {
918 fn clone(&self) -> Self {
919 *self
920 }
921 }
922 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
923 pub const BTH_IOCTL_BASE: u32 = 0u32;
924 #[repr(C)]
925 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
926 pub struct BTH_L2CAP_EVENT_INFO {
927 pub bthAddress: u64,
928 pub psm: u16,
929 pub connected: u8,
930 pub initiated: u8,
931 }
932 impl ::core::marker::Copy for BTH_L2CAP_EVENT_INFO {}
933 impl ::core::clone::Clone for BTH_L2CAP_EVENT_INFO {
934 fn clone(&self) -> Self {
935 *self
936 }
937 }
938 pub const BTH_LE_ATT_BLUETOOTH_BASE_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 0, data2: 0, data3: 4096, data4: [128, 0, 0, 128, 95, 155, 52, 251] };
939 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
940 pub const BTH_LE_ATT_CID: u32 = 4u32;
941 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
942 pub const BTH_LE_ATT_MAX_VALUE_SIZE: u32 = 512u32;
943 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
944 pub const BTH_LE_ATT_TRANSACTION_TIMEOUT: u32 = 30u32;
945 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
946 pub const BTH_LE_ERROR_ATTRIBUTE_NOT_FOUND: u32 = 10u32;
947 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
948 pub const BTH_LE_ERROR_ATTRIBUTE_NOT_LONG: u32 = 11u32;
949 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
950 pub const BTH_LE_ERROR_INSUFFICIENT_AUTHENTICATION: u32 = 5u32;
951 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
952 pub const BTH_LE_ERROR_INSUFFICIENT_AUTHORIZATION: u32 = 8u32;
953 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
954 pub const BTH_LE_ERROR_INSUFFICIENT_ENCRYPTION: u32 = 15u32;
955 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
956 pub const BTH_LE_ERROR_INSUFFICIENT_ENCRYPTION_KEY_SIZE: u32 = 12u32;
957 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
958 pub const BTH_LE_ERROR_INSUFFICIENT_RESOURCES: u32 = 17u32;
959 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
960 pub const BTH_LE_ERROR_INVALID_ATTRIBUTE_VALUE_LENGTH: u32 = 13u32;
961 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
962 pub const BTH_LE_ERROR_INVALID_HANDLE: u32 = 1u32;
963 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
964 pub const BTH_LE_ERROR_INVALID_OFFSET: u32 = 7u32;
965 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
966 pub const BTH_LE_ERROR_INVALID_PDU: u32 = 4u32;
967 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
968 pub const BTH_LE_ERROR_PREPARE_QUEUE_FULL: u32 = 9u32;
969 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
970 pub const BTH_LE_ERROR_READ_NOT_PERMITTED: u32 = 2u32;
971 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
972 pub const BTH_LE_ERROR_REQUEST_NOT_SUPPORTED: u32 = 6u32;
973 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
974 pub const BTH_LE_ERROR_UNKNOWN: u32 = 4096u32;
975 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
976 pub const BTH_LE_ERROR_UNLIKELY: u32 = 14u32;
977 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
978 pub const BTH_LE_ERROR_UNSUPPORTED_GROUP_TYPE: u32 = 16u32;
979 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
980 pub const BTH_LE_ERROR_WRITE_NOT_PERMITTED: u32 = 3u32;
981 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
982 pub const BTH_LE_GAP_APPEARANCE_BLOOD_PRESSURE_SUBCATEGORY_ARM: u32 = 1u32;
983 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
984 pub const BTH_LE_GAP_APPEARANCE_BLOOD_PRESSURE_SUBCATEGORY_WRIST: u32 = 2u32;
985 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
986 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_BARCODE_SCANNER: u32 = 11u32;
987 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
988 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_BLOOD_PRESSURE: u32 = 14u32;
989 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
990 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_CLOCK: u32 = 4u32;
991 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
992 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_COMPUTER: u32 = 2u32;
993 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
994 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_CYCLING: u32 = 18u32;
995 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
996 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_DISPLAY: u32 = 5u32;
997 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
998 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_EYE_GLASSES: u32 = 7u32;
999 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1000 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_GLUCOSE_METER: u32 = 16u32;
1001 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1002 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_HEART_RATE: u32 = 13u32;
1003 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1004 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_HID: u32 = 15u32;
1005 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1006 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_KEYRING: u32 = 9u32;
1007 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1008 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_MASK: u32 = 1023u32;
1009 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1010 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_MEDIA_PLAYER: u32 = 10u32;
1011 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1012 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_OFFSET: u32 = 6u32;
1013 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1014 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_OUTDOOR_SPORTS_ACTIVITY: u32 = 81u32;
1015 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1016 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_PHONE: u32 = 1u32;
1017 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1018 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_PLUSE_OXIMETER: u32 = 49u32;
1019 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1020 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_REMOTE_CONTROL: u32 = 6u32;
1021 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1022 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_RUNNING_WALKING_SENSOR: u32 = 17u32;
1023 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1024 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_TAG: u32 = 8u32;
1025 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1026 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_THERMOMETER: u32 = 12u32;
1027 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1028 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_UNCATEGORIZED: u32 = 0u32;
1029 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1030 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_WATCH: u32 = 3u32;
1031 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1032 pub const BTH_LE_GAP_APPEARANCE_CATEGORY_WEIGHT_SCALE: u32 = 50u32;
1033 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1034 pub const BTH_LE_GAP_APPEARANCE_CYCLING_SUBCATEGORY_CADENCE_SENSOR: u32 = 3u32;
1035 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1036 pub const BTH_LE_GAP_APPEARANCE_CYCLING_SUBCATEGORY_CYCLING_COMPUTER: u32 = 1u32;
1037 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1038 pub const BTH_LE_GAP_APPEARANCE_CYCLING_SUBCATEGORY_POWER_SENSOR: u32 = 4u32;
1039 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1040 pub const BTH_LE_GAP_APPEARANCE_CYCLING_SUBCATEGORY_SPEED_AND_CADENCE_SENSOR: u32 = 5u32;
1041 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1042 pub const BTH_LE_GAP_APPEARANCE_CYCLING_SUBCATEGORY_SPEED_SENSOR: u32 = 2u32;
1043 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1044 pub const BTH_LE_GAP_APPEARANCE_HEART_RATE_SUBCATEGORY_HEART_RATE_BELT: u32 = 1u32;
1045 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1046 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_BARCODE_SCANNER: u32 = 8u32;
1047 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1048 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_CARD_READER: u32 = 6u32;
1049 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1050 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_DIGITAL_PEN: u32 = 7u32;
1051 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1052 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_DIGITIZER_TABLET: u32 = 5u32;
1053 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1054 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_GAMEPAD: u32 = 4u32;
1055 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1056 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_JOYSTICK: u32 = 3u32;
1057 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1058 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_KEYBOARD: u32 = 1u32;
1059 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1060 pub const BTH_LE_GAP_APPEARANCE_HID_SUBCATEGORY_MOUSE: u32 = 2u32;
1061 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1062 pub const BTH_LE_GAP_APPEARANCE_OUTDOOR_SPORTS_ACTIVITY_SUBCATEGORY_LOCATION_DISPLAY_DEVICE: u32 = 1u32;
1063 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1064 pub const BTH_LE_GAP_APPEARANCE_OUTDOOR_SPORTS_ACTIVITY_SUBCATEGORY_LOCATION_NAVIGATION_DISPLAY_DEVICE: u32 = 2u32;
1065 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1066 pub const BTH_LE_GAP_APPEARANCE_OUTDOOR_SPORTS_ACTIVITY_SUBCATEGORY_LOCATION_NAVIGATION_POD: u32 = 4u32;
1067 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1068 pub const BTH_LE_GAP_APPEARANCE_OUTDOOR_SPORTS_ACTIVITY_SUBCATEGORY_LOCATION_POD: u32 = 3u32;
1069 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1070 pub const BTH_LE_GAP_APPEARANCE_PULSE_OXIMETER_SUBCATEGORY_FINGERTIP: u32 = 1u32;
1071 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1072 pub const BTH_LE_GAP_APPEARANCE_PULSE_OXIMETER_SUBCATEGORY_WRIST_WORN: u32 = 2u32;
1073 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1074 pub const BTH_LE_GAP_APPEARANCE_RUNNING_WALKING_SENSOR_SUBCATEGORY_IN_SHOE: u32 = 1u32;
1075 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1076 pub const BTH_LE_GAP_APPEARANCE_RUNNING_WALKING_SENSOR_SUBCATEGORY_ON_HIP: u32 = 3u32;
1077 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1078 pub const BTH_LE_GAP_APPEARANCE_RUNNING_WALKING_SENSOR_SUBCATEGORY_ON_SHOE: u32 = 2u32;
1079 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1080 pub const BTH_LE_GAP_APPEARANCE_SUBCATEGORY_GENERIC: u32 = 0u32;
1081 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1082 pub const BTH_LE_GAP_APPEARANCE_SUB_CATEGORY_MASK: u32 = 63u32;
1083 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1084 pub const BTH_LE_GAP_APPEARANCE_THERMOMETER_SUBCATEGORY_EAR: u32 = 1u32;
1085 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1086 pub const BTH_LE_GAP_APPEARANCE_WATCH_SUBCATEGORY_SPORTS_WATCH: u32 = 1u32;
1087 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1088 pub const BTH_LE_GATT_ATTRIBUTE_TYPE_CHARACTERISTIC: u32 = 10243u32;
1089 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1090 pub const BTH_LE_GATT_ATTRIBUTE_TYPE_INCLUDE: u32 = 10242u32;
1091 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1092 pub const BTH_LE_GATT_ATTRIBUTE_TYPE_PRIMARY_SERVICE: u32 = 10240u32;
1093 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1094 pub const BTH_LE_GATT_ATTRIBUTE_TYPE_SECONDARY_SERVICE: u32 = 10241u32;
1095 #[repr(C)]
1096 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1097 #[cfg(feature = "Win32_Foundation")]
1098 pub struct BTH_LE_GATT_CHARACTERISTIC {
1099 pub ServiceHandle: u16,
1100 pub CharacteristicUuid: BTH_LE_UUID,
1101 pub AttributeHandle: u16,
1102 pub CharacteristicValueHandle: u16,
1103 pub IsBroadcastable: super::super::Foundation::BOOLEAN,
1104 pub IsReadable: super::super::Foundation::BOOLEAN,
1105 pub IsWritable: super::super::Foundation::BOOLEAN,
1106 pub IsWritableWithoutResponse: super::super::Foundation::BOOLEAN,
1107 pub IsSignedWritable: super::super::Foundation::BOOLEAN,
1108 pub IsNotifiable: super::super::Foundation::BOOLEAN,
1109 pub IsIndicatable: super::super::Foundation::BOOLEAN,
1110 pub HasExtendedProperties: super::super::Foundation::BOOLEAN,
1111 }
1112 #[cfg(feature = "Win32_Foundation")]
1113 impl ::core::marker::Copy for BTH_LE_GATT_CHARACTERISTIC {}
1114 #[cfg(feature = "Win32_Foundation")]
1115 impl ::core::clone::Clone for BTH_LE_GATT_CHARACTERISTIC {
1116 fn clone(&self) -> Self {
1117 *self
1118 }
1119 }
1120 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1121 pub const BTH_LE_GATT_CHARACTERISTIC_DESCRIPTOR_AGGREGATE_FORMAT: u32 = 10501u32;
1122 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1123 pub const BTH_LE_GATT_CHARACTERISTIC_DESCRIPTOR_CLIENT_CONFIGURATION: u32 = 10498u32;
1124 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1125 pub const BTH_LE_GATT_CHARACTERISTIC_DESCRIPTOR_EXTENDED_PROPERTIES: u32 = 10496u32;
1126 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1127 pub const BTH_LE_GATT_CHARACTERISTIC_DESCRIPTOR_FORMAT: u32 = 10500u32;
1128 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1129 pub const BTH_LE_GATT_CHARACTERISTIC_DESCRIPTOR_SERVER_CONFIGURATION: u32 = 10499u32;
1130 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1131 pub const BTH_LE_GATT_CHARACTERISTIC_DESCRIPTOR_USER_DESCRIPTION: u32 = 10497u32;
1132 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1133 pub const BTH_LE_GATT_CHARACTERISTIC_TYPE_APPEARANCE: u32 = 10753u32;
1134 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1135 pub const BTH_LE_GATT_CHARACTERISTIC_TYPE_DEVICE_NAME: u32 = 10752u32;
1136 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1137 pub const BTH_LE_GATT_CHARACTERISTIC_TYPE_PERIPHERAL_PREFERED_CONNECTION_PARAMETER: u32 = 10756u32;
1138 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1139 pub const BTH_LE_GATT_CHARACTERISTIC_TYPE_PERIPHERAL_PRIVACY_FLAG: u32 = 10754u32;
1140 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1141 pub const BTH_LE_GATT_CHARACTERISTIC_TYPE_RECONNECTION_ADDRESS: u32 = 10755u32;
1142 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1143 pub const BTH_LE_GATT_CHARACTERISTIC_TYPE_SERVICE_CHANGED: u32 = 10757u32;
1144 #[repr(C)]
1145 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1146 pub struct BTH_LE_GATT_CHARACTERISTIC_VALUE {
1147 pub DataSize: u32,
1148 pub Data: [u8; 1],
1149 }
1150 impl ::core::marker::Copy for BTH_LE_GATT_CHARACTERISTIC_VALUE {}
1151 impl ::core::clone::Clone for BTH_LE_GATT_CHARACTERISTIC_VALUE {
1152 fn clone(&self) -> Self {
1153 *self
1154 }
1155 }
1156 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1157 pub const BTH_LE_GATT_DEFAULT_MAX_INCLUDED_SERVICES_DEPTH: u32 = 3u32;
1158 #[repr(C)]
1159 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1160 #[cfg(feature = "Win32_Foundation")]
1161 pub struct BTH_LE_GATT_DESCRIPTOR {
1162 pub ServiceHandle: u16,
1163 pub CharacteristicHandle: u16,
1164 pub DescriptorType: BTH_LE_GATT_DESCRIPTOR_TYPE,
1165 pub DescriptorUuid: BTH_LE_UUID,
1166 pub AttributeHandle: u16,
1167 }
1168 #[cfg(feature = "Win32_Foundation")]
1169 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR {}
1170 #[cfg(feature = "Win32_Foundation")]
1171 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR {
1172 fn clone(&self) -> Self {
1173 *self
1174 }
1175 }
1176 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1177 pub type BTH_LE_GATT_DESCRIPTOR_TYPE = i32;
1178 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1179 pub const CharacteristicExtendedProperties: BTH_LE_GATT_DESCRIPTOR_TYPE = 0i32;
1180 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1181 pub const CharacteristicUserDescription: BTH_LE_GATT_DESCRIPTOR_TYPE = 1i32;
1182 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1183 pub const ClientCharacteristicConfiguration: BTH_LE_GATT_DESCRIPTOR_TYPE = 2i32;
1184 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1185 pub const ServerCharacteristicConfiguration: BTH_LE_GATT_DESCRIPTOR_TYPE = 3i32;
1186 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1187 pub const CharacteristicFormat: BTH_LE_GATT_DESCRIPTOR_TYPE = 4i32;
1188 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1189 pub const CharacteristicAggregateFormat: BTH_LE_GATT_DESCRIPTOR_TYPE = 5i32;
1190 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1191 pub const CustomDescriptor: BTH_LE_GATT_DESCRIPTOR_TYPE = 6i32;
1192 #[repr(C)]
1193 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1194 #[cfg(feature = "Win32_Foundation")]
1195 pub struct BTH_LE_GATT_DESCRIPTOR_VALUE {
1196 pub DescriptorType: BTH_LE_GATT_DESCRIPTOR_TYPE,
1197 pub DescriptorUuid: BTH_LE_UUID,
1198 pub Anonymous: BTH_LE_GATT_DESCRIPTOR_VALUE_0,
1199 pub DataSize: u32,
1200 pub Data: [u8; 1],
1201 }
1202 #[cfg(feature = "Win32_Foundation")]
1203 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR_VALUE {}
1204 #[cfg(feature = "Win32_Foundation")]
1205 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR_VALUE {
1206 fn clone(&self) -> Self {
1207 *self
1208 }
1209 }
1210 #[repr(C)]
1211 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1212 #[cfg(feature = "Win32_Foundation")]
1213 pub union BTH_LE_GATT_DESCRIPTOR_VALUE_0 {
1214 pub CharacteristicExtendedProperties: BTH_LE_GATT_DESCRIPTOR_VALUE_0_0,
1215 pub ClientCharacteristicConfiguration: BTH_LE_GATT_DESCRIPTOR_VALUE_0_2,
1216 pub ServerCharacteristicConfiguration: BTH_LE_GATT_DESCRIPTOR_VALUE_0_3,
1217 pub CharacteristicFormat: BTH_LE_GATT_DESCRIPTOR_VALUE_0_1,
1218 }
1219 #[cfg(feature = "Win32_Foundation")]
1220 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR_VALUE_0 {}
1221 #[cfg(feature = "Win32_Foundation")]
1222 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR_VALUE_0 {
1223 fn clone(&self) -> Self {
1224 *self
1225 }
1226 }
1227 #[repr(C)]
1228 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1229 #[cfg(feature = "Win32_Foundation")]
1230 pub struct BTH_LE_GATT_DESCRIPTOR_VALUE_0_0 {
1231 pub IsReliableWriteEnabled: super::super::Foundation::BOOLEAN,
1232 pub IsAuxiliariesWritable: super::super::Foundation::BOOLEAN,
1233 }
1234 #[cfg(feature = "Win32_Foundation")]
1235 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR_VALUE_0_0 {}
1236 #[cfg(feature = "Win32_Foundation")]
1237 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR_VALUE_0_0 {
1238 fn clone(&self) -> Self {
1239 *self
1240 }
1241 }
1242 #[repr(C)]
1243 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1244 #[cfg(feature = "Win32_Foundation")]
1245 pub struct BTH_LE_GATT_DESCRIPTOR_VALUE_0_1 {
1246 pub Format: u8,
1247 pub Exponent: u8,
1248 pub Unit: BTH_LE_UUID,
1249 pub NameSpace: u8,
1250 pub Description: BTH_LE_UUID,
1251 }
1252 #[cfg(feature = "Win32_Foundation")]
1253 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR_VALUE_0_1 {}
1254 #[cfg(feature = "Win32_Foundation")]
1255 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR_VALUE_0_1 {
1256 fn clone(&self) -> Self {
1257 *self
1258 }
1259 }
1260 #[repr(C)]
1261 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1262 #[cfg(feature = "Win32_Foundation")]
1263 pub struct BTH_LE_GATT_DESCRIPTOR_VALUE_0_2 {
1264 pub IsSubscribeToNotification: super::super::Foundation::BOOLEAN,
1265 pub IsSubscribeToIndication: super::super::Foundation::BOOLEAN,
1266 }
1267 #[cfg(feature = "Win32_Foundation")]
1268 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR_VALUE_0_2 {}
1269 #[cfg(feature = "Win32_Foundation")]
1270 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR_VALUE_0_2 {
1271 fn clone(&self) -> Self {
1272 *self
1273 }
1274 }
1275 #[repr(C)]
1276 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1277 #[cfg(feature = "Win32_Foundation")]
1278 pub struct BTH_LE_GATT_DESCRIPTOR_VALUE_0_3 {
1279 pub IsBroadcast: super::super::Foundation::BOOLEAN,
1280 }
1281 #[cfg(feature = "Win32_Foundation")]
1282 impl ::core::marker::Copy for BTH_LE_GATT_DESCRIPTOR_VALUE_0_3 {}
1283 #[cfg(feature = "Win32_Foundation")]
1284 impl ::core::clone::Clone for BTH_LE_GATT_DESCRIPTOR_VALUE_0_3 {
1285 fn clone(&self) -> Self {
1286 *self
1287 }
1288 }
1289 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1290 pub type BTH_LE_GATT_EVENT_TYPE = i32;
1291 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1292 pub const CharacteristicValueChangedEvent: BTH_LE_GATT_EVENT_TYPE = 0i32;
1293 #[repr(C)]
1294 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1295 #[cfg(feature = "Win32_Foundation")]
1296 pub struct BTH_LE_GATT_SERVICE {
1297 pub ServiceUuid: BTH_LE_UUID,
1298 pub AttributeHandle: u16,
1299 }
1300 #[cfg(feature = "Win32_Foundation")]
1301 impl ::core::marker::Copy for BTH_LE_GATT_SERVICE {}
1302 #[cfg(feature = "Win32_Foundation")]
1303 impl ::core::clone::Clone for BTH_LE_GATT_SERVICE {
1304 fn clone(&self) -> Self {
1305 *self
1306 }
1307 }
1308 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1309 pub const BTH_LE_SERVICE_GAP: u32 = 6144u32;
1310 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1311 pub const BTH_LE_SERVICE_GATT: u32 = 6145u32;
1312 #[repr(C)]
1313 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1314 #[cfg(feature = "Win32_Foundation")]
1315 pub struct BTH_LE_UUID {
1316 pub IsShortUuid: super::super::Foundation::BOOLEAN,
1317 pub Value: BTH_LE_UUID_0,
1318 }
1319 #[cfg(feature = "Win32_Foundation")]
1320 impl ::core::marker::Copy for BTH_LE_UUID {}
1321 #[cfg(feature = "Win32_Foundation")]
1322 impl ::core::clone::Clone for BTH_LE_UUID {
1323 fn clone(&self) -> Self {
1324 *self
1325 }
1326 }
1327 #[repr(C)]
1328 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1329 #[cfg(feature = "Win32_Foundation")]
1330 pub union BTH_LE_UUID_0 {
1331 pub ShortUuid: u16,
1332 pub LongUuid: ::windows_sys::core::GUID,
1333 }
1334 #[cfg(feature = "Win32_Foundation")]
1335 impl ::core::marker::Copy for BTH_LE_UUID_0 {}
1336 #[cfg(feature = "Win32_Foundation")]
1337 impl ::core::clone::Clone for BTH_LE_UUID_0 {
1338 fn clone(&self) -> Self {
1339 *self
1340 }
1341 }
1342 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1343 pub const BTH_LINK_KEY_LENGTH: u32 = 16u32;
1344 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1345 pub const BTH_MAJORVERSION: u32 = 2u32;
1346 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1347 pub const BTH_MAX_NAME_SIZE: u32 = 248u32;
1348 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1349 pub const BTH_MAX_PIN_SIZE: u32 = 16u32;
1350 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1351 pub const BTH_MAX_SERVICE_NAME_SIZE: u32 = 256u32;
1352 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1353 pub const BTH_MFG_3COM: u32 = 5u32;
1354 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1355 pub const BTH_MFG_ALCATEL: u32 = 36u32;
1356 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1357 pub const BTH_MFG_APPLE: u32 = 76u32;
1358 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1359 pub const BTH_MFG_ARUBA_NETWORKS: u32 = 283u32;
1360 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1361 pub const BTH_MFG_ATMEL: u32 = 19u32;
1362 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1363 pub const BTH_MFG_AVM_BERLIN: u32 = 31u32;
1364 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1365 pub const BTH_MFG_BANDSPEED: u32 = 32u32;
1366 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1367 pub const BTH_MFG_BROADCOM: u32 = 15u32;
1368 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1369 pub const BTH_MFG_CONEXANT: u32 = 28u32;
1370 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1371 pub const BTH_MFG_CSR: u32 = 10u32;
1372 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1373 pub const BTH_MFG_C_TECHNOLOGIES: u32 = 38u32;
1374 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1375 pub const BTH_MFG_DIGIANSWER: u32 = 12u32;
1376 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1377 pub const BTH_MFG_ERICSSON: u32 = 0u32;
1378 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1379 pub const BTH_MFG_HITACHI: u32 = 41u32;
1380 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1381 pub const BTH_MFG_IBM: u32 = 3u32;
1382 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1383 pub const BTH_MFG_INFINEON: u32 = 9u32;
1384 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1385 pub const BTH_MFG_INTEL: u32 = 2u32;
1386 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1387 pub const BTH_MFG_INTERNAL_USE: u32 = 65535u32;
1388 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1389 pub const BTH_MFG_INVENTEL: u32 = 30u32;
1390 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1391 pub const BTH_MFG_KC_TECHNOLOGY: u32 = 22u32;
1392 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1393 pub const BTH_MFG_LUCENT: u32 = 7u32;
1394 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1395 pub const BTH_MFG_MACRONIX_INTERNATIONAL: u32 = 44u32;
1396 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1397 pub const BTH_MFG_MANSELLA: u32 = 33u32;
1398 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1399 pub const BTH_MFG_MARVELL: u32 = 72u32;
1400 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1401 pub const BTH_MFG_MICROSOFT: u32 = 6u32;
1402 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1403 pub const BTH_MFG_MITEL: u32 = 16u32;
1404 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1405 pub const BTH_MFG_MITSIBUSHI: u32 = 20u32;
1406 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1407 pub const BTH_MFG_MOTOROLA: u32 = 8u32;
1408 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1409 pub const BTH_MFG_NEC: u32 = 34u32;
1410 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1411 pub const BTH_MFG_NEWLOGIC: u32 = 23u32;
1412 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1413 pub const BTH_MFG_NOKIA: u32 = 1u32;
1414 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1415 pub const BTH_MFG_NORDIC_SEMICONDUCTORS_ASA: u32 = 89u32;
1416 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1417 pub const BTH_MFG_OPEN_INTERFACE: u32 = 39u32;
1418 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1419 pub const BTH_MFG_PARTHUS: u32 = 14u32;
1420 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1421 pub const BTH_MFG_PHILIPS_SEMICONDUCTOR: u32 = 37u32;
1422 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1423 pub const BTH_MFG_QUALCOMM: u32 = 29u32;
1424 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1425 pub const BTH_MFG_RF_MICRO_DEVICES: u32 = 40u32;
1426 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1427 pub const BTH_MFG_ROHDE_SCHWARZ: u32 = 25u32;
1428 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1429 pub const BTH_MFG_RTX_TELECOM: u32 = 21u32;
1430 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1431 pub const BTH_MFG_SIGNIA: u32 = 27u32;
1432 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1433 pub const BTH_MFG_SILICONWAVE: u32 = 11u32;
1434 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1435 pub const BTH_MFG_SYMBOL_TECHNOLOGIES: u32 = 42u32;
1436 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1437 pub const BTH_MFG_TENOVIS: u32 = 43u32;
1438 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1439 pub const BTH_MFG_TI: u32 = 13u32;
1440 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1441 pub const BTH_MFG_TOSHIBA: u32 = 4u32;
1442 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1443 pub const BTH_MFG_TRANSILICA: u32 = 24u32;
1444 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1445 pub const BTH_MFG_TTPCOM: u32 = 26u32;
1446 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1447 pub const BTH_MFG_WAVEPLUS_TECHNOLOGY_CO: u32 = 35u32;
1448 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1449 pub const BTH_MFG_WIDCOMM: u32 = 17u32;
1450 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1451 pub const BTH_MFG_ZEEVO: u32 = 18u32;
1452 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1453 pub const BTH_MINORVERSION: u32 = 1u32;
1454 #[repr(C, packed(1))]
1455 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1456 pub struct BTH_PING_REQ {
1457 pub btAddr: u64,
1458 pub dataLen: u8,
1459 pub data: [u8; 44],
1460 }
1461 impl ::core::marker::Copy for BTH_PING_REQ {}
1462 impl ::core::clone::Clone for BTH_PING_REQ {
1463 fn clone(&self) -> Self {
1464 *self
1465 }
1466 }
1467 #[repr(C)]
1468 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1469 pub struct BTH_PING_RSP {
1470 pub dataLen: u8,
1471 pub data: [u8; 44],
1472 }
1473 impl ::core::marker::Copy for BTH_PING_RSP {}
1474 impl ::core::clone::Clone for BTH_PING_RSP {
1475 fn clone(&self) -> Self {
1476 *self
1477 }
1478 }
1479 #[repr(C, packed(1))]
1480 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1481 pub struct BTH_QUERY_DEVICE {
1482 pub LAP: u32,
1483 pub length: u8,
1484 }
1485 impl ::core::marker::Copy for BTH_QUERY_DEVICE {}
1486 impl ::core::clone::Clone for BTH_QUERY_DEVICE {
1487 fn clone(&self) -> Self {
1488 *self
1489 }
1490 }
1491 #[repr(C, packed(1))]
1492 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1493 pub struct BTH_QUERY_SERVICE {
1494 pub r#type: u32,
1495 pub serviceHandle: u32,
1496 pub uuids: [SdpQueryUuid; 12],
1497 pub numRange: u32,
1498 pub pRange: [SdpAttributeRange; 1],
1499 }
1500 impl ::core::marker::Copy for BTH_QUERY_SERVICE {}
1501 impl ::core::clone::Clone for BTH_QUERY_SERVICE {
1502 fn clone(&self) -> Self {
1503 *self
1504 }
1505 }
1506 #[repr(C)]
1507 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1508 #[cfg(feature = "Win32_Foundation")]
1509 pub struct BTH_RADIO_IN_RANGE {
1510 pub deviceInfo: BTH_DEVICE_INFO,
1511 pub previousDeviceFlags: u32,
1512 }
1513 #[cfg(feature = "Win32_Foundation")]
1514 impl ::core::marker::Copy for BTH_RADIO_IN_RANGE {}
1515 #[cfg(feature = "Win32_Foundation")]
1516 impl ::core::clone::Clone for BTH_RADIO_IN_RANGE {
1517 fn clone(&self) -> Self {
1518 *self
1519 }
1520 }
1521 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1522 pub const BTH_SDP_VERSION: u32 = 1u32;
1523 #[repr(C, packed(1))]
1524 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1525 #[cfg(feature = "Win32_Foundation")]
1526 pub struct BTH_SET_SERVICE {
1527 pub pSdpVersion: *mut u32,
1528 pub pRecordHandle: *mut super::super::Foundation::HANDLE,
1529 pub fCodService: u32,
1530 pub Reserved: [u32; 5],
1531 pub ulRecordLength: u32,
1532 pub pRecord: [u8; 1],
1533 }
1534 #[cfg(feature = "Win32_Foundation")]
1535 impl ::core::marker::Copy for BTH_SET_SERVICE {}
1536 #[cfg(feature = "Win32_Foundation")]
1537 impl ::core::clone::Clone for BTH_SET_SERVICE {
1538 fn clone(&self) -> Self {
1539 *self
1540 }
1541 }
1542 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1543 pub const BTH_VID_DEFAULT_VALUE: u32 = 65535u32;
1544 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1545 pub const BT_PORT_DYN_FIRST: u32 = 4097u32;
1546 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1547 pub const BT_PORT_MAX: u32 = 65535u32;
1548 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1549 pub const BT_PORT_MIN: u32 = 1u32;
1550 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1551 pub const BasicPrintingProfileID_UUID16: u32 = 4386u32;
1552 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1553 pub const BasicPrintingServiceClassID_UUID16: u32 = 4386u32;
1554 pub const Bluetooth_Base_UUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 0, data2: 0, data3: 4096, data4: [128, 0, 0, 128, 95, 155, 52, 251] };
1555 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1556 pub const BrowseGroupDescriptorServiceClassID_UUID16: u32 = 4097u32;
1557 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1558 pub const CMPT_PROTOCOL_UUID16: u32 = 27u32;
1559 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1560 pub const COD_AUDIO_MINOR_CAMCORDER: u32 = 13u32;
1561 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1562 pub const COD_AUDIO_MINOR_CAR_AUDIO: u32 = 8u32;
1563 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1564 pub const COD_AUDIO_MINOR_GAMING_TOY: u32 = 18u32;
1565 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1566 pub const COD_AUDIO_MINOR_HANDS_FREE: u32 = 2u32;
1567 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1568 pub const COD_AUDIO_MINOR_HEADPHONES: u32 = 6u32;
1569 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1570 pub const COD_AUDIO_MINOR_HEADSET: u32 = 1u32;
1571 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1572 pub const COD_AUDIO_MINOR_HEADSET_HANDS_FREE: u32 = 3u32;
1573 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1574 pub const COD_AUDIO_MINOR_HIFI_AUDIO: u32 = 10u32;
1575 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1576 pub const COD_AUDIO_MINOR_LOUDSPEAKER: u32 = 5u32;
1577 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1578 pub const COD_AUDIO_MINOR_MICROPHONE: u32 = 4u32;
1579 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1580 pub const COD_AUDIO_MINOR_PORTABLE_AUDIO: u32 = 7u32;
1581 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1582 pub const COD_AUDIO_MINOR_SET_TOP_BOX: u32 = 9u32;
1583 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1584 pub const COD_AUDIO_MINOR_UNCLASSIFIED: u32 = 0u32;
1585 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1586 pub const COD_AUDIO_MINOR_VCR: u32 = 11u32;
1587 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1588 pub const COD_AUDIO_MINOR_VIDEO_CAMERA: u32 = 12u32;
1589 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1590 pub const COD_AUDIO_MINOR_VIDEO_DISPLAY_CONFERENCING: u32 = 16u32;
1591 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1592 pub const COD_AUDIO_MINOR_VIDEO_DISPLAY_LOUDSPEAKER: u32 = 15u32;
1593 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1594 pub const COD_AUDIO_MINOR_VIDEO_MONITOR: u32 = 14u32;
1595 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1596 pub const COD_COMPUTER_MINOR_DESKTOP: u32 = 1u32;
1597 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1598 pub const COD_COMPUTER_MINOR_HANDHELD: u32 = 4u32;
1599 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1600 pub const COD_COMPUTER_MINOR_LAPTOP: u32 = 3u32;
1601 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1602 pub const COD_COMPUTER_MINOR_PALM: u32 = 5u32;
1603 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1604 pub const COD_COMPUTER_MINOR_SERVER: u32 = 2u32;
1605 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1606 pub const COD_COMPUTER_MINOR_UNCLASSIFIED: u32 = 0u32;
1607 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1608 pub const COD_COMPUTER_MINOR_WEARABLE: u32 = 6u32;
1609 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1610 pub const COD_FORMAT_BIT_OFFSET: u32 = 0u32;
1611 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1612 pub const COD_FORMAT_MASK: u32 = 3u32;
1613 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1614 pub const COD_HEALTH_MINOR_BLOOD_PRESSURE_MONITOR: u32 = 1u32;
1615 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1616 pub const COD_HEALTH_MINOR_GLUCOSE_METER: u32 = 4u32;
1617 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1618 pub const COD_HEALTH_MINOR_HEALTH_DATA_DISPLAY: u32 = 7u32;
1619 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1620 pub const COD_HEALTH_MINOR_HEART_PULSE_MONITOR: u32 = 6u32;
1621 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1622 pub const COD_HEALTH_MINOR_PULSE_OXIMETER: u32 = 5u32;
1623 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1624 pub const COD_HEALTH_MINOR_STEP_COUNTER: u32 = 8u32;
1625 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1626 pub const COD_HEALTH_MINOR_THERMOMETER: u32 = 2u32;
1627 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1628 pub const COD_HEALTH_MINOR_WEIGHING_SCALE: u32 = 3u32;
1629 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1630 pub const COD_IMAGING_MINOR_CAMERA_MASK: u32 = 8u32;
1631 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1632 pub const COD_IMAGING_MINOR_DISPLAY_MASK: u32 = 4u32;
1633 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1634 pub const COD_IMAGING_MINOR_PRINTER_MASK: u32 = 32u32;
1635 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1636 pub const COD_IMAGING_MINOR_SCANNER_MASK: u32 = 16u32;
1637 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1638 pub const COD_LAN_ACCESS_0_USED: u32 = 0u32;
1639 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1640 pub const COD_LAN_ACCESS_17_USED: u32 = 1u32;
1641 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1642 pub const COD_LAN_ACCESS_33_USED: u32 = 2u32;
1643 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1644 pub const COD_LAN_ACCESS_50_USED: u32 = 3u32;
1645 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1646 pub const COD_LAN_ACCESS_67_USED: u32 = 4u32;
1647 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1648 pub const COD_LAN_ACCESS_83_USED: u32 = 5u32;
1649 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1650 pub const COD_LAN_ACCESS_99_USED: u32 = 6u32;
1651 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1652 pub const COD_LAN_ACCESS_BIT_OFFSET: u32 = 5u32;
1653 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1654 pub const COD_LAN_ACCESS_FULL: u32 = 7u32;
1655 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1656 pub const COD_LAN_ACCESS_MASK: u32 = 224u32;
1657 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1658 pub const COD_LAN_MINOR_MASK: u32 = 28u32;
1659 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1660 pub const COD_LAN_MINOR_UNCLASSIFIED: u32 = 0u32;
1661 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1662 pub const COD_MAJOR_AUDIO: u32 = 4u32;
1663 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1664 pub const COD_MAJOR_COMPUTER: u32 = 1u32;
1665 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1666 pub const COD_MAJOR_HEALTH: u32 = 9u32;
1667 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1668 pub const COD_MAJOR_IMAGING: u32 = 6u32;
1669 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1670 pub const COD_MAJOR_LAN_ACCESS: u32 = 3u32;
1671 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1672 pub const COD_MAJOR_MASK: u32 = 7936u32;
1673 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1674 pub const COD_MAJOR_MISCELLANEOUS: u32 = 0u32;
1675 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1676 pub const COD_MAJOR_PERIPHERAL: u32 = 5u32;
1677 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1678 pub const COD_MAJOR_PHONE: u32 = 2u32;
1679 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1680 pub const COD_MAJOR_TOY: u32 = 8u32;
1681 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1682 pub const COD_MAJOR_UNCLASSIFIED: u32 = 31u32;
1683 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1684 pub const COD_MAJOR_WEARABLE: u32 = 7u32;
1685 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1686 pub const COD_MINOR_BIT_OFFSET: u32 = 2u32;
1687 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1688 pub const COD_MINOR_MASK: u32 = 252u32;
1689 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1690 pub const COD_PERIPHERAL_MINOR_GAMEPAD: u32 = 2u32;
1691 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1692 pub const COD_PERIPHERAL_MINOR_JOYSTICK: u32 = 1u32;
1693 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1694 pub const COD_PERIPHERAL_MINOR_KEYBOARD_MASK: u32 = 16u32;
1695 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1696 pub const COD_PERIPHERAL_MINOR_NO_CATEGORY: u32 = 0u32;
1697 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1698 pub const COD_PERIPHERAL_MINOR_POINTER_MASK: u32 = 32u32;
1699 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1700 pub const COD_PERIPHERAL_MINOR_REMOTE_CONTROL: u32 = 3u32;
1701 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1702 pub const COD_PERIPHERAL_MINOR_SENSING: u32 = 4u32;
1703 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1704 pub const COD_PHONE_MINOR_CELLULAR: u32 = 1u32;
1705 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1706 pub const COD_PHONE_MINOR_CORDLESS: u32 = 2u32;
1707 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1708 pub const COD_PHONE_MINOR_SMART: u32 = 3u32;
1709 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1710 pub const COD_PHONE_MINOR_UNCLASSIFIED: u32 = 0u32;
1711 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1712 pub const COD_PHONE_MINOR_WIRED_MODEM: u32 = 4u32;
1713 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1714 pub const COD_SERVICE_AUDIO: u32 = 256u32;
1715 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1716 pub const COD_SERVICE_CAPTURING: u32 = 64u32;
1717 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1718 pub const COD_SERVICE_INFORMATION: u32 = 1024u32;
1719 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1720 pub const COD_SERVICE_LIMITED: u32 = 1u32;
1721 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1722 pub const COD_SERVICE_MASK: u32 = 16769024u32;
1723 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1724 pub const COD_SERVICE_MAX_COUNT: u32 = 9u32;
1725 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1726 pub const COD_SERVICE_NETWORKING: u32 = 16u32;
1727 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1728 pub const COD_SERVICE_OBJECT_XFER: u32 = 128u32;
1729 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1730 pub const COD_SERVICE_POSITIONING: u32 = 8u32;
1731 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1732 pub const COD_SERVICE_RENDERING: u32 = 32u32;
1733 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1734 pub const COD_SERVICE_TELEPHONY: u32 = 512u32;
1735 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1736 pub const COD_TOY_MINOR_CONTROLLER: u32 = 4u32;
1737 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1738 pub const COD_TOY_MINOR_DOLL_ACTION_FIGURE: u32 = 3u32;
1739 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1740 pub const COD_TOY_MINOR_GAME: u32 = 5u32;
1741 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1742 pub const COD_TOY_MINOR_ROBOT: u32 = 1u32;
1743 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1744 pub const COD_TOY_MINOR_VEHICLE: u32 = 2u32;
1745 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1746 pub const COD_VERSION: u32 = 0u32;
1747 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1748 pub const COD_WEARABLE_MINOR_GLASSES: u32 = 5u32;
1749 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1750 pub const COD_WEARABLE_MINOR_HELMET: u32 = 4u32;
1751 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1752 pub const COD_WEARABLE_MINOR_JACKET: u32 = 3u32;
1753 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1754 pub const COD_WEARABLE_MINOR_PAGER: u32 = 2u32;
1755 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1756 pub const COD_WEARABLE_MINOR_WRIST_WATCH: u32 = 1u32;
1757 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1758 pub const CORDLESS_EXTERNAL_NETWORK_ANALOG_CELLULAR: u32 = 5u32;
1759 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1760 pub const CORDLESS_EXTERNAL_NETWORK_CDMA: u32 = 4u32;
1761 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1762 pub const CORDLESS_EXTERNAL_NETWORK_GSM: u32 = 3u32;
1763 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1764 pub const CORDLESS_EXTERNAL_NETWORK_ISDN: u32 = 2u32;
1765 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1766 pub const CORDLESS_EXTERNAL_NETWORK_OTHER: u32 = 7u32;
1767 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1768 pub const CORDLESS_EXTERNAL_NETWORK_PACKET_SWITCHED: u32 = 6u32;
1769 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1770 pub const CORDLESS_EXTERNAL_NETWORK_PSTN: u32 = 1u32;
1771 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1772 pub const CTNAccessServiceClassID_UUID16: u32 = 4412u32;
1773 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1774 pub const CTNNotificationServiceClassID_UUID16: u32 = 4413u32;
1775 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1776 pub const CTNProfileID_UUID16: u32 = 4414u32;
1777 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1778 pub const CommonISDNAccessServiceClassID_UUID16: u32 = 4392u32;
1779 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1780 pub const CommonISDNAccessServiceClass_UUID16: u32 = 4392u32;
1781 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1782 pub const CordlessServiceClassID_UUID16: u32 = 4361u32;
1783 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1784 pub const CordlessTelephonyServiceClassID_UUID16: u32 = 4361u32;
1785 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1786 pub const DI_VENDOR_ID_SOURCE_BLUETOOTH_SIG: u32 = 1u32;
1787 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1788 pub const DI_VENDOR_ID_SOURCE_USB_IF: u32 = 2u32;
1789 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1790 pub const DialupNetworkingServiceClassID_UUID16: u32 = 4355u32;
1791 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1792 pub const DirectPrintingReferenceObjectsServiceClassID_UUID16: u32 = 4384u32;
1793 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1794 pub const DirectPrintingServiceClassID_UUID16: u32 = 4376u32;
1795 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1796 pub const ENCODING_UTF_8: u32 = 106u32;
1797 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1798 pub const ESdpUpnpIpLapServiceClassID_UUID16: u32 = 4865u32;
1799 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1800 pub const ESdpUpnpIpPanServiceClassID_UUID16: u32 = 4864u32;
1801 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1802 pub const ESdpUpnpL2capServiceClassID_UUID16: u32 = 4866u32;
1803 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1804 pub const FTP_PROTOCOL_UUID16: u32 = 10u32;
1805 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1806 pub const FaxServiceClassID_UUID16: u32 = 4369u32;
1807 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1808 pub const GNSSProfileID_UUID16: u32 = 4405u32;
1809 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1810 pub const GNSSServerServiceClassID_UUID16: u32 = 4406u32;
1811 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1812 pub const GNServiceClassID_UUID16: u32 = 4375u32;
1813 pub const GUID_BLUETOOTHLE_DEVICE_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2015030808, data2: 30515, data3: 19684, data4: [173, 208, 145, 244, 28, 103, 181, 146] };
1814 pub const GUID_BLUETOOTH_AUTHENTICATION_REQUEST: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1573458797, data2: 39276, data3: 18139, data4: [132, 245, 50, 192, 163, 244, 115, 82] };
1815 pub const GUID_BLUETOOTH_GATT_SERVICE_DEVICE_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1849407097, data2: 17266, data3: 16584, data4: [158, 170, 69, 9, 223, 38, 12, 216] };
1816 pub const GUID_BLUETOOTH_HCI_EVENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4230217826, data2: 5441, data3: 18878, data4: [180, 99, 132, 196, 220, 215, 191, 127] };
1817 pub const GUID_BLUETOOTH_HCI_VENDOR_EVENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1416775654, data2: 17851, data3: 19507, data4: [175, 140, 192, 14, 254, 21, 167, 29] };
1818 pub const GUID_BLUETOOTH_KEYPRESS_EVENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3597197261, data2: 3918, data3: 20220, data4: [191, 224, 57, 46, 238, 197, 16, 156] };
1819 pub const GUID_BLUETOOTH_L2CAP_EVENT: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2125348912, data2: 46857, data3: 19112, data4: [172, 85, 233, 83, 130, 156, 157, 170] };
1820 pub const GUID_BLUETOOTH_RADIO_IN_RANGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3929758594, data2: 9966, data3: 17678, data4: [176, 216, 210, 111, 227, 10, 56, 105] };
1821 pub const GUID_BLUETOOTH_RADIO_OUT_OF_RANGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3800590281, data2: 49834, data3: 19693, data4: [185, 105, 69, 112, 134, 96, 55, 196] };
1822 pub const GUID_BTHPORT_DEVICE_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 139472938, data2: 45892, data3: 20442, data4: [155, 233, 144, 87, 107, 141, 70, 240] };
1823 pub const GUID_BTH_RFCOMM_SERVICE_DEVICE_INTERFACE: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2973957182, data2: 64078, data3: 17931, data4: [138, 188, 7, 43, 98, 139, 60, 112] };
1824 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1825 pub const GenericAudioServiceClassID_UUID16: u32 = 4611u32;
1826 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1827 pub const GenericFileTransferServiceClassID_UUID16: u32 = 4610u32;
1828 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1829 pub const GenericNetworkingServiceClassID_UUID16: u32 = 4609u32;
1830 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1831 pub const GenericTelephonyServiceClassID_UUID16: u32 = 4612u32;
1832 pub type HANDLE_SDP_TYPE = u64;
1833 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1834 pub const HCCC_PROTOCOL_UUID16: u32 = 18u32;
1835 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1836 pub const HCDC_PROTOCOL_UUID16: u32 = 20u32;
1837 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1838 pub const HCI_CONNECTION_TYPE_ACL: u32 = 1u32;
1839 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1840 pub const HCI_CONNECTION_TYPE_LE: u32 = 3u32;
1841 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1842 pub const HCI_CONNECTION_TYPE_SCO: u32 = 2u32;
1843 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1844 pub const HCI_CONNNECTION_TYPE_ACL: u32 = 1u32;
1845 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1846 pub const HCI_CONNNECTION_TYPE_SCO: u32 = 2u32;
1847 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1848 pub const HCN_PROTOCOL_UUID16: u32 = 22u32;
1849 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1850 pub const HCRPrintServiceClassID_UUID16: u32 = 4390u32;
1851 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1852 pub const HCRScanServiceClassID_UUID16: u32 = 4391u32;
1853 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1854 pub const HID_PROTOCOL_UUID16: u32 = 17u32;
1855 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1856 pub const HTTP_PROTOCOL_UUID16: u32 = 12u32;
1857 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1858 pub const HandsfreeAudioGatewayServiceClassID_UUID16: u32 = 4383u32;
1859 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1860 pub const HandsfreeServiceClassID_UUID16: u32 = 4382u32;
1861 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1862 pub const HardcopyCableReplacementProfileID_UUID16: u32 = 4389u32;
1863 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1864 pub const HardcopyCableReplacementServiceClassID_UUID16: u32 = 4389u32;
1865 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1866 pub const HeadsetAudioGatewayServiceClassID_UUID16: u32 = 4370u32;
1867 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1868 pub const HeadsetHSServiceClassID_UUID16: u32 = 4401u32;
1869 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1870 pub const HeadsetServiceClassID_UUID16: u32 = 4360u32;
1871 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1872 pub const HealthDeviceProfileID_UUID16: u32 = 5120u32;
1873 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1874 pub const HealthDeviceProfileSinkServiceClassID_UUID16: u32 = 5122u32;
1875 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1876 pub const HealthDeviceProfileSourceServiceClassID_UUID16: u32 = 5121u32;
1877 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1878 pub const HumanInterfaceDeviceServiceClassID_UUID16: u32 = 4388u32;
1879 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1880 pub type IO_CAPABILITY = i32;
1881 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1882 pub const IoCaps_DisplayOnly: IO_CAPABILITY = 0i32;
1883 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1884 pub const IoCaps_DisplayYesNo: IO_CAPABILITY = 1i32;
1885 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1886 pub const IoCaps_KeyboardOnly: IO_CAPABILITY = 2i32;
1887 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1888 pub const IoCaps_NoInputNoOutput: IO_CAPABILITY = 3i32;
1889 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1890 pub const IoCaps_Undefined: IO_CAPABILITY = 255i32;
1891 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1892 pub const IP_PROTOCOL_UUID16: u32 = 9u32;
1893 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1894 pub const ImagingAutomaticArchiveServiceClassID_UUID16: u32 = 4380u32;
1895 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1896 pub const ImagingReferenceObjectsServiceClassID_UUID16: u32 = 4381u32;
1897 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1898 pub const ImagingResponderServiceClassID_UUID16: u32 = 4379u32;
1899 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1900 pub const ImagingServiceClassID_UUID16: u32 = 4378u32;
1901 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1902 pub const ImagingServiceProfileID_UUID16: u32 = 4378u32;
1903 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1904 pub const IntercomServiceClassID_UUID16: u32 = 4368u32;
1905 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1906 pub const IrMCSyncServiceClassID_UUID16: u32 = 4356u32;
1907 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1908 pub const IrMcSyncCommandServiceClassID_UUID16: u32 = 4359u32;
1909 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1910 pub const L2CAP_DEFAULT_MTU: u32 = 672u32;
1911 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1912 pub const L2CAP_MAX_MTU: u32 = 65535u32;
1913 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1914 pub const L2CAP_MIN_MTU: u32 = 48u32;
1915 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1916 pub const L2CAP_PROTOCOL_UUID16: u32 = 256u32;
1917 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1918 pub const LANAccessUsingPPPServiceClassID_UUID16: u32 = 4354u32;
1919 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1920 pub const LANGUAGE_EN_US: u32 = 25966u32;
1921 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1922 pub const LANG_BASE_ENCODING_INDEX: u32 = 1u32;
1923 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1924 pub const LANG_BASE_LANGUAGE_INDEX: u32 = 0u32;
1925 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1926 pub const LANG_BASE_OFFSET_INDEX: u32 = 2u32;
1927 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1928 pub const LANG_DEFAULT_ID: u32 = 256u32;
1929 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1930 pub const LAP_GIAC_VALUE: u32 = 10390323u32;
1931 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1932 pub const LAP_LIAC_VALUE: u32 = 10390272u32;
1933 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1934 pub const MAX_L2CAP_INFO_DATA_LENGTH: u32 = 44u32;
1935 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1936 pub const MAX_L2CAP_PING_DATA_LENGTH: u32 = 44u32;
1937 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1938 pub const MAX_UUIDS_IN_QUERY: u32 = 12u32;
1939 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1940 pub const MPSProfileID_UUID16: u32 = 4410u32;
1941 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1942 pub const MPSServiceClassID_UUID16: u32 = 4411u32;
1943 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1944 pub const MessageAccessProfileID_UUID16: u32 = 4404u32;
1945 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1946 pub const MessageAccessServerServiceClassID_UUID16: u32 = 4402u32;
1947 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1948 pub const MessageNotificationServerServiceClassID_UUID16: u32 = 4403u32;
1949 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1950 pub const NAPServiceClassID_UUID16: u32 = 4374u32;
1951 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1952 pub const NS_BTH: u32 = 16u32;
1953 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1954 pub type NodeContainerType = i32;
1955 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1956 pub const NodeContainerTypeSequence: NodeContainerType = 0i32;
1957 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1958 pub const NodeContainerTypeAlternative: NodeContainerType = 1i32;
1959 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1960 pub const OBEXFileTransferServiceClassID_UUID16: u32 = 4358u32;
1961 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1962 pub const OBEXObjectPushServiceClassID_UUID16: u32 = 4357u32;
1963 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1964 pub const OBEX_PROTOCOL_UUID16: u32 = 8u32;
1965 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1966 pub const OBJECT_PUSH_FORMAT_ANY: u32 = 255u32;
1967 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1968 pub const OBJECT_PUSH_FORMAT_ICAL_2_0: u32 = 4u32;
1969 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1970 pub const OBJECT_PUSH_FORMAT_VCAL_1_0: u32 = 3u32;
1971 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1972 pub const OBJECT_PUSH_FORMAT_VCARD_2_1: u32 = 1u32;
1973 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1974 pub const OBJECT_PUSH_FORMAT_VCARD_3_0: u32 = 2u32;
1975 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1976 pub const OBJECT_PUSH_FORMAT_VMESSAGE: u32 = 6u32;
1977 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1978 pub const OBJECT_PUSH_FORMAT_VNOTE: u32 = 5u32;
1979 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1980 pub const PANUServiceClassID_UUID16: u32 = 4373u32;
1981 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1982 pub type PFNBLUETOOTH_GATT_EVENT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(eventtype: BTH_LE_GATT_EVENT_TYPE, eventoutparameter: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void)>;
1983 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1984 #[cfg(feature = "Win32_Foundation")]
1985 pub type PFN_AUTHENTICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pvparam: *mut ::core::ffi::c_void, pdevice: *mut BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL>;
1986 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1987 #[cfg(feature = "Win32_Foundation")]
1988 pub type PFN_AUTHENTICATION_CALLBACK_EX = ::core::option::Option<unsafe extern "system" fn(pvparam: *const ::core::ffi::c_void, pauthcallbackparams: *const BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS) -> super::super::Foundation::BOOL>;
1989 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1990 #[cfg(feature = "Win32_Foundation")]
1991 pub type PFN_BLUETOOTH_ENUM_ATTRIBUTES_CALLBACK = ::core::option::Option<unsafe extern "system" fn(uattribid: u32, pvaluestream: *const u8, cbstreamsize: u32, pvparam: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
1992 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
1993 #[cfg(feature = "Win32_Foundation")]
1994 pub type PFN_DEVICE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pvparam: *mut ::core::ffi::c_void, pdevice: *const BLUETOOTH_DEVICE_INFO) -> super::super::Foundation::BOOL>;
1995 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1996 pub const PF_BTH: u16 = 32u16;
1997 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
1998 pub const PSM_3DSP: u32 = 33u32;
1999 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2000 pub const PSM_ATT: u32 = 31u32;
2001 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2002 pub const PSM_AVCTP: u32 = 23u32;
2003 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2004 pub const PSM_AVCTP_BROWSE: u32 = 27u32;
2005 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2006 pub const PSM_AVDTP: u32 = 25u32;
2007 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2008 pub const PSM_BNEP: u32 = 15u32;
2009 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2010 pub const PSM_HID_CONTROL: u32 = 17u32;
2011 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2012 pub const PSM_HID_INTERRUPT: u32 = 19u32;
2013 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2014 pub const PSM_LE_IPSP: u32 = 35u32;
2015 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2016 pub const PSM_RFCOMM: u32 = 3u32;
2017 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2018 pub const PSM_SDP: u32 = 1u32;
2019 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2020 pub const PSM_TCS_BIN: u32 = 5u32;
2021 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2022 pub const PSM_TCS_BIN_CORDLESS: u32 = 7u32;
2023 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2024 pub const PSM_UDI_C_PLANE: u32 = 29u32;
2025 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2026 pub const PSM_UPNP: u32 = 21u32;
2027 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2028 pub const PhonebookAccessPceServiceClassID_UUID16: u32 = 4398u32;
2029 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2030 pub const PhonebookAccessProfileID_UUID16: u32 = 4400u32;
2031 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2032 pub const PhonebookAccessPseServiceClassID_UUID16: u32 = 4399u32;
2033 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2034 pub const PnPInformationServiceClassID_UUID16: u32 = 4608u32;
2035 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2036 pub const PrintingStatusServiceClassID_UUID16: u32 = 4387u32;
2037 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2038 pub const PublicBrowseGroupServiceClassID_UUID16: u32 = 4098u32;
2039 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2040 pub const RFCOMM_CMD_MSC: u32 = 1u32;
2041 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2042 pub const RFCOMM_CMD_NONE: u32 = 0u32;
2043 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2044 pub const RFCOMM_CMD_RLS: u32 = 2u32;
2045 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2046 pub const RFCOMM_CMD_RPN: u32 = 3u32;
2047 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2048 pub const RFCOMM_CMD_RPN_REQUEST: u32 = 4u32;
2049 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2050 pub const RFCOMM_CMD_RPN_RESPONSE: u32 = 5u32;
2051 #[repr(C, packed(1))]
2052 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2053 pub struct RFCOMM_COMMAND {
2054 pub CmdType: u32,
2055 pub Data: RFCOMM_COMMAND_0,
2056 }
2057 impl ::core::marker::Copy for RFCOMM_COMMAND {}
2058 impl ::core::clone::Clone for RFCOMM_COMMAND {
2059 fn clone(&self) -> Self {
2060 *self
2061 }
2062 }
2063 #[repr(C)]
2064 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2065 pub union RFCOMM_COMMAND_0 {
2066 pub MSC: RFCOMM_MSC_DATA,
2067 pub RLS: RFCOMM_RLS_DATA,
2068 pub RPN: RFCOMM_RPN_DATA,
2069 }
2070 impl ::core::marker::Copy for RFCOMM_COMMAND_0 {}
2071 impl ::core::clone::Clone for RFCOMM_COMMAND_0 {
2072 fn clone(&self) -> Self {
2073 *self
2074 }
2075 }
2076 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2077 pub const RFCOMM_MAX_MTU: u32 = 1011u32;
2078 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2079 pub const RFCOMM_MIN_MTU: u32 = 23u32;
2080 #[repr(C)]
2081 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2082 pub struct RFCOMM_MSC_DATA {
2083 pub Signals: u8,
2084 pub Break: u8,
2085 }
2086 impl ::core::marker::Copy for RFCOMM_MSC_DATA {}
2087 impl ::core::clone::Clone for RFCOMM_MSC_DATA {
2088 fn clone(&self) -> Self {
2089 *self
2090 }
2091 }
2092 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2093 pub const RFCOMM_PROTOCOL_UUID16: u32 = 3u32;
2094 #[repr(C)]
2095 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2096 pub struct RFCOMM_RLS_DATA {
2097 pub LineStatus: u8,
2098 }
2099 impl ::core::marker::Copy for RFCOMM_RLS_DATA {}
2100 impl ::core::clone::Clone for RFCOMM_RLS_DATA {
2101 fn clone(&self) -> Self {
2102 *self
2103 }
2104 }
2105 #[repr(C)]
2106 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2107 pub struct RFCOMM_RPN_DATA {
2108 pub Baud: u8,
2109 pub Data: u8,
2110 pub FlowControl: u8,
2111 pub XonChar: u8,
2112 pub XoffChar: u8,
2113 pub ParameterMask1: u8,
2114 pub ParameterMask2: u8,
2115 }
2116 impl ::core::marker::Copy for RFCOMM_RPN_DATA {}
2117 impl ::core::clone::Clone for RFCOMM_RPN_DATA {
2118 fn clone(&self) -> Self {
2119 *self
2120 }
2121 }
2122 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2123 pub const RLS_ERROR: u32 = 1u32;
2124 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2125 pub const RLS_FRAMING: u32 = 8u32;
2126 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2127 pub const RLS_OVERRUN: u32 = 2u32;
2128 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2129 pub const RLS_PARITY: u32 = 4u32;
2130 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2131 pub const RPN_BAUD_115200: u32 = 7u32;
2132 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2133 pub const RPN_BAUD_19200: u32 = 4u32;
2134 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2135 pub const RPN_BAUD_230400: u32 = 8u32;
2136 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2137 pub const RPN_BAUD_2400: u32 = 0u32;
2138 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2139 pub const RPN_BAUD_38400: u32 = 5u32;
2140 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2141 pub const RPN_BAUD_4800: u32 = 1u32;
2142 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2143 pub const RPN_BAUD_57600: u32 = 6u32;
2144 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2145 pub const RPN_BAUD_7200: u32 = 2u32;
2146 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2147 pub const RPN_BAUD_9600: u32 = 3u32;
2148 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2149 pub const RPN_DATA_5: u32 = 0u32;
2150 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2151 pub const RPN_DATA_6: u32 = 1u32;
2152 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2153 pub const RPN_DATA_7: u32 = 2u32;
2154 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2155 pub const RPN_DATA_8: u32 = 3u32;
2156 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2157 pub const RPN_FLOW_RTC_IN: u32 = 16u32;
2158 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2159 pub const RPN_FLOW_RTC_OUT: u32 = 32u32;
2160 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2161 pub const RPN_FLOW_RTR_IN: u32 = 4u32;
2162 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2163 pub const RPN_FLOW_RTR_OUT: u32 = 8u32;
2164 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2165 pub const RPN_FLOW_X_IN: u32 = 1u32;
2166 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2167 pub const RPN_FLOW_X_OUT: u32 = 2u32;
2168 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2169 pub const RPN_PARAM_BAUD: u32 = 1u32;
2170 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2171 pub const RPN_PARAM_DATA: u32 = 2u32;
2172 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2173 pub const RPN_PARAM_PARITY: u32 = 8u32;
2174 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2175 pub const RPN_PARAM_P_TYPE: u32 = 16u32;
2176 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2177 pub const RPN_PARAM_RTC_IN: u32 = 16u32;
2178 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2179 pub const RPN_PARAM_RTC_OUT: u32 = 32u32;
2180 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2181 pub const RPN_PARAM_RTR_IN: u32 = 4u32;
2182 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2183 pub const RPN_PARAM_RTR_OUT: u32 = 8u32;
2184 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2185 pub const RPN_PARAM_STOP: u32 = 4u32;
2186 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2187 pub const RPN_PARAM_XOFF: u32 = 64u32;
2188 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2189 pub const RPN_PARAM_XON: u32 = 32u32;
2190 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2191 pub const RPN_PARAM_X_IN: u32 = 1u32;
2192 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2193 pub const RPN_PARAM_X_OUT: u32 = 2u32;
2194 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2195 pub const RPN_PARITY_EVEN: u32 = 24u32;
2196 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2197 pub const RPN_PARITY_MARK: u32 = 40u32;
2198 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2199 pub const RPN_PARITY_NONE: u32 = 0u32;
2200 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2201 pub const RPN_PARITY_ODD: u32 = 8u32;
2202 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2203 pub const RPN_PARITY_SPACE: u32 = 56u32;
2204 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2205 pub const RPN_STOP_1: u32 = 0u32;
2206 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2207 pub const RPN_STOP_1_5: u32 = 4u32;
2208 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2209 pub const ReferencePrintingServiceClassID_UUID16: u32 = 4377u32;
2210 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2211 pub const ReflectsUIServiceClassID_UUID16: u32 = 4385u32;
2212 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2213 pub const SAP_BIT_OFFSET: u32 = 0u32;
2214 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2215 pub const SDP_ATTRIB_A2DP_SUPPORTED_FEATURES: u32 = 785u32;
2216 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2217 pub const SDP_ATTRIB_ADDITIONAL_PROTOCOL_DESCRIPTOR_LIST: u32 = 13u32;
2218 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2219 pub const SDP_ATTRIB_AVAILABILITY: u32 = 8u32;
2220 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2221 pub const SDP_ATTRIB_AVRCP_SUPPORTED_FEATURES: u32 = 785u32;
2222 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2223 pub const SDP_ATTRIB_BROWSE_GROUP_ID: u32 = 512u32;
2224 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2225 pub const SDP_ATTRIB_BROWSE_GROUP_LIST: u32 = 5u32;
2226 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2227 pub const SDP_ATTRIB_CLASS_ID_LIST: u32 = 1u32;
2228 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2229 pub const SDP_ATTRIB_CLIENT_EXECUTABLE_URL: u32 = 11u32;
2230 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2231 pub const SDP_ATTRIB_CORDLESS_EXTERNAL_NETWORK: u32 = 769u32;
2232 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2233 pub const SDP_ATTRIB_DI_PRIMARY_RECORD: u32 = 516u32;
2234 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2235 pub const SDP_ATTRIB_DI_PRODUCT_ID: u32 = 514u32;
2236 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2237 pub const SDP_ATTRIB_DI_SPECIFICATION_ID: u32 = 512u32;
2238 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2239 pub const SDP_ATTRIB_DI_VENDOR_ID: u32 = 513u32;
2240 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2241 pub const SDP_ATTRIB_DI_VENDOR_ID_SOURCE: u32 = 517u32;
2242 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2243 pub const SDP_ATTRIB_DI_VERSION: u32 = 515u32;
2244 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2245 pub const SDP_ATTRIB_DOCUMENTATION_URL: u32 = 10u32;
2246 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2247 pub const SDP_ATTRIB_FAX_AUDIO_FEEDBACK_SUPPORT: u32 = 773u32;
2248 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2249 pub const SDP_ATTRIB_FAX_CLASS_1_SUPPORT: u32 = 770u32;
2250 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2251 pub const SDP_ATTRIB_FAX_CLASS_2_0_SUPPORT: u32 = 771u32;
2252 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2253 pub const SDP_ATTRIB_FAX_CLASS_2_SUPPORT: u32 = 772u32;
2254 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2255 pub const SDP_ATTRIB_HEADSET_REMOTE_AUDIO_VOLUME_CONTROL: u32 = 770u32;
2256 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2257 pub const SDP_ATTRIB_HFP_SUPPORTED_FEATURES: u32 = 785u32;
2258 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2259 pub const SDP_ATTRIB_HID_BATTERY_POWER: u32 = 521u32;
2260 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2261 pub const SDP_ATTRIB_HID_BOOT_DEVICE: u32 = 526u32;
2262 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2263 pub const SDP_ATTRIB_HID_COUNTRY_CODE: u32 = 515u32;
2264 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2265 pub const SDP_ATTRIB_HID_DESCRIPTOR_LIST: u32 = 518u32;
2266 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2267 pub const SDP_ATTRIB_HID_DEVICE_RELEASE_NUMBER: u32 = 512u32;
2268 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2269 pub const SDP_ATTRIB_HID_DEVICE_SUBCLASS: u32 = 514u32;
2270 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2271 pub const SDP_ATTRIB_HID_LANG_ID_BASE_LIST: u32 = 519u32;
2272 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2273 pub const SDP_ATTRIB_HID_NORMALLY_CONNECTABLE: u32 = 525u32;
2274 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2275 pub const SDP_ATTRIB_HID_PARSER_VERSION: u32 = 513u32;
2276 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2277 pub const SDP_ATTRIB_HID_PROFILE_VERSION: u32 = 523u32;
2278 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2279 pub const SDP_ATTRIB_HID_RECONNECT_INITIATE: u32 = 517u32;
2280 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2281 pub const SDP_ATTRIB_HID_REMOTE_WAKE: u32 = 522u32;
2282 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2283 pub const SDP_ATTRIB_HID_SDP_DISABLE: u32 = 520u32;
2284 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2285 pub const SDP_ATTRIB_HID_SSR_HOST_MAX_LATENCY: u32 = 527u32;
2286 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2287 pub const SDP_ATTRIB_HID_SSR_HOST_MIN_TIMEOUT: u32 = 528u32;
2288 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2289 pub const SDP_ATTRIB_HID_SUPERVISION_TIMEOUT: u32 = 524u32;
2290 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2291 pub const SDP_ATTRIB_HID_VIRTUAL_CABLE: u32 = 516u32;
2292 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2293 pub const SDP_ATTRIB_ICON_URL: u32 = 12u32;
2294 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2295 pub const SDP_ATTRIB_IMAGING_SUPPORTED_CAPABILITIES: u32 = 784u32;
2296 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2297 pub const SDP_ATTRIB_IMAGING_SUPPORTED_FEATURES: u32 = 785u32;
2298 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2299 pub const SDP_ATTRIB_IMAGING_SUPPORTED_FUNCTIONS: u32 = 786u32;
2300 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2301 pub const SDP_ATTRIB_IMAGING_TOTAL_DATA_CAPACITY: u32 = 787u32;
2302 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2303 pub const SDP_ATTRIB_INFO_TIME_TO_LIVE: u32 = 7u32;
2304 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2305 pub const SDP_ATTRIB_LANG_BASE_ATTRIB_ID_LIST: u32 = 6u32;
2306 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2307 pub const SDP_ATTRIB_LAN_LPSUBNET: u32 = 512u32;
2308 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2309 pub const SDP_ATTRIB_OBJECT_PUSH_SUPPORTED_FORMATS_LIST: u32 = 771u32;
2310 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2311 pub const SDP_ATTRIB_PAN_HOME_PAGE_URL: u32 = 776u32;
2312 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2313 pub const SDP_ATTRIB_PAN_MAX_NET_ACCESS_RATE: u32 = 780u32;
2314 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2315 pub const SDP_ATTRIB_PAN_NETWORK_ADDRESS: u32 = 774u32;
2316 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2317 pub const SDP_ATTRIB_PAN_NET_ACCESS_TYPE: u32 = 779u32;
2318 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2319 pub const SDP_ATTRIB_PAN_SECURITY_DESCRIPTION: u32 = 778u32;
2320 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2321 pub const SDP_ATTRIB_PAN_WAP_GATEWAY: u32 = 775u32;
2322 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2323 pub const SDP_ATTRIB_PAN_WAP_STACK_TYPE: u32 = 777u32;
2324 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2325 pub const SDP_ATTRIB_PROFILE_DESCRIPTOR_LIST: u32 = 9u32;
2326 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2327 pub const SDP_ATTRIB_PROFILE_SPECIFIC: u32 = 512u32;
2328 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2329 pub const SDP_ATTRIB_PROTOCOL_DESCRIPTOR_LIST: u32 = 4u32;
2330 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2331 pub const SDP_ATTRIB_RECORD_HANDLE: u32 = 0u32;
2332 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2333 pub const SDP_ATTRIB_RECORD_STATE: u32 = 2u32;
2334 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2335 pub const SDP_ATTRIB_SDP_DATABASE_STATE: u32 = 513u32;
2336 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2337 pub const SDP_ATTRIB_SDP_VERSION_NUMBER_LIST: u32 = 512u32;
2338 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2339 pub const SDP_ATTRIB_SERVICE_ID: u32 = 3u32;
2340 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2341 pub const SDP_ATTRIB_SERVICE_VERSION: u32 = 768u32;
2342 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2343 pub const SDP_ATTRIB_SYNCH_SUPPORTED_DATA_STORES_LIST: u32 = 769u32;
2344 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2345 pub const SDP_CONNECT_ALLOW_PIN: u32 = 2u32;
2346 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2347 pub const SDP_CONNECT_CACHE: u32 = 1u32;
2348 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2349 pub const SDP_DEFAULT_INQUIRY_MAX_RESPONSES: u32 = 255u32;
2350 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2351 pub const SDP_DEFAULT_INQUIRY_SECONDS: u32 = 6u32;
2352 #[repr(C)]
2353 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
2354 #[cfg(feature = "Win32_Foundation")]
2355 pub struct SDP_ELEMENT_DATA {
2356 pub r#type: SDP_TYPE,
2357 pub specificType: SDP_SPECIFICTYPE,
2358 pub data: SDP_ELEMENT_DATA_0,
2359 }
2360 #[cfg(feature = "Win32_Foundation")]
2361 impl ::core::marker::Copy for SDP_ELEMENT_DATA {}
2362 #[cfg(feature = "Win32_Foundation")]
2363 impl ::core::clone::Clone for SDP_ELEMENT_DATA {
2364 fn clone(&self) -> Self {
2365 *self
2366 }
2367 }
2368 #[repr(C)]
2369 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
2370 #[cfg(feature = "Win32_Foundation")]
2371 pub union SDP_ELEMENT_DATA_0 {
2372 pub int128: SDP_LARGE_INTEGER_16,
2373 pub int64: i64,
2374 pub int32: i32,
2375 pub int16: i16,
2376 pub int8: super::super::Foundation::CHAR,
2377 pub uint128: SDP_ULARGE_INTEGER_16,
2378 pub uint64: u64,
2379 pub uint32: u32,
2380 pub uint16: u16,
2381 pub uint8: u8,
2382 pub booleanVal: u8,
2383 pub uuid128: ::windows_sys::core::GUID,
2384 pub uuid32: u32,
2385 pub uuid16: u16,
2386 pub string: SDP_ELEMENT_DATA_0_2,
2387 pub url: SDP_ELEMENT_DATA_0_3,
2388 pub sequence: SDP_ELEMENT_DATA_0_1,
2389 pub alternative: SDP_ELEMENT_DATA_0_0,
2390 }
2391 #[cfg(feature = "Win32_Foundation")]
2392 impl ::core::marker::Copy for SDP_ELEMENT_DATA_0 {}
2393 #[cfg(feature = "Win32_Foundation")]
2394 impl ::core::clone::Clone for SDP_ELEMENT_DATA_0 {
2395 fn clone(&self) -> Self {
2396 *self
2397 }
2398 }
2399 #[repr(C)]
2400 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
2401 #[cfg(feature = "Win32_Foundation")]
2402 pub struct SDP_ELEMENT_DATA_0_0 {
2403 pub value: *mut u8,
2404 pub length: u32,
2405 }
2406 #[cfg(feature = "Win32_Foundation")]
2407 impl ::core::marker::Copy for SDP_ELEMENT_DATA_0_0 {}
2408 #[cfg(feature = "Win32_Foundation")]
2409 impl ::core::clone::Clone for SDP_ELEMENT_DATA_0_0 {
2410 fn clone(&self) -> Self {
2411 *self
2412 }
2413 }
2414 #[repr(C)]
2415 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
2416 #[cfg(feature = "Win32_Foundation")]
2417 pub struct SDP_ELEMENT_DATA_0_1 {
2418 pub value: *mut u8,
2419 pub length: u32,
2420 }
2421 #[cfg(feature = "Win32_Foundation")]
2422 impl ::core::marker::Copy for SDP_ELEMENT_DATA_0_1 {}
2423 #[cfg(feature = "Win32_Foundation")]
2424 impl ::core::clone::Clone for SDP_ELEMENT_DATA_0_1 {
2425 fn clone(&self) -> Self {
2426 *self
2427 }
2428 }
2429 #[repr(C)]
2430 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
2431 #[cfg(feature = "Win32_Foundation")]
2432 pub struct SDP_ELEMENT_DATA_0_2 {
2433 pub value: *mut u8,
2434 pub length: u32,
2435 }
2436 #[cfg(feature = "Win32_Foundation")]
2437 impl ::core::marker::Copy for SDP_ELEMENT_DATA_0_2 {}
2438 #[cfg(feature = "Win32_Foundation")]
2439 impl ::core::clone::Clone for SDP_ELEMENT_DATA_0_2 {
2440 fn clone(&self) -> Self {
2441 *self
2442 }
2443 }
2444 #[repr(C)]
2445 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`, `\"Win32_Foundation\"`*"]
2446 #[cfg(feature = "Win32_Foundation")]
2447 pub struct SDP_ELEMENT_DATA_0_3 {
2448 pub value: *mut u8,
2449 pub length: u32,
2450 }
2451 #[cfg(feature = "Win32_Foundation")]
2452 impl ::core::marker::Copy for SDP_ELEMENT_DATA_0_3 {}
2453 #[cfg(feature = "Win32_Foundation")]
2454 impl ::core::clone::Clone for SDP_ELEMENT_DATA_0_3 {
2455 fn clone(&self) -> Self {
2456 *self
2457 }
2458 }
2459 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2460 pub const SDP_ERROR_INSUFFICIENT_RESOURCES: u32 = 6u32;
2461 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2462 pub const SDP_ERROR_INVALID_CONTINUATION_STATE: u32 = 5u32;
2463 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2464 pub const SDP_ERROR_INVALID_PDU_SIZE: u32 = 4u32;
2465 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2466 pub const SDP_ERROR_INVALID_RECORD_HANDLE: u32 = 2u32;
2467 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2468 pub const SDP_ERROR_INVALID_REQUEST_SYNTAX: u32 = 3u32;
2469 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2470 pub const SDP_ERROR_INVALID_SDP_VERSION: u32 = 1u32;
2471 #[repr(C)]
2472 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2473 pub struct SDP_LARGE_INTEGER_16 {
2474 pub LowPart: u64,
2475 pub HighPart: i64,
2476 }
2477 impl ::core::marker::Copy for SDP_LARGE_INTEGER_16 {}
2478 impl ::core::clone::Clone for SDP_LARGE_INTEGER_16 {
2479 fn clone(&self) -> Self {
2480 *self
2481 }
2482 }
2483 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2484 pub const SDP_MAX_INQUIRY_SECONDS: u32 = 60u32;
2485 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2486 pub const SDP_PROTOCOL_UUID16: u32 = 1u32;
2487 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2488 pub const SDP_REQUEST_TO_DEFAULT: u32 = 0u32;
2489 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2490 pub const SDP_REQUEST_TO_MAX: u32 = 45u32;
2491 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2492 pub const SDP_REQUEST_TO_MIN: u32 = 10u32;
2493 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2494 pub const SDP_SEARCH_NO_FORMAT_CHECK: u32 = 2u32;
2495 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2496 pub const SDP_SEARCH_NO_PARSE_CHECK: u32 = 1u32;
2497 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2498 pub const SDP_SERVICE_ATTRIBUTE_REQUEST: u32 = 2u32;
2499 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2500 pub const SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST: u32 = 3u32;
2501 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2502 pub const SDP_SERVICE_SEARCH_REQUEST: u32 = 1u32;
2503 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2504 pub type SDP_SPECIFICTYPE = i32;
2505 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2506 pub const SDP_ST_NONE: SDP_SPECIFICTYPE = 0i32;
2507 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2508 pub const SDP_ST_UINT8: SDP_SPECIFICTYPE = 16i32;
2509 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2510 pub const SDP_ST_UINT16: SDP_SPECIFICTYPE = 272i32;
2511 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2512 pub const SDP_ST_UINT32: SDP_SPECIFICTYPE = 528i32;
2513 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2514 pub const SDP_ST_UINT64: SDP_SPECIFICTYPE = 784i32;
2515 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2516 pub const SDP_ST_UINT128: SDP_SPECIFICTYPE = 1040i32;
2517 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2518 pub const SDP_ST_INT8: SDP_SPECIFICTYPE = 32i32;
2519 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2520 pub const SDP_ST_INT16: SDP_SPECIFICTYPE = 288i32;
2521 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2522 pub const SDP_ST_INT32: SDP_SPECIFICTYPE = 544i32;
2523 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2524 pub const SDP_ST_INT64: SDP_SPECIFICTYPE = 800i32;
2525 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2526 pub const SDP_ST_INT128: SDP_SPECIFICTYPE = 1056i32;
2527 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2528 pub const SDP_ST_UUID16: SDP_SPECIFICTYPE = 304i32;
2529 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2530 pub const SDP_ST_UUID32: SDP_SPECIFICTYPE = 544i32;
2531 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2532 pub const SDP_ST_UUID128: SDP_SPECIFICTYPE = 1072i32;
2533 #[repr(C)]
2534 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2535 pub struct SDP_STRING_TYPE_DATA {
2536 pub encoding: u16,
2537 pub mibeNum: u16,
2538 pub attributeId: u16,
2539 }
2540 impl ::core::marker::Copy for SDP_STRING_TYPE_DATA {}
2541 impl ::core::clone::Clone for SDP_STRING_TYPE_DATA {
2542 fn clone(&self) -> Self {
2543 *self
2544 }
2545 }
2546 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2547 pub type SDP_TYPE = i32;
2548 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2549 pub const SDP_TYPE_NIL: SDP_TYPE = 0i32;
2550 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2551 pub const SDP_TYPE_UINT: SDP_TYPE = 1i32;
2552 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2553 pub const SDP_TYPE_INT: SDP_TYPE = 2i32;
2554 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2555 pub const SDP_TYPE_UUID: SDP_TYPE = 3i32;
2556 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2557 pub const SDP_TYPE_STRING: SDP_TYPE = 4i32;
2558 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2559 pub const SDP_TYPE_BOOLEAN: SDP_TYPE = 5i32;
2560 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2561 pub const SDP_TYPE_SEQUENCE: SDP_TYPE = 6i32;
2562 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2563 pub const SDP_TYPE_ALTERNATIVE: SDP_TYPE = 7i32;
2564 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2565 pub const SDP_TYPE_URL: SDP_TYPE = 8i32;
2566 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2567 pub const SDP_TYPE_CONTAINER: SDP_TYPE = 32i32;
2568 #[repr(C)]
2569 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2570 pub struct SDP_ULARGE_INTEGER_16 {
2571 pub LowPart: u64,
2572 pub HighPart: u64,
2573 }
2574 impl ::core::marker::Copy for SDP_ULARGE_INTEGER_16 {}
2575 impl ::core::clone::Clone for SDP_ULARGE_INTEGER_16 {
2576 fn clone(&self) -> Self {
2577 *self
2578 }
2579 }
2580 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2581 pub const SERVICE_OPTION_DO_NOT_PUBLISH: u32 = 2u32;
2582 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2583 pub const SERVICE_OPTION_DO_NOT_PUBLISH_EIR: u32 = 8u32;
2584 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2585 pub const SERVICE_OPTION_NO_PUBLIC_BROWSE: u32 = 4u32;
2586 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2587 pub const SERVICE_SECURITY_AUTHENTICATE: u32 = 4u32;
2588 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2589 pub const SERVICE_SECURITY_AUTHORIZE: u32 = 2u32;
2590 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2591 pub const SERVICE_SECURITY_DISABLED: u32 = 268435456u32;
2592 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2593 pub const SERVICE_SECURITY_ENCRYPT_OPTIONAL: u32 = 32u32;
2594 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2595 pub const SERVICE_SECURITY_ENCRYPT_REQUIRED: u32 = 16u32;
2596 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2597 pub const SERVICE_SECURITY_NONE: u32 = 1u32;
2598 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2599 pub const SERVICE_SECURITY_NO_ASK: u32 = 536870912u32;
2600 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2601 pub const SERVICE_SECURITY_USE_DEFAULTS: u32 = 0u32;
2602 #[repr(C, packed(1))]
2603 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2604 pub struct SOCKADDR_BTH {
2605 pub addressFamily: u16,
2606 pub btAddr: u64,
2607 pub serviceClassId: ::windows_sys::core::GUID,
2608 pub port: u32,
2609 }
2610 impl ::core::marker::Copy for SOCKADDR_BTH {}
2611 impl ::core::clone::Clone for SOCKADDR_BTH {
2612 fn clone(&self) -> Self {
2613 *self
2614 }
2615 }
2616 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2617 pub const SOL_L2CAP: u32 = 256u32;
2618 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2619 pub const SOL_RFCOMM: u32 = 3u32;
2620 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2621 pub const SOL_SDP: u32 = 257u32;
2622 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2623 pub const SO_BTH_AUTHENTICATE: u32 = 2147483649u32;
2624 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2625 pub const SO_BTH_ENCRYPT: u32 = 2u32;
2626 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2627 pub const SO_BTH_MTU: u32 = 2147483655u32;
2628 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2629 pub const SO_BTH_MTU_MAX: u32 = 2147483656u32;
2630 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2631 pub const SO_BTH_MTU_MIN: u32 = 2147483658u32;
2632 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2633 pub const STRING_DESCRIPTION_OFFSET: u32 = 1u32;
2634 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2635 pub const STRING_NAME_OFFSET: u32 = 0u32;
2636 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2637 pub const STRING_PROVIDER_NAME_OFFSET: u32 = 2u32;
2638 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2639 pub const STR_ADDR_FMT: &str = "(%02x:%02x:%02x:%02x:%02x:%02x)";
2640 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2641 pub const STR_ADDR_FMTA: &str = "(%02x:%02x:%02x:%02x:%02x:%02x)";
2642 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2643 pub const STR_ADDR_FMTW: &str = "(%02x:%02x:%02x:%02x:%02x:%02x)";
2644 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2645 pub const STR_ADDR_SHORT_FMT: &str = "%04x%08x";
2646 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2647 pub const STR_ADDR_SHORT_FMTA: &str = "%04x%08x";
2648 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2649 pub const STR_ADDR_SHORT_FMTW: &str = "%04x%08x";
2650 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2651 pub const STR_USBHCI_CLASS_HARDWAREID: &str = "USB\\Class_E0&SubClass_01&Prot_01";
2652 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2653 pub const STR_USBHCI_CLASS_HARDWAREIDA: &str = "USB\\Class_E0&SubClass_01&Prot_01";
2654 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2655 pub const STR_USBHCI_CLASS_HARDWAREIDW: &str = "USB\\Class_E0&SubClass_01&Prot_01";
2656 pub const SVCID_BTH_PROVIDER: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 111829984, data2: 32096, data3: 16895, data4: [175, 178, 62, 230, 210, 217, 57, 45] };
2657 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2658 pub const SYNCH_DATA_STORE_CALENDAR: u32 = 3u32;
2659 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2660 pub const SYNCH_DATA_STORE_MESSAGES: u32 = 6u32;
2661 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2662 pub const SYNCH_DATA_STORE_NOTES: u32 = 5u32;
2663 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2664 pub const SYNCH_DATA_STORE_PHONEBOOK: u32 = 1u32;
2665 #[repr(C)]
2666 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2667 pub struct SdpAttributeRange {
2668 pub minAttribute: u16,
2669 pub maxAttribute: u16,
2670 }
2671 impl ::core::marker::Copy for SdpAttributeRange {}
2672 impl ::core::clone::Clone for SdpAttributeRange {
2673 fn clone(&self) -> Self {
2674 *self
2675 }
2676 }
2677 #[repr(C)]
2678 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2679 pub struct SdpQueryUuid {
2680 pub u: SdpQueryUuidUnion,
2681 pub uuidType: u16,
2682 }
2683 impl ::core::marker::Copy for SdpQueryUuid {}
2684 impl ::core::clone::Clone for SdpQueryUuid {
2685 fn clone(&self) -> Self {
2686 *self
2687 }
2688 }
2689 #[repr(C)]
2690 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2691 pub union SdpQueryUuidUnion {
2692 pub uuid128: ::windows_sys::core::GUID,
2693 pub uuid32: u32,
2694 pub uuid16: u16,
2695 }
2696 impl ::core::marker::Copy for SdpQueryUuidUnion {}
2697 impl ::core::clone::Clone for SdpQueryUuidUnion {
2698 fn clone(&self) -> Self {
2699 *self
2700 }
2701 }
2702 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2703 pub const SerialPortServiceClassID_UUID16: u32 = 4353u32;
2704 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2705 pub const ServiceDiscoveryServerServiceClassID_UUID16: u32 = 4096u32;
2706 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2707 pub const SimAccessServiceClassID_UUID16: u32 = 4397u32;
2708 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2709 pub const TCP_PROTOCOL_UUID16: u32 = 4u32;
2710 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2711 pub const TCSAT_PROTOCOL_UUID16: u32 = 6u32;
2712 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2713 pub const TCSBIN_PROTOCOL_UUID16: u32 = 5u32;
2714 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2715 pub const ThreeDimensionalDisplayServiceClassID_UUID16: u32 = 4407u32;
2716 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2717 pub const ThreeDimensionalGlassesServiceClassID_UUID16: u32 = 4408u32;
2718 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2719 pub const ThreeDimensionalSynchronizationProfileID_UUID16: u32 = 4409u32;
2720 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2721 pub const UDIMTServiceClassID_UUID16: u32 = 4394u32;
2722 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2723 pub const UDIMTServiceClass_UUID16: u32 = 4394u32;
2724 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2725 pub const UDITAServiceClassID_UUID16: u32 = 4395u32;
2726 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2727 pub const UDITAServiceClass_UUID16: u32 = 4395u32;
2728 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2729 pub const UDI_C_PLANE_PROTOCOL_UUID16: u32 = 29u32;
2730 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2731 pub const UDP_PROTOCOL_UUID16: u32 = 2u32;
2732 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2733 pub const UPNP_PROTOCOL_UUID16: u32 = 16u32;
2734 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2735 pub const UPnpIpServiceClassID_UUID16: u32 = 4614u32;
2736 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2737 pub const UPnpServiceClassID_UUID16: u32 = 4613u32;
2738 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2739 pub const VideoConferencingGWServiceClassID_UUID16: u32 = 4393u32;
2740 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2741 pub const VideoConferencingGWServiceClass_UUID16: u32 = 4393u32;
2742 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2743 pub const VideoConferencingServiceClassID_UUID16: u32 = 4367u32;
2744 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2745 pub const VideoDistributionProfileID_UUID16: u32 = 4869u32;
2746 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2747 pub const VideoSinkServiceClassID_UUID16: u32 = 4868u32;
2748 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2749 pub const VideoSourceServiceClassID_UUID16: u32 = 4867u32;
2750 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2751 pub const WAPClientServiceClassID_UUID16: u32 = 4372u32;
2752 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2753 pub const WAPServiceClassID_UUID16: u32 = 4371u32;
2754 #[doc = "*Required features: `\"Win32_Devices_Bluetooth\"`*"]
2755 pub const WSP_PROTOCOL_UUID16: u32 = 14u32;