Microsoft DirectX 9.0

VMRMONITORINFO Structure

This topic applies to Windows XP only.

The VMRMONITORINFO structure is used in the IVMRMonitorConfig::GetAvailableMonitors method to set and retrieve information about monitors on the system (VMR-7 only).

Syntax

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

Members

guid

VMRGUID structure that specifies the monitor.

rcMonitor

Specifies the monitor's rectangle.

hMon

Handle to the monitor.

dwFlags

Flags as defined for the MONITORINFOEX structure in GDI. Currently the only valid flag is MONITORINFOF_PRIMARY, which indicates the primary display monitor.

szDevice

Null-terminated string containing the device name.

szDescription

Null-terminated string containing the device description.

Requirements

Requires Microsoft® Windows® XP.

See Also