Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Deserialize (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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

ValueDescription
S_OKFunction completed successfully.
E_OUTOFMEMORYExceeded available memory.
Show:
© 2015 Microsoft