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 770
Страница 1: ...05L1739 S05L 1739 00...
Страница 6: ...vi...
Страница 10: ...x Preface...
Страница 133: ...Function Declaration C Language Smapi BIOS function typedef WORD far SMB FPINPARM FPOUTPARM SMAPI BIOS B 57...
Страница 148: ...IBM Part Number 05L1739 Printed in the United States of America...