IChangeBatchCallback::OnAddingItemToBatch
Indicates whether the specified item should be included in a change batch.
HRESULT OnAddingItemToBatch(
IItemMetadata *pItemMetadata,
BOOL *pfShouldIncludeInBatch);
Parameters
- pItemMetadata
[in] The metadata for the item.
- pfShouldIncludeInBatch
[out] Returns TRUE if the item should be included in the change batch. Otherwise, FALSE.
Return Value
S_OK
E_POINTER
Provider-specific error codes
Remarks
The metadata storage service calls OnAddingItemToBatch one time for each item change that is detected during change detection. When OnAddingItemToBatch is called, it can inspect the item change metadata and indicate whether the change should be included in the change batch.