Helper SpEventSerializeSize (SAPI 5.4)
Microsoft Speech API 5.4
SpEventSerializeSize
SpEventSerializeSize calculates the required size of a buffer to serialize an event. The call must specify which type of serialized event.
Found in: sphelper.h
template <class T>
inline ULONG SpEventSerializeSize(
const SPEVENT *pEvent
);
Parameters
- pEvent
[in] The event structure to calculate the size of. pEvent must be either SPSERIALIZEDEVENT or SPSERIALIZEDEVENT64.
Return values
Size, in bytes, required to serialize the event.