Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/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 |
| Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment |