wpQueryRefreshRate
Appearance
This method is **specific to version 2.1, or higher, of the OS/2 operating system**.
This instance method **queries the current status-window update rate used by the power object when the automatic refresh option is enabled**.
Syntax
_wpQueryRefreshRate(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 (ULONG) - returns
- Refresh rate value defined in minutes.
Example Code
Declaration:
#define INCL_WINWORKPLACE #include <os2.h> WPPower *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG rc; /* Refresh rate value defined in minutes. */ rc = _wpQueryRefreshRate(somSelf);