次の方法で共有


SerializeSize (SAPI 5.3)

Microsoft Speech API 5.3

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.