Microsoft DirectX 9.0

VMRMode Enumeration

The VMRMode enumeration type is used in calls to the IVMRFilterConfig::GetRenderingMode and IVMRFilterConfig::SetRenderingMode methods to retrieve or specify the VMR-7's rendering mode.

Syntax

enum VMRMode{
  VMRMode_Windowed  = 0x00000001,
  VMRMode_Windowless  = 0x00000002,
  VMRMode_Renderless  = 0x00000004,
  VMRMode_Mask  = 0x00000007
};

Elements

VMRMode_Windowed

Indicates windowed mode.

VMRMode_Windowless

Indicates windowless mode.

VMRMode_Renderless

Indicates renderless mode.

VMRMode_Mask

Bitwise OR of all above flags; this is not a valid value to pass to SetRenderingMode.

Remarks

These modes are mutually exclusive. VMRMode_Renderless means that the application is providing its own allocator-presenter, which is responsible for all drawing to the screen. VMRMode_Windowed is the default mode of the VMR. See VMR Modes of Operation for more information on the rendering modes.

Requirements

Requires Microsoft® Windows® XP.

See Also