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.
#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);