| You are reading help file online using chmlib.com | 
 Microsoft Speech SDK 
SAPI 5.1
Microsoft Speech SDK 
SAPI 5.1
ISpStream::SetBaseStream initializes the ISpStream object with the format of the IStream and an object to encapsulate.
HRESULT SetBaseStream(
    IStream                *pStream,
    REFGUID                 rguidFormat,
    const WAVEFORMATEX     *pWaveFormatEx
);
| Value | Description | 
|---|---|
| S_OK | Function completed successfully. | 
| E_INVALIDARG | One or more parameters are invalid. | 
| SPERR_ALREADY_INITIALIZED | The object has already been initialized. | 
| FAILED (hr) | Appropriate error message. | 
| You are reading help file online using chmlib.com |