C Language
WORD GetSystemID()
{
SMB
SmapiEntry ;
INPARM
MyInput ;
OUTPARM
MyOutput ;
WORD
Rc = -1 ;
if (GetSmapiEntry(&SmapiEntry)) {
MyInput.SMBIN_FUNC
= ;
MyInput.SMBIN_SUB_FUNC
= ;
if (SmapiEntry(&MyInput, &MyOutput)) {
// No System ID is available
} else {
Rc = MyOutput.SMBOUT_PARM_1 ;
}
} else {
// No SMAPI BIOS interface.
// Try to use CBIOS INT 15.
}
return Rc ;
}
B-64 SMAPI BIOS
Summary of Contents for ThinkPad 600
Page 1: ......
Page 6: ...vi...
Page 10: ...x Preface...
Page 58: ...2 36 System Board...
Page 72: ...3 14 Subsystems...
Page 76: ...A 4...
Page 142: ...C 2 SMAPI BIOS...