Compartilhar via


Advanced Display Driver Power Management (Windows CE 5.0)

Send Feedback

The GETPOWERMANAGEMENT and SETPOWERMANAGEMENT display driver escape codes allow an application to put a display driver into various power management modes, independent of GDI calls that use the display driver's DrvPowerHandler function.

The most common use for these escape codes is in starting and stopping screen saver programs, when the display is turned off while the OS continues running. This is different than the processing that occurs during a suspend and resume cycle, when the OS calls the display driver's DrvPowerHandler function to shut down the display.

Applications must also pass a VIDEO_POWER_MANAGEMENT structure to ExtEscape when they use these escape codes.

The available power states, defined in the VIDEO_POWER_STATE enumeration, are VideoPowerOn, VideoPowerStandBy, VideoPowerSuspend, and VideoPowerOff. The meaning of these states depends on a display driver's implementation.

If you pass the VIDEO_POWER_STATE enumeration VideoPowerOff to ExtEscape, the driver will now put the device into a different power state (POWER_STATE_IDLE), instead of just turning off the monitor. This functionality is different from previous versions of the display driver power management functions.

The MQ200 driver in %_WINCEROOT%\Public\Common\OAK\Drivers\Display\MQ200 supports these escape codes.

See Also

Display Driver Escape Codes | Contrast Control | Display Driver Development Concepts | Display Driver Extensions | Display Driver Samples

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.