Sample in C Language
//
// Input Parameter Structure
//
typedef struct {
BYTE
SMBIN_FUNC
;
BYTE
SMBIN_SUB_FUNC ;
WORD
SMBIN_PARM_1
;
WORD
SMBIN_PARM_2
;
WORD
SMBIN_PARM_3
;
DWORD
SMBIN_PARM_4
;
DWORD
SMBIN_PARM_5
;
} INPARM, PINPARM ;
//
// Output Parameter Structure
//
typedef struct {
BYTE
SMBOUT_RC
;
BYTE
SMBOUT_SUB_RC
;
WORD
SMBOUT_PARM_1
;
WORD
SMBOUT_PARM_2
;
WORD
SMBOUT_PARM_3
;
DWORD
SMBOUT_PARM_4
;
DWORD
SMBOUT_PARM_5
;
} OUTPARM, POUTPARM ;
typedef INPARM
far FPINPARM ;
typedef OUTPARM
far FPOUTPARM ;
SMAPI BIOS
B-9
Содержание ThinkPad 600
Страница 1: ......
Страница 6: ...vi...
Страница 10: ...x Preface...
Страница 58: ...2 36 System Board...
Страница 72: ...3 14 Subsystems...
Страница 76: ...A 4...
Страница 133: ...Function Declaration C Language SMAPI BIOS function typedef WORD far SMB FPINPARM FPOUTPARM SMAPI BIOS B 57...
Страница 142: ...C 2 SMAPI BIOS...