wpclsObjectFromHandle
Appearance
This class method extracts the object pointer for an instance represented by the given handle. It is specific to version 3 or higher of the OS/2 operating system.
Syntax
pObject = _wpclsObjectFromHandle(somSelf, hObject);
Parameters
- somSelf (M_WPObject *) - input
- Pointer to the WPObject class object.
- hObject (HOBJECT) - input
- Persistent object handle.
Returns
- pObject (WPObject *) - returns
- Pointer to the object instance.
Value Description Non-NULL Pointer to the object instance. NULL Error occurred.
Remarks
Each base class must store the relationship between the object handles and the folders they reside in. Using HOBJECT for .INI files or files in which an application uses a rename/save/delete sequence is not supported.
Usage
This method can be called at any time to find the object pointer from a given handle.
How to Override
This method is generally not overridden.