VCEANCB_CopyDIB

ImperX VCEANCB Functions

VCEANCB_CopyDIB

The VCEANCB_CopyDIB function creates duplicate of Device Independent Bitmap (DIB).

VCEANCB_Error VCEANCB_GetDIB (
 HGLBAL hSrcDIB, // Source DIB
 HGLOBAL* phDestDIB // Destination DIB
);

Parameter:

hSrcDIB
[in] Handle to source DIB.
phDestDIB
[out] Pointer to destination DIB handle.

Return values:

If function succeeds, the return value is VCEANCB_Err_Success.

If function fails, the return value can be one of the following values.

VCEANCB_Err_badArgument hSrcDIB handle or phDestDIB pointer is bad (possibly NULL).
VCEANCB_Err_noMemory Not enough memory.

Remarks:

To free memory used by DIB call VCEANCB_ReleaseDIB.

See also:

VCEANCB_GetDIB, VCEANCB_ReleaseDIB, VCEANCB_DrawDIB, VCEANCB_SaveDIBToFile