Function RTSMBIOSGetStructure
RTSMBIOSGetStructure parses the SMBIOS data tables for a specific entry type:
const void * RTSMBIOSGetStructure(BYTE Type, int Index);
ParametersTypeSpecifies the table entry type to return. For example, value 0 would return a structure of type RTSMBIOS_BIOS_Info.
Index1-based index of the structure of type Type to return. Some structure types may appear several times.
return valueA pointer to the requested structure or NULL if no such structure was found.
Example:
RTSMBIOS_BIOS_Info * S = (RTSMBIOS_BIOS_Info *) RTSMBIOSGetStructure(0, 1);
if (S)
printf("\nRTSMBIOS_BIOS_Info(1):\n"
"Vendor: %s\n", RTSMBIOSGetString(S, &S->Vendor));
System Management BIOS (SMBIOS)
Function RTSMBIOSGetString
|