Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
emsmdb: use attachment_object::set_properties when props are set via …
…fastupctx When an attachment is copied from and to the same message using MFCMAPI, it issues MAPI calls like so: // CAttachmentsDlg::HandlePaste() srcmsg->OpenAttach(..., &srcatt); dstmsg->CreateAttach(..., &dstatt); srcatt->CopyTo(..., dstatt, ...); dstatt->SaveChanges(...); dstmsg->SaveChanges(...); and EMSMDB.DLL's IAttach::CopyTo issues this set of ROPs: ropOpenAttachment ropCreateAttachment ropFastTransferDestinationConfigure ropFastTransferSourceCopyTo ropFastTransferSourceGetBuffer ropFastTransferDestinationPutBuffer ropSaveChangesAttachment ropSaveChangesMessage rop_fasttransferdestputbuffer fails to mark the attachment as modified (b_touched), and the attachment is not saved. Fixes: gromox-0~666
- Loading branch information