This class method returns the object pointer for a given persistent object handle.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ HOBJECT hObject; /* Handle for a given object instance. */ WPObject *object; /* Pointer to the object. */ object = _wpclsQueryObject(somSelf, hObject);