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 ;
}
ThinkPad 560Z SMAPI BIOS
A-63
Содержание ThinkPad 560Z
Страница 1: ...xxxxxxx xxxx xxxx xx...
Страница 52: ...2 34 ThinkPad 560Z System Board...
Страница 62: ...3 10 ThinkPad 560Z Subsystems...
Страница 118: ...Function Declaration C Language Smapi BIOS function typedef WORD far SMB PINPARM POUTPARM A 56 ThinkPad 560Z SMAPI BIOS...
Страница 126: ...A 64 ThinkPad 560Z SMAPI BIOS...
Страница 134: ...IBM Part Number xxxxxxx Printed in the United States of America...