DISK_SETTINGS Structure Structure for storage media on the hardware
C/C++ Declare
Copy typedef struct __declspec (align(2))
{
uint8_t disk_layout;
uint8_t disk_format;
uint32_t disk_enables;
uint32_t rsvd0;
uint32_t rsvd1;
}DISK_SETTINGS;
Visual Basic .NET Declare
Copy <StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure DISK_SETTINGS
Dim disk_layout As Byte
Dim disk_format As Byte
Dim disk_enables As UInt32
Dim rsvd0 As UInt32
Dim rsvd1 As UInt32
End Structure
Untitled
Copy [ StructLayout ( LayoutKind . Sequential , Pack = 2 )]
public struct DISK_SETTINGS
{
public byte disk_layout;
public byte disk_format;
public UInt32 disk_enables;
public UInt32 rsvd0;
public UInt32 rsvd1;
}
Reads the layout of the memory media
0=Spanned, 1=RAID0, 2=RAID1, 3=RAID5, 4=Individual
Reads the format of the configured disk
0=Unknown, 1=FAT32, 2=exFAT