Share via


ISyncFullEnumerationChangeBatch::GetClosedUpperBoundItemId

Gets the closed upper bound on item IDs that require destination versions.

HRESULT GetClosedUpperBoundItemId(
  BYTE * pbClosedUpperBoundItemId,
  DWORD * pcbIdSize);

Parameters

  • pbClosedUpperBoundItemId
    [in, out, unique, size_is(*pcbIdSize)] Returns the closed upper bound on item IDs that require destination versions.
  • pcbIdSize
    [in, out] Specifies the number of bytes in pbClosedUpperBoundItemId. Returns the number of bytes required for the size of pbClosedUpperBoundItemId when pcbIdSize is too small, or the number of bytes written to pbClosedUpperBoundItemId.

Return Value

  • S_OK

  • E_POINTER

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbClosedUpperBoundItemId is too small. In this case, the required number of bytes is stored in pcbIdSize.

  • SYNC_E_INVALID_OPERATION when no group was added to the batch or a group was opened but not ended.

Remarks

When the destination provider processes this change batch, it must provide version information for all its items that have item IDs that fall between the specified closed lower bound and closed upper bound, inclusive.

See Also

Reference

ISyncFullEnumerationChangeBatch Interface