ITTAPICallCenter::EnumerateAgentHandlers method (tapi3.h)

The EnumerateAgentHandlers method enumerates agent handlers that are currently associated with the call center. Provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_AgentHandlers method.

Syntax

HRESULT EnumerateAgentHandlers(
  [out] IEnumAgentHandler **ppEnumHandler
);

Parameters

[out] ppEnumHandler

Pointer to IEnumAgentHandler enumerator.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The ppEnumHandler parameter is not a valid pointer.
E_INVALIDARG
The TAPI object has not been initialized.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

TAPI calls the AddRef method on the IEnumAgentHandler interface returned by tapi3.ittapicallcenter_enumerateagenthandlers. The application must call Release on the IEnumAgentHandler interface to free resources associated with it.

Requirements

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

See also

IEnumAgentHandler

ITTAPICallCenter

TAPI Object