ITQueue::get_CurrentLongestWaitTime method (tapi3cc.h)

The get_CurrentLongestWaitTime method gets the longest time a current call (still in the queue) has been waiting (in seconds) during the current measurement period. The measurement period is switch or implementation specific. (See get_MeasurementPeriod.).

Syntax

HRESULT get_CurrentLongestWaitTime(
  [out] long *plWaitTime
);

Parameters

[out] plWaitTime

Pointer to 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