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