Microsoft DirectX 8.1 (C++)

VMRMONITORINFO Structure

The VMRMONITORINFO structure is used in the IVMRMonitorConfig::GetAvailableMonitors method to set and retrieve information about monitors on the system.

Requirements

Requires Microsoft® Windows® XP.

Syntax

typedef struct tagVMRMONITORINFO {
    VMRGUID guid;
    RECT rcMonitor;
    HMONITOR hMon;
    DWORD dwFlags;
    wchar_t szDevice[ 32 ];
    wchar_t szDescription[ 256 ];
    }  VMRMONITORINFO;

Members

guid

GUID object specifying the monitor.

rcMonitor

Specifies the monitor’s rectangle.

hMon

Handle to the monitor.

dwFlags

Flags. Described in MONITORINFOEX; currently only MONITORINFOF_PRIMARY.

szDevice[VMRDEVICENAMELEN]

Null-terminated string containing the device name.

szDescription[VMRDEVICEDESCRIPTIONLEN]

Null-terminated string containing the device description.

See Also