Files
oldlinux-files/docs/interrupts/int-html/rb-4553.htm
2024-02-19 00:23:35 -05:00

230 lines
13 KiB
HTML

<HTML>
<HEAD>
<TITLE>Int 2F/AX=1684h/BX=0026h
</TITLE>
<META NAME="Description" CONTENT="
Int 2F/AX=1684h/BX=0026h - MS Windows - VPOWERD - GET API ENTRY POINT -
AX = 1684h
BX = 0026h (virtual device ID for VPOWERD device) (see #02642)
ES:DI = 0000h:0000h
Return: ES:DI - VxD API entry point (see #02664)
0000h:0000h if the VxD does not support API in current mode
SeeAlso: AX=1684hDEVICE API,INT 20Windows
(Table 02664)
Call VPOWERD.VXD entry point with:
AX = function number
">
<META NAME="robots" CONTENT="none">
</HEAD>
<BODY BGCOLOR="#FFD0A0">
<center>
<h2>Int 2F/AX=1684h/BX=0026h
</h2>
</center><p>
<table border=1 cellpadding=3 cellspacing=1>
<td>
<a href="rb-4552.htm" tppabs="http://www.ctyme.com/intr/rb-4552.htm">
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
<a href="rb-4554.htm" tppabs="http://www.ctyme.com/intr/rb-4554.htm">
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
</td></table><p>
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
<h3><font color=#C00040>MS Windows - VPOWERD - GET API ENTRY POINT</font></h3>
<PRE>
AX = 1684h
BX = 0026h (virtual device ID for VPOWERD device) <a href="rb-4534.htm#Table2642" tppabs="http://www.ctyme.com/intr/rb-4534.htm#Table2642">(see #02642)</a>
ES:DI = 0000h:0000h<br>
<p><b>Return:</b><br>ES:DI -> VxD API entry point (see #02664)
0000h:0000h if the VxD does not support API in current mode
</PRE>
<p><b>See Also:</b>
<a href="rb-4501.htm" tppabs="http://www.ctyme.com/intr/rb-4501.htm">AX=1684h"DEVICE API"</a> - <a href="rb-2473.htm" tppabs="http://www.ctyme.com/intr/rb-2473.htm">INT 20"Windows"</a>
<PRE>
<p>
<a name=table2664></a>
(Table 02664)
Call VPOWERD.VXD entry point with:.
AX = function number
0000h get VPOWERD version
<p><b>Return:</b><br>DX = 0000h
AX = version (AH = major, AL = minor)
0001h get APM BIOS version
<p><b>Return:</b><br>DX:AX = APM BIOS version
0002h get current power management level
<p><b>Return:</b><br>DX:AX = power management level
0003h enable/disable power management (see INT 15/AX=5308h)
??? = new state of power management
<p><b>Return:</b><br>DX:AX = 0000h:0000h if successful
else error code <a href="rb-4553.htm#Table2665" tppabs="http://www.ctyme.com/intr/rb-4553.htm#Table2665">(see #02665)</a>
0004h set power state (see INT 15/AX=5307h)
<p><b>Return:</b><br>DX:AX = 0000h:0000h if successful
else error code <a href="rb-4553.htm#Table2665" tppabs="http://www.ctyme.com/intr/rb-4553.htm#Table2665">(see #02665)</a>
0005h set system power status
<p><b>Return:</b><br>DX:AX = 0000h:0000h if successful
else error code <a href="rb-4553.htm#Table2665" tppabs="http://www.ctyme.com/intr/rb-4553.htm#Table2665">(see #02665)</a>
0006h restore APM power-on defaults (see INT 15/AX=5309h)
<p><b>Return:</b><br>DX:AX = 0000h:0000h if successful
else error code <a href="rb-4553.htm#Table2665" tppabs="http://www.ctyme.com/intr/rb-4553.htm#Table2665">(see #02665)</a>
0007h get power status (see INT 15/AX=530Ah)
<p><b>Return:</b><br>???
0008h get APM 1.1 power state (see INT 15/AX=530Ch)
<p><b>Return:</b><br>???
0009h invoke OEM APM function
??? -> buffer containing parameters for INT 15/AX=5380h
<p><b>Return:</b><br>DX:AX = 0000h:0000h or error code (see #02665)
buffer updated if successful
000Ah register power handler
???
<p><b>Return:</b><br>DX:AX = 0000h:0000h or error code
000Bh deregister power handler
???
<p><b>Return:</b><br>DX:AX = 0000h:0000h or error code (see #02665)
000Ch Win32 get system power status
000Dh Win32 set system power status
else
<p><b>Return:</b><br>DX = 0000h
AX = 00FFh
</PRE>
<p><b>See Also:</b>
#02663 - #02666
<PRE>
<p>
<a name=table2665></a>
(Table 02665)
Values for VPOWERD.VXD error code:
000000xxh APM error code
000000FFh function number out of range
80000001h ??? (service 05h)
80000002h ??? (service 0Dh)
80000003h specified NULL buffer pointer (service 07h,08h,09h)
80000005h ??? (service 03h)
80000006h ??? (service 04h)
80000007h ??? (service 05h)
80000008h ??? (service 05h)
80000009h out of memory (service 0Ah)
8000000Ah ??? (service 0Ah)
8000000Bh invalid power handler (service 0Bh)
8000000Ch unsupported/disabled??? function
</PRE>
<p><b>See Also:</b>
#02664 - #01290
<p>
<b>Category: <a href="cat-049.htm" tppabs="http://www.ctyme.com/intr/cat-049.htm">
Windows</a>
- <a href="int-2f-1.htm" tppabs="http://www.ctyme.com/intr/int-2F.htm">
Int 2Fh</a>
- <a href="alpha-m.htm" tppabs="http://www.ctyme.com/intr/alpha-m.htm">
M</a>
</b><p><p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
<table border=1 cellpadding=3 cellspacing=1>
<td>
<a href="rb-4552.htm" tppabs="http://www.ctyme.com/intr/rb-4552.htm">
<img src="lup.gif" tppabs="http://graphics.ctyme.com/gif/lup.gif" border=0 alt=Prev></a>
<a href="rb-4554.htm" tppabs="http://www.ctyme.com/intr/rb-4554.htm">
<img src="ldown.gif" tppabs="http://graphics.ctyme.com/gif/ldown.gif" border=0 alt=Next></a>
<a href="javascript:if(confirm('http://www.ctyme.com/rbrown.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/rbrown.htm'" tppabs="http://www.ctyme.com/rbrown.htm">
<img src="lhome.gif" tppabs="http://graphics.ctyme.com/gif/lhome.gif" border=0 alt=Ralf Brown Page></a>
<td><a href="int.htm" tppabs="http://www.ctyme.com/intr/int.htm">Interrups</a></td>
<td><a href="cat.htm" tppabs="http://www.ctyme.com/intr/cat.htm">Categories</a></td>
<td><a href="alpha.htm" tppabs="http://www.ctyme.com/intr/alpha.htm">Contents</a></td>
</td></table><p>
<!-- Bottom Link Start -->
<center>
<p><table border=1 bgcolor="#ffff99"><tr><td>
<table border=0 height=80>
<tr align=center><td width="65">
<a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">
<img src="tip.gif" tppabs="http://graphics.ctyme.com/gif/tip.gif" ALT="Sponsors" height="40" width="40"></a>
<br><a href="javascript:if(confirm('http://www.ctyme.com/sponsor.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/sponsor.htm'" tppabs="http://www.ctyme.com/sponsor.htm">Shopping</a>
</td><td width="65">
<a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">
<img src="comment.gif" tppabs="http://graphics.ctyme.com/gif/comment.gif" ALT="Forum" height="40" width="40"></a>
<br><a href="javascript:if(confirm('http://talk.ctyme.com/webx.cgi?13@@.ee6b2be \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://talk.ctyme.com/webx.cgi?13@@.ee6b2be'" tppabs="http://talk.ctyme.com/webx.cgi?13@@.ee6b2be">Forum</a>
</td><td width="65">
<a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">
<img src="mail.gif" tppabs="http://graphics.ctyme.com/gif/mail.gif" ALT="email" height="40" width="40"></a>
<br><a href="javascript:if(confirm('http://www.ctyme.com/mail.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/mail.htm'" tppabs="http://www.ctyme.com/mail.htm">EMail</a>
</td><td width="65">
<a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">
<img src="toc.gif" tppabs="http://graphics.ctyme.com/gif/toc.gif" ALT="Index" height="40" width="40"></a>
<br><a href="javascript:if(confirm('http://www.ctyme.com/map.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/map.htm'" tppabs="http://www.ctyme.com/map.htm">Index</a>
</td><td width="65">
<a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">
<img src="home.gif" tppabs="http://graphics.ctyme.com/gif/home.gif" ALT="Home" height="40" width="40"></a>
<br><a href="javascript:if(confirm('http://www.ctyme.com/ \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/'" tppabs="http://www.ctyme.com/">Home</a>
</td><td width="90">
<center>
<FORM ACTION="https://secure.paypal.com/cgi-bin/webscr" tppabs="https://secure.paypal.com/cgi-bin/webscr" METHOD="POST" traget="_blank">
<INPUT TYPE="hidden" NAME="cmd" VALUE="_xclick">
<INPUT TYPE="hidden" NAME="business" VALUE="marc@perkel.com">
<INPUT TYPE="hidden" NAME="return" VALUE="http://www.perkel.com">
<INPUT TYPE="hidden" NAME="item_name" VALUE="Donation To Support this Site">
<INPUT TYPE="hidden" NAME="no_intl" VALUE="1">
<INPUT TYPE="image" SRC="x-click-but7.gif" tppabs="http://images.paypal.com/images/x-click-but7.gif" vspace=9
NAME="submit" ALT="Make payments with PayPal - it's fast, free and secure!">
</FORM>
</td></tr></table></td></tr></table><p>
<center>
<p>
<a href="javascript:if(confirm('http://www.ctyme.com/hosting/index.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.ctyme.com/hosting/index.htm'" tppabs="http://www.ctyme.com/hosting/index.htm" target="_blank">
<img src="ctymehost.gif" tppabs="http://graphics.ctyme.com/gif/ctymehost.gif"
border=3 height=60 width=468></a>
<p>
<!-- Ad End --->
</center>
<FORM ACTION="http://service.bfast.com/bfast/click" target="_blank">
<INPUT TYPE="hidden" NAME="siteid" VALUE="30472466" >
<INPUT TYPE="hidden" NAME="bfpage" VALUE="horizontal">
<INPUT TYPE="hidden" NAME="bfmid" VALUE="27253343" >
<INPUT TYPE="hidden" NAME="num" VALUE="30">
<table bgcolor=white border=3><tr><td>
<table bgcolor=white border=0>
<tr><td>
<IMG SRC="serve-bfmid=27253343&siteid=30472466&bfpage=horizontal.gif" tppabs="http://service.bfast.com/bfast/serve?bfmid=27253343&siteid=30472466&bfpage=horizontal" BORDER="0" WIDTH="1" HEIGHT="1" align=right NOSAVE >
<center><b>Search the web with Google</b></center>
</td></tr><tr><td>
<TABLE cellpadding=0 cellspacing=5 bgcolor="#FFFFFF">
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr><tr><td>
<IMG SRC="affiliate_logo.gif" tppabs="http://www.google.com/affiliates/affiliate_logo.gif" border="0" ALT="Google" align="center">
<INPUT TYPE=text name=q size=30 maxlength=255 value="">
<INPUT type=submit name=sa VALUE="Go">
</td></tr>
<tr><td bgcolor="#0000cc"><IMG SRC="cleardot.gif" tppabs="http://www.google.com/images/cleardot.gif" height=1 border="0" ALT="Google"></td></tr></TABLE>
</td></tr></table>
</tr></td></table>
</FORM>
</center>
<p><img src="rbline.gif" tppabs="http://graphics.ctyme.com/gif/rbline.gif" width="100%" alt="------"><p>
<!-- Bottom Link End -->
</BODY>
</HTML>