This function returns static information about the characteristics and capabilities of the display hardware and available driver functions. This function can be called without performing a DiveOpen call.
#include <dive.h> PDIVE_CAPS pDiveCaps; /* Pointer to data structure. */ ULONG ulPlaneBufNum; /* Indicates plane. */ ULONG rc; /* Return codes. */ rc = DiveQueryCaps(pDiveCaps, ulPlaneBufNum);