ITAgentSession::get_Agent method (tapi3cc.h)
The get_Agent method gets a pointer to the ITAgent interface associated with this session.
Syntax
HRESULT get_Agent(
[out] ITAgent **ppAgent
);
Parameters
[out] ppAgent
pointer to 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. |
Remarks
TAPI calls the AddRef method on the ITAgent interface returned by ITAgentSession::get_Agent. 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 |