Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The IVMRMonitorConfig interface is implemented by the VMR filter. Applications use this interface to determine the capabilities of the display devices on the system and to control which device is used to display the output. For example, if the system contains a hardware DVD decoder and the VMR is rendering the output from that decoder, then on a multi-monitor system, an application must use this interface to specify the display device that is connected to the decoder.
The VMR supports a maximum of four display devices.
In addition to the methods inherited from IUnknown, the IVMRMonitorConfig interface exposes the following methods:
Method | Description |
GetAvailableMonitors | Retrieves information about the monitors currently available on the system. |
GetDefaultMonitor | Retrieves the default monitor that all future instances of the VMR will use for video playback. |
GetMonitor | Retrieves the monitor that this instance of the VMR is using for video playback. |
SetDefaultMonitor | Specifies the default monitor that all future instances of the VMR should use for video playback. |
SetMonitor | On a multi-monitor system, specifies the monitor that this instance of the VMR should use for video playback. |