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
Summary of Contents for ThinkPad 770
Page 1: ...05L1739 S05L 1739 00...
Page 6: ...vi...
Page 10: ...x Preface...
Page 148: ...IBM Part Number 05L1739 Printed in the United States of America...