This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method sets the visual icon for this program to the appropriate custom or default icon.
#define INCL_WINWORKPLACE #include <os2.h> WPProgramFile *somSelf; /* Pointer to the object on which the method is being invoked. */ PFEA2LIST pfeal; /* Pointer to a list. */ BOOL rc; /* Success indicator. */ rc = _wpSetProgIcon(somSelf, pfeal);