Data Structures | Defines | Enumerations | Functions

SMBIOS APIs

Data Structures

struct  SI_PROCINFO
struct  RAMINFO_SMBIOS
struct  SYSINFO_SMBIOS
struct  RAMINFO_SMBIOS_EX
struct  SYSINFO_GENERIC_ENTRIES

Defines

#define SMB_VSHORT_STRINGLEN   32
#define SMB_STRINGLEN   64
#define MAXSYSINFOGENERIC   20

Enumerations

enum  SMB_STATUS {
  SMBERR_SUCCESS, SMBERR_MEMALLOC, SMBERR_INIT_DIRECTIO, SMBERR_NO_SMBIOS,
  SMBERR_ACCESS_DENIED, SMBERR_FAILURE, SMBERR_BUFFER_TOO_SMALL
}

Functions

SYSINFO_API int SysInfoDll_GetSystemInfo_SMBIOS (SYSINFO_SMBIOS *SysInfo)
 Call this function to return system information via SMBIOS (System Management BIOS).
SYSINFO_API int SysInfoDll_GetSystemInfo_SMBIOS_RAMInfo (RAMINFO_SMBIOS_EX *RAMInfo, int *ioNumRAMInfo)
 Call this function to return RAM information via SMBIOS (System Management BIOS).

Define Documentation

#define SMB_VSHORT_STRINGLEN   32
#define SMB_STRINGLEN   64
#define MAXSYSINFOGENERIC   20

Enumeration Type Documentation

enum SMB_STATUS
Enumerator:
SMBERR_SUCCESS 
SMBERR_MEMALLOC 
SMBERR_INIT_DIRECTIO 
SMBERR_NO_SMBIOS 
SMBERR_ACCESS_DENIED 
SMBERR_FAILURE 
SMBERR_BUFFER_TOO_SMALL 

Function Documentation

SYSINFO_API int SysInfoDll_GetSystemInfo_SMBIOS ( SYSINFO_SMBIOS SysInfo  ) 

Call this function to return system information via SMBIOS (System Management BIOS).

Parameters:
[out] SysInfo Pointer to a structure to store the SMBIOS information
Returns:
0 if successful, otherwise an error code (see SMB_STATUS)
SYSINFO_API int SysInfoDll_GetSystemInfo_SMBIOS_RAMInfo ( RAMINFO_SMBIOS_EX RAMInfo,
int *  ioNumRAMInfo 
)

Call this function to return RAM information via SMBIOS (System Management BIOS).

Note:
Use this function if there are more than MAXRAMMODULES memory slots
Parameters:
[out] RAMInfo Pointer to a structure to store the SMBIOS RAM information
[in,out] ioNumRAMInfo The size of the RAMInfo array. On return, contains the actual number of items in the array. If buffer is not big enough SMBERR_BUFFER_TOO_SMALL will be returned.
Returns:
0 if successful, otherwise an error code (see SMB_STATUS)
 All Data Structures Files Functions Variables Enumerations Enumerator Defines