ISpStream::GetBaseStream (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

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

ValueDescription
S_OKFunction completed successfully.
E_POINTERThe ppStream pointer is invalid or bad.
SPERR_STREAM_CLOSEDThe stream is closed or unavailable.
S_FALSEThe ISpStream instance has not been initialized with an IStream.
Show: