Platform SDK: TAPI |
Creates a new agent session for the input ACD group and address.
HRESULT CreateSession( ITACDGroup *pACDGroup, ITAddress *pAddress, ITAgentSession **ppAgentSession );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_POINTER | The ppAgentSession parameter is not a valid pointer. |
E_UNEXPECTED | Failed to open a line for the target Address. |
E_INVALIDARG | The pACDGroup or pAddress argument is not valid. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
TAPI_E_TIMEOUT | The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes. |
Some telephone environments require a personal identification number to open a session. See CreateSessionWithPIN.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
Library: Use T3iid.lib.
ITAgent, ITACDGroup, ITAddress, ITAgentSession, IEnumAgentSession, ITAgent::CreateSessionWithPIN