ITSubStreamControl::get_SubStreams method (tapi3if.h)

The get_SubStreams method creates a collection of substreams currently available. Provided for Automation client applications, such as those written in Visual Basic. C and C++ applications must use the EnumerateSubStreams method.

Syntax

HRESULT get_SubStreams(
  [out] VARIANT *pVariant
);

Parameters

[out] pVariant

Pointer to VARIANT containing an ITCollection of ITSubStream interface pointers.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_POINTER
The pVariant parameter is not a valid pointer.
E_UNEXPECTED
The call appears to have been shut down.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.

Remarks

TAPI calls the AddRef method on the ITSubStream interface returned by ITSubStreamControl::get_SubStreams. The application must call Release on the ITSubStream interface to free resources associated with it.

Requirements

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

See also

ITCollection

ITSubStreamControl

ITSubstream

Media Service Provider Interface (MSPI)