ITAgentSession::get_State method (tapi3.h)

The get_State method gets the current state of this session.

Syntax

HRESULT get_State(
  [out] AGENT_SESSION_STATE *pSessionState
);

Parameters

[out] pSessionState

Pointer to an AGENT_SESSION_STATE.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_POINTER
The pSessionState parameter is not a valid pointer.

Requirements

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

See also

AGENT_SESSION_STATE

ITAgentSession

put_State