Microsoft DirectX 8.1 (C++)

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.

See Also