This method is called to allow the class object to specify the default icon to be used for its instances.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ HPOINTER hptrSuccess; /* Success indicator. */ hptrSuccess = _wpclsQueryIcon(somSelf);