This instance method returns a unique, persistent object handle for the given object.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ HOBJECT hObject; /* Persistent handle for the given object. */ hObject = _wpQueryHandle(somSelf);