ITSubStream::get_Stream method (tapi3if.h)

The get_Stream method retrieves the pointer to the ITStream interface for the current substream.

Syntax

HRESULT get_Stream(
  [out] ITStream **ppITStream
);

Parameters

[out] ppITStream

Pointer to current ITStream interface.

Return value

This method can return one of these values.

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

Remarks

TAPI calls the AddRef method on the ITStream interface returned by ITSubStream::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

ITSubStream

Media Service Provider Interface (MSPI)