ITAgentHandler::CreateAgent method (tapi3cc.h)
The CreateAgent method creates an Agent object.
Syntax
HRESULT CreateAgent(
[out] ITAgent **ppAgent
);
Parameters
[out] ppAgent
Pointer to the ITAgent interface.
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
Insufficient memory exists to perform the operation. |
|
The ppAgent parameter is not a valid pointer. |
|
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes. |
Remarks
TAPI calls the AddRef method on the ITAgent interface returned by ITAgentHandler::CreateAgent. The application must call Release on the ITAgent 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 |