Compartilhar via


VMR9Mode enumeration (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 VMR9Mode enumeration type specifies the rendering mode of the Video Mixing Renderer 9 (VMR-9) filter.

Syntax

typedef enum __MIDL___MIDL_itf_vmr9_0000_0010_0001 {
  VMR9Mode_Windowed = 0x1,
  VMR9Mode_Windowless = 0x2,
  VMR9Mode_Renderless = 0x4,
  VMR9Mode_Mask = 0x7
} VMR9Mode;

Constants

 
VMR9Mode_Windowed
Value: 0x1
Windowed mode.
VMR9Mode_Windowless
Value: 0x2
Windowless mode.
VMR9Mode_Renderless
Value: 0x4
Renderless mode.
VMR9Mode_Mask
Value: 0x7
Bitwise OR of all above flags; not used by applications.

Remarks

For a description of the various VMR-9 modes, see VMR Modes of Operation.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Enumerated Types

IVMRFilterConfig9::GetRenderingMode

IVMRFilterConfig9::SetRenderingMode