wpSetPowerConfirmation - 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 power object confirmation message displayed when a Standby or Suspend request is made from the pop-up menu of the power object.

#define INCL_WINWORKPLACE
#include <os2.h>

WPPower     *somSelf;   /*  Pointer to the object on which the method is being invoked. */
BOOL         fConfirm;  /*  Confirmation message. */

wpSetPowerConfirmation(somSelf, fConfirm);


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