This method is specific to version 3, or higher, of the OS/2 operating system.
This class method sets the icon information for a given object.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ PICONINFO pIconInfo; /* Pointer to the icon information structure. */ BOOL rc; /* Success indicator. */ rc = _wpclsSetIconData(somSelf, pIconInfo);