wpSetBitmapData - Syntax

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method sets the bitmap data for the image file. This method will convert the bitmap data to the appropriate format and update the actual image data file.

#define INCL_WINWORKPLACE
#include <os2.h>

WPBitmap     *somSelf;      /*  Pointer to the object on which the method is being invoked. */
PBYTE         pBitmapData;  /*  Buffer containing the image data in OS/2 Bitmap format. */
ULONG         ulSize;       /*  The size of the buffer. */
BOOL32        rc;           /*  Success indicator. */

rc = _wpSetBitmapData(somSelf, pBitmapData,
       ulSize);


[Back: wpSetBitmapData]
[Next: wpSetBitmapData Parameter - somSelf]