次の方法で共有


Helper SpEventSerializeSize (SAPI 5.3)

Microsoft Speech API 5.3

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

Return values

Size, in bytes, required to serialize the event.