다음을 통해 공유


IAMDroppedFrames::GetAverageFrameSize

 
Microsoft DirectShow 9.0

IAMDroppedFrames::GetAverageFrameSize

The GetAverageFrameSize method retrieves the average size of the frames that the filter has captured.

Syntax

  HRESULT GetAverageFrameSize(
  long *plAverageSize
);

Parameters

plAverageSize

[out]  Pointer to a variable that receives the average frame size, in bytes, since the filter began streaming.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Remarks

If the device does not report a value, the method might succeed but return zero in the plAverageSize parameter.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also