6. LIBRARY FUNCTIONS
6-22
6.1.10 Get function for the RAID status (hfwRaidStat, RaidStat)
[D Model only]
(1) hfwRaidStat
<Name>
hfwRaidStat - RAID status acquisition
<Syntax>
#include <hfwras.h>
BOOL hfwRaidStat (PHFW_RAID_STATUS phfwRaidStatus);
<Description of the function>
The hfwRaidStat function stores the RAID status to a structure pointed to by phfwRaidStatus.
The parameters of this function are explained below.
phfwRaidStatus:
This parameter specifies a pointer to an HFW_RAID_STATUS structure that stores the
RAID status.
typedef struct HFW_RAID_STATUS{
DWORD
Array_Count;
// Number of monitored arrays
HFW_ARRAY_STATUS
Array[16];
// Array information
} HFW_RAID_STATUS, *PHFW_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 HFW_ARRAY_STATUS structure is defined as follows.
typedef struct HFW_ARRAY_STATUS{
DWORD
Level;
//RAID level
DWORD
Disk_Number;
//Drives in the RAID
DWORD
Status;
//RAID status
DWORD
Progress;
//Progress (0 - 99[%])
}HFW_ARRAY_STATUS, *PHFW_ARRAY_STATUS ;
Summary of Contents for HF-W7500 40
Page 1: ...WIN 63 0090 03 ...
Page 2: ...WIN 63 0090 03 ...
Page 23: ...This page is intentionally left blank ...
Page 105: ...This page is intentionally left blank ...