Microsoft DirectX 9.0

IVMRFilterConfig9::GetRenderingPrefs

The GetRenderingPrefs method retrieves the current set of rendering preferences being used by the VMR.

Syntax

HRESULT GetRenderingPrefs(
  DWORD*  pdwRenderFlags
);

Parameters

pdwRenderFlags

[out]  Pointer to DWORD that receives a VMR9RenderPrefs value indicating the current rendering preferences.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
E_POINTER pdwRenderingPrefs is invalid.
VFW_E_WRONG_STATE No allocator-presenter object is currently loaded.

Requirements

Include D3d9.h, Vmr9.h.

See Also