Share via


SpEventSerializeSize

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function calculates the size of the buffer required to serialize the specified event.

Syntax

inline ULONG SpEventSerializeSize(
  const SPEVENT* pEvent
);

Parameters

  • pEvent
    [in] Pointer to an SPEVENT structure containing the event to serialize.

Return Value

Size, in bytes, required to serialize the event. The serialized event will be rendered in an SPSERIALIZEDEVENT or SPSERIALIZEDEVENT64 structure.

Requirements

Header sphelper.h
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

SAPI Functions