Microsoft DirectX 9.0

IVMRFilterConfig::GetRenderingMode

The GetRenderingMode method retrieves the rendering mode currently being used by the VMR.

Syntax

HRESULT GetRenderingMode(
  DWORD*  pMode
);

Parameters

pMode

[out]  Pointer to a DWORD that receives a VMRMode value indicating the current rendering mode.

Return Values

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

Error Code Description
E_POINTER pMode is invalid

See Also