typedef struct {
WORD deType;
WORD deWidth;
WORD deHeight;
WORD deWidthBytes;
BYTE dePlanes;
BYTE deBitsPixel;
DWORD deReserved1;
DWORD deDeltaScan;
LPBYTE delpPDevice;
DWORD deBitsOffset;
WORD deBitsSelector;
WORD deFlags;
WORD deVersion;
LPBITMAPINFO deBitmapInfo;
void (FAR *deBeginAccess)();
void (FAR *deEndAccess)();
DWORD deDriverReserved;
} DIBENGINE;
Specifies the dimensions, attributes, and bits of the PDEVICE for the DIB engine.
Value | Meaning |
---|---|
MINIDRIVER (0x0001) | Display driver |
PALETTIZED (0x0002) | Palletized device |
SELECTEDDIB (0x0004) | DIB Section |
OFFSCREEN (0x0008) | Offscreen surface (use with VRAM) |
BUSY (0x0010) | Disable the frame buffer |
NOT_FRAMEBUFFER (0x0020) | Example: 8514/a or ATIM8 |
FIVE6FIVE (0x0040) | 16 bpp, 565 color format. |
NON64KBANK (0x0080) | Bank size is not 64K |
VRAM (0x8000) | Physical surface (video memory) |
BANKEDVRAM (0x4000) | VFlatD simulated |
BANKEDSCAN (0x2000) | VFlatD simulated (rasters may cross bank boundary) |
PALETTE_XLAT (0x1000) | Background palette xlat |
VGADITHER (0x0800) | Dither to VGA colors (first 8, and last 8) |
CTCHANGE (0x0400) | Color table has been changed |
DITHER256 (0x0200) | Dither to 256 fixed colors |