wpIsLocked
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method indicates whether the object can be made dormant.
Syntax
_wpIsLocked(somSelf)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
Returns
- rc (BOOL) - returns
- A flag indicating whether the object can be made dormant.
- TRUE The object is locked and cannot be made dormant.
- FALSE The object is not locked and can be made dormant.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL rc; /* A flag indicating whether the object can be made dormant. */ rc = _wpIsLocked(somSelf);