[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        GetDisplayInfoData -- query displayinfo record parameters (v36)

   SYNOPSIS
        result = GetDisplayInfoData(handle, buf, size, tagID, [ID])
        D0                          A0      A1   D0    D1     [D2]

        ULONG GetDisplayInfoData(DisplayInfoHandle, ubyte *, ulong, ulong, ulong);

   FUNCTION
        GetDisplayInfoData() fills a buffer with data meaningful to the
        DisplayInfoRecord pointed at by your valid handle. The data type
        that you are interested in is indicated by a tagID for that chunk.
        The types of tagged information that may be available include:

        DTAG_DISP: (DisplayInfo)   - properties and availability information.
        DTAG_DIMS: (DimensionInfo) - default dimensions and overscan info.
        DTAG_MNTR: (MonitorInfo)   - type, position, scanrate, and compatibility
        DTAG_NAME: (NameInfo)      - a user friendly way to refer to this mode.

   INPUTS
        handle - displayinfo handle
        buf    - pointer to destination buffer
        size   - buffer size in bytes
        tagID  - data chunk type
        ID     - displayinfo identifier, optionally used if handle is NULL

   RESULT
        result - if positive, number of bytes actually transferred
                 if zero, no information for ID was available

   BUGS

   SEE ALSO
        finddisplayinfo(), nextdisplayinfo()
        graphics/displayinfo.h