DWebBrowserEvents2.cs 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace LYFZ.OtherExpansion.Win32.Com
  5. {
  6. [Guid("34A715A0-6587-11D0-924A-0020AFC7AC4D"), InterfaceType(ComInterfaceType.InterfaceIsIDispatch), TypeLibType(TypeLibTypeFlags.FHidden | TypeLibTypeFlags.FDispatchable)]
  7. [ComImport]
  8. public interface DWebBrowserEvents2
  9. {
  10. [DispId(102)]
  11. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  12. void StatusTextChange([MarshalAs(UnmanagedType.BStr)] [In] string Text);
  13. [DispId(108)]
  14. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  15. void ProgressChange([In] int Progress, [In] int ProgressMax);
  16. [DispId(105)]
  17. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  18. void CommandStateChange([In] int Command, [In] bool Enable);
  19. [DispId(106)]
  20. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  21. void DownloadBegin();
  22. [DispId(104)]
  23. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  24. void DownloadComplete();
  25. [DispId(113)]
  26. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  27. void TitleChange([MarshalAs(UnmanagedType.BStr)] [In] string Text);
  28. [DispId(112)]
  29. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  30. void PropertyChange([MarshalAs(UnmanagedType.BStr)] [In] string szProperty);
  31. [DispId(250)]
  32. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  33. void BeforeNavigate2([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp, [MarshalAs(UnmanagedType.Struct)] [In] ref object URL, [MarshalAs(UnmanagedType.Struct)] [In] ref object Flags, [MarshalAs(UnmanagedType.Struct)] [In] ref object TargetFrameName, [MarshalAs(UnmanagedType.Struct)] [In] ref object PostData, [MarshalAs(UnmanagedType.Struct)] [In] ref object Headers, [In] [Out] ref bool Cancel);
  34. [DispId(251)]
  35. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  36. void NewWindow2([MarshalAs(UnmanagedType.IDispatch)] [In] [Out] ref object ppDisp, [In] [Out] ref bool Cancel);
  37. [DispId(252)]
  38. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  39. void NavigateComplete2([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp, [MarshalAs(UnmanagedType.Struct)] [In] ref object URL);
  40. [DispId(259)]
  41. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  42. void DocumentComplete([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp, [MarshalAs(UnmanagedType.Struct)] [In] ref object URL);
  43. [DispId(253)]
  44. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  45. void OnQuit();
  46. [DispId(254)]
  47. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  48. void OnVisible([In] bool Visible);
  49. [DispId(255)]
  50. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  51. void OnToolBar([In] bool ToolBar);
  52. [DispId(256)]
  53. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  54. void OnMenuBar([In] bool MenuBar);
  55. [DispId(257)]
  56. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  57. void OnStatusBar([In] bool StatusBar);
  58. [DispId(258)]
  59. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  60. void OnFullScreen([In] bool FullScreen);
  61. [DispId(260)]
  62. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  63. void OnTheaterMode([In] bool TheaterMode);
  64. [DispId(262)]
  65. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  66. void WindowSetResizable([In] bool Resizable);
  67. [DispId(264)]
  68. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  69. void WindowSetLeft([In] int Left);
  70. [DispId(265)]
  71. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  72. void WindowSetTop([In] int Top);
  73. [DispId(266)]
  74. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  75. void WindowSetWidth([In] int Width);
  76. [DispId(267)]
  77. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  78. void WindowSetHeight([In] int Height);
  79. [DispId(263)]
  80. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  81. void WindowClosing([In] bool IsChildWindow, [In] [Out] ref bool Cancel);
  82. [DispId(268)]
  83. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  84. void ClientToHostWindow([In] [Out] ref int CX, [In] [Out] ref int CY);
  85. [DispId(269)]
  86. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  87. void SetSecureLockIcon([In] int SecureLockIcon);
  88. [DispId(270)]
  89. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  90. void FileDownload([In] [Out] ref bool Cancel);
  91. [DispId(271)]
  92. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  93. void NavigateError([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp, [MarshalAs(UnmanagedType.Struct)] [In] ref object URL, [MarshalAs(UnmanagedType.Struct)] [In] ref object Frame, [MarshalAs(UnmanagedType.Struct)] [In] ref object StatusCode, [In] [Out] ref bool Cancel);
  94. [DispId(225)]
  95. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  96. void PrintTemplateInstantiation([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp);
  97. [DispId(226)]
  98. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  99. void PrintTemplateTeardown([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp);
  100. [DispId(227)]
  101. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  102. void UpdatePageStatus([MarshalAs(UnmanagedType.IDispatch)] [In] object pDisp, [MarshalAs(UnmanagedType.Struct)] [In] ref object nPage, [MarshalAs(UnmanagedType.Struct)] [In] ref object fDone);
  103. [DispId(272)]
  104. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  105. void PrivacyImpactedStateChange([In] bool bImpacted);
  106. [DispId(273)]
  107. [MethodImpl(MethodImplOptions.PreserveSig | MethodImplOptions.InternalCall)]
  108. void NewWindow3([MarshalAs(UnmanagedType.IDispatch)] [In] [Out] ref object ppDisp, [In] [Out] ref bool Cancel, [In] uint dwFlags, [MarshalAs(UnmanagedType.BStr)] [In] string bstrUrlContext, [MarshalAs(UnmanagedType.BStr)] [In] string bstrUrl);
  109. }
  110. }