6. LIBRARY FUNCTIONS
6-17
6.1.7 Get function for the memory condition (GetMemStatus)
<Name>
GetMemStatus - Memory status acquisition
<Syntax>
#include <w2kras.h>
BOOL GetMemStatus(PMEM_DATA pMemData);
<Description>
The GetMemStatus function stores the condition of the memory in this equipment to a structure
pointed by pMemData. The parameters of this function are explained below.
pMemData:
This parameter specifies a pointer to a MEM_DATA structure shown below that stores the
acquired memory condition.
typedef struct MEM_DATA {
int
Dimm_Number;
//Number of DIMM slots in this equipment
DWORD
Dimm_Status[4];
//Condition of each DIMM
} MEM_DATA, *PMEM_DATA;
When this function completes successfully, the maximum number of DIMMs is stored in
Dimm_Number. This value varies depending on the model. Each element of Dimm_Status
stores a value described in the following table. Note that the number of valid elements is
Dimm_Number. (For example, if Dimm_Number is 2, the elements up to Dimm_Status[1]
are valid.)The elements after that are reserved. The values of those reserved elements are
undefined. Do not use those values.
Table 6-7 List of Values Stored in Each Element of Dimm_Status
Value
Description
MEMORY_NOMAL (0x00)
The memory is working properly.
MEMORY_ERR_DETECT (0x01)
Frequent error correction occurs.
MEMORY_NOT_MOUNTED (0x02)
DIMM is not mounted.
For this model, correspondence between elements of Dimm_Status and DMM names is as
follows.
Element
DIMM name
Dimm_Status[0]
DIMM A
Dimm_Status[1]
DIMM B
Содержание 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 ...