Herd Software Development
DaVinci Graphics Library
DaVinci Documentation
Creates a copy of a memory block allocated using GlobalAlloc. (DIB handles used by DaVinci and Leonardo are derived from this type).
HGLOBAL API CopyHandle(HGLOBAL hSource)
hSource HGLOBAL DIB handle of the memory area to be copied.
If successful, the return value is the handle of a memory block reserved by GlobalAlloc containing an exact byte copy of the data taken from hSource, otherwise it is NULL. Errors are usually attributable to insufficient memory.
CopyMetaFile. should be used to copy metafiles
CopyEnhMetaFile. should be used to copy enhanced metafiles