ISpStream::GetBaseStream (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

ISpStream::GetBaseStream

ISpStream::GetBaseStream retrieves the encapsulated IStream object for an instance of the ISpStream object.

HRESULT GetBaseStream(
   IStream   **ppStream
);

Parameters

ppStream
Address of a pointer to the encapsulated IStream that contains an audio stream or text stream.

Return values

Value Description
S_OK Function completed successfully.
E_POINTER The ppStream pointer is invalid or bad.
SPERR_STREAM_CLOSED The stream is closed or unavailable.
S_FALSE The ISpStream instance has not been initialized with an IStream.