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

CSpEvent::Deserialize

CSpEvent::Deserialize sets the current instance to the deserialized version of the specified event.

The current instance is cleared first. The original event is not modified.


template <class T>
HRESULT Deserialize(
   const   T   *pSerEvent,
   ULONG       *pcbUsed = NULL
   );

Parameters

pSerEvent
The serialized event.
pcbUsed
Optional parameter passing back the number of bytes of the instance. The default NULL does not pass back any value; TRUE, does.

Return values

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