Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

3.1.5.11 Sending a RopCreateAttachment ROP Request

After creating a new attachment with a call to the RopCreateAttachmentROP ([MS-OXCROPS] section 2.2.6.13), the client sends a RopSaveChangesAttachmentROP request ([MS-OXCROPS] section 2.2.6.15) to commit the new Attachment object and uses the newly created Attachment object in subsequent ROPs. The client eventually sends a RopRelease ROP request ([MS-OXCROPS] section 2.2.15.3) on the Attachment object and, after doing so, MUST NOT use the Attachment object for any subsequent ROPs.

To create an Embedded Message object, the client uses the RopSetProperties ROP ([MS-OXCROPS] section 2.2.8.6) to set the afEmbeddedMessage flag on the PidTagAttachMethod property (section 2.2.2.9). Finally the client sends a RopOpenEmbeddedMessage ROP ([MS-OXCROPS] section 2.2.6.16) on the attachment to get a Message objecthandle.

The client sends a RopSaveChangesMessage ROP request ([MS-OXCROPS] section 2.2.6.3) to commit the Attachment object change to the Message object.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.