Data Structures | Defines | Enumerations | Functions

Memory APIs

Data Structures

struct  DEVINFO
struct  SPDINFO
struct  MEMMODULEINFO
struct  TSODINFO
struct  MEMTEMPINFO
struct  MEMORYSTATUSEX
 Contains information about the current state of both physical and virtual memory, including extended memory.
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa366770.aspx. More...

Defines

#define MODULE_PARTNO_LEN   32
#define MAX_MEMORY_SLOTS   32
#define MAX_TSOD_SLOTS   32
#define SPDINFO_MEMTYPE_SDRAM   4
#define SPDINFO_MEMTYPE_DDR_SGRAM   6
#define SPDINFO_MEMTYPE_DDR   7
#define SPDINFO_MEMTYPE_DDR2   8
#define SPDINFO_MEMTYPE_DDR2FB   9
#define SPDINFO_MEMTYPE_DDR2FBPROBE   10
#define SPDINFO_MEMTYPE_DDR3   11
#define SPDINFO_MEMTYPE_DDR4   12
#define SPDINFO_MEMTYPE_DDR4E   14
#define SPDINFO_MEMTYPE_LPDDR3   15
#define SPDINFO_MEMTYPE_LPDDR4   16
#define SPDINFO_MEMTYPE_LPDDR4X   17
#define SPDINFO_MEMTYPE_DDR5   18
#define SPDINFO_MEMTYPE_LPDDR5   19
#define SPDINFO_MEMTYPE_DDR5_NVDIMM_P   20
#define SPDINFO_MEMTYPE_LPDDR5X   21
#define SPDINFO_DDR2_EPP_PROFILE_ABBR   0xA1
#define SPDINFO_DDR2_EPP_PROFILE_FULL   0XB1
#define MAX_XMP3_PROFILE_NAME_LEN   16
#define MAX_XMP3_PROFILES   5

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.
SYSINFO_API int SysInfoDll_GetMemTemps (MEMTEMPINFO *pMemTempInfo)
 Call this function to retrieve the temperature information from all memory modules.

Define Documentation

#define MODULE_PARTNO_LEN   32
#define MAX_MEMORY_SLOTS   32
#define MAX_TSOD_SLOTS   32
#define SPDINFO_MEMTYPE_SDRAM   4
#define SPDINFO_MEMTYPE_DDR_SGRAM   6
#define SPDINFO_MEMTYPE_DDR   7
#define SPDINFO_MEMTYPE_DDR2   8
#define SPDINFO_MEMTYPE_DDR2FB   9
#define SPDINFO_MEMTYPE_DDR2FBPROBE   10
#define SPDINFO_MEMTYPE_DDR3   11
#define SPDINFO_MEMTYPE_DDR4   12
#define SPDINFO_MEMTYPE_DDR4E   14
#define SPDINFO_MEMTYPE_LPDDR3   15
#define SPDINFO_MEMTYPE_LPDDR4   16
#define SPDINFO_MEMTYPE_LPDDR4X   17
#define SPDINFO_MEMTYPE_DDR5   18
#define SPDINFO_MEMTYPE_LPDDR5   19
#define SPDINFO_MEMTYPE_DDR5_NVDIMM_P   20
#define SPDINFO_MEMTYPE_LPDDR5X   21
#define SPDINFO_DDR2_EPP_PROFILE_ABBR   0xA1
#define SPDINFO_DDR2_EPP_PROFILE_FULL   0XB1
#define MAX_XMP3_PROFILE_NAME_LEN   16
#define MAX_XMP3_PROFILES   5

Enumeration Type Documentation

Return code for SysInfoDll_GetMemSPDInfo.

Enumerator:
SPDINFO_SUCCESS 
SPDINFO_ACCESS_DENIED 

Access denied.

SPDINFO_INIT_DIRECTIO 

DirectIO driver (diretcio32.sys or directio64.sys) was unable to be loaded.

SPDINFO_DIRECTIO_VERSION 
SPDINFO_ACCESS_COLLISION 

Failed to create named mutex, possibly already exists.


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. See Microsoft Documentation http://msdn.microsoft.com/en-us/library/windows/desktop/aa366770.aspx
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)
SYSINFO_API int SysInfoDll_GetMemTemps ( MEMTEMPINFO pMemTempInfo  ) 

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

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