Delen via


IProviderSyncServices::DeserializeChangeBatch

Creates an ISyncChangeBatch object and initializes it by using serialized data.

HRESULT DeserializeChangeBatch( 
  const BYTE * pbChangeBatch,
  DWORD cbChangeBatch,
  ISyncChangeBatch ** ppChangeBatch);

Parameters

  • pbChangeBatch
    [in, size_is(cbChangeBatch)] The serialized change batch data.
  • cbChangeBatch
    [in] The number of bytes in pbChangeBatch.
  • ppChangeBatch
    [out] Returns the newly created change batch object.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • E_POINTER

  • SYNC_E_DESERIALIZATION when the serialize data is not valid.

  • SYNC_E_INVALID_OPERATION when this object is not initialized.

  • SYNC_E_ID_FORMAT_MISMATCH when an ID contained in the serialized data is not in the format specified by the ID format schema that is used to initialize this object.

See Also

Reference

IProviderSyncServices Interface