wpQueryAutoLockup
Appearance
This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method returns the current value of the automatic lockup option.
Syntax
_wpQueryAutoLockup(somSelf)
Parameters
- somSelf (WPDesktop *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPDesktop.
Returns
- rc (BOOL) - returns
- Current value of the automatic lockup option.
- TRUE Automatic lockup selected.
- FALSE Manual lockup selected.
How to Override
This method should not be overridden.
Usage
This method can be called at any time in order to determine the automatic lockup option for the current desktop.
Remarks
This method is not covered in the provided text.
Example Code
#define INCL_WINWORKPLACE
#include <os2.h>
WPDesktop *Desktop;
BOOL bAutoLockup;
Desktop = _wpclsQueryObjectFromPath("<WP_DESKTOP>");
bAutoLockup = _wpQueryAutoLockup(Desktop);