This structure contains fields for the DiveQueryCaps function.
typedef struct _DIVE_CAPS { ULONG ulStructLen; /* Length of structure. */ ULONG ulPlaneCount; /* Number of defined planes. */ BOOL fScreenDirect; /* Direct screen access. */ BOOL fBankSwitched; /* Direct access requires bank-switch. */ ULONG ulDepth; /* Number of bits per pel. */ ULONG ulHorizontalResolution; /* Screen width in pels. */ ULONG ulVerticalResolution; /* Screen height in pels. */ ULONG ulScanLineBytes; /* Screen scan line (in bytes). */ FOURCC fccColorEncoding; /* Color encoding of the screen. */ ULONG ulApertureSize; /* Size of VRAM aperture in bytes. */ ULONG ulInputFormats; /* Number of input color formats. */ ULONG ulOutputFormats; /* Number of output color formats. */ ULONG ulFormatLength; /* Length of format buffer. */ PVOID pFormatData; /* Pointer to color-format buffer FOURCCs. */ } DIVE_CAPS; typedef DIVE _ CAPS * PDIVE _ CAPS ;