This instance method is called to allow the object to query its current icon.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ HPOINTER hptrQryIcon; /* Success indicator. */ hptrQryIcon = _wpQueryIcon(somSelf);