docobjectservice.h 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. /*** Autogenerated by WIDL 7.7 from include/docobjectservice.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __docobjectservice_h__
  14. #define __docobjectservice_h__
  15. /* Forward declarations */
  16. #ifndef __IDocObjectService_FWD_DEFINED__
  17. #define __IDocObjectService_FWD_DEFINED__
  18. typedef interface IDocObjectService IDocObjectService;
  19. #ifdef __cplusplus
  20. interface IDocObjectService;
  21. #endif /* __cplusplus */
  22. #endif
  23. /* Headers for imported files */
  24. #include <objidl.h>
  25. #include <mshtml.h>
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. /**
  30. * This file is part of the mingw-w64 runtime package.
  31. * No warranty is given; refer to the file DISCLAIMER within this package.
  32. */
  33. #include <winapifamily.h>
  34. #ifndef __IDocObjectService_FWD_DEFINED__
  35. #define __IDocObjectService_FWD_DEFINED__
  36. typedef interface IDocObjectService IDocObjectService;
  37. #ifdef __cplusplus
  38. interface IDocObjectService;
  39. #endif /* __cplusplus */
  40. #endif
  41. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  42. /*****************************************************************************
  43. * IDocObjectService interface
  44. */
  45. #ifndef __IDocObjectService_INTERFACE_DEFINED__
  46. #define __IDocObjectService_INTERFACE_DEFINED__
  47. DEFINE_GUID(IID_IDocObjectService, 0x3050f801, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b);
  48. #if defined(__cplusplus) && !defined(CINTERFACE)
  49. MIDL_INTERFACE("3050f801-98b5-11cf-bb82-00aa00bdce0b")
  50. IDocObjectService : public IUnknown
  51. {
  52. virtual HRESULT STDMETHODCALLTYPE FireBeforeNavigate2(
  53. IDispatch *pDispatch,
  54. LPCWSTR lpszUrl,
  55. DWORD dwFlags,
  56. LPCWSTR lpszFrameName,
  57. BYTE *pPostData,
  58. DWORD cbPostData,
  59. LPCWSTR lpszHeaders,
  60. WINBOOL fPlayNavSound,
  61. WINBOOL *pfCancel) = 0;
  62. virtual HRESULT STDMETHODCALLTYPE FireNavigateComplete2(
  63. IHTMLWindow2 *pHTMLWindow2,
  64. DWORD dwFlags) = 0;
  65. virtual HRESULT STDMETHODCALLTYPE FireDownloadBegin(
  66. ) = 0;
  67. virtual HRESULT STDMETHODCALLTYPE FireDownloadComplete(
  68. ) = 0;
  69. virtual HRESULT STDMETHODCALLTYPE FireDocumentComplete(
  70. IHTMLWindow2 *pHTMLWindow,
  71. DWORD dwFlags) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE UpdateDesktopComponent(
  73. IHTMLWindow2 *pHTMLWindow) = 0;
  74. virtual HRESULT STDMETHODCALLTYPE GetPendingUrl(
  75. BSTR *pbstrPendingUrl) = 0;
  76. virtual HRESULT STDMETHODCALLTYPE ActiveElementChanged(
  77. IHTMLElement *pHTMLElement) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE GetUrlSearchComponent(
  79. BSTR *pbstrSearch) = 0;
  80. virtual HRESULT STDMETHODCALLTYPE IsErrorUrl(
  81. LPCWSTR lpszUrl,
  82. WINBOOL *pfIsError) = 0;
  83. };
  84. #ifdef __CRT_UUID_DECL
  85. __CRT_UUID_DECL(IDocObjectService, 0x3050f801, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b)
  86. #endif
  87. #else
  88. typedef struct IDocObjectServiceVtbl {
  89. BEGIN_INTERFACE
  90. /*** IUnknown methods ***/
  91. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  92. IDocObjectService *This,
  93. REFIID riid,
  94. void **ppvObject);
  95. ULONG (STDMETHODCALLTYPE *AddRef)(
  96. IDocObjectService *This);
  97. ULONG (STDMETHODCALLTYPE *Release)(
  98. IDocObjectService *This);
  99. /*** IDocObjectService methods ***/
  100. HRESULT (STDMETHODCALLTYPE *FireBeforeNavigate2)(
  101. IDocObjectService *This,
  102. IDispatch *pDispatch,
  103. LPCWSTR lpszUrl,
  104. DWORD dwFlags,
  105. LPCWSTR lpszFrameName,
  106. BYTE *pPostData,
  107. DWORD cbPostData,
  108. LPCWSTR lpszHeaders,
  109. WINBOOL fPlayNavSound,
  110. WINBOOL *pfCancel);
  111. HRESULT (STDMETHODCALLTYPE *FireNavigateComplete2)(
  112. IDocObjectService *This,
  113. IHTMLWindow2 *pHTMLWindow2,
  114. DWORD dwFlags);
  115. HRESULT (STDMETHODCALLTYPE *FireDownloadBegin)(
  116. IDocObjectService *This);
  117. HRESULT (STDMETHODCALLTYPE *FireDownloadComplete)(
  118. IDocObjectService *This);
  119. HRESULT (STDMETHODCALLTYPE *FireDocumentComplete)(
  120. IDocObjectService *This,
  121. IHTMLWindow2 *pHTMLWindow,
  122. DWORD dwFlags);
  123. HRESULT (STDMETHODCALLTYPE *UpdateDesktopComponent)(
  124. IDocObjectService *This,
  125. IHTMLWindow2 *pHTMLWindow);
  126. HRESULT (STDMETHODCALLTYPE *GetPendingUrl)(
  127. IDocObjectService *This,
  128. BSTR *pbstrPendingUrl);
  129. HRESULT (STDMETHODCALLTYPE *ActiveElementChanged)(
  130. IDocObjectService *This,
  131. IHTMLElement *pHTMLElement);
  132. HRESULT (STDMETHODCALLTYPE *GetUrlSearchComponent)(
  133. IDocObjectService *This,
  134. BSTR *pbstrSearch);
  135. HRESULT (STDMETHODCALLTYPE *IsErrorUrl)(
  136. IDocObjectService *This,
  137. LPCWSTR lpszUrl,
  138. WINBOOL *pfIsError);
  139. END_INTERFACE
  140. } IDocObjectServiceVtbl;
  141. interface IDocObjectService {
  142. CONST_VTBL IDocObjectServiceVtbl* lpVtbl;
  143. };
  144. #ifdef COBJMACROS
  145. #ifndef WIDL_C_INLINE_WRAPPERS
  146. /*** IUnknown methods ***/
  147. #define IDocObjectService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  148. #define IDocObjectService_AddRef(This) (This)->lpVtbl->AddRef(This)
  149. #define IDocObjectService_Release(This) (This)->lpVtbl->Release(This)
  150. /*** IDocObjectService methods ***/
  151. #define IDocObjectService_FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel) (This)->lpVtbl->FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel)
  152. #define IDocObjectService_FireNavigateComplete2(This,pHTMLWindow2,dwFlags) (This)->lpVtbl->FireNavigateComplete2(This,pHTMLWindow2,dwFlags)
  153. #define IDocObjectService_FireDownloadBegin(This) (This)->lpVtbl->FireDownloadBegin(This)
  154. #define IDocObjectService_FireDownloadComplete(This) (This)->lpVtbl->FireDownloadComplete(This)
  155. #define IDocObjectService_FireDocumentComplete(This,pHTMLWindow,dwFlags) (This)->lpVtbl->FireDocumentComplete(This,pHTMLWindow,dwFlags)
  156. #define IDocObjectService_UpdateDesktopComponent(This,pHTMLWindow) (This)->lpVtbl->UpdateDesktopComponent(This,pHTMLWindow)
  157. #define IDocObjectService_GetPendingUrl(This,pbstrPendingUrl) (This)->lpVtbl->GetPendingUrl(This,pbstrPendingUrl)
  158. #define IDocObjectService_ActiveElementChanged(This,pHTMLElement) (This)->lpVtbl->ActiveElementChanged(This,pHTMLElement)
  159. #define IDocObjectService_GetUrlSearchComponent(This,pbstrSearch) (This)->lpVtbl->GetUrlSearchComponent(This,pbstrSearch)
  160. #define IDocObjectService_IsErrorUrl(This,lpszUrl,pfIsError) (This)->lpVtbl->IsErrorUrl(This,lpszUrl,pfIsError)
  161. #else
  162. /*** IUnknown methods ***/
  163. static FORCEINLINE HRESULT IDocObjectService_QueryInterface(IDocObjectService* This,REFIID riid,void **ppvObject) {
  164. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  165. }
  166. static FORCEINLINE ULONG IDocObjectService_AddRef(IDocObjectService* This) {
  167. return This->lpVtbl->AddRef(This);
  168. }
  169. static FORCEINLINE ULONG IDocObjectService_Release(IDocObjectService* This) {
  170. return This->lpVtbl->Release(This);
  171. }
  172. /*** IDocObjectService methods ***/
  173. static FORCEINLINE HRESULT IDocObjectService_FireBeforeNavigate2(IDocObjectService* This,IDispatch *pDispatch,LPCWSTR lpszUrl,DWORD dwFlags,LPCWSTR lpszFrameName,BYTE *pPostData,DWORD cbPostData,LPCWSTR lpszHeaders,WINBOOL fPlayNavSound,WINBOOL *pfCancel) {
  174. return This->lpVtbl->FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel);
  175. }
  176. static FORCEINLINE HRESULT IDocObjectService_FireNavigateComplete2(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow2,DWORD dwFlags) {
  177. return This->lpVtbl->FireNavigateComplete2(This,pHTMLWindow2,dwFlags);
  178. }
  179. static FORCEINLINE HRESULT IDocObjectService_FireDownloadBegin(IDocObjectService* This) {
  180. return This->lpVtbl->FireDownloadBegin(This);
  181. }
  182. static FORCEINLINE HRESULT IDocObjectService_FireDownloadComplete(IDocObjectService* This) {
  183. return This->lpVtbl->FireDownloadComplete(This);
  184. }
  185. static FORCEINLINE HRESULT IDocObjectService_FireDocumentComplete(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow,DWORD dwFlags) {
  186. return This->lpVtbl->FireDocumentComplete(This,pHTMLWindow,dwFlags);
  187. }
  188. static FORCEINLINE HRESULT IDocObjectService_UpdateDesktopComponent(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow) {
  189. return This->lpVtbl->UpdateDesktopComponent(This,pHTMLWindow);
  190. }
  191. static FORCEINLINE HRESULT IDocObjectService_GetPendingUrl(IDocObjectService* This,BSTR *pbstrPendingUrl) {
  192. return This->lpVtbl->GetPendingUrl(This,pbstrPendingUrl);
  193. }
  194. static FORCEINLINE HRESULT IDocObjectService_ActiveElementChanged(IDocObjectService* This,IHTMLElement *pHTMLElement) {
  195. return This->lpVtbl->ActiveElementChanged(This,pHTMLElement);
  196. }
  197. static FORCEINLINE HRESULT IDocObjectService_GetUrlSearchComponent(IDocObjectService* This,BSTR *pbstrSearch) {
  198. return This->lpVtbl->GetUrlSearchComponent(This,pbstrSearch);
  199. }
  200. static FORCEINLINE HRESULT IDocObjectService_IsErrorUrl(IDocObjectService* This,LPCWSTR lpszUrl,WINBOOL *pfIsError) {
  201. return This->lpVtbl->IsErrorUrl(This,lpszUrl,pfIsError);
  202. }
  203. #endif
  204. #endif
  205. #endif
  206. #endif /* __IDocObjectService_INTERFACE_DEFINED__ */
  207. #endif
  208. /* Begin additional prototypes for all interfaces */
  209. ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
  210. unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
  211. unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
  212. void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
  213. /* End additional prototypes */
  214. #ifdef __cplusplus
  215. }
  216. #endif
  217. #endif /* __docobjectservice_h__ */