ITParticipant::get_Streams method

[get_Streams is not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The get_Streams method creates a collection of streams associated with the current participant. This method is 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

pVariant [out]

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 ITParticipant::get_Streams. The application must call Release on the ITStream interface to free resources associated with it.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.0 or later
Header
Ipmsp.h
Library
Uuid.lib
DLL
Tapi3.dll

See also

ITParticipant

EnumerateStreams

IEnumStream

ITCollection

ITStream