Description:
GetCurrentCFG gets the current video configuration stored in the Registry.
#include <svgadefs.h> ADAPTERINFO *pAdapter; /* Pointer to the ADAPTERINFO data structure. */ MONITORINFO *pMonitor; /* Pointer to the MONITORINFO data structure. */ ULONG rc; /* Return codes. */ rc = GetCurrentCFG(*pAdapter, *pMonitor);