This instance method is called to allow the object to permanently set its current icon.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ PICONINFO pIconInfo; /* Pointer to an ICONINFO structure containing an icon specification. */ BOOL rc; /* Success indicator. */ rc = _wpSetIconData(somSelf, pIconInfo);