IAsynchronousNotifyingChangeApplierTarget::SaveChangeWithChangeUnits
Saves an item change that contains unit change changes to the item store.
HRESULT SaveChangeWithChangeUnits(
ISyncChange * pChange,
ISaveChangeWithChangeUnitsContext * pSaveContext);
Parameters
- pChange
[in] The item change to apply.
- pSaveContext
[in] Information about the change to be applied.
Return Value
S_OK
Provider-determined error codes
Remarks
When SaveChangeWithChangeUnits is called, the provider must take one of the following actions:
Return a success code from the method and later call IAsynchronousNotifyingChangeApplierTargetCallback::SaveChangeWithChangeUnitsComplete to report that asynchronous processing finished successfully.
Return a success code from the method and later call IAsynchronousNotifyingChangeApplierTargetCallback::OnError to report that an error occurred during asynchronous processing.
Return an error code from the method. In this case, IAsynchronousNotifyingChangeApplierTargetCallback methods should not be called.
See Also
Reference
IAsynchronousNotifyingChangeApplierTarget Interface
IAsynchronousNotifyingChangeApplierTargetCallback Interface