6. LIBRARY FUNCTIONS
6-22
Note that if multiple conditions exist at the same time, the logical sum of the values shown in
Table 6-9 is stored.
・
If drive failure prediction (SMART) is detected and the drive power-on (=used) hours
exceeded the threshold at the same time:
DISKSTAT_SMART | DISKSTAT_OVERRUN (0x48) is stored.
<Diagnosis>
If this function completes successfully, the function returns TRUE. If this function terminates
with an error, the function returns FALSE. When this function terminates with an error, the
value stored in phfwDiskStatus is invalid.
When this function terminates with an error, call the GetLastError Windows API function to get
the error code. Error codes returned by this function on its own are as follows.
Error code (value)
Description
HFWRAS_INVALID_PARAMETER
(0x20000001)
There is an error in the specified parameters.
HFWRAS_NOT_INITIALIZE
(0x20000002)
Startup of the RAS software has not completed yet.
HFWRAS_INTERNAL_ERROR
(0x20000003)
An internal error has been generated.
Other error codes come from the Windows API functions used by this function. For details
about those error codes, refer to the Windows API help.
<Sample program>
We provide a sample program that uses this function in C. For information about the name of
the sample program and where you can find it, see “6.2 Sample Programs”.
Содержание 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 ...