ISyncFilter::Serialize
When overridden by a derived class, serializes the filter to an array of bytes.
The first time Sync Framework calls this method, it specifies NULL for pbSyncFilter and 0 for pcbSyncFilter. In this situation, the implementation must return the correct size for the item ID in pcbSyncFilter, and an error code of HRESULT_FROM_WIN32(ERROR_MORE_DATA).
When this method is implemented, the developer must also implement ISyncFilterDeserializer::DeserializeSyncFilter to deserialize the serialized data.
If it is not necessary to serialize the filter, this method can return E_NOTIMPL.
Show: