Microsoft DirectX 9.0

IMSVidVideoRenderer::get_FramesPerSecond

This topic applies to Windows XP only.

The get_FramesPerSecond method retrieves the current frame rate.

Syntax

HRESULT get_FramesPerSecond(
    long* pVal
  );

Parameters

pVal

[out] Pointer to a variable that receives the frame rate, in frames per second.

Return Value

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

See Also