Serialize (SAPI 5.3)
Speech API 5.3
void Serialize( T *pSerEvent );
- [ out ] The event for the passed back serialization. Member elParamType must not be SPET_LPARAM_IS_OBJECT.
None, however member SerializedlParam is set to the size of the serialized structure.
Copies an existing event instance and then serializes the new instance.
HRESULT Serialize( T **ppCoMemSerEvent, ULONG *pcbSerEvent );
- [ out ] The event for the passed back serialization. It is allocated and serialized. When no longer required, it must be manually freed with CoMemTaskFree().
- [ out ] The number of bytes allocated for the serialization. On an error, it will be zero.
|S_OK||Serialization completed successfully.|
|E_OUTOFMEMORY||Exceeded available memory.|