Data Structures | Defines | Enumerations | Functions

Memory APIs

Data Structures

struct  SPDINFO
struct  MEMMODULEINFO

Defines

#define MODULE_PARTNO_LEN   18
#define MAX_MEMORY_SLOTS   16
#define SPDINFO_MEMTYPE_SDRAM   0x04
#define SPDINFO_MEMTYPE_DDR   0x07
#define SPDINFO_MEMTYPE_DDR2   0x08
#define SPDINFO_MEMTYPE_DDR2FB   0x09
#define SPDINFO_MEMTYPE_DDR2FBPROBE   0x0A
#define SPDINFO_MEMTYPE_DDR3   0x0B
#define SPDINFO_DDR2_EPP_PROFILE_ABBR   0xA1
#define SPDINFO_DDR2_EPP_PROFILE_FULL   0XB1

Enumerations

enum  SPDINFO_STATUS {
  SPDINFO_SUCCESS = 0, SPDINFO_ACCESS_DENIED = 1, SPDINFO_INIT_DIRECTIO = 2, SPDINFO_DIRECTIO_VERSION = 3,
  SPDINFO_ACCESS_COLLISION = 4
}
 

Return code for SysInfoDll_GetMemSPDInfo.

More...

Functions

SYSINFO_API BOOL SysInfoDll_GetMemoryInfo (MEMORYSTATUSEX *pMemInfoEx)
 Call this function to return the Memory information structure.
SYSINFO_API int SysInfoDll_GetMemSPDInfo (MEMMODULEINFO *pMemModuleInfo)
 Call this function to retrieve the SPD information from all memory modules.

Define Documentation

#define MODULE_PARTNO_LEN   18
#define MAX_MEMORY_SLOTS   16
#define SPDINFO_MEMTYPE_SDRAM   0x04
#define SPDINFO_MEMTYPE_DDR   0x07
#define SPDINFO_MEMTYPE_DDR2   0x08
#define SPDINFO_MEMTYPE_DDR2FB   0x09
#define SPDINFO_MEMTYPE_DDR2FBPROBE   0x0A
#define SPDINFO_MEMTYPE_DDR3   0x0B
#define SPDINFO_DDR2_EPP_PROFILE_ABBR   0xA1
#define SPDINFO_DDR2_EPP_PROFILE_FULL   0XB1

Enumeration Type Documentation

Return code for SysInfoDll_GetMemSPDInfo.

Enumerator:
SPDINFO_SUCCESS 
SPDINFO_ACCESS_DENIED 
SPDINFO_INIT_DIRECTIO 
SPDINFO_DIRECTIO_VERSION 
SPDINFO_ACCESS_COLLISION 

Function Documentation

SYSINFO_API BOOL SysInfoDll_GetMemoryInfo ( MEMORYSTATUSEX *  pMemInfoEx  ) 

Call this function to return the Memory information structure.

Parameters:
[out] pMemInfoEx Pointer to a structure to store the Memory information.
Returns:
TRUE if successful, otherwise FALSE
SYSINFO_API int SysInfoDll_GetMemSPDInfo ( MEMMODULEINFO pMemModuleInfo  ) 

Call this function to retrieve the SPD information from all memory modules.

Parameters:
[out] pMemModuleInfo Pointer to a structure to store the Memory SPD information.
Returns:
0 if successful, otherwise an error code (see SPDINFO_STATUS)
 All Data Structures Files Functions Variables Enumerations Enumerator Defines