This class method allows the system to build the class default icon for a given class.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the class object for which you want the class icon data. */ PICONINFO pIconInfo; /* Pointer to a buffer. */ ULONG ulReturn; /* Buffer size or number of bytes required to hold the output data. */ ulReturn = _wpclsQueryIconData(somSelf, pIconInfo);