Share via


IDirectDrawMediaStream::GetTimePerFrame

 
Microsoft DirectShow 9.0

IDirectDrawMediaStream::GetTimePerFrame

  • Note   This interface is deprecated. New applications should not use it.

Retrieves the average frames per second from a video stream.

Syntax

  HRESULT GetTimePerFrame(
  STREAM_TIME *pFrameTime
  );

Parameters

pFrameTime

[out] Pointer to a STREAM_TIME value that indicates the average time per frame in 100-nanosecond units. (See Multimedia Streaming Data Types.)

Return Values

Returns S_OK if successful or E_POINTER if the pointer is invalid.

See Also