6. LIBRARY FUNCTIONS
6-9
6.1.6 Get function for the RAID status (hfbRaidStat)
[D Model only]
<Name>
hfbRaidStat - RAID status acquisition
<Syntax>
#include <hfbras.h>
BOOL hfbRaidStat (PHFW_RAID_STATUS phfbRaidStatus);
<Description of the function>
The hfbRaidStat function stores the RAID status to a structure pointed to by phfbRaidStatus.
The parameters of this function are explained below.
phfbRaidStatus:
Specifies the pointer to the HFB_RAID_STATUS structure (shown below) where the RAID
status is stored.
typedef struct HFB_RAID_STATUS{
DWORD
Array_Count;
// Number of monitored arrays
HFB_ARRAY_STATUS
Array[16];
// Array information
} HFB_RAID_STATUS, *PHFB_RAID_STATUS ;
Array_Count shows the number of monitored RAID arrays on this equipment (1).
Each element of Array shows the status of the corresponding RAID. The number of valid
elements is returned in Array_Count. (This value is 1, which means only Array[0] is valid.) The
elements after that are reserved. The values of those reserved elements are NULL. Do not access
those elements. The HFB_ARRAY_STATUS structure is defined as follows.
typedef struct HFB_ARRAY_STATUS{
DWORD Level; //RAID
level
DWORD
Disk_Number; //Drives in the RAID
DWORD Status; //RAID
status
DWORD
Progress;
//Progress (0 - 99[%])
}HFB_ARRAY_STATUS, *PHFB_ARRAY_STATUS ;
Summary of Contents for HF-BT1000
Page 1: ...BT 63 0004 01 ...
Page 2: ...BT 63 0004 01 ...
Page 15: ...This Page Intentionally Left Blank ...
Page 79: ...This Page Intentionally Left Blank ...
Page 103: ...This Page Intentionally Left Blank ...
Page 111: ...This Page Intentionally Left Blank ...