Make your own free website on Tripod.com
Up ] Docs Home ]

Call VPOWERD.VXD entry point with

Back ] Next ]

Data:
AX = function number
0000h get VPOWERD version
Return: DX = 0000h
AH = major version
AL = minor version
0001h get APM BIOS version
Return: DX:AX = APM BIOS version
0002h get current power management level
Return: DX:AX = power management level
0003h enable/disable power management (see INT 15/AX=5308h)
Data: ??? = new state of power management
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
0004h set power state (see INT 15/AX=5307h)
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
0005h set system power status
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
0006h restore APM power-on defaults (see INT 15/AX=5309h)
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
0007h get power status (see INT 15/AX=530Ah)
Return: ???
0008h get APM 1.1 power state (see INT 15/AX=530Ch)
Return: ???
0009h invoke OEM APM function
Data: ??? = buffer containing parameters for INT 15/AX=5380h
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
000Ah register power handler
Data: ???
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
000Bh deregister power handler
Data: ???
Return: DX:AX =
0000h:0000h = if successful
else - error code (see #02665)
000Ch Win32 get system power status
000Dh Win32 set system power status
else
Return: DX = 0000h
AX = 00FFh
See Also: #02663,#02666