This method is specific to version 3, or higher, of the OS/2 operating system.
This method extracts the object pointer for an instance represented by the given handle.
#define INCL_WINWORKPLACE
#include <os2.h>
M_WPObject *somSelf; /* Pointer to the WPObject class object. */
HOBJECT hObject; /* Persistent object handle. */
WPObject *pObject; /* Pointer to the object instance. */
pObject = _wpclsObjectFromHandle(somSelf,
hObject);