Udostępnij za pośrednictwem


IProviderSyncServices::DeserializeFullEnumerationChangeBatch

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

HRESULT DeserializeFullEnumerationChangeBatch(
  const BYTE * pbChangeBatch,
  DWORD cbChangeBatch,
  ISyncFullEnumerationChangeBatch ** 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