ITAgentSessionEvent::get_Session method (tapi3cc.h)

The get_Session method gets a pointer to the ITAgentSession on which the event occurred.

Syntax

HRESULT get_Session(
  [out] ITAgentSession **ppSession
);

Parameters

[out] ppSession

Pointer to the ITAgentSession interface.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_POINTER
The ppSession parameter is not a valid pointer.

Remarks

TAPI calls the AddRef method on the ITAgentSession interface returned by ITAgentSessionEvent::get_Session. The application must call Release on the ITAgentSession 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

See also

ITAgentSession

ITAgentSessionEvent