L_CopyBitmapData
#include "l_bitmap.h"
L_INT EXT_FUNCTION L_CopyBitmapData(pBitmapDst, pBitmapSrc)
pBITMAPHANDLE pBitmapDst; |
/* pointer to the destination bitmap handle */ |
pBITMAPHANDLE pBitmapSrc; |
/* pointer to the source bitmap handle */ |
Copies image data from one bitmap handle to another. Before calling this function, the target bitmap handle must be initialized and allocated.
Parameter |
Description |
pBitmapDst |
Pointer to the bitmap handle referencing the destination bitmap. |
pBitmapSrc |
Pointer to the bitmap handle referencing the source bitmap. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
The target bitmap handle must accurately identify the copied data. Therefore, the initialization function must specify the same bits per pixel, width, and height as the source.
Required DLLs and Libraries
LTKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.
See Also
Functions: |
|
|
|
Topics: |
|
|
|
|
Example
For a short example, refer to L_CreateBitmap. For complete sample code, refer to the FEATURE3 example.