Share via


IAMStats::AddValue

 
Microsoft DirectShow 9.0

IAMStats::AddValue

The AddValue method records a new value.

Syntax

  HRESULT AddValue(
  long lIndex
  double dValue
);

Parameters

lIndex

[in] Specifies the index of the statistic.

dValue

[in] Specifies the value to record.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_INVALIDARG Index out of range.

Requirements

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

Library: Use Strmiids.lib.

See Also