wpSetPowerManagement - Syntax

This method is specific to version 2.1, or higher, of the OS/2 operating system.

This instance method provides the ability to enable or disable the OS/2 Power Management support.

#define INCL_WINWORKPLACE
#include <os2.h>

WPPower     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
BOOL         fPower;   /*  Power management flag. */
BOOL         rc;       /*  Success indicator. */

rc = _wpSetPowerManagement(somSelf, fPower);


[Back: wpSetPowerManagement]
[Next: wpSetPowerManagement Parameter - somSelf]