Description:
SetCurrentCFG sets the current video configuration 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 = SetCurrentCFG(*pAdapter, *pMonitor);