Platform SDK: TAPI

ITQueue::get_MeasurementPeriod

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

HRESULT get_MeasurementPeriod(
  long *plPeriod
);

Parameters

plPeriod
[out, retval] Pointer to measurement period

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The plPeriod 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

ITQueue, put_MeasurementPeriod