ISpStream::GetBaseStream

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

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.