mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Changes for Outlook 2013, the editing of an email can now be done inside the "explorer", the old code didn't know this and therefore didn't find a target . These changes have not been testet on 2013 yet, but don't seem to break Outlook 2010.
This commit is contained in:
parent
3544617394
commit
3204b92d53
8 changed files with 372 additions and 153 deletions
|
@ -652,7 +652,7 @@ namespace Greenshot.Interop.Office {
|
|||
/// </summary>
|
||||
/// <param name="attachment"></param>
|
||||
/// <param name="contentId"></param>
|
||||
public static void SetContentID(Attachment attachment, string contentId) {
|
||||
public static void SetContentID(IAttachment attachment, string contentId) {
|
||||
// Pointer to IUnknown Interface
|
||||
IntPtr IUnknown = IntPtr.Zero;
|
||||
// Pointer to IMAPIProp Interface
|
||||
|
@ -715,7 +715,7 @@ namespace Greenshot.Interop.Office {
|
|||
/// <param name="proptag"></param>
|
||||
/// <param name="propertyValue"></param>
|
||||
/// <returns></returns>
|
||||
public static bool SetMAPIProperty(Attachment attachment, PropTags proptag, string propertyValue) {
|
||||
public static bool SetMAPIProperty(IAttachment attachment, PropTags proptag, string propertyValue) {
|
||||
// Pointer to IUnknown Interface
|
||||
IntPtr IUnknown = IntPtr.Zero;
|
||||
// Pointer to IMAPIProp Interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue