ITQueue::get_AverageWaitTime method (tapi3cc.h)

The get_AverageWaitTime method gets the average time in the queue (in seconds) for a call during the current measurement period. The measurement period is switch or implementation specific. (See get_MeasurementPeriod.)

Syntax

HRESULT get_AverageWaitTime(
  [out] long *plWaitTime
);

Parameters

[out] plWaitTime

Pointer to the average wait time.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_POINTER
The plWaitTime is not a valid pointer.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
TAPI_E_TIMEOUT
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes.

Requirements

Requirement Value
Target Platform Windows
Header tapi3cc.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

ITQueue