ITStreamControl::get_Streams method (tapi3if.h)

The get_Streams method creates a collection of media streams currently available on the call. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateStreams method.

Syntax

HRESULT get_Streams(
  [out] VARIANT *pVariant
);

Parameters

[out] pVariant

Pointer to VARIANT containing an ITCollection of ITStream interface pointers.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_POINTER
The pVariant parameter is not a valid pointer.

Remarks

TAPI calls the AddRef method on the ITStream interface returned by ITStreamControl::get_Stream. The application must call Release on the ITStream interface to free resources associated with it.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)

See also

ITCollection

ITStream

ITStreamControl

Media Service Provider Interface (MSPI)