Partager via


CBaseControlVideo::get_AvgTimePerFrame (Compact 2013)

3/26/2014

Retrieves the average time per frame.

Syntax

HRESULT get_AvgTimePerFrame(
  REFTIME* pAvgTimePerFrame
);

Parameters

  • pAvgTimePerFrame
    Average time per frame.

Return Value

Returns NOERROR if successful or E_OUTOFMEMORY if there is not enough memory available.

Remarks

This member function implements the IBasicVideo::get_AvgTimePerFrame method.

It calls the pure virtual CBaseControlVideo::GetVideoFormat member function to retrieve the VIDEOINFOHEADER structure from the derived class.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlVideo Class