Share via


IAMDroppedFrames::GetAverageFrameSize

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

HRESULT GetAverageFrameSize(
  long* plAverageSize
);

Parameters

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

Return Value

Returns an HRESULT value. The following table shows some possible return values.

Value 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

Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

IAMDroppedFrames Interface