This method is specific to version 2.1, or higher, of the OS/2 operating system.
This instance method is called in order to give the data file a chance to set the icon that corresponds to its associated default view.
#define INCL_WINWORKPLACE #include <os2.h> WPDataFile *somSelf; /* Pointer to the object on which the method is being invoked. */ wpSetAssociatedFileIcon(somSelf);