Home | History | Annotate | Download | only in include
      1 /*** Autogenerated by WIDL 1.6 from include/docobjectservice.idl - Do not edit ***/
      2 
      3 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      4 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      5 #endif
      6 
      7 #include <rpc.h>
      8 #include <rpcndr.h>
      9 
     10 #ifndef COM_NO_WINDOWS_H
     11 #include <windows.h>
     12 #include <ole2.h>
     13 #endif
     14 
     15 #ifndef __docobjectservice_h__
     16 #define __docobjectservice_h__
     17 
     18 /* Forward declarations */
     19 
     20 #ifndef __IDocObjectService_FWD_DEFINED__
     21 #define __IDocObjectService_FWD_DEFINED__
     22 typedef interface IDocObjectService IDocObjectService;
     23 #endif
     24 
     25 /* Headers for imported files */
     26 
     27 #include <objidl.h>
     28 #include <mshtml.h>
     29 
     30 #ifdef __cplusplus
     31 extern "C" {
     32 #endif
     33 
     34 /**
     35  * This file is part of the mingw-w64 runtime package.
     36  * No warranty is given; refer to the file DISCLAIMER within this package.
     37  */
     38 
     39 #include <winapifamily.h>
     40 
     41 #ifndef __IDocObjectService_FWD_DEFINED__
     42 #define __IDocObjectService_FWD_DEFINED__
     43 typedef interface IDocObjectService IDocObjectService;
     44 #endif
     45 
     46 
     47 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
     48 /*****************************************************************************
     49  * IDocObjectService interface
     50  */
     51 #ifndef __IDocObjectService_INTERFACE_DEFINED__
     52 #define __IDocObjectService_INTERFACE_DEFINED__
     53 
     54 DEFINE_GUID(IID_IDocObjectService, 0x3050f801, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b);
     55 #if defined(__cplusplus) && !defined(CINTERFACE)
     56 MIDL_INTERFACE("3050f801-98b5-11cf-bb82-00aa00bdce0b")
     57 IDocObjectService : public IUnknown
     58 {
     59     virtual HRESULT STDMETHODCALLTYPE FireBeforeNavigate2(
     60         IDispatch *pDispatch,
     61         LPCWSTR lpszUrl,
     62         DWORD dwFlags,
     63         LPCWSTR lpszFrameName,
     64         BYTE *pPostData,
     65         DWORD cbPostData,
     66         LPCWSTR lpszHeaders,
     67         WINBOOL fPlayNavSound,
     68         WINBOOL *pfCancel) = 0;
     69 
     70     virtual HRESULT STDMETHODCALLTYPE FireNavigateComplete2(
     71         IHTMLWindow2 *pHTMLWindow2,
     72         DWORD dwFlags) = 0;
     73 
     74     virtual HRESULT STDMETHODCALLTYPE FireDownloadBegin(
     75         ) = 0;
     76 
     77     virtual HRESULT STDMETHODCALLTYPE FireDownloadComplete(
     78         ) = 0;
     79 
     80     virtual HRESULT STDMETHODCALLTYPE FireDocumentComplete(
     81         IHTMLWindow2 *pHTMLWindow,
     82         DWORD dwFlags) = 0;
     83 
     84     virtual HRESULT STDMETHODCALLTYPE UpdateDesktopComponent(
     85         IHTMLWindow2 *pHTMLWindow) = 0;
     86 
     87     virtual HRESULT STDMETHODCALLTYPE GetPendingUrl(
     88         BSTR *pbstrPendingUrl) = 0;
     89 
     90     virtual HRESULT STDMETHODCALLTYPE ActiveElementChanged(
     91         IHTMLElement *pHTMLElement) = 0;
     92 
     93     virtual HRESULT STDMETHODCALLTYPE GetUrlSearchComponent(
     94         BSTR *pbstrSearch) = 0;
     95 
     96     virtual HRESULT STDMETHODCALLTYPE IsErrorUrl(
     97         LPCWSTR lpszUrl,
     98         WINBOOL *pfIsError) = 0;
     99 
    100 };
    101 #ifdef __CRT_UUID_DECL
    102 __CRT_UUID_DECL(IDocObjectService, 0x3050f801, 0x98b5, 0x11cf, 0xbb,0x82, 0x00,0xaa,0x00,0xbd,0xce,0x0b)
    103 #endif
    104 #else
    105 typedef struct IDocObjectServiceVtbl {
    106     BEGIN_INTERFACE
    107 
    108     /*** IUnknown methods ***/
    109     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
    110         IDocObjectService* This,
    111         REFIID riid,
    112         void **ppvObject);
    113 
    114     ULONG (STDMETHODCALLTYPE *AddRef)(
    115         IDocObjectService* This);
    116 
    117     ULONG (STDMETHODCALLTYPE *Release)(
    118         IDocObjectService* This);
    119 
    120     /*** IDocObjectService methods ***/
    121     HRESULT (STDMETHODCALLTYPE *FireBeforeNavigate2)(
    122         IDocObjectService* This,
    123         IDispatch *pDispatch,
    124         LPCWSTR lpszUrl,
    125         DWORD dwFlags,
    126         LPCWSTR lpszFrameName,
    127         BYTE *pPostData,
    128         DWORD cbPostData,
    129         LPCWSTR lpszHeaders,
    130         WINBOOL fPlayNavSound,
    131         WINBOOL *pfCancel);
    132 
    133     HRESULT (STDMETHODCALLTYPE *FireNavigateComplete2)(
    134         IDocObjectService* This,
    135         IHTMLWindow2 *pHTMLWindow2,
    136         DWORD dwFlags);
    137 
    138     HRESULT (STDMETHODCALLTYPE *FireDownloadBegin)(
    139         IDocObjectService* This);
    140 
    141     HRESULT (STDMETHODCALLTYPE *FireDownloadComplete)(
    142         IDocObjectService* This);
    143 
    144     HRESULT (STDMETHODCALLTYPE *FireDocumentComplete)(
    145         IDocObjectService* This,
    146         IHTMLWindow2 *pHTMLWindow,
    147         DWORD dwFlags);
    148 
    149     HRESULT (STDMETHODCALLTYPE *UpdateDesktopComponent)(
    150         IDocObjectService* This,
    151         IHTMLWindow2 *pHTMLWindow);
    152 
    153     HRESULT (STDMETHODCALLTYPE *GetPendingUrl)(
    154         IDocObjectService* This,
    155         BSTR *pbstrPendingUrl);
    156 
    157     HRESULT (STDMETHODCALLTYPE *ActiveElementChanged)(
    158         IDocObjectService* This,
    159         IHTMLElement *pHTMLElement);
    160 
    161     HRESULT (STDMETHODCALLTYPE *GetUrlSearchComponent)(
    162         IDocObjectService* This,
    163         BSTR *pbstrSearch);
    164 
    165     HRESULT (STDMETHODCALLTYPE *IsErrorUrl)(
    166         IDocObjectService* This,
    167         LPCWSTR lpszUrl,
    168         WINBOOL *pfIsError);
    169 
    170     END_INTERFACE
    171 } IDocObjectServiceVtbl;
    172 interface IDocObjectService {
    173     CONST_VTBL IDocObjectServiceVtbl* lpVtbl;
    174 };
    175 
    176 #ifdef COBJMACROS
    177 #ifndef WIDL_C_INLINE_WRAPPERS
    178 /*** IUnknown methods ***/
    179 #define IDocObjectService_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    180 #define IDocObjectService_AddRef(This) (This)->lpVtbl->AddRef(This)
    181 #define IDocObjectService_Release(This) (This)->lpVtbl->Release(This)
    182 /*** IDocObjectService methods ***/
    183 #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)
    184 #define IDocObjectService_FireNavigateComplete2(This,pHTMLWindow2,dwFlags) (This)->lpVtbl->FireNavigateComplete2(This,pHTMLWindow2,dwFlags)
    185 #define IDocObjectService_FireDownloadBegin(This) (This)->lpVtbl->FireDownloadBegin(This)
    186 #define IDocObjectService_FireDownloadComplete(This) (This)->lpVtbl->FireDownloadComplete(This)
    187 #define IDocObjectService_FireDocumentComplete(This,pHTMLWindow,dwFlags) (This)->lpVtbl->FireDocumentComplete(This,pHTMLWindow,dwFlags)
    188 #define IDocObjectService_UpdateDesktopComponent(This,pHTMLWindow) (This)->lpVtbl->UpdateDesktopComponent(This,pHTMLWindow)
    189 #define IDocObjectService_GetPendingUrl(This,pbstrPendingUrl) (This)->lpVtbl->GetPendingUrl(This,pbstrPendingUrl)
    190 #define IDocObjectService_ActiveElementChanged(This,pHTMLElement) (This)->lpVtbl->ActiveElementChanged(This,pHTMLElement)
    191 #define IDocObjectService_GetUrlSearchComponent(This,pbstrSearch) (This)->lpVtbl->GetUrlSearchComponent(This,pbstrSearch)
    192 #define IDocObjectService_IsErrorUrl(This,lpszUrl,pfIsError) (This)->lpVtbl->IsErrorUrl(This,lpszUrl,pfIsError)
    193 #else
    194 /*** IUnknown methods ***/
    195 static FORCEINLINE HRESULT IDocObjectService_QueryInterface(IDocObjectService* This,REFIID riid,void **ppvObject) {
    196     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    197 }
    198 static FORCEINLINE ULONG IDocObjectService_AddRef(IDocObjectService* This) {
    199     return This->lpVtbl->AddRef(This);
    200 }
    201 static FORCEINLINE ULONG IDocObjectService_Release(IDocObjectService* This) {
    202     return This->lpVtbl->Release(This);
    203 }
    204 /*** IDocObjectService methods ***/
    205 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) {
    206     return This->lpVtbl->FireBeforeNavigate2(This,pDispatch,lpszUrl,dwFlags,lpszFrameName,pPostData,cbPostData,lpszHeaders,fPlayNavSound,pfCancel);
    207 }
    208 static FORCEINLINE HRESULT IDocObjectService_FireNavigateComplete2(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow2,DWORD dwFlags) {
    209     return This->lpVtbl->FireNavigateComplete2(This,pHTMLWindow2,dwFlags);
    210 }
    211 static FORCEINLINE HRESULT IDocObjectService_FireDownloadBegin(IDocObjectService* This) {
    212     return This->lpVtbl->FireDownloadBegin(This);
    213 }
    214 static FORCEINLINE HRESULT IDocObjectService_FireDownloadComplete(IDocObjectService* This) {
    215     return This->lpVtbl->FireDownloadComplete(This);
    216 }
    217 static FORCEINLINE HRESULT IDocObjectService_FireDocumentComplete(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow,DWORD dwFlags) {
    218     return This->lpVtbl->FireDocumentComplete(This,pHTMLWindow,dwFlags);
    219 }
    220 static FORCEINLINE HRESULT IDocObjectService_UpdateDesktopComponent(IDocObjectService* This,IHTMLWindow2 *pHTMLWindow) {
    221     return This->lpVtbl->UpdateDesktopComponent(This,pHTMLWindow);
    222 }
    223 static FORCEINLINE HRESULT IDocObjectService_GetPendingUrl(IDocObjectService* This,BSTR *pbstrPendingUrl) {
    224     return This->lpVtbl->GetPendingUrl(This,pbstrPendingUrl);
    225 }
    226 static FORCEINLINE HRESULT IDocObjectService_ActiveElementChanged(IDocObjectService* This,IHTMLElement *pHTMLElement) {
    227     return This->lpVtbl->ActiveElementChanged(This,pHTMLElement);
    228 }
    229 static FORCEINLINE HRESULT IDocObjectService_GetUrlSearchComponent(IDocObjectService* This,BSTR *pbstrSearch) {
    230     return This->lpVtbl->GetUrlSearchComponent(This,pbstrSearch);
    231 }
    232 static FORCEINLINE HRESULT IDocObjectService_IsErrorUrl(IDocObjectService* This,LPCWSTR lpszUrl,WINBOOL *pfIsError) {
    233     return This->lpVtbl->IsErrorUrl(This,lpszUrl,pfIsError);
    234 }
    235 #endif
    236 #endif
    237 
    238 #endif
    239 
    240 HRESULT STDMETHODCALLTYPE IDocObjectService_FireBeforeNavigate2_Proxy(
    241     IDocObjectService* This,
    242     IDispatch *pDispatch,
    243     LPCWSTR lpszUrl,
    244     DWORD dwFlags,
    245     LPCWSTR lpszFrameName,
    246     BYTE *pPostData,
    247     DWORD cbPostData,
    248     LPCWSTR lpszHeaders,
    249     WINBOOL fPlayNavSound,
    250     WINBOOL *pfCancel);
    251 void __RPC_STUB IDocObjectService_FireBeforeNavigate2_Stub(
    252     IRpcStubBuffer* This,
    253     IRpcChannelBuffer* pRpcChannelBuffer,
    254     PRPC_MESSAGE pRpcMessage,
    255     DWORD* pdwStubPhase);
    256 HRESULT STDMETHODCALLTYPE IDocObjectService_FireNavigateComplete2_Proxy(
    257     IDocObjectService* This,
    258     IHTMLWindow2 *pHTMLWindow2,
    259     DWORD dwFlags);
    260 void __RPC_STUB IDocObjectService_FireNavigateComplete2_Stub(
    261     IRpcStubBuffer* This,
    262     IRpcChannelBuffer* pRpcChannelBuffer,
    263     PRPC_MESSAGE pRpcMessage,
    264     DWORD* pdwStubPhase);
    265 HRESULT STDMETHODCALLTYPE IDocObjectService_FireDownloadBegin_Proxy(
    266     IDocObjectService* This);
    267 void __RPC_STUB IDocObjectService_FireDownloadBegin_Stub(
    268     IRpcStubBuffer* This,
    269     IRpcChannelBuffer* pRpcChannelBuffer,
    270     PRPC_MESSAGE pRpcMessage,
    271     DWORD* pdwStubPhase);
    272 HRESULT STDMETHODCALLTYPE IDocObjectService_FireDownloadComplete_Proxy(
    273     IDocObjectService* This);
    274 void __RPC_STUB IDocObjectService_FireDownloadComplete_Stub(
    275     IRpcStubBuffer* This,
    276     IRpcChannelBuffer* pRpcChannelBuffer,
    277     PRPC_MESSAGE pRpcMessage,
    278     DWORD* pdwStubPhase);
    279 HRESULT STDMETHODCALLTYPE IDocObjectService_FireDocumentComplete_Proxy(
    280     IDocObjectService* This,
    281     IHTMLWindow2 *pHTMLWindow,
    282     DWORD dwFlags);
    283 void __RPC_STUB IDocObjectService_FireDocumentComplete_Stub(
    284     IRpcStubBuffer* This,
    285     IRpcChannelBuffer* pRpcChannelBuffer,
    286     PRPC_MESSAGE pRpcMessage,
    287     DWORD* pdwStubPhase);
    288 HRESULT STDMETHODCALLTYPE IDocObjectService_UpdateDesktopComponent_Proxy(
    289     IDocObjectService* This,
    290     IHTMLWindow2 *pHTMLWindow);
    291 void __RPC_STUB IDocObjectService_UpdateDesktopComponent_Stub(
    292     IRpcStubBuffer* This,
    293     IRpcChannelBuffer* pRpcChannelBuffer,
    294     PRPC_MESSAGE pRpcMessage,
    295     DWORD* pdwStubPhase);
    296 HRESULT STDMETHODCALLTYPE IDocObjectService_GetPendingUrl_Proxy(
    297     IDocObjectService* This,
    298     BSTR *pbstrPendingUrl);
    299 void __RPC_STUB IDocObjectService_GetPendingUrl_Stub(
    300     IRpcStubBuffer* This,
    301     IRpcChannelBuffer* pRpcChannelBuffer,
    302     PRPC_MESSAGE pRpcMessage,
    303     DWORD* pdwStubPhase);
    304 HRESULT STDMETHODCALLTYPE IDocObjectService_ActiveElementChanged_Proxy(
    305     IDocObjectService* This,
    306     IHTMLElement *pHTMLElement);
    307 void __RPC_STUB IDocObjectService_ActiveElementChanged_Stub(
    308     IRpcStubBuffer* This,
    309     IRpcChannelBuffer* pRpcChannelBuffer,
    310     PRPC_MESSAGE pRpcMessage,
    311     DWORD* pdwStubPhase);
    312 HRESULT STDMETHODCALLTYPE IDocObjectService_GetUrlSearchComponent_Proxy(
    313     IDocObjectService* This,
    314     BSTR *pbstrSearch);
    315 void __RPC_STUB IDocObjectService_GetUrlSearchComponent_Stub(
    316     IRpcStubBuffer* This,
    317     IRpcChannelBuffer* pRpcChannelBuffer,
    318     PRPC_MESSAGE pRpcMessage,
    319     DWORD* pdwStubPhase);
    320 HRESULT STDMETHODCALLTYPE IDocObjectService_IsErrorUrl_Proxy(
    321     IDocObjectService* This,
    322     LPCWSTR lpszUrl,
    323     WINBOOL *pfIsError);
    324 void __RPC_STUB IDocObjectService_IsErrorUrl_Stub(
    325     IRpcStubBuffer* This,
    326     IRpcChannelBuffer* pRpcChannelBuffer,
    327     PRPC_MESSAGE pRpcMessage,
    328     DWORD* pdwStubPhase);
    329 
    330 #endif  /* __IDocObjectService_INTERFACE_DEFINED__ */
    331 
    332 #endif
    333 /* Begin additional prototypes for all interfaces */
    334 
    335 ULONG           __RPC_USER BSTR_UserSize     (ULONG *, ULONG, BSTR *);
    336 unsigned char * __RPC_USER BSTR_UserMarshal  (ULONG *, unsigned char *, BSTR *);
    337 unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
    338 void            __RPC_USER BSTR_UserFree     (ULONG *, BSTR *);
    339 
    340 /* End additional prototypes */
    341 
    342 #ifdef __cplusplus
    343 }
    344 #endif
    345 
    346 #endif /* __docobjectservice_h__ */
    347