IChangeApplicationContext::GetSaveChangeWithChangeUnitsAction
Gets the action a destination provider must take to save a change unit.
HRESULT GetSaveChangeWithChangeUnitsAction(
ISyncChangeUnit * pChangeUnit,
SYNC_SAVE_ACTION * pAction);
Parameters
- pChangeUnit
[in] The change unit to look up.
- pAction
[out] Returns the action a destination provider must take to save pChangeUnit.
Return Value
S_OK.
E_INVALIDARG when pChangeUnit is not contained in the change, or the conflict resolution action for pChangeUnit is not a save action.
E_OUTOFMEMORY.
E_POINTER.
SYNC_E_INVALID_OPERATION when IChangeApplicationContext::GetChangeApplicationAction returned a value other than CAA_SAVE_CHANGE_WITH_CHANGE_UNITS, or when the change does not contain change units.
Remarks
It is only valid to call GetSaveChangeWithChangeUnitsAction after IChangeApplicationContext::GetChangeApplicationAction returns CAA_SAVE_CHANGE_WITH_CHANGE_UNITS.