Microsoft DirectX 9.0

IVMRMonitorConfig9 Interface

The IVMRMonitorConfig9 interface is implemented by the Video Mixing Renderer Filter 9 (VMR-9). 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.

In addition to the methods inherited from IUnknown, the IVMRMonitorConfig9 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.

Requirements

Include D3d9.h, Vmr9.h.