Microsoft DirectX 9.0

IVMRFilterConfig::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 VMRRenderPrefs value indicating the current rendering preferences.

Return Values

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

Error Code Description
E_POINTER pdwRenderingPrefs is invalid
VFW_E_WRONG_STATE No allocator-presenter object is currently loaded.

See Also