Deserialize (SAPI 5.3)
Speech API 5.3
CSpStreamFormat::Deserialize deserializes a stream and passes back a new stream.
HRESULT Deserialize( const BYTE *pBuffer, ULONG *pcbUsed );
- [in out] Buffer containing the serialized stream. After successfully completing the methods, pBuffer will also be set to class member m_pCoMemWaveFormatEx. If unsuccessful, class member m_guidFormatId is set to GUID_NULL.
- The number of bytes used for the stream.
|S_OK||Function completed successfully.|
|E_OUTOFMEMORY||Exceeded available memory.|