This function opens a display engine instance.
#include <dive.h>
HDIVE *phDiveInst; /* Display engine instance. */
BOOL fNonScreenInstance; /* Using physical display hardware. */
PVOID ppFrameBuffer; /* Linear address of the VRAM. */
ULONG rc; /* Return codes. */
rc = DiveOpen(phDiveInst, fNonScreenInstance,
ppFrameBuffer);