Struct windows_sys::Win32::System::Ioctl::STORAGE_PHYSICAL_DEVICE_DATA [−]
#[repr(C)]pub struct STORAGE_PHYSICAL_DEVICE_DATA {
pub DeviceId: u32,
pub Role: u32,
pub HealthStatus: STORAGE_COMPONENT_HEALTH_STATUS,
pub CommandProtocol: STORAGE_PROTOCOL_TYPE,
pub SpecVersion: STORAGE_SPEC_VERSION,
pub FormFactor: STORAGE_DEVICE_FORM_FACTOR,
pub Vendor: [u8; 8],
pub Model: [u8; 40],
pub FirmwareRevision: [u8; 16],
pub Capacity: u64,
pub PhysicalLocation: [u8; 32],
pub Reserved: [u32; 2],
}Expand description
Required features: ‘Win32_System_Ioctl’
Fields
DeviceId: u32Role: u32HealthStatus: STORAGE_COMPONENT_HEALTH_STATUSCommandProtocol: STORAGE_PROTOCOL_TYPESpecVersion: STORAGE_SPEC_VERSIONFormFactor: STORAGE_DEVICE_FORM_FACTORVendor: [u8; 8]Model: [u8; 40]FirmwareRevision: [u8; 16]Capacity: u64PhysicalLocation: [u8; 32]Reserved: [u32; 2]