Deserialize (SAPI 5.4)
Microsoft Speech API 5.4
CSpStreamFormat::Deserialize
CSpStreamFormat::Deserialize deserializes a stream and passes back a new stream.
HRESULT Deserialize(
const BYTE *pBuffer,
ULONG *pcbUsed
);
Parameters
- pBuffer
[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. - pcbUsed
The number of bytes used for the stream.
Return values
Value |
S_OK |
E_OUTOFMEMORY |