Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The get_AgentHandlers method creates a collection of agent handlers that are currently associated with the call center. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateAgentHandlers method.
Syntax
HRESULT get_AgentHandlers(
[out] VARIANT *pVariant
);
Parameters
[out] pVariant
Pointer to a VARIANT containing an ITCollection of ITAgentHandler interface pointers.
Return value
This method can return one of these values.
| Value | Meaning |
|---|---|
|
Method succeeded. |
|
The pVariant parameter is not valid. |
|
Insufficient memory exists to perform the operation. |
|
The pVariant parameter is not a valid pointer. |
Remarks
TAPI calls the AddRef method on the ITAgentHandler interface returned by ITTAPICallCenter::get_AgentHandlers. The application must call Release on the ITAgentHandler interface to free resources associated with it.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | tapi3cc.h (include Tapi3.h) |
| Library | Uuid.lib |
| DLL | Tapi3.dll |