ISyncFullEnumerationChangeBatch::GetClosedLowerBoundItemId

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

Syntax

HRESULT GetClosedLowerBoundItemId(
  BYTE * pbClosedLowerBoundItemId,
  DWORD * pcbIdSize);

Parameters

  • pbClosedLowerBoundItemId
    [in, out, unique, size_is(*pcbIdSize)] Returns the closed lower bound on item IDs that require destination versions.

  • pcbIdSize
    [in, out] Specifies the number of bytes in pbClosedLowerBoundItemId. Returns the number of bytes required for the size of pbClosedLowerBoundItemId when pcbIdSize is too small, or the number of bytes written to pbClosedLowerBoundItemId.

Return Value

  • S_OK

  • E_POINTER

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbClosedLowerBoundItemId 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