## Display Device Driver Reference for OS/2

[prev][next][parent][TOC]

### AddMonitorData - Syntax

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);