Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reports the set of changes that were retrieved during a call to IAnchorSyncProvider::EnumerateChanges.
HRESULT ReportChanges(
ULONG cItemChanges,
const ITEM_CHANGE *pItemChanges,
BYTE *pAnchor,
ULONG cbAnchor);
Parameters
- cItemChanges
[in] The number of items in pItemChanges.
- pItemChanges
[in, unique] A collection of ITEM_CHANGE structures that contain metadata about changes to items in the local replica.
- pAnchor
[in, unique, size_is(cbAnchor)] A byte array that represents an enumeration anchor, such as a timestamp. Changes that occurred since this anchor are enumerated.
- cbAnchor
[in] Specifies the number of bytes in pAnchor.
Return Value
S_OK.
E_INVALIDARG when pItemChanges is not empty while cItemChanges is zero, or pItemChanges is empty while pItemChanges is greater than zero.
SYNC_E_PFX_INVALID_OPERATION when a previous attempt at enumerating changes has not finished, or IAnchorChangeDetectionCallback::ReportItemsAndAutodetectDeletes was previously called in the same session.