Lenovo ThinkPad 560E TP 560Z Technical Reference Manual - Page 63

Appendix A. System Management API (SMAPI) BIOS Overview, Get System Event Global Condition

Page 63 highlights

Appendix A. System Management API (SMAPI) BIOS Overview What Is SMAPI BIOS A-3 Header Image A-4 Calling Convention A-6 Parameter Structure A-6 Sample in Assembler Language A-7 Sample in C Language A-8 Calling Convention Pseudo Code A-9 Return Codes A-11 Function Description A-12 System Information Service A-12 Get System Identification A-12 Get CPU Information A-13 Get Display Device Information A-14 Get Power Management Module Information A-16 Get System Current Status A-17 Get Video Information A-18 Get Refresh Rate Capability A-19 System Configuration Service A-21 Get Display Device State A-21 Set Display Device State A-23 Get Pointing Device State A-24 Set Pointing Device State A-25 Get Hotkey Sticky/Lock A-26 Set Hotkey Sticky/Lock Support A-27 Power Management Service A-28 Get Power Management Mode A-28 Set Power Management Mode A-29 Get Timer Control A-30 Set Timer Control A-32 Event Bit Definition A-33 Get System Event Global Condition A-34 Set System Event Global Condition A-35 Get System Event 1 Condition A-36 Set System Event 1 Condition A-37 Get System Event 2 Condition A-38 Set System Event 2 Condition A-39 Get System Timer A-40 Set System Timer A-41 Get Hibernation Timer A-42 Set Hibernation Timer A-43 © Copyright IBM Corp. 1998 A-1

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134

Appendix A.
System Management API
(SMAPI) BIOS Overview
What Is SMAPI BIOS?
........................
A-3
Header Image
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-4
Calling Convention
. . . . . . . . . . . . . . . . . . . . . . . . . .
A-6
Parameter Structure
. . . . . . . . . . . . . . . . . . . . . . .
A-6
Sample in Assembler Language
...............
A-7
Sample in C Language
....................
A-8
Calling Convention Pseudo Code
................
A-9
Return Codes
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
A-11
Function Description
. . . . . . . . . . . . . . . . . . . . . . . .
A-12
System Information Service
..................
A-12
Get System Identification
..................
A-12
Get CPU Information
....................
A-13
Get Display Device Information
..............
A-14
Get Power Management Module Information
.......
A-16
Get System Current Status
.................
A-17
Get Video Information
....................
A-18
Get Refresh Rate Capability
................
A-19
System Configuration Service
.................
A-21
Get Display Device State
..................
A-21
Set Display Device State
..................
A-23
Get Pointing Device State
..................
A-24
Set Pointing Device State
..................
A-25
Get Hotkey Sticky/Lock
...................
A-26
Set Hotkey Sticky/Lock Support
..............
A-27
Power Management Service
..................
A-28
Get Power Management Mode
...............
A-28
Set Power Management Mode
...............
A-29
Get Timer Control
......................
A-30
Set Timer Control
......................
A-32
Event Bit Definition
.......................
A-33
Get System Event Global Condition
............
A-34
Set System Event Global Condition
............
A-35
Get System Event 1 Condition
...............
A-36
Set System Event 1 Condition
...............
A-37
Get System Event 2 Condition
...............
A-38
Set System Event 2 Condition
...............
A-39
Get System Timer
......................
A-40
Set System Timer
......................
A-41
Get Hibernation Timer
....................
A-42
Set Hibernation Timer
....................
A-43
Copyright IBM Corp. 1998
A-1