Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
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 iscurrently loaded. |
See Also