This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method returns the default status view of the current power object when Advanced Power Management (APM) is enabled.
#define INCL_WINWORKPLACE #include <os2.h> WPPower *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulDefStatus; /* Flag indicating the default status view. */ ulDefStatus = _wpQueryDefStatusView(somSelf);