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
Flavio Visentin wrote:
-----BEGIN PGP SIGNED MESSAGE-----
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?
| \ - /
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)
-----END PGP SIGNATURE-----
Qemu-devel mailing list