DuplicateBitmap

#include "BIDIB.H"

 

HBITMAP CALLBACK DuplicateBitmap(HBITMAP hbmOld)

Description

Duplicates a device dependent bitmap(DDB).

Parameters

HBITMAP

hbmOld

Original bitmap.

Return values

Handle to the duplicated DDB or NULL if fail.

Programming notes

It has no affect on the original bitmap. This is a memory intensive operation.

Requirements

Header :     Declared in BiDIB.h; include BiDIB.h.

Library :    Use BiDIB.lib.

DLLs :       BiDIB.dll.

Code example

None at present.