Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

CSpEvent::SerializeSize

CSpEvent::SerializeSize calculates the required size of a buffer to serialize an event. The instance must be either SPSERIALIZEDEVENT or SPSERIALIZEDEVENT64.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>ULONG SerializeSize( void );</strong> </pre>

Parameters

Return Values

Remarks

Due to a compiler issue, CSpEvent::SerializeSize may not be used with Visual Studio 6. Use SpEventSerializeSize instead.