ITStreamControl::EnumerateStreams method (tapi3if.h)

The EnumerateStreams method enumerates currently available media streams. Provided for C and C++ applications. Automation client applications such as Visual Basic must use the get_Streams method.

Syntax

HRESULT EnumerateStreams(
  [out] IEnumStream **ppEnumStream
);

Parameters

[out] ppEnumStream

Pointer to pointer for IEnumStream enumerator.

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 ppEnumStream parameter is not a valid pointer.

Remarks

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

Requirements

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

See also

ITStreamControl

Media Service Provider Interface (MSPI)