Platform SDK: TAPI

ITAgent::get_MeasurementPeriod

Gets the measurement period (in seconds) for which the switch and/or implementation stores and calculates information. For example, get_NumberOfACDCalls returns the number of calls the agent handled; get_MeasurementPeriod indicates if this value referenced the calls handled in the last hour, day, month, etc.

HRESULT get_MeasurementPeriod(
  long *plPeriod
);

Parameters

plPeriod
[out, retval] Measurement period.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The plPeriod parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
TAPI_E_TIMEOUT The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITAgent, put_MeasurementPeriod