Description:
AddMonitorData adds a monitor definition to the VIDEOCFG.DLL monitor definitions database. The monitor definition is also written to the MONITOR.DIF file.
#include <svgadefs.h> MONITORINFO *pNewMonitorInfo; /* Pointer to the MONITORINFO data structure. */ ULONG rc; /* Return codes. */ rc = AddMonitorData(*pNewMonitorInfo);