Struct windows_sys::Win32::System::Ioctl::SCM_PD_DEVICE_INFO
[−]#[repr(C)]pub struct SCM_PD_DEVICE_INFO {Show 22 fields
pub Version: u32,
pub Size: u32,
pub DeviceGuid: GUID,
pub UnsafeShutdownCount: u32,
pub PersistentMemorySizeInBytes: u64,
pub VolatileMemorySizeInBytes: u64,
pub TotalMemorySizeInBytes: u64,
pub SlotNumber: u32,
pub DeviceHandle: u32,
pub PhysicalId: u16,
pub NumberOfFormatInterfaceCodes: u8,
pub FormatInterfaceCodes: [u16; 8],
pub VendorId: u32,
pub ProductId: u32,
pub SubsystemDeviceId: u32,
pub SubsystemVendorId: u32,
pub ManufacturingLocation: u8,
pub ManufacturingWeek: u8,
pub ManufacturingYear: u8,
pub SerialNumber4Byte: u32,
pub SerialNumberLengthInChars: u32,
pub SerialNumber: [CHAR; 1],
}
Expand description
Required features: ‘Win32_System_Ioctl’, ‘Win32_Foundation’
Fields
Version: u32
Size: u32
DeviceGuid: GUID
UnsafeShutdownCount: u32
PersistentMemorySizeInBytes: u64
VolatileMemorySizeInBytes: u64
TotalMemorySizeInBytes: u64
SlotNumber: u32
DeviceHandle: u32
PhysicalId: u16
NumberOfFormatInterfaceCodes: u8
FormatInterfaceCodes: [u16; 8]
VendorId: u32
ProductId: u32
SubsystemDeviceId: u32
SubsystemVendorId: u32
ManufacturingLocation: u8
ManufacturingWeek: u8
ManufacturingYear: u8
SerialNumber4Byte: u32
SerialNumberLengthInChars: u32
SerialNumber: [CHAR; 1]
Trait Implementations
impl Clone for SCM_PD_DEVICE_INFO
impl Clone for SCM_PD_DEVICE_INFO
impl Copy for SCM_PD_DEVICE_INFO
Auto Trait Implementations
impl RefUnwindSafe for SCM_PD_DEVICE_INFO
impl Send for SCM_PD_DEVICE_INFO
impl Sync for SCM_PD_DEVICE_INFO
impl Unpin for SCM_PD_DEVICE_INFO
impl UnwindSafe for SCM_PD_DEVICE_INFO
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more