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