![Hitachi HF-BT1000 Скачать руководство пользователя страница 96](http://html.mh-extra.com/html/hitachi/hf-bt1000/hf-bt1000_user-manual_142192096.webp)
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 ;
Содержание HF-BT1000
Страница 1: ...BT 63 0004 01 ...
Страница 2: ...BT 63 0004 01 ...
Страница 15: ...This Page Intentionally Left Blank ...
Страница 79: ...This Page Intentionally Left Blank ...
Страница 103: ...This Page Intentionally Left Blank ...
Страница 111: ...This Page Intentionally Left Blank ...
Страница 127: ...This Page Intentionally Left Blank ...
Страница 129: ...This Page Intentionally Left Blank ...