| Herd Software Development
DaVinci Graphics Library
DaVinci Documentation Home Search Order

Windows graphics formats

The Windows operating system supports four different formats for images, each with their own purposes and usages.

Format designation Handle
Variable type
Windows API function for generation Windows API function for representation
Metafiles HMETAFILE CreateMetaFile PlayMetaFile
Enhanced metafiles HENHMETAFILE CreateEnhMetaFile PlayEnhMetaFile
DIBs (Device Independend Bitmaps) HGLOBAL GetDIBits StretchDIBits
DDBs (Device Dependent Bitmaps) HBITMAP LoadBitmap