Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The EnumerateAgentSessions method enumerates the current agent sessions. This method is provided for C and C++ applications. Automation client applications, such as those written in Visual Basic, must use the get_AgentSessions method.
Syntax
HRESULT EnumerateAgentSessions(
[out] IEnumAgentSession **ppEnumAgentSession
);
Parameters
[out] ppEnumAgentSession
Pointer to an IEnumAgentSession agent session enumerator.
Return value
This method can return one of these values.
| Value | Meaning |
|---|---|
|
Method succeeded. |
|
The ppEnumAgentSession parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Remarks
TAPI calls the AddRef method on the IEnumAgentSession interface returned by ITAgent::EnumerateAgentSessions. The application must call Release on the IEnumAgentSession 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 |