ITAgentHandlerEvent::get_AgentHandler method (tapi3.h)

The get_AgentHandler method gets the ITAgentHandler interface pointer.

Syntax

HRESULT get_AgentHandler(
  [out] ITAgentHandler **ppAgentHandler
);

Parameters

[out] ppAgentHandler

Pointer to the ITAgentHandler interface on which the event occurred.

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 ppAgentHandler parameter is not a valid pointer.

Remarks

TAPI calls the AddRef method on the ITAgentHandler interface returned by ITAgentHandlerEvent::get_AgentHandler. The application must call Release on the ITAgentHandler interface to free resources associated with it.

Requirements

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

See also

ITAgentHandler

ITAgentHandlerEvent