SerializeSize

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

CSpEvent::SerializeSize

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



ULONG SerializeSize( void );

Parameters

None.

Return values

Size, in bytes, required to serialize the event.

Remarks

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