4.2.1 Creating or Modifying a Message

The following example shows the ROPs involved in synchronizing changes between the client and server when creating or modifying a message. The user has previously created or modified a message on both the client and the server, and has just connected to the server to synchronize the changes.

  1. RopLogon ROP ([MS-OXCROPS] section 2.2.3.1) – Open the message store.

  2. RopOpenFolder ROP ([MS-OXCROPS] section 2.2.4.1) – Open the folder being synchronized.

  3. RopSynchronizationOpenCollector ROP (section 2.2.3.2.4.1) – Open the content synchronization upload context by using the handle of the folder being synchronized.

  4. RopSynchronizationUploadStateStreamBegin ROP (section 2.2.3.2.4.1) – Upload the ICS state property MetaTagCnsetSeen (section 2.2.1.1.2) by using the synchronization upload context.

  5. RopSynchronizationUploadStateStreamContinue ROP (section 2.2.3.2.4.1) – Upload the ICS state property MetaTagCnsetSeen by using the synchronization upload context.

  6. RopSynchronizationUploadStateStreamEnd ROP (section 2.2.3.2.4.1) – Upload the ICS state property MetaTagCnsetSeen by using the synchronization upload context.

  7. RopSynchronizationUploadStateStreamBegin ROP – Upload the ICS state property MetaTagCnsetSeenFAI (section 2.2.1.1.3) by using the synchronization upload context.

  8. RopSynchronizationUploadStateStreamContinue ROP – Upload the ICS state property MetaTagCnsetSeenFAI by using the synchronization upload context.

  9. RopSynchronizationUploadStateStreamEnd ROP – Upload the ICS state property MetaTagCnsetSeenFAI by using the synchronization upload context.

  10. RopSynchronizationUploadStateStreamBegin ROP – Upload the ICS state property MetaTagCnsetRead (section 2.2.1.1.4) by using the synchronization upload context.

  11. RopSynchronizationUploadStateStreamContinue ROP – Upload the ICS state property MetaTagCnsetRead by using the synchronization upload context.

  12. RopSynchronizationUploadStateStreamEnd ROP – Upload the ICS state property MetaTagCnsetRead by using the synchronization upload context.

  13. RopSynchronizationImportMessageChange ROP (section 2.2.3.2.4.2) – Acquire a Message object (with a specified ID) by using the synchronization upload context. If the message does not yet exist, it will be created. This call returns a handle to a Message object.

  14. RopSetProperties ROP ([MS-OXCROPS] section 2.2.8.6) – Set the message properties by using the message handle.

  15. RopSaveChangesMessage ROP ([MS-OXCROPS] section 2.2.6.3) – Save the message by using the message handle.

  16. RopRelease ROP ([MS-OXCROPS] section 2.2.15.3) – Release the message.

  17. RopSynchronizationGetTransferState ROP (section 2.2.3.2.3.1) – Get the updated ICS state by using the upload context. This call returns a handle to a synchronization download context.

  18. RopFastTransferSourceGetBuffer ROP (section 2.2.3.2.3.1) – Retrieve the ICS state data by using the synchronization download context.

  19. RopRelease ROP – Release the synchronization download context.

  20. RopRelease ROP – Release the synchronization upload context.

  21. RopSynchronizationConfigure ROP (section 2.2.3.2.3.1) – Open the content synchronization download context by using the handle of the folder being synchronized.

  22. RopSynchronizationUploadStateStreamBegin ROP – Upload the ICS state property MetaTagIdsetGiven (section 2.2.1.1.1) by using the synchronization download context.

  23. RopSynchronizationUploadStateStreamContinue ROP – Upload the ICS state property MetaTagIdsetGiven by using the synchronization download context.

  24. RopSynchronizationUploadStateStreamEnd ROP – Upload the ICS state property MetaTagIdsetGiven by using the synchronization download context.

  25. RopSynchronizationUploadStateStreamBegin ROP – Upload the ICS state property MetaTagCnsetSeen by using the synchronization download context.

  26. RopSynchronizationUploadStateStreamContinue ROP – Upload the ICS state property MetaTagCnsetSeen by using the synchronization download context.

  27. RopSynchronizationUploadStateStreamEnd ROP – Upload the ICS state property MetaTagCnsetSeen by using the synchronization download context.

  28. RopSynchronizationUploadStateStreamBegin ROP – Upload the ICS state property MetaTagCnsetSeenFAI by using the synchronization download context.

  29. RopSynchronizationUploadStateStreamContinue ROP – Upload the ICS state property MetaTagCnsetSeenFAI by using the synchronization download context.

  30. RopSynchronizationUploadStateStreamEnd ROP – Upload the ICS state property MetaTagCnsetSeenFAI by using the synchronization download context.

  31. RopSynchronizationUploadStateStreamBegin ROP – Upload the ICS state property MetaTagCnsetRead by using the synchronization download context.

  32. RopSynchronizationUploadStateStreamContinue ROP – Upload the ICS state property MetaTagCnsetRead by using the synchronization download context.

  33. RopSynchronizationUploadStateStreamEnd ROP – Upload the ICS state property MetaTagCnsetRead by using the synchronization download context.

  34. RopFastTransferSourceGetBuffer ROP – Receive the folder properties and updated ICS state by using the synchronization download context.

  35. RopRelease ROP – Release the synchronization download context.

  36. RopRelease ROP – Release the folder.

  37. RopRelease ROP – Release the message store.