ISyncChangeBatchBase::GetIsLastBatch method (winsync.h)

Gets a flag that indicates whether the changes in this change batch are the last batch of a synchronization session.

Syntax

HRESULT GetIsLastBatch(
  [out] BOOL *pfLastBatch
);

Parameters

[out] pfLastBatch

Returns a flag that indicates whether this batch is the last batch.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER

pfLastBatch is NULL.

Remarks

When returning a change batch in response to the IKnowledgeSyncProvider::GetChangeBatch method, the source provider must call SetLastBatch if the change batch is the last batch of changes.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ISyncChangeBatchBase Interface