Previous Next

Call SetThreadExecutionState in Presentation Applications

[This is preliminary documentation and subject to change.]

Best Practice   (Designed for Microsoft® Windows® Logo)

Presentation applications should call SetThreadExecutionState when switching into and out of slide-show mode.

Remarks

This best practice allows the operating system to keep the computer awake and the display turned on while the event is being handled. The operating system can then put the computer to sleep immediately thereafter.

See Also

Pretesting OnNow/ACPI support.

http://www.microsoft.com/hwdev/onnow.htm for information about the OnNow initiative and technical specifications.