## Graphics Adapter Device Driver Reference

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

### GetAllMonitors

Select an item:

    Syntax
    Parameters
    Returns
    Remarks
    Glossary

Description:

GetAllMonitors retrieves all monitor definitions. These monitor definitions are defined in the MONITOR.DIF file.

    #include <svgadefs.h>

    MONITORINFO    *pMonitors;     /*  Pointer to the array of MONITORINFO data structures. */

    PULONG         pulBufferSize;  /*  Specifies the size of the pMonitors buffer, in bytes. */

    ULONG          rc;             /*  Return codes. */

    rc = GetAllMonitors(*pMonitors, pulBufferSize);