1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
3 extern "system" {}
4 pub type PnpObject = *mut ::core::ffi::c_void;
5 pub type PnpObjectCollection = *mut ::core::ffi::c_void;
6 #[repr(transparent)]
7 pub struct PnpObjectType(pub i32);
8 impl PnpObjectType {
9     pub const Unknown: Self = Self(0i32);
10     pub const DeviceInterface: Self = Self(1i32);
11     pub const DeviceContainer: Self = Self(2i32);
12     pub const Device: Self = Self(3i32);
13     pub const DeviceInterfaceClass: Self = Self(4i32);
14     pub const AssociationEndpoint: Self = Self(5i32);
15     pub const AssociationEndpointContainer: Self = Self(6i32);
16     pub const AssociationEndpointService: Self = Self(7i32);
17     pub const DevicePanel: Self = Self(8i32);
18 }
19 impl ::core::marker::Copy for PnpObjectType {}
20 impl ::core::clone::Clone for PnpObjectType {
clone(&self) -> Self21     fn clone(&self) -> Self {
22         *self
23     }
24 }
25 pub type PnpObjectUpdate = *mut ::core::ffi::c_void;
26 pub type PnpObjectWatcher = *mut ::core::ffi::c_void;
27