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: u32§Role: u32§HealthStatus: STORAGE_COMPONENT_HEALTH_STATUS§CommandProtocol: STORAGE_PROTOCOL_TYPE§SpecVersion: STORAGE_SPEC_VERSION§FormFactor: STORAGE_DEVICE_FORM_FACTOR§Vendor: [u8; 8]§Model: [u8; 40]§FirmwareRevision: [u8; 16]§Capacity: u64§PhysicalLocation: [u8; 32]§Reserved: [u32; 2]