Platform SDK: TAPI

ITAgentHandler::CreateAgent

Creates an Agent object.

HRESULT CreateAgent(
  ITAgent **ppAgent
);

Parameters

ppAgent
[out, retval] Pointer to the ITAgent interface.

Return Values

Value Meaning
S_OK Method succeeded.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_POINTER The ppAgent parameter is not a valid pointer.
TAPI_E_TIMEOUT The operation failed because the TAPI 3.0 DLL timed it out. The timeout interval is two minutes.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Tapi3.h.
  Library: Use T3iid.lib.

See Also

ITAgentHandler, CreateAgentWithID