diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/Bluetooth/Advertisement/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Devices/Bluetooth/Advertisement/mod.rs | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/vendor/windows-sys/src/Windows/Devices/Bluetooth/Advertisement/mod.rs new file mode 100644 index 000000000..2ff2e0d07 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -0,0 +1,91 @@ +pub type BluetoothLEAdvertisement = *mut ::core::ffi::c_void; +pub type BluetoothLEAdvertisementBytePattern = *mut ::core::ffi::c_void; +pub type BluetoothLEAdvertisementDataSection = *mut ::core::ffi::c_void; +pub type BluetoothLEAdvertisementFilter = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] +#[repr(transparent)] +pub struct BluetoothLEAdvertisementFlags(pub u32); +impl BluetoothLEAdvertisementFlags { + pub const None: Self = Self(0u32); + pub const LimitedDiscoverableMode: Self = Self(1u32); + pub const GeneralDiscoverableMode: Self = Self(2u32); + pub const ClassicNotSupported: Self = Self(4u32); + pub const DualModeControllerCapable: Self = Self(8u32); + pub const DualModeHostCapable: Self = Self(16u32); +} +impl ::core::marker::Copy for BluetoothLEAdvertisementFlags {} +impl ::core::clone::Clone for BluetoothLEAdvertisementFlags { + fn clone(&self) -> Self { + *self + } +} +pub type BluetoothLEAdvertisementPublisher = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] +#[repr(transparent)] +pub struct BluetoothLEAdvertisementPublisherStatus(pub i32); +impl BluetoothLEAdvertisementPublisherStatus { + pub const Created: Self = Self(0i32); + pub const Waiting: Self = Self(1i32); + pub const Started: Self = Self(2i32); + pub const Stopping: Self = Self(3i32); + pub const Stopped: Self = Self(4i32); + pub const Aborted: Self = Self(5i32); +} +impl ::core::marker::Copy for BluetoothLEAdvertisementPublisherStatus {} +impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherStatus { + fn clone(&self) -> Self { + *self + } +} +pub type BluetoothLEAdvertisementPublisherStatusChangedEventArgs = *mut ::core::ffi::c_void; +pub type BluetoothLEAdvertisementReceivedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] +#[repr(transparent)] +pub struct BluetoothLEAdvertisementType(pub i32); +impl BluetoothLEAdvertisementType { + pub const ConnectableUndirected: Self = Self(0i32); + pub const ConnectableDirected: Self = Self(1i32); + pub const ScannableUndirected: Self = Self(2i32); + pub const NonConnectableUndirected: Self = Self(3i32); + pub const ScanResponse: Self = Self(4i32); + pub const Extended: Self = Self(5i32); +} +impl ::core::marker::Copy for BluetoothLEAdvertisementType {} +impl ::core::clone::Clone for BluetoothLEAdvertisementType { + fn clone(&self) -> Self { + *self + } +} +pub type BluetoothLEAdvertisementWatcher = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] +#[repr(transparent)] +pub struct BluetoothLEAdvertisementWatcherStatus(pub i32); +impl BluetoothLEAdvertisementWatcherStatus { + pub const Created: Self = Self(0i32); + pub const Started: Self = Self(1i32); + pub const Stopping: Self = Self(2i32); + pub const Stopped: Self = Self(3i32); + pub const Aborted: Self = Self(4i32); +} +impl ::core::marker::Copy for BluetoothLEAdvertisementWatcherStatus {} +impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherStatus { + fn clone(&self) -> Self { + *self + } +} +pub type BluetoothLEAdvertisementWatcherStoppedEventArgs = *mut ::core::ffi::c_void; +pub type BluetoothLEManufacturerData = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Devices_Bluetooth_Advertisement\"`*"] +#[repr(transparent)] +pub struct BluetoothLEScanningMode(pub i32); +impl BluetoothLEScanningMode { + pub const Passive: Self = Self(0i32); + pub const Active: Self = Self(1i32); + pub const None: Self = Self(2i32); +} +impl ::core::marker::Copy for BluetoothLEScanningMode {} +impl ::core::clone::Clone for BluetoothLEScanningMode { + fn clone(&self) -> Self { + *self + } +} |