diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Enumeration/mod.rs')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Devices/Enumeration/mod.rs | 212 |
1 files changed, 0 insertions, 212 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Enumeration/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Enumeration/mod.rs deleted file mode 100644 index 905218cc2..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Enumeration/mod.rs +++ /dev/null @@ -1,212 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Devices_Enumeration_Pnp")] -pub mod Pnp; -#[link(name = "windows")] -extern "system" {} -pub type DeviceAccessChangedEventArgs = *mut ::core::ffi::c_void; -pub type DeviceAccessInformation = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DeviceAccessStatus(pub i32); -impl DeviceAccessStatus { - pub const Unspecified: Self = Self(0i32); - pub const Allowed: Self = Self(1i32); - pub const DeniedByUser: Self = Self(2i32); - pub const DeniedBySystem: Self = Self(3i32); -} -impl ::core::marker::Copy for DeviceAccessStatus {} -impl ::core::clone::Clone for DeviceAccessStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DeviceClass(pub i32); -impl DeviceClass { - pub const All: Self = Self(0i32); - pub const AudioCapture: Self = Self(1i32); - pub const AudioRender: Self = Self(2i32); - pub const PortableStorageDevice: Self = Self(3i32); - pub const VideoCapture: Self = Self(4i32); - pub const ImageScanner: Self = Self(5i32); - pub const Location: Self = Self(6i32); -} -impl ::core::marker::Copy for DeviceClass {} -impl ::core::clone::Clone for DeviceClass { - fn clone(&self) -> Self { - *self - } -} -pub type DeviceConnectionChangeTriggerDetails = *mut ::core::ffi::c_void; -pub type DeviceDisconnectButtonClickedEventArgs = *mut ::core::ffi::c_void; -pub type DeviceInformation = *mut ::core::ffi::c_void; -pub type DeviceInformationCollection = *mut ::core::ffi::c_void; -pub type DeviceInformationCustomPairing = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DeviceInformationKind(pub i32); -impl DeviceInformationKind { - pub const Unknown: Self = Self(0i32); - pub const DeviceInterface: Self = Self(1i32); - pub const DeviceContainer: Self = Self(2i32); - pub const Device: Self = Self(3i32); - pub const DeviceInterfaceClass: Self = Self(4i32); - pub const AssociationEndpoint: Self = Self(5i32); - pub const AssociationEndpointContainer: Self = Self(6i32); - pub const AssociationEndpointService: Self = Self(7i32); - pub const DevicePanel: Self = Self(8i32); -} -impl ::core::marker::Copy for DeviceInformationKind {} -impl ::core::clone::Clone for DeviceInformationKind { - fn clone(&self) -> Self { - *self - } -} -pub type DeviceInformationPairing = *mut ::core::ffi::c_void; -pub type DeviceInformationUpdate = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DevicePairingKinds(pub u32); -impl DevicePairingKinds { - pub const None: Self = Self(0u32); - pub const ConfirmOnly: Self = Self(1u32); - pub const DisplayPin: Self = Self(2u32); - pub const ProvidePin: Self = Self(4u32); - pub const ConfirmPinMatch: Self = Self(8u32); - pub const ProvidePasswordCredential: Self = Self(16u32); -} -impl ::core::marker::Copy for DevicePairingKinds {} -impl ::core::clone::Clone for DevicePairingKinds { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DevicePairingProtectionLevel(pub i32); -impl DevicePairingProtectionLevel { - pub const Default: Self = Self(0i32); - pub const None: Self = Self(1i32); - pub const Encryption: Self = Self(2i32); - pub const EncryptionAndAuthentication: Self = Self(3i32); -} -impl ::core::marker::Copy for DevicePairingProtectionLevel {} -impl ::core::clone::Clone for DevicePairingProtectionLevel { - fn clone(&self) -> Self { - *self - } -} -pub type DevicePairingRequestedEventArgs = *mut ::core::ffi::c_void; -pub type DevicePairingResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DevicePairingResultStatus(pub i32); -impl DevicePairingResultStatus { - pub const Paired: Self = Self(0i32); - pub const NotReadyToPair: Self = Self(1i32); - pub const NotPaired: Self = Self(2i32); - pub const AlreadyPaired: Self = Self(3i32); - pub const ConnectionRejected: Self = Self(4i32); - pub const TooManyConnections: Self = Self(5i32); - pub const HardwareFailure: Self = Self(6i32); - pub const AuthenticationTimeout: Self = Self(7i32); - pub const AuthenticationNotAllowed: Self = Self(8i32); - pub const AuthenticationFailure: Self = Self(9i32); - pub const NoSupportedProfiles: Self = Self(10i32); - pub const ProtectionLevelCouldNotBeMet: Self = Self(11i32); - pub const AccessDenied: Self = Self(12i32); - pub const InvalidCeremonyData: Self = Self(13i32); - pub const PairingCanceled: Self = Self(14i32); - pub const OperationAlreadyInProgress: Self = Self(15i32); - pub const RequiredHandlerNotRegistered: Self = Self(16i32); - pub const RejectedByHandler: Self = Self(17i32); - pub const RemoteDeviceHasAssociation: Self = Self(18i32); - pub const Failed: Self = Self(19i32); -} -impl ::core::marker::Copy for DevicePairingResultStatus {} -impl ::core::clone::Clone for DevicePairingResultStatus { - fn clone(&self) -> Self { - *self - } -} -pub type DevicePicker = *mut ::core::ffi::c_void; -pub type DevicePickerAppearance = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DevicePickerDisplayStatusOptions(pub u32); -impl DevicePickerDisplayStatusOptions { - pub const None: Self = Self(0u32); - pub const ShowProgress: Self = Self(1u32); - pub const ShowDisconnectButton: Self = Self(2u32); - pub const ShowRetryButton: Self = Self(4u32); -} -impl ::core::marker::Copy for DevicePickerDisplayStatusOptions {} -impl ::core::clone::Clone for DevicePickerDisplayStatusOptions { - fn clone(&self) -> Self { - *self - } -} -pub type DevicePickerFilter = *mut ::core::ffi::c_void; -pub type DeviceSelectedEventArgs = *mut ::core::ffi::c_void; -pub type DeviceThumbnail = *mut ::core::ffi::c_void; -pub type DeviceUnpairingResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DeviceUnpairingResultStatus(pub i32); -impl DeviceUnpairingResultStatus { - pub const Unpaired: Self = Self(0i32); - pub const AlreadyUnpaired: Self = Self(1i32); - pub const OperationAlreadyInProgress: Self = Self(2i32); - pub const AccessDenied: Self = Self(3i32); - pub const Failed: Self = Self(4i32); -} -impl ::core::marker::Copy for DeviceUnpairingResultStatus {} -impl ::core::clone::Clone for DeviceUnpairingResultStatus { - fn clone(&self) -> Self { - *self - } -} -pub type DeviceWatcher = *mut ::core::ffi::c_void; -pub type DeviceWatcherEvent = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct DeviceWatcherEventKind(pub i32); -impl DeviceWatcherEventKind { - pub const Add: Self = Self(0i32); - pub const Update: Self = Self(1i32); - pub const Remove: Self = Self(2i32); -} -impl ::core::marker::Copy for DeviceWatcherEventKind {} -impl ::core::clone::Clone for DeviceWatcherEventKind { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct DeviceWatcherStatus(pub i32); -impl DeviceWatcherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const EnumerationCompleted: 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 DeviceWatcherStatus {} -impl ::core::clone::Clone for DeviceWatcherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type DeviceWatcherTriggerDetails = *mut ::core::ffi::c_void; -pub type EnclosureLocation = *mut ::core::ffi::c_void; -pub type IDevicePairingSettings = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct Panel(pub i32); -impl Panel { - pub const Unknown: Self = Self(0i32); - pub const Front: Self = Self(1i32); - pub const Back: Self = Self(2i32); - pub const Top: Self = Self(3i32); - pub const Bottom: Self = Self(4i32); - pub const Left: Self = Self(5i32); - pub const Right: Self = Self(6i32); -} -impl ::core::marker::Copy for Panel {} -impl ::core::clone::Clone for Panel { - fn clone(&self) -> Self { - *self - } -} |