Great. What I recall happens is that the Windows 2000 APM driver calls
the APM bios function 0x0B (Get PM Event) every second and, should the
APM bios be aware of an event (such as that the power button has been
pressed) it signals this in the return value of the function.
Thereafter, the Windows 2000 APM driver is expected to call the APM
bios again to determine the details of the event and thereafter, if it
can, respond to it by e.g. shutting the OS down, entering standby or
suspend state, as appropriate. At a rough guess, we're talking about having the APM bios signal PM event 0x06 (Power Status Change Notification). When I get some time, I try looking more through http://www.phamhoaiviet.com/archives%5Cebooks%5Capmv12.rtf. Flavio Visentin wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1I guess the question is whether it's possible for the hardware to tell Windows 2000 to shut down?The answer is YES FOR SURE. If you press the power button the system cleanly shut down.The question is: which is the event generated by the power button that triggers the shut down? - -- Flavio Visentin | \|||/ | @/0.0\@ | \ - / +------------------oOOo---oOOo------------------ There are only 10 types of people in this world: those who understand binary, and those who don't. GPG Key: http://www.zipman.it/gpgkey.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCf+/4usUmHkh1cnoRAoXBAJ4/9YhZXS1nwUUCek4LWi4DLnpGQACeJU1P rVz+muvcSXoVfHpUCm/e1L4= =aYOu -----END PGP SIGNATURE----- _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel |
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel