IVMRMonitorConfig9 interface (vmr9.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
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.
The VMR-9 supports a maximum of 16 display devices.
Inheritance
The IVMRMonitorConfig9 interface inherits from the IUnknown interface. IVMRMonitorConfig9 also has these types of members:
Methods
The IVMRMonitorConfig9 interface has these methods.
IVMRMonitorConfig9::GetAvailableMonitors The GetAvailableMonitors method retrieves information about the monitors currently available on the system. |
IVMRMonitorConfig9::GetDefaultMonitor The GetDefaultMonitor method retrieves the default monitor that all future instances of the VMR will use for video playback. |
IVMRMonitorConfig9::GetMonitor The GetMonitor method retrieves the monitor that this instance of the VMR is using for video playback. |
IVMRMonitorConfig9::SetDefaultMonitor The SetDefaultMonitor method specifies the default monitor that all future instances of the VMR should use for video playback. |
IVMRMonitorConfig9::SetMonitor On a multi-monitor system, the SetMonitor method specifies the monitor that the VMR should use when it creates the Direct3D device. |
Remarks
Include DShow.h and D3d9.h before Vmr9.h.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2 [desktop apps only] |
Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
Target Platform | Windows |
Header | vmr9.h |