mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
BUG-1908: Made Greenshot recheck & add the external commands like Ms-Paint and Paint.NET if they are not deleted manually and not yet available. Also cleaned up some code.
This commit is contained in:
parent
35ed3b8d60
commit
6efc7796b8
49 changed files with 322 additions and 294 deletions
|
@ -22,7 +22,7 @@ using System;
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Greenshot.Interop.Office {
|
||||
enum PT : uint {
|
||||
internal enum PT : uint {
|
||||
PT_UNSPECIFIED = 0, /* (Reserved for interface use) type doesn't matter to caller */
|
||||
PT_NULL = 1, /* NULL property value */
|
||||
PT_I2 = 2, /* Signed 16-bit value */
|
||||
|
@ -470,7 +470,7 @@ namespace Greenshot.Interop.Office {
|
|||
[ComImport()]
|
||||
[Guid(IID_IMAPIProp)]
|
||||
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
interface IMessage : IMAPIProp {
|
||||
private interface IMessage : IMAPIProp {
|
||||
[return: MarshalAs(UnmanagedType.I4)]
|
||||
[PreserveSig]
|
||||
int GetAttachmentTable();
|
||||
|
@ -558,7 +558,7 @@ namespace Greenshot.Interop.Office {
|
|||
[ComImport()]
|
||||
[Guid(IID_IMAPIProp)]
|
||||
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
|
||||
interface IMAPIProp {
|
||||
private interface IMAPIProp {
|
||||
[return: MarshalAs(UnmanagedType.I4)]
|
||||
[PreserveSig]
|
||||
int GetLastError();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue