ITMultiTrackTerminal::RemoveTrackTerminal method (tapi3if.h)
The RemoveTrackTerminal method removes the specified terminal from the collection of track terminals that belong to the multitrack terminal on which the method was called. If the track terminal has been selected on a stream, it should be unselected first.
Syntax
HRESULT RemoveTrackTerminal(
[in] ITTerminal *pTrackTerminalToRemove
);
Parameters
[in] pTrackTerminalToRemove
Pointer to the ITTerminal interface of the terminal to remove.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The pTrackTerminalToRemove parameter is not a valid pointer. |
|
Insufficient memory exists to perform the operation. |
Remarks
The primary use of the RemoveTrackTerminal method is cleanup during the terminal selection process. For example, if a track has been created, but it has not been selected on a stream, this method can be used to remove the track.
The actual action performed by this method may vary in the actual implementation of the terminal. For instance, calling this method on a File Recording Terminal causes the corresponding file data stream to be removed from the file. Calling this method on a File Playback Terminal fails because its set of terminals is determined solely by file configuration and cannot be changed by the caller.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | tapi3if.h (include Tapi3.h) |
Library | Uuid.lib |
DLL | Tapi3.dll |