Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgsetdpmsmode.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgsetdpmsmode.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgsetdpmsmode.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgsetdpmsmode.html on line 8

PgSetDPMSMode()

Set the display power-saving mode

Synopsis:

int PgSetDPMSMode (int mode );

Library:

ph

Description:

This function sets the display power-saving mode based on VESA Display Power Management System standards.

Mode Meaning Description
0 On The display is in full operation (Video:Active, Horizontal: Sync Pulses, Vertical: Sync Pulses)
1 Stand-by An optional state of minimal power reduction with shortest display recovery time (Video: Blanked, Horizontal Sync: off, Vertical Sync: Pulses)
2 Suspend A state with substantial power reduction, but the display recovery time can be longer than that of the stand-by state (Video: Blanked, Horizontal Sync: Pulses, Vertical Sync: off)
4 Off The display is consuming the lowest level of power and is nonoperational (Video: Blanked, Horizontal Sync: off, Vertical Sync: off)

Returns:

0
Success.
-1
An error occurred; errno is set.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pg/pgsetdpmsmode.html on line 144

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pg/pgsetdpmsmode.html on line 144