wpLockObject
Appearance
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method locks an object by incrementing the lock count of the receiving object so that it cannot be made dormant.
Syntax
wpLockObject(somSelf)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
Returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time to lock the object.
Example Code
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ wpLockObject(somSelf);