Jump to content

wpQueryAutoRefresh

From EDM2
Revision as of 22:34, 1 September 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpQueryAutoRefresh}} This method is specific to version 2.1, or higher, of the OS/2 operating system. This instance method queries the current automatic refresh value for the power object's status window. ==Syntax== _wpQueryAutoRefresh(somSelf) ==Parameters== ;''somSelf'' (WPPower *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPPower. ==Returns== ;''rc'' (BOOL) - returns :Automatic re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

This instance method queries the current automatic refresh value for the power object's status window.

Syntax

_wpQueryAutoRefresh(somSelf)

Parameters

somSelf (WPPower *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPPower.

Returns

rc (BOOL) - returns
Automatic refresh of the power status window.
TRUE: Automatic refresh of the power status window enabled.
FALSE: Automatic refresh of the power status window disabled.

Example Code

Declaration:

#define INCL_WINWORKPLACE
#include <os2.h>

WPPower      *somSelf;  /* Pointer to the object on which the method is being invoked. */
BOOL         rc;        /* Automatic refresh of the power status window. */

rc = _wpQueryAutoRefresh(somSelf);

Related Methods