CSpEvent::Serialize copies an event instance and then serializes the new instance. The new instance must be based on SPSERIALIZEDEVENT or SPSERIALIZEDEVENT64
void Serialize(
T *pSerEvent
);
None, however member SerializedlParam is set to the size of the serialized structure.
Copies an existing event instance and then serializes the new instance.
HRESULT Serialize(
T **ppCoMemSerEvent,
ULONG *pcbSerEvent
);
| Value | Description |
|---|---|
| S_OK | Serialization completed successfully. |
| E_OUTOFMEMORY | Exceeded available memory. |