Share via


ISyncChangeBatchAdvanced::GetUpperBoundItemId

Gets the highest item ID that is represented in the knowledge of any group in the change batch.

Syntax

HRESULT GetUpperBoundItemId(
  BYTE * pbItemId, 
  DWORD * pcbIdSize);

Parameters

  • pbItemId
    [in, out, unique, size_is(*pcbIdSize)] Returns the highest item ID that is represented in the knowledge of any group in the change batch.

  • pcbIdSize
    [in, out] Specifies the number of bytes in pbItemId. Returns the number of bytes that are necessary to retrieve the ID when pbItemId is too small, or returns the number of bytes written.

Return Value

  • S_OK

  • E_POINTER

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pbItemId is too small. In this situation, the required number of bytes is returned in pcbIdSize.

See Also

Reference

ISyncChangeBatchAdvanced Interface