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 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