Get Function For The Memory Condition (Getmemstatus) - Hitachi HF-W6500 45/40 Feature Manual

Hide thumbs Also See for HF-W6500 45/40:
Table of Contents

Advertisement

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;
DWORD Dimm_Status[4];
} 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
MEMORY_NOMAL (0x00)
MEMORY_ERR_DETECT (0x01)
MEMORY_NOT_MOUNTED (0x02)
For this model, correspondence between elements of Dimm_Status and DMM names is as
follows.
//Number of DIMM slots in this equipment
//Condition of each DIMM
Value
Element
Dimm_Status[0]
Dimm_Status[1]
Description
The memory is working properly.
Frequent error correction occurs.
DIMM is not mounted.
DIMM name
DIMM A
DIMM B
6-17
6. LIBRARY FUNCTIONS

Advertisement

Table of Contents
loading

Table of Contents