This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method reads the image data for the image file and stores it in the instance data for the object. If the image data has already been read, this method simply returns TRUE. It does not refresh the image data.
#define INCL_WINWORKPLACE #include <os2.h> WPBitmap *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL32 rc; /* Success indicator. */ rc = _wpReadImageFile(somSelf);