6. LIBRARY FUNCTIONS
6-23
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:
Specifies the pointer to the HFW_RAID_STATUS structure (shown below) where the
RAID status is stored.
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 ;
Содержание HF-W6500 45/40
Страница 1: ...WIN 63 0088 02 ...
Страница 2: ...WIN 63 0088 02 ...
Страница 21: ...This page is intentionally left blank ...
Страница 35: ...This page is intentionally left blank ...
Страница 79: ...4 CHECKING THE HARDWARE STATUS 4 26 5 In the SNMP Service Properties window click Apply ...
Страница 91: ...This page is intentionally left blank ...
Страница 105: ...This page is intentionally left blank ...
Страница 137: ...This page is intentionally left blank ...
Страница 147: ...This page is intentionally left blank ...
Страница 163: ...This page is intentionally left blank ...