]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Devices/Enumeration/Pnp/mod.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Devices / Enumeration / Pnp / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 pub type PnpObject = *mut ::core::ffi::c_void;
3 pub type PnpObjectCollection = *mut ::core::ffi::c_void;
4 #[doc = "*Required features: `\"Devices_Enumeration_Pnp\"`*"]
5 #[repr(transparent)]
6 pub struct PnpObjectType(pub i32);
7 impl PnpObjectType {
8 pub const Unknown: Self = Self(0i32);
9 pub const DeviceInterface: Self = Self(1i32);
10 pub const DeviceContainer: Self = Self(2i32);
11 pub const Device: Self = Self(3i32);
12 pub const DeviceInterfaceClass: Self = Self(4i32);
13 pub const AssociationEndpoint: Self = Self(5i32);
14 pub const AssociationEndpointContainer: Self = Self(6i32);
15 pub const AssociationEndpointService: Self = Self(7i32);
16 pub const DevicePanel: Self = Self(8i32);
17 }
18 impl ::core::marker::Copy for PnpObjectType {}
19 impl ::core::clone::Clone for PnpObjectType {
20 fn clone(&self) -> Self {
21 *self
22 }
23 }
24 pub type PnpObjectUpdate = *mut ::core::ffi::c_void;
25 pub type PnpObjectWatcher = *mut ::core::ffi::c_void;