DISK_SETTINGS Structure

Structure for storage media on the hardware

C/C++ Declare

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

<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

C# .NET Declare

[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;
}
Remarks

ItemDescription
disk_layoutReads the layout of the memory media
0=Spanned, 1=RAID0, 2=RAID1, 3=RAID5, 4=Individual
disk_formatReads the format of the configured disk
0=Unknown, 1=FAT32, 2=exFAT
disk_enablesNot Defined
rsvd0Reserved
rsvd1Reserved

IntrepidCS API   Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc.

Last Updated : Wednesday, July 05, 2019