itemevents.cs

来自「破解的飞信源代码」· CS 代码 · 共 43 行

CS
43
字号
namespace Microsoft.Office.Interop.Outlook
{
    using System;
    using System.Runtime.CompilerServices;
    using System.Runtime.InteropServices;

    [ComImport, InterfaceType((short) 2), Guid("0006303A-0000-0000-C000-000000000046"), TypeLibType((short) 0x1000)]
    public interface ItemEvents
    {
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf003)]
        void Open([In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf006)]
        void CustomAction([In, MarshalAs(UnmanagedType.IDispatch)] object Action, [In, MarshalAs(UnmanagedType.IDispatch)] object Response, [In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf008)]
        void CustomPropertyChange([In, MarshalAs(UnmanagedType.BStr)] string Name);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf468)]
        void Forward([In, MarshalAs(UnmanagedType.IDispatch)] object Forward, [In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf004)]
        void Close([In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf009)]
        void PropertyChange([In, MarshalAs(UnmanagedType.BStr)] string Name);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf001)]
        void Read();
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf466)]
        void Reply([In, MarshalAs(UnmanagedType.IDispatch)] object Response, [In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf467)]
        void ReplyAll([In, MarshalAs(UnmanagedType.IDispatch)] object Response, [In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf005)]
        void Send([In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf002)]
        void Write([In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00a)]
        void BeforeCheckNames([In, Out] ref bool Cancel);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00b)]
        void AttachmentAdd([In, MarshalAs(UnmanagedType.Interface)] Attachment Attachment);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00c)]
        void AttachmentRead([In, MarshalAs(UnmanagedType.Interface)] Attachment Attachment);
        [PreserveSig, MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime), DispId(0xf00d)]
        void BeforeAttachmentSave([In, MarshalAs(UnmanagedType.Interface)] Attachment Attachment, [In, Out] ref bool Cancel);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?