Microsoft DirectX 9.0 |
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 VMR9RenderPrefs values specifying the rendering preferences.
Return Values
The method returns an HRESULT. Possible values include those in the following table.
Value | Description |
S_OK | The method succeeded. |
VFW_E_WRONG_STATE | No allocator-presenter is present. |
E_INVALIDARG | dwRenderFlags is invalid. |
Requirements
Include D3d9.h, Vmr9.h.
See Also