ITTerminalSupport::get_StaticTerminals method (tapi3if.h)
The get_StaticTerminals method creates a collection of currently available static terminals. This method is provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateStaticTerminals method.
Syntax
HRESULT get_StaticTerminals(
[out] VARIANT *pVariant
);
Parameters
[out] pVariant
Pointer to a VARIANT, which TAPI will fill in with an ITCollection of ITTerminal interface pointers.
Return value
This method can return one of these values.
Value | Meaning |
---|---|
|
Method succeeded. |
|
The pVariant parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Remarks
TAPI calls the AddRef method on the ITTerminal interface returned by ITTerminalSupport::get_StaticTerminals. The application must call Release on the ITTerminal interface to free resources associated with it.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |