Microsoft DirectX 8.1 (C++)

IVMRFilterConfig::SetRenderingPrefs

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The SetRenderingPrefs method sets various application preferences related to video rendering.

Syntax

HRESULT SetRenderingPrefs(
  DWORD  dwRenderFlags
);

Parameters

dwRenderFlags

[in]  Double word containing a bitwise OR of VMRRenderPrefs values specifying the rendering preferences.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Error Code Description
VFW_E_WRONG_STATE No allocator-presenter is present.
E_INVALIDARG dwRenderFlags is invalid.

See Also