Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 440
      8 #endif
      9 
     10 #include "rpc.h"
     11 #include "rpcndr.h"
     12 
     13 #ifndef __exdisp_h__
     14 #define __exdisp_h__
     15 
     16 #ifndef __IWebBrowser_FWD_DEFINED__
     17 #define __IWebBrowser_FWD_DEFINED__
     18 typedef struct IWebBrowser IWebBrowser;
     19 #endif
     20 
     21 #ifndef __DWebBrowserEvents_FWD_DEFINED__
     22 #define __DWebBrowserEvents_FWD_DEFINED__
     23 typedef struct DWebBrowserEvents DWebBrowserEvents;
     24 #endif
     25 
     26 #ifndef __IWebBrowserApp_FWD_DEFINED__
     27 #define __IWebBrowserApp_FWD_DEFINED__
     28 typedef struct IWebBrowserApp IWebBrowserApp;
     29 #endif
     30 
     31 #ifndef __IWebBrowser2_FWD_DEFINED__
     32 #define __IWebBrowser2_FWD_DEFINED__
     33 typedef struct IWebBrowser2 IWebBrowser2;
     34 #endif
     35 
     36 #ifndef __DWebBrowserEvents2_FWD_DEFINED__
     37 #define __DWebBrowserEvents2_FWD_DEFINED__
     38 typedef struct DWebBrowserEvents2 DWebBrowserEvents2;
     39 #endif
     40 
     41 #ifndef __WebBrowser_V1_FWD_DEFINED__
     42 #define __WebBrowser_V1_FWD_DEFINED__
     43 
     44 #ifdef __cplusplus
     45 typedef class WebBrowser_V1 WebBrowser_V1;
     46 #else
     47 typedef struct WebBrowser_V1 WebBrowser_V1;
     48 #endif
     49 #endif
     50 
     51 #ifndef __WebBrowser_FWD_DEFINED__
     52 #define __WebBrowser_FWD_DEFINED__
     53 
     54 #ifdef __cplusplus
     55 typedef class WebBrowser WebBrowser;
     56 #else
     57 typedef struct WebBrowser WebBrowser;
     58 #endif
     59 #endif
     60 
     61 #ifndef __InternetExplorer_FWD_DEFINED__
     62 #define __InternetExplorer_FWD_DEFINED__
     63 
     64 #ifdef __cplusplus
     65 typedef class InternetExplorer InternetExplorer;
     66 #else
     67 typedef struct InternetExplorer InternetExplorer;
     68 #endif
     69 #endif
     70 
     71 #ifndef __ShellBrowserWindow_FWD_DEFINED__
     72 #define __ShellBrowserWindow_FWD_DEFINED__
     73 #ifdef __cplusplus
     74 typedef class ShellBrowserWindow ShellBrowserWindow;
     75 #else
     76 typedef struct ShellBrowserWindow ShellBrowserWindow;
     77 #endif
     78 #endif
     79 
     80 #ifndef __DShellWindowsEvents_FWD_DEFINED__
     81 #define __DShellWindowsEvents_FWD_DEFINED__
     82 typedef struct DShellWindowsEvents DShellWindowsEvents;
     83 #endif
     84 
     85 #ifndef __IShellWindows_FWD_DEFINED__
     86 #define __IShellWindows_FWD_DEFINED__
     87 typedef struct IShellWindows IShellWindows;
     88 #endif
     89 
     90 #ifndef __ShellWindows_FWD_DEFINED__
     91 #define __ShellWindows_FWD_DEFINED__
     92 #ifdef __cplusplus
     93 typedef class ShellWindows ShellWindows;
     94 #else
     95 typedef struct ShellWindows ShellWindows;
     96 #endif
     97 #endif
     98 
     99 #ifndef __IShellUIHelper_FWD_DEFINED__
    100 #define __IShellUIHelper_FWD_DEFINED__
    101 typedef struct IShellUIHelper IShellUIHelper;
    102 #endif
    103 
    104 #ifndef __ShellUIHelper_FWD_DEFINED__
    105 #define __ShellUIHelper_FWD_DEFINED__
    106 #ifdef __cplusplus
    107 typedef class ShellUIHelper ShellUIHelper;
    108 #else
    109 typedef struct ShellUIHelper ShellUIHelper;
    110 #endif
    111 #endif
    112 
    113 #ifndef __DShellNameSpaceEvents_FWD_DEFINED__
    114 #define __DShellNameSpaceEvents_FWD_DEFINED__
    115 typedef struct DShellNameSpaceEvents DShellNameSpaceEvents;
    116 #endif
    117 
    118 #ifndef __IShellFavoritesNameSpace_FWD_DEFINED__
    119 #define __IShellFavoritesNameSpace_FWD_DEFINED__
    120 typedef struct IShellFavoritesNameSpace IShellFavoritesNameSpace;
    121 #endif
    122 
    123 #ifndef __IShellNameSpace_FWD_DEFINED__
    124 #define __IShellNameSpace_FWD_DEFINED__
    125 typedef struct IShellNameSpace IShellNameSpace;
    126 #endif
    127 
    128 #ifndef __ShellNameSpace_FWD_DEFINED__
    129 #define __ShellNameSpace_FWD_DEFINED__
    130 
    131 #ifdef __cplusplus
    132 typedef class ShellNameSpace ShellNameSpace;
    133 #else
    134 typedef struct ShellNameSpace ShellNameSpace;
    135 #endif
    136 #endif
    137 
    138 #ifndef __IScriptErrorList_FWD_DEFINED__
    139 #define __IScriptErrorList_FWD_DEFINED__
    140 typedef struct IScriptErrorList IScriptErrorList;
    141 #endif
    142 
    143 #ifndef __CScriptErrorList_FWD_DEFINED__
    144 #define __CScriptErrorList_FWD_DEFINED__
    145 #ifdef __cplusplus
    146 typedef class CScriptErrorList CScriptErrorList;
    147 #else
    148 typedef struct CScriptErrorList CScriptErrorList;
    149 #endif
    150 #endif
    151 
    152 #ifndef __ISearch_FWD_DEFINED__
    153 #define __ISearch_FWD_DEFINED__
    154 typedef struct ISearch ISearch;
    155 #endif
    156 
    157 #ifndef __ISearches_FWD_DEFINED__
    158 #define __ISearches_FWD_DEFINED__
    159 typedef struct ISearches ISearches;
    160 #endif
    161 
    162 #ifndef __ISearchAssistantOC_FWD_DEFINED__
    163 #define __ISearchAssistantOC_FWD_DEFINED__
    164 typedef struct ISearchAssistantOC ISearchAssistantOC;
    165 #endif
    166 
    167 #ifndef __ISearchAssistantOC2_FWD_DEFINED__
    168 #define __ISearchAssistantOC2_FWD_DEFINED__
    169 typedef struct ISearchAssistantOC2 ISearchAssistantOC2;
    170 #endif
    171 
    172 #ifndef __ISearchAssistantOC3_FWD_DEFINED__
    173 #define __ISearchAssistantOC3_FWD_DEFINED__
    174 typedef struct ISearchAssistantOC3 ISearchAssistantOC3;
    175 #endif
    176 
    177 #ifndef ___SearchAssistantEvents_FWD_DEFINED__
    178 #define ___SearchAssistantEvents_FWD_DEFINED__
    179 typedef struct _SearchAssistantEvents _SearchAssistantEvents;
    180 #endif
    181 
    182 #ifndef __SearchAssistantOC_FWD_DEFINED__
    183 #define __SearchAssistantOC_FWD_DEFINED__
    184 #ifdef __cplusplus
    185 typedef class SearchAssistantOC SearchAssistantOC;
    186 #else
    187 typedef struct SearchAssistantOC SearchAssistantOC;
    188 #endif
    189 #endif
    190 
    191 #include "ocidl.h"
    192 #include "docobj.h"
    193 
    194 #ifdef __cplusplus
    195 extern "C"{
    196 #endif
    197 
    198 #ifndef __MIDL_user_allocate_free_DEFINED__
    199 #define __MIDL_user_allocate_free_DEFINED__
    200   void *__RPC_API MIDL_user_allocate(size_t);
    201   void __RPC_API MIDL_user_free(void *);
    202 #endif
    203 
    204 #ifndef __SHDocVw_LIBRARY_DEFINED__
    205 #define __SHDocVw_LIBRARY_DEFINED__
    206 
    207   typedef enum CommandStateChangeConstants {
    208     CSC_UPDATECOMMANDS = 0xffffffff,CSC_NAVIGATEFORWARD = 0x1,CSC_NAVIGATEBACK = 0x2
    209   } CommandStateChangeConstants;
    210 
    211   typedef enum SecureLockIconConstants {
    212     secureLockIconUnsecure = 0,secureLockIconMixed = 0x1,secureLockIconSecureUnknownBits = 0x2,secureLockIconSecure40Bit = 0x3,
    213     secureLockIconSecure56Bit = 0x4,secureLockIconSecureFortezza = 0x5,secureLockIconSecure128Bit = 0x6
    214   } SecureLockIconConstants;
    215 
    216   typedef enum ShellWindowTypeConstants {
    217     SWC_EXPLORER = 0,SWC_BROWSER = 0x1,SWC_3RDPARTY = 0x2,SWC_CALLBACK = 0x4
    218   } ShellWindowTypeConstants;
    219 
    220   typedef enum ShellWindowFindWindowOptions {
    221     SWFO_NEEDDISPATCH = 0x1,SWFO_INCLUDEPENDING = 0x2,SWFO_COOKIEPASSED = 0x4
    222   } ShellWindowFindWindowOptions;
    223 
    224   EXTERN_C const IID LIBID_SHDocVw;
    225 
    226 #ifndef __IWebBrowser_INTERFACE_DEFINED__
    227 #define __IWebBrowser_INTERFACE_DEFINED__
    228   typedef enum BrowserNavConstants {
    229     navOpenInNewWindow = 0x1,navNoHistory = 0x2,navNoReadFromCache = 0x4,navNoWriteToCache = 0x8,navAllowAutosearch = 0x10,
    230     navBrowserBar = 0x20,navHyperlink = 0x40,navEnforceRestricted = 0x80,navNewWindowsManaged = 0x100,navUntrustedForDownload = 0x200,
    231     navTrustedForActiveX = 0x400
    232   } BrowserNavConstants;
    233 
    234   typedef enum RefreshConstants {
    235     REFRESH_NORMAL = 0,REFRESH_IFEXPIRED = 1,REFRESH_COMPLETELY = 3
    236   } RefreshConstants;
    237 
    238   EXTERN_C const IID IID_IWebBrowser;
    239 #if defined(__cplusplus) && !defined(CINTERFACE)
    240   struct IWebBrowser : public IDispatch {
    241   public:
    242     virtual HRESULT WINAPI GoBack(void) = 0;
    243     virtual HRESULT WINAPI GoForward(void) = 0;
    244     virtual HRESULT WINAPI GoHome(void) = 0;
    245     virtual HRESULT WINAPI GoSearch(void) = 0;
    246     virtual HRESULT WINAPI Navigate(BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) = 0;
    247     virtual HRESULT WINAPI Refresh(void) = 0;
    248     virtual HRESULT WINAPI Refresh2(VARIANT *Level) = 0;
    249     virtual HRESULT WINAPI Stop(void) = 0;
    250     virtual HRESULT WINAPI get_Application(IDispatch **ppDisp) = 0;
    251     virtual HRESULT WINAPI get_Parent(IDispatch **ppDisp) = 0;
    252     virtual HRESULT WINAPI get_Container(IDispatch **ppDisp) = 0;
    253     virtual HRESULT WINAPI get_Document(IDispatch **ppDisp) = 0;
    254     virtual HRESULT WINAPI get_TopLevelContainer(VARIANT_BOOL *pBool) = 0;
    255     virtual HRESULT WINAPI get_Type(BSTR *Type) = 0;
    256     virtual HRESULT WINAPI get_Left(__LONG32 *pl) = 0;
    257     virtual HRESULT WINAPI put_Left(__LONG32 Left) = 0;
    258     virtual HRESULT WINAPI get_Top(__LONG32 *pl) = 0;
    259     virtual HRESULT WINAPI put_Top(__LONG32 Top) = 0;
    260     virtual HRESULT WINAPI get_Width(__LONG32 *pl) = 0;
    261     virtual HRESULT WINAPI put_Width(__LONG32 Width) = 0;
    262     virtual HRESULT WINAPI get_Height(__LONG32 *pl) = 0;
    263     virtual HRESULT WINAPI put_Height(__LONG32 Height) = 0;
    264     virtual HRESULT WINAPI get_LocationName(BSTR *LocationName) = 0;
    265     virtual HRESULT WINAPI get_LocationURL(BSTR *LocationURL) = 0;
    266     virtual HRESULT WINAPI get_Busy(VARIANT_BOOL *pBool) = 0;
    267   };
    268 #else
    269   typedef struct IWebBrowserVtbl {
    270     BEGIN_INTERFACE
    271       HRESULT (WINAPI *QueryInterface)(IWebBrowser *This,REFIID riid,void **ppvObject);
    272       ULONG (WINAPI *AddRef)(IWebBrowser *This);
    273       ULONG (WINAPI *Release)(IWebBrowser *This);
    274       HRESULT (WINAPI *GetTypeInfoCount)(IWebBrowser *This,UINT *pctinfo);
    275       HRESULT (WINAPI *GetTypeInfo)(IWebBrowser *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    276       HRESULT (WINAPI *GetIDsOfNames)(IWebBrowser *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    277       HRESULT (WINAPI *Invoke)(IWebBrowser *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    278       HRESULT (WINAPI *GoBack)(IWebBrowser *This);
    279       HRESULT (WINAPI *GoForward)(IWebBrowser *This);
    280       HRESULT (WINAPI *GoHome)(IWebBrowser *This);
    281       HRESULT (WINAPI *GoSearch)(IWebBrowser *This);
    282       HRESULT (WINAPI *Navigate)(IWebBrowser *This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers);
    283       HRESULT (WINAPI *Refresh)(IWebBrowser *This);
    284       HRESULT (WINAPI *Refresh2)(IWebBrowser *This,VARIANT *Level);
    285       HRESULT (WINAPI *Stop)(IWebBrowser *This);
    286       HRESULT (WINAPI *get_Application)(IWebBrowser *This,IDispatch **ppDisp);
    287       HRESULT (WINAPI *get_Parent)(IWebBrowser *This,IDispatch **ppDisp);
    288       HRESULT (WINAPI *get_Container)(IWebBrowser *This,IDispatch **ppDisp);
    289       HRESULT (WINAPI *get_Document)(IWebBrowser *This,IDispatch **ppDisp);
    290       HRESULT (WINAPI *get_TopLevelContainer)(IWebBrowser *This,VARIANT_BOOL *pBool);
    291       HRESULT (WINAPI *get_Type)(IWebBrowser *This,BSTR *Type);
    292       HRESULT (WINAPI *get_Left)(IWebBrowser *This,__LONG32 *pl);
    293       HRESULT (WINAPI *put_Left)(IWebBrowser *This,__LONG32 Left);
    294       HRESULT (WINAPI *get_Top)(IWebBrowser *This,__LONG32 *pl);
    295       HRESULT (WINAPI *put_Top)(IWebBrowser *This,__LONG32 Top);
    296       HRESULT (WINAPI *get_Width)(IWebBrowser *This,__LONG32 *pl);
    297       HRESULT (WINAPI *put_Width)(IWebBrowser *This,__LONG32 Width);
    298       HRESULT (WINAPI *get_Height)(IWebBrowser *This,__LONG32 *pl);
    299       HRESULT (WINAPI *put_Height)(IWebBrowser *This,__LONG32 Height);
    300       HRESULT (WINAPI *get_LocationName)(IWebBrowser *This,BSTR *LocationName);
    301       HRESULT (WINAPI *get_LocationURL)(IWebBrowser *This,BSTR *LocationURL);
    302       HRESULT (WINAPI *get_Busy)(IWebBrowser *This,VARIANT_BOOL *pBool);
    303     END_INTERFACE
    304   } IWebBrowserVtbl;
    305   struct IWebBrowser {
    306     CONST_VTBL struct IWebBrowserVtbl *lpVtbl;
    307   };
    308 #ifdef COBJMACROS
    309 #define IWebBrowser_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    310 #define IWebBrowser_AddRef(This) (This)->lpVtbl->AddRef(This)
    311 #define IWebBrowser_Release(This) (This)->lpVtbl->Release(This)
    312 #define IWebBrowser_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    313 #define IWebBrowser_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    314 #define IWebBrowser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    315 #define IWebBrowser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    316 #define IWebBrowser_GoBack(This) (This)->lpVtbl->GoBack(This)
    317 #define IWebBrowser_GoForward(This) (This)->lpVtbl->GoForward(This)
    318 #define IWebBrowser_GoHome(This) (This)->lpVtbl->GoHome(This)
    319 #define IWebBrowser_GoSearch(This) (This)->lpVtbl->GoSearch(This)
    320 #define IWebBrowser_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers)
    321 #define IWebBrowser_Refresh(This) (This)->lpVtbl->Refresh(This)
    322 #define IWebBrowser_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level)
    323 #define IWebBrowser_Stop(This) (This)->lpVtbl->Stop(This)
    324 #define IWebBrowser_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp)
    325 #define IWebBrowser_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp)
    326 #define IWebBrowser_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp)
    327 #define IWebBrowser_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp)
    328 #define IWebBrowser_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool)
    329 #define IWebBrowser_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type)
    330 #define IWebBrowser_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl)
    331 #define IWebBrowser_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
    332 #define IWebBrowser_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl)
    333 #define IWebBrowser_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
    334 #define IWebBrowser_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl)
    335 #define IWebBrowser_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
    336 #define IWebBrowser_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl)
    337 #define IWebBrowser_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
    338 #define IWebBrowser_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName)
    339 #define IWebBrowser_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL)
    340 #define IWebBrowser_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool)
    341 #endif
    342 #endif
    343   HRESULT WINAPI IWebBrowser_GoBack_Proxy(IWebBrowser *This);
    344   void __RPC_STUB IWebBrowser_GoBack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    345   HRESULT WINAPI IWebBrowser_GoForward_Proxy(IWebBrowser *This);
    346   void __RPC_STUB IWebBrowser_GoForward_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    347   HRESULT WINAPI IWebBrowser_GoHome_Proxy(IWebBrowser *This);
    348   void __RPC_STUB IWebBrowser_GoHome_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    349   HRESULT WINAPI IWebBrowser_GoSearch_Proxy(IWebBrowser *This);
    350   void __RPC_STUB IWebBrowser_GoSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    351   HRESULT WINAPI IWebBrowser_Navigate_Proxy(IWebBrowser *This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers);
    352   void __RPC_STUB IWebBrowser_Navigate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    353   HRESULT WINAPI IWebBrowser_Refresh_Proxy(IWebBrowser *This);
    354   void __RPC_STUB IWebBrowser_Refresh_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    355   HRESULT WINAPI IWebBrowser_Refresh2_Proxy(IWebBrowser *This,VARIANT *Level);
    356   void __RPC_STUB IWebBrowser_Refresh2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    357   HRESULT WINAPI IWebBrowser_Stop_Proxy(IWebBrowser *This);
    358   void __RPC_STUB IWebBrowser_Stop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    359   HRESULT WINAPI IWebBrowser_get_Application_Proxy(IWebBrowser *This,IDispatch **ppDisp);
    360   void __RPC_STUB IWebBrowser_get_Application_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    361   HRESULT WINAPI IWebBrowser_get_Parent_Proxy(IWebBrowser *This,IDispatch **ppDisp);
    362   void __RPC_STUB IWebBrowser_get_Parent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    363   HRESULT WINAPI IWebBrowser_get_Container_Proxy(IWebBrowser *This,IDispatch **ppDisp);
    364   void __RPC_STUB IWebBrowser_get_Container_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    365   HRESULT WINAPI IWebBrowser_get_Document_Proxy(IWebBrowser *This,IDispatch **ppDisp);
    366   void __RPC_STUB IWebBrowser_get_Document_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    367   HRESULT WINAPI IWebBrowser_get_TopLevelContainer_Proxy(IWebBrowser *This,VARIANT_BOOL *pBool);
    368   void __RPC_STUB IWebBrowser_get_TopLevelContainer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    369   HRESULT WINAPI IWebBrowser_get_Type_Proxy(IWebBrowser *This,BSTR *Type);
    370   void __RPC_STUB IWebBrowser_get_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    371   HRESULT WINAPI IWebBrowser_get_Left_Proxy(IWebBrowser *This,__LONG32 *pl);
    372   void __RPC_STUB IWebBrowser_get_Left_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    373   HRESULT WINAPI IWebBrowser_put_Left_Proxy(IWebBrowser *This,__LONG32 Left);
    374   void __RPC_STUB IWebBrowser_put_Left_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    375   HRESULT WINAPI IWebBrowser_get_Top_Proxy(IWebBrowser *This,__LONG32 *pl);
    376   void __RPC_STUB IWebBrowser_get_Top_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    377   HRESULT WINAPI IWebBrowser_put_Top_Proxy(IWebBrowser *This,__LONG32 Top);
    378   void __RPC_STUB IWebBrowser_put_Top_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    379   HRESULT WINAPI IWebBrowser_get_Width_Proxy(IWebBrowser *This,__LONG32 *pl);
    380   void __RPC_STUB IWebBrowser_get_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    381   HRESULT WINAPI IWebBrowser_put_Width_Proxy(IWebBrowser *This,__LONG32 Width);
    382   void __RPC_STUB IWebBrowser_put_Width_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    383   HRESULT WINAPI IWebBrowser_get_Height_Proxy(IWebBrowser *This,__LONG32 *pl);
    384   void __RPC_STUB IWebBrowser_get_Height_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    385   HRESULT WINAPI IWebBrowser_put_Height_Proxy(IWebBrowser *This,__LONG32 Height);
    386   void __RPC_STUB IWebBrowser_put_Height_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    387   HRESULT WINAPI IWebBrowser_get_LocationName_Proxy(IWebBrowser *This,BSTR *LocationName);
    388   void __RPC_STUB IWebBrowser_get_LocationName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    389   HRESULT WINAPI IWebBrowser_get_LocationURL_Proxy(IWebBrowser *This,BSTR *LocationURL);
    390   void __RPC_STUB IWebBrowser_get_LocationURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    391   HRESULT WINAPI IWebBrowser_get_Busy_Proxy(IWebBrowser *This,VARIANT_BOOL *pBool);
    392   void __RPC_STUB IWebBrowser_get_Busy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    393 #endif
    394 
    395 #ifndef __DWebBrowserEvents_DISPINTERFACE_DEFINED__
    396 #define __DWebBrowserEvents_DISPINTERFACE_DEFINED__
    397   EXTERN_C const IID DIID_DWebBrowserEvents;
    398 #if defined(__cplusplus) && !defined(CINTERFACE)
    399   struct DWebBrowserEvents : public IDispatch {
    400   };
    401 #else
    402   typedef struct DWebBrowserEventsVtbl {
    403     BEGIN_INTERFACE
    404       HRESULT (WINAPI *QueryInterface)(DWebBrowserEvents *This,REFIID riid,void **ppvObject);
    405       ULONG (WINAPI *AddRef)(DWebBrowserEvents *This);
    406       ULONG (WINAPI *Release)(DWebBrowserEvents *This);
    407       HRESULT (WINAPI *GetTypeInfoCount)(DWebBrowserEvents *This,UINT *pctinfo);
    408       HRESULT (WINAPI *GetTypeInfo)(DWebBrowserEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    409       HRESULT (WINAPI *GetIDsOfNames)(DWebBrowserEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    410       HRESULT (WINAPI *Invoke)(DWebBrowserEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    411     END_INTERFACE
    412   } DWebBrowserEventsVtbl;
    413   struct DWebBrowserEvents {
    414     CONST_VTBL struct DWebBrowserEventsVtbl *lpVtbl;
    415   };
    416 #ifdef COBJMACROS
    417 #define DWebBrowserEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    418 #define DWebBrowserEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
    419 #define DWebBrowserEvents_Release(This) (This)->lpVtbl->Release(This)
    420 #define DWebBrowserEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    421 #define DWebBrowserEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    422 #define DWebBrowserEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    423 #define DWebBrowserEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    424 #endif
    425 #endif
    426 #endif
    427 
    428 #ifndef __IWebBrowserApp_INTERFACE_DEFINED__
    429 #define __IWebBrowserApp_INTERFACE_DEFINED__
    430   EXTERN_C const IID IID_IWebBrowserApp;
    431 #if defined(__cplusplus) && !defined(CINTERFACE)
    432   struct IWebBrowserApp : public IWebBrowser {
    433   public:
    434     virtual HRESULT WINAPI Quit(void) = 0;
    435     virtual HRESULT WINAPI ClientToWindow(int *pcx,int *pcy) = 0;
    436     virtual HRESULT WINAPI PutProperty(BSTR Property,VARIANT vtValue) = 0;
    437     virtual HRESULT WINAPI GetProperty(BSTR Property,VARIANT *pvtValue) = 0;
    438     virtual HRESULT WINAPI get_Name(BSTR *Name) = 0;
    439     virtual HRESULT WINAPI get_HWND(SHANDLE_PTR *pHWND) = 0;
    440     virtual HRESULT WINAPI get_FullName(BSTR *FullName) = 0;
    441     virtual HRESULT WINAPI get_Path(BSTR *Path) = 0;
    442     virtual HRESULT WINAPI get_Visible(VARIANT_BOOL *pBool) = 0;
    443     virtual HRESULT WINAPI put_Visible(VARIANT_BOOL Value) = 0;
    444     virtual HRESULT WINAPI get_StatusBar(VARIANT_BOOL *pBool) = 0;
    445     virtual HRESULT WINAPI put_StatusBar(VARIANT_BOOL Value) = 0;
    446     virtual HRESULT WINAPI get_StatusText(BSTR *StatusText) = 0;
    447     virtual HRESULT WINAPI put_StatusText(BSTR StatusText) = 0;
    448     virtual HRESULT WINAPI get_ToolBar(int *Value) = 0;
    449     virtual HRESULT WINAPI put_ToolBar(int Value) = 0;
    450     virtual HRESULT WINAPI get_MenuBar(VARIANT_BOOL *Value) = 0;
    451     virtual HRESULT WINAPI put_MenuBar(VARIANT_BOOL Value) = 0;
    452     virtual HRESULT WINAPI get_FullScreen(VARIANT_BOOL *pbFullScreen) = 0;
    453     virtual HRESULT WINAPI put_FullScreen(VARIANT_BOOL bFullScreen) = 0;
    454   };
    455 #else
    456   typedef struct IWebBrowserAppVtbl {
    457     BEGIN_INTERFACE
    458       HRESULT (WINAPI *QueryInterface)(IWebBrowserApp *This,REFIID riid,void **ppvObject);
    459       ULONG (WINAPI *AddRef)(IWebBrowserApp *This);
    460       ULONG (WINAPI *Release)(IWebBrowserApp *This);
    461       HRESULT (WINAPI *GetTypeInfoCount)(IWebBrowserApp *This,UINT *pctinfo);
    462       HRESULT (WINAPI *GetTypeInfo)(IWebBrowserApp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    463       HRESULT (WINAPI *GetIDsOfNames)(IWebBrowserApp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    464       HRESULT (WINAPI *Invoke)(IWebBrowserApp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    465       HRESULT (WINAPI *GoBack)(IWebBrowserApp *This);
    466       HRESULT (WINAPI *GoForward)(IWebBrowserApp *This);
    467       HRESULT (WINAPI *GoHome)(IWebBrowserApp *This);
    468       HRESULT (WINAPI *GoSearch)(IWebBrowserApp *This);
    469       HRESULT (WINAPI *Navigate)(IWebBrowserApp *This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers);
    470       HRESULT (WINAPI *Refresh)(IWebBrowserApp *This);
    471       HRESULT (WINAPI *Refresh2)(IWebBrowserApp *This,VARIANT *Level);
    472       HRESULT (WINAPI *Stop)(IWebBrowserApp *This);
    473       HRESULT (WINAPI *get_Application)(IWebBrowserApp *This,IDispatch **ppDisp);
    474       HRESULT (WINAPI *get_Parent)(IWebBrowserApp *This,IDispatch **ppDisp);
    475       HRESULT (WINAPI *get_Container)(IWebBrowserApp *This,IDispatch **ppDisp);
    476       HRESULT (WINAPI *get_Document)(IWebBrowserApp *This,IDispatch **ppDisp);
    477       HRESULT (WINAPI *get_TopLevelContainer)(IWebBrowserApp *This,VARIANT_BOOL *pBool);
    478       HRESULT (WINAPI *get_Type)(IWebBrowserApp *This,BSTR *Type);
    479       HRESULT (WINAPI *get_Left)(IWebBrowserApp *This,__LONG32 *pl);
    480       HRESULT (WINAPI *put_Left)(IWebBrowserApp *This,__LONG32 Left);
    481       HRESULT (WINAPI *get_Top)(IWebBrowserApp *This,__LONG32 *pl);
    482       HRESULT (WINAPI *put_Top)(IWebBrowserApp *This,__LONG32 Top);
    483       HRESULT (WINAPI *get_Width)(IWebBrowserApp *This,__LONG32 *pl);
    484       HRESULT (WINAPI *put_Width)(IWebBrowserApp *This,__LONG32 Width);
    485       HRESULT (WINAPI *get_Height)(IWebBrowserApp *This,__LONG32 *pl);
    486       HRESULT (WINAPI *put_Height)(IWebBrowserApp *This,__LONG32 Height);
    487       HRESULT (WINAPI *get_LocationName)(IWebBrowserApp *This,BSTR *LocationName);
    488       HRESULT (WINAPI *get_LocationURL)(IWebBrowserApp *This,BSTR *LocationURL);
    489       HRESULT (WINAPI *get_Busy)(IWebBrowserApp *This,VARIANT_BOOL *pBool);
    490       HRESULT (WINAPI *Quit)(IWebBrowserApp *This);
    491       HRESULT (WINAPI *ClientToWindow)(IWebBrowserApp *This,int *pcx,int *pcy);
    492       HRESULT (WINAPI *PutProperty)(IWebBrowserApp *This,BSTR Property,VARIANT vtValue);
    493       HRESULT (WINAPI *GetProperty)(IWebBrowserApp *This,BSTR Property,VARIANT *pvtValue);
    494       HRESULT (WINAPI *get_Name)(IWebBrowserApp *This,BSTR *Name);
    495       HRESULT (WINAPI *get_HWND)(IWebBrowserApp *This,SHANDLE_PTR *pHWND);
    496       HRESULT (WINAPI *get_FullName)(IWebBrowserApp *This,BSTR *FullName);
    497       HRESULT (WINAPI *get_Path)(IWebBrowserApp *This,BSTR *Path);
    498       HRESULT (WINAPI *get_Visible)(IWebBrowserApp *This,VARIANT_BOOL *pBool);
    499       HRESULT (WINAPI *put_Visible)(IWebBrowserApp *This,VARIANT_BOOL Value);
    500       HRESULT (WINAPI *get_StatusBar)(IWebBrowserApp *This,VARIANT_BOOL *pBool);
    501       HRESULT (WINAPI *put_StatusBar)(IWebBrowserApp *This,VARIANT_BOOL Value);
    502       HRESULT (WINAPI *get_StatusText)(IWebBrowserApp *This,BSTR *StatusText);
    503       HRESULT (WINAPI *put_StatusText)(IWebBrowserApp *This,BSTR StatusText);
    504       HRESULT (WINAPI *get_ToolBar)(IWebBrowserApp *This,int *Value);
    505       HRESULT (WINAPI *put_ToolBar)(IWebBrowserApp *This,int Value);
    506       HRESULT (WINAPI *get_MenuBar)(IWebBrowserApp *This,VARIANT_BOOL *Value);
    507       HRESULT (WINAPI *put_MenuBar)(IWebBrowserApp *This,VARIANT_BOOL Value);
    508       HRESULT (WINAPI *get_FullScreen)(IWebBrowserApp *This,VARIANT_BOOL *pbFullScreen);
    509       HRESULT (WINAPI *put_FullScreen)(IWebBrowserApp *This,VARIANT_BOOL bFullScreen);
    510     END_INTERFACE
    511   } IWebBrowserAppVtbl;
    512   struct IWebBrowserApp {
    513     CONST_VTBL struct IWebBrowserAppVtbl *lpVtbl;
    514   };
    515 #ifdef COBJMACROS
    516 #define IWebBrowserApp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    517 #define IWebBrowserApp_AddRef(This) (This)->lpVtbl->AddRef(This)
    518 #define IWebBrowserApp_Release(This) (This)->lpVtbl->Release(This)
    519 #define IWebBrowserApp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    520 #define IWebBrowserApp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    521 #define IWebBrowserApp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    522 #define IWebBrowserApp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    523 #define IWebBrowserApp_GoBack(This) (This)->lpVtbl->GoBack(This)
    524 #define IWebBrowserApp_GoForward(This) (This)->lpVtbl->GoForward(This)
    525 #define IWebBrowserApp_GoHome(This) (This)->lpVtbl->GoHome(This)
    526 #define IWebBrowserApp_GoSearch(This) (This)->lpVtbl->GoSearch(This)
    527 #define IWebBrowserApp_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers)
    528 #define IWebBrowserApp_Refresh(This) (This)->lpVtbl->Refresh(This)
    529 #define IWebBrowserApp_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level)
    530 #define IWebBrowserApp_Stop(This) (This)->lpVtbl->Stop(This)
    531 #define IWebBrowserApp_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp)
    532 #define IWebBrowserApp_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp)
    533 #define IWebBrowserApp_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp)
    534 #define IWebBrowserApp_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp)
    535 #define IWebBrowserApp_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool)
    536 #define IWebBrowserApp_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type)
    537 #define IWebBrowserApp_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl)
    538 #define IWebBrowserApp_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
    539 #define IWebBrowserApp_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl)
    540 #define IWebBrowserApp_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
    541 #define IWebBrowserApp_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl)
    542 #define IWebBrowserApp_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
    543 #define IWebBrowserApp_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl)
    544 #define IWebBrowserApp_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
    545 #define IWebBrowserApp_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName)
    546 #define IWebBrowserApp_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL)
    547 #define IWebBrowserApp_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool)
    548 #define IWebBrowserApp_Quit(This) (This)->lpVtbl->Quit(This)
    549 #define IWebBrowserApp_ClientToWindow(This,pcx,pcy) (This)->lpVtbl->ClientToWindow(This,pcx,pcy)
    550 #define IWebBrowserApp_PutProperty(This,Property,vtValue) (This)->lpVtbl->PutProperty(This,Property,vtValue)
    551 #define IWebBrowserApp_GetProperty(This,Property,pvtValue) (This)->lpVtbl->GetProperty(This,Property,pvtValue)
    552 #define IWebBrowserApp_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
    553 #define IWebBrowserApp_get_HWND(This,pHWND) (This)->lpVtbl->get_HWND(This,pHWND)
    554 #define IWebBrowserApp_get_FullName(This,FullName) (This)->lpVtbl->get_FullName(This,FullName)
    555 #define IWebBrowserApp_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path)
    556 #define IWebBrowserApp_get_Visible(This,pBool) (This)->lpVtbl->get_Visible(This,pBool)
    557 #define IWebBrowserApp_put_Visible(This,Value) (This)->lpVtbl->put_Visible(This,Value)
    558 #define IWebBrowserApp_get_StatusBar(This,pBool) (This)->lpVtbl->get_StatusBar(This,pBool)
    559 #define IWebBrowserApp_put_StatusBar(This,Value) (This)->lpVtbl->put_StatusBar(This,Value)
    560 #define IWebBrowserApp_get_StatusText(This,StatusText) (This)->lpVtbl->get_StatusText(This,StatusText)
    561 #define IWebBrowserApp_put_StatusText(This,StatusText) (This)->lpVtbl->put_StatusText(This,StatusText)
    562 #define IWebBrowserApp_get_ToolBar(This,Value) (This)->lpVtbl->get_ToolBar(This,Value)
    563 #define IWebBrowserApp_put_ToolBar(This,Value) (This)->lpVtbl->put_ToolBar(This,Value)
    564 #define IWebBrowserApp_get_MenuBar(This,Value) (This)->lpVtbl->get_MenuBar(This,Value)
    565 #define IWebBrowserApp_put_MenuBar(This,Value) (This)->lpVtbl->put_MenuBar(This,Value)
    566 #define IWebBrowserApp_get_FullScreen(This,pbFullScreen) (This)->lpVtbl->get_FullScreen(This,pbFullScreen)
    567 #define IWebBrowserApp_put_FullScreen(This,bFullScreen) (This)->lpVtbl->put_FullScreen(This,bFullScreen)
    568 #endif
    569 #endif
    570   HRESULT WINAPI IWebBrowserApp_Quit_Proxy(IWebBrowserApp *This);
    571   void __RPC_STUB IWebBrowserApp_Quit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    572   HRESULT WINAPI IWebBrowserApp_ClientToWindow_Proxy(IWebBrowserApp *This,int *pcx,int *pcy);
    573   void __RPC_STUB IWebBrowserApp_ClientToWindow_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    574   HRESULT WINAPI IWebBrowserApp_PutProperty_Proxy(IWebBrowserApp *This,BSTR Property,VARIANT vtValue);
    575   void __RPC_STUB IWebBrowserApp_PutProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    576   HRESULT WINAPI IWebBrowserApp_GetProperty_Proxy(IWebBrowserApp *This,BSTR Property,VARIANT *pvtValue);
    577   void __RPC_STUB IWebBrowserApp_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    578   HRESULT WINAPI IWebBrowserApp_get_Name_Proxy(IWebBrowserApp *This,BSTR *Name);
    579   void __RPC_STUB IWebBrowserApp_get_Name_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    580   HRESULT WINAPI IWebBrowserApp_get_HWND_Proxy(IWebBrowserApp *This,SHANDLE_PTR *pHWND);
    581   void __RPC_STUB IWebBrowserApp_get_HWND_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    582   HRESULT WINAPI IWebBrowserApp_get_FullName_Proxy(IWebBrowserApp *This,BSTR *FullName);
    583   void __RPC_STUB IWebBrowserApp_get_FullName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    584   HRESULT WINAPI IWebBrowserApp_get_Path_Proxy(IWebBrowserApp *This,BSTR *Path);
    585   void __RPC_STUB IWebBrowserApp_get_Path_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    586   HRESULT WINAPI IWebBrowserApp_get_Visible_Proxy(IWebBrowserApp *This,VARIANT_BOOL *pBool);
    587   void __RPC_STUB IWebBrowserApp_get_Visible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    588   HRESULT WINAPI IWebBrowserApp_put_Visible_Proxy(IWebBrowserApp *This,VARIANT_BOOL Value);
    589   void __RPC_STUB IWebBrowserApp_put_Visible_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    590   HRESULT WINAPI IWebBrowserApp_get_StatusBar_Proxy(IWebBrowserApp *This,VARIANT_BOOL *pBool);
    591   void __RPC_STUB IWebBrowserApp_get_StatusBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    592   HRESULT WINAPI IWebBrowserApp_put_StatusBar_Proxy(IWebBrowserApp *This,VARIANT_BOOL Value);
    593   void __RPC_STUB IWebBrowserApp_put_StatusBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    594   HRESULT WINAPI IWebBrowserApp_get_StatusText_Proxy(IWebBrowserApp *This,BSTR *StatusText);
    595   void __RPC_STUB IWebBrowserApp_get_StatusText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    596   HRESULT WINAPI IWebBrowserApp_put_StatusText_Proxy(IWebBrowserApp *This,BSTR StatusText);
    597   void __RPC_STUB IWebBrowserApp_put_StatusText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    598   HRESULT WINAPI IWebBrowserApp_get_ToolBar_Proxy(IWebBrowserApp *This,int *Value);
    599   void __RPC_STUB IWebBrowserApp_get_ToolBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    600   HRESULT WINAPI IWebBrowserApp_put_ToolBar_Proxy(IWebBrowserApp *This,int Value);
    601   void __RPC_STUB IWebBrowserApp_put_ToolBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    602   HRESULT WINAPI IWebBrowserApp_get_MenuBar_Proxy(IWebBrowserApp *This,VARIANT_BOOL *Value);
    603   void __RPC_STUB IWebBrowserApp_get_MenuBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    604   HRESULT WINAPI IWebBrowserApp_put_MenuBar_Proxy(IWebBrowserApp *This,VARIANT_BOOL Value);
    605   void __RPC_STUB IWebBrowserApp_put_MenuBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    606   HRESULT WINAPI IWebBrowserApp_get_FullScreen_Proxy(IWebBrowserApp *This,VARIANT_BOOL *pbFullScreen);
    607   void __RPC_STUB IWebBrowserApp_get_FullScreen_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    608   HRESULT WINAPI IWebBrowserApp_put_FullScreen_Proxy(IWebBrowserApp *This,VARIANT_BOOL bFullScreen);
    609   void __RPC_STUB IWebBrowserApp_put_FullScreen_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    610 #endif
    611 
    612 #ifndef __IWebBrowser2_INTERFACE_DEFINED__
    613 #define __IWebBrowser2_INTERFACE_DEFINED__
    614   EXTERN_C const IID IID_IWebBrowser2;
    615 #if defined(__cplusplus) && !defined(CINTERFACE)
    616   struct IWebBrowser2 : public IWebBrowserApp {
    617   public:
    618     virtual HRESULT WINAPI Navigate2(VARIANT *URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers) = 0;
    619     virtual HRESULT WINAPI QueryStatusWB(OLECMDID cmdID,OLECMDF *pcmdf) = 0;
    620     virtual HRESULT WINAPI ExecWB(OLECMDID cmdID,OLECMDEXECOPT cmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut) = 0;
    621     virtual HRESULT WINAPI ShowBrowserBar(VARIANT *pvaClsid,VARIANT *pvarShow,VARIANT *pvarSize) = 0;
    622     virtual HRESULT WINAPI get_ReadyState(READYSTATE *plReadyState) = 0;
    623     virtual HRESULT WINAPI get_Offline(VARIANT_BOOL *pbOffline) = 0;
    624     virtual HRESULT WINAPI put_Offline(VARIANT_BOOL bOffline) = 0;
    625     virtual HRESULT WINAPI get_Silent(VARIANT_BOOL *pbSilent) = 0;
    626     virtual HRESULT WINAPI put_Silent(VARIANT_BOOL bSilent) = 0;
    627     virtual HRESULT WINAPI get_RegisterAsBrowser(VARIANT_BOOL *pbRegister) = 0;
    628     virtual HRESULT WINAPI put_RegisterAsBrowser(VARIANT_BOOL bRegister) = 0;
    629     virtual HRESULT WINAPI get_RegisterAsDropTarget(VARIANT_BOOL *pbRegister) = 0;
    630     virtual HRESULT WINAPI put_RegisterAsDropTarget(VARIANT_BOOL bRegister) = 0;
    631     virtual HRESULT WINAPI get_TheaterMode(VARIANT_BOOL *pbRegister) = 0;
    632     virtual HRESULT WINAPI put_TheaterMode(VARIANT_BOOL bRegister) = 0;
    633     virtual HRESULT WINAPI get_AddressBar(VARIANT_BOOL *Value) = 0;
    634     virtual HRESULT WINAPI put_AddressBar(VARIANT_BOOL Value) = 0;
    635     virtual HRESULT WINAPI get_Resizable(VARIANT_BOOL *Value) = 0;
    636     virtual HRESULT WINAPI put_Resizable(VARIANT_BOOL Value) = 0;
    637   };
    638 #else
    639   typedef struct IWebBrowser2Vtbl {
    640     BEGIN_INTERFACE
    641       HRESULT (WINAPI *QueryInterface)(IWebBrowser2 *This,REFIID riid,void **ppvObject);
    642       ULONG (WINAPI *AddRef)(IWebBrowser2 *This);
    643       ULONG (WINAPI *Release)(IWebBrowser2 *This);
    644       HRESULT (WINAPI *GetTypeInfoCount)(IWebBrowser2 *This,UINT *pctinfo);
    645       HRESULT (WINAPI *GetTypeInfo)(IWebBrowser2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    646       HRESULT (WINAPI *GetIDsOfNames)(IWebBrowser2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    647       HRESULT (WINAPI *Invoke)(IWebBrowser2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    648       HRESULT (WINAPI *GoBack)(IWebBrowser2 *This);
    649       HRESULT (WINAPI *GoForward)(IWebBrowser2 *This);
    650       HRESULT (WINAPI *GoHome)(IWebBrowser2 *This);
    651       HRESULT (WINAPI *GoSearch)(IWebBrowser2 *This);
    652       HRESULT (WINAPI *Navigate)(IWebBrowser2 *This,BSTR URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers);
    653       HRESULT (WINAPI *Refresh)(IWebBrowser2 *This);
    654       HRESULT (WINAPI *Refresh2)(IWebBrowser2 *This,VARIANT *Level);
    655       HRESULT (WINAPI *Stop)(IWebBrowser2 *This);
    656       HRESULT (WINAPI *get_Application)(IWebBrowser2 *This,IDispatch **ppDisp);
    657       HRESULT (WINAPI *get_Parent)(IWebBrowser2 *This,IDispatch **ppDisp);
    658       HRESULT (WINAPI *get_Container)(IWebBrowser2 *This,IDispatch **ppDisp);
    659       HRESULT (WINAPI *get_Document)(IWebBrowser2 *This,IDispatch **ppDisp);
    660       HRESULT (WINAPI *get_TopLevelContainer)(IWebBrowser2 *This,VARIANT_BOOL *pBool);
    661       HRESULT (WINAPI *get_Type)(IWebBrowser2 *This,BSTR *Type);
    662       HRESULT (WINAPI *get_Left)(IWebBrowser2 *This,__LONG32 *pl);
    663       HRESULT (WINAPI *put_Left)(IWebBrowser2 *This,__LONG32 Left);
    664       HRESULT (WINAPI *get_Top)(IWebBrowser2 *This,__LONG32 *pl);
    665       HRESULT (WINAPI *put_Top)(IWebBrowser2 *This,__LONG32 Top);
    666       HRESULT (WINAPI *get_Width)(IWebBrowser2 *This,__LONG32 *pl);
    667       HRESULT (WINAPI *put_Width)(IWebBrowser2 *This,__LONG32 Width);
    668       HRESULT (WINAPI *get_Height)(IWebBrowser2 *This,__LONG32 *pl);
    669       HRESULT (WINAPI *put_Height)(IWebBrowser2 *This,__LONG32 Height);
    670       HRESULT (WINAPI *get_LocationName)(IWebBrowser2 *This,BSTR *LocationName);
    671       HRESULT (WINAPI *get_LocationURL)(IWebBrowser2 *This,BSTR *LocationURL);
    672       HRESULT (WINAPI *get_Busy)(IWebBrowser2 *This,VARIANT_BOOL *pBool);
    673       HRESULT (WINAPI *Quit)(IWebBrowser2 *This);
    674       HRESULT (WINAPI *ClientToWindow)(IWebBrowser2 *This,int *pcx,int *pcy);
    675       HRESULT (WINAPI *PutProperty)(IWebBrowser2 *This,BSTR Property,VARIANT vtValue);
    676       HRESULT (WINAPI *GetProperty)(IWebBrowser2 *This,BSTR Property,VARIANT *pvtValue);
    677       HRESULT (WINAPI *get_Name)(IWebBrowser2 *This,BSTR *Name);
    678       HRESULT (WINAPI *get_HWND)(IWebBrowser2 *This,SHANDLE_PTR *pHWND);
    679       HRESULT (WINAPI *get_FullName)(IWebBrowser2 *This,BSTR *FullName);
    680       HRESULT (WINAPI *get_Path)(IWebBrowser2 *This,BSTR *Path);
    681       HRESULT (WINAPI *get_Visible)(IWebBrowser2 *This,VARIANT_BOOL *pBool);
    682       HRESULT (WINAPI *put_Visible)(IWebBrowser2 *This,VARIANT_BOOL Value);
    683       HRESULT (WINAPI *get_StatusBar)(IWebBrowser2 *This,VARIANT_BOOL *pBool);
    684       HRESULT (WINAPI *put_StatusBar)(IWebBrowser2 *This,VARIANT_BOOL Value);
    685       HRESULT (WINAPI *get_StatusText)(IWebBrowser2 *This,BSTR *StatusText);
    686       HRESULT (WINAPI *put_StatusText)(IWebBrowser2 *This,BSTR StatusText);
    687       HRESULT (WINAPI *get_ToolBar)(IWebBrowser2 *This,int *Value);
    688       HRESULT (WINAPI *put_ToolBar)(IWebBrowser2 *This,int Value);
    689       HRESULT (WINAPI *get_MenuBar)(IWebBrowser2 *This,VARIANT_BOOL *Value);
    690       HRESULT (WINAPI *put_MenuBar)(IWebBrowser2 *This,VARIANT_BOOL Value);
    691       HRESULT (WINAPI *get_FullScreen)(IWebBrowser2 *This,VARIANT_BOOL *pbFullScreen);
    692       HRESULT (WINAPI *put_FullScreen)(IWebBrowser2 *This,VARIANT_BOOL bFullScreen);
    693       HRESULT (WINAPI *Navigate2)(IWebBrowser2 *This,VARIANT *URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers);
    694       HRESULT (WINAPI *QueryStatusWB)(IWebBrowser2 *This,OLECMDID cmdID,OLECMDF *pcmdf);
    695       HRESULT (WINAPI *ExecWB)(IWebBrowser2 *This,OLECMDID cmdID,OLECMDEXECOPT cmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut);
    696       HRESULT (WINAPI *ShowBrowserBar)(IWebBrowser2 *This,VARIANT *pvaClsid,VARIANT *pvarShow,VARIANT *pvarSize);
    697       HRESULT (WINAPI *get_ReadyState)(IWebBrowser2 *This,READYSTATE *plReadyState);
    698       HRESULT (WINAPI *get_Offline)(IWebBrowser2 *This,VARIANT_BOOL *pbOffline);
    699       HRESULT (WINAPI *put_Offline)(IWebBrowser2 *This,VARIANT_BOOL bOffline);
    700       HRESULT (WINAPI *get_Silent)(IWebBrowser2 *This,VARIANT_BOOL *pbSilent);
    701       HRESULT (WINAPI *put_Silent)(IWebBrowser2 *This,VARIANT_BOOL bSilent);
    702       HRESULT (WINAPI *get_RegisterAsBrowser)(IWebBrowser2 *This,VARIANT_BOOL *pbRegister);
    703       HRESULT (WINAPI *put_RegisterAsBrowser)(IWebBrowser2 *This,VARIANT_BOOL bRegister);
    704       HRESULT (WINAPI *get_RegisterAsDropTarget)(IWebBrowser2 *This,VARIANT_BOOL *pbRegister);
    705       HRESULT (WINAPI *put_RegisterAsDropTarget)(IWebBrowser2 *This,VARIANT_BOOL bRegister);
    706       HRESULT (WINAPI *get_TheaterMode)(IWebBrowser2 *This,VARIANT_BOOL *pbRegister);
    707       HRESULT (WINAPI *put_TheaterMode)(IWebBrowser2 *This,VARIANT_BOOL bRegister);
    708       HRESULT (WINAPI *get_AddressBar)(IWebBrowser2 *This,VARIANT_BOOL *Value);
    709       HRESULT (WINAPI *put_AddressBar)(IWebBrowser2 *This,VARIANT_BOOL Value);
    710       HRESULT (WINAPI *get_Resizable)(IWebBrowser2 *This,VARIANT_BOOL *Value);
    711       HRESULT (WINAPI *put_Resizable)(IWebBrowser2 *This,VARIANT_BOOL Value);
    712     END_INTERFACE
    713   } IWebBrowser2Vtbl;
    714   struct IWebBrowser2 {
    715     CONST_VTBL struct IWebBrowser2Vtbl *lpVtbl;
    716   };
    717 #ifdef COBJMACROS
    718 #define IWebBrowser2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    719 #define IWebBrowser2_AddRef(This) (This)->lpVtbl->AddRef(This)
    720 #define IWebBrowser2_Release(This) (This)->lpVtbl->Release(This)
    721 #define IWebBrowser2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    722 #define IWebBrowser2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    723 #define IWebBrowser2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    724 #define IWebBrowser2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    725 #define IWebBrowser2_GoBack(This) (This)->lpVtbl->GoBack(This)
    726 #define IWebBrowser2_GoForward(This) (This)->lpVtbl->GoForward(This)
    727 #define IWebBrowser2_GoHome(This) (This)->lpVtbl->GoHome(This)
    728 #define IWebBrowser2_GoSearch(This) (This)->lpVtbl->GoSearch(This)
    729 #define IWebBrowser2_Navigate(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate(This,URL,Flags,TargetFrameName,PostData,Headers)
    730 #define IWebBrowser2_Refresh(This) (This)->lpVtbl->Refresh(This)
    731 #define IWebBrowser2_Refresh2(This,Level) (This)->lpVtbl->Refresh2(This,Level)
    732 #define IWebBrowser2_Stop(This) (This)->lpVtbl->Stop(This)
    733 #define IWebBrowser2_get_Application(This,ppDisp) (This)->lpVtbl->get_Application(This,ppDisp)
    734 #define IWebBrowser2_get_Parent(This,ppDisp) (This)->lpVtbl->get_Parent(This,ppDisp)
    735 #define IWebBrowser2_get_Container(This,ppDisp) (This)->lpVtbl->get_Container(This,ppDisp)
    736 #define IWebBrowser2_get_Document(This,ppDisp) (This)->lpVtbl->get_Document(This,ppDisp)
    737 #define IWebBrowser2_get_TopLevelContainer(This,pBool) (This)->lpVtbl->get_TopLevelContainer(This,pBool)
    738 #define IWebBrowser2_get_Type(This,Type) (This)->lpVtbl->get_Type(This,Type)
    739 #define IWebBrowser2_get_Left(This,pl) (This)->lpVtbl->get_Left(This,pl)
    740 #define IWebBrowser2_put_Left(This,Left) (This)->lpVtbl->put_Left(This,Left)
    741 #define IWebBrowser2_get_Top(This,pl) (This)->lpVtbl->get_Top(This,pl)
    742 #define IWebBrowser2_put_Top(This,Top) (This)->lpVtbl->put_Top(This,Top)
    743 #define IWebBrowser2_get_Width(This,pl) (This)->lpVtbl->get_Width(This,pl)
    744 #define IWebBrowser2_put_Width(This,Width) (This)->lpVtbl->put_Width(This,Width)
    745 #define IWebBrowser2_get_Height(This,pl) (This)->lpVtbl->get_Height(This,pl)
    746 #define IWebBrowser2_put_Height(This,Height) (This)->lpVtbl->put_Height(This,Height)
    747 #define IWebBrowser2_get_LocationName(This,LocationName) (This)->lpVtbl->get_LocationName(This,LocationName)
    748 #define IWebBrowser2_get_LocationURL(This,LocationURL) (This)->lpVtbl->get_LocationURL(This,LocationURL)
    749 #define IWebBrowser2_get_Busy(This,pBool) (This)->lpVtbl->get_Busy(This,pBool)
    750 #define IWebBrowser2_Quit(This) (This)->lpVtbl->Quit(This)
    751 #define IWebBrowser2_ClientToWindow(This,pcx,pcy) (This)->lpVtbl->ClientToWindow(This,pcx,pcy)
    752 #define IWebBrowser2_PutProperty(This,Property,vtValue) (This)->lpVtbl->PutProperty(This,Property,vtValue)
    753 #define IWebBrowser2_GetProperty(This,Property,pvtValue) (This)->lpVtbl->GetProperty(This,Property,pvtValue)
    754 #define IWebBrowser2_get_Name(This,Name) (This)->lpVtbl->get_Name(This,Name)
    755 #define IWebBrowser2_get_HWND(This,pHWND) (This)->lpVtbl->get_HWND(This,pHWND)
    756 #define IWebBrowser2_get_FullName(This,FullName) (This)->lpVtbl->get_FullName(This,FullName)
    757 #define IWebBrowser2_get_Path(This,Path) (This)->lpVtbl->get_Path(This,Path)
    758 #define IWebBrowser2_get_Visible(This,pBool) (This)->lpVtbl->get_Visible(This,pBool)
    759 #define IWebBrowser2_put_Visible(This,Value) (This)->lpVtbl->put_Visible(This,Value)
    760 #define IWebBrowser2_get_StatusBar(This,pBool) (This)->lpVtbl->get_StatusBar(This,pBool)
    761 #define IWebBrowser2_put_StatusBar(This,Value) (This)->lpVtbl->put_StatusBar(This,Value)
    762 #define IWebBrowser2_get_StatusText(This,StatusText) (This)->lpVtbl->get_StatusText(This,StatusText)
    763 #define IWebBrowser2_put_StatusText(This,StatusText) (This)->lpVtbl->put_StatusText(This,StatusText)
    764 #define IWebBrowser2_get_ToolBar(This,Value) (This)->lpVtbl->get_ToolBar(This,Value)
    765 #define IWebBrowser2_put_ToolBar(This,Value) (This)->lpVtbl->put_ToolBar(This,Value)
    766 #define IWebBrowser2_get_MenuBar(This,Value) (This)->lpVtbl->get_MenuBar(This,Value)
    767 #define IWebBrowser2_put_MenuBar(This,Value) (This)->lpVtbl->put_MenuBar(This,Value)
    768 #define IWebBrowser2_get_FullScreen(This,pbFullScreen) (This)->lpVtbl->get_FullScreen(This,pbFullScreen)
    769 #define IWebBrowser2_put_FullScreen(This,bFullScreen) (This)->lpVtbl->put_FullScreen(This,bFullScreen)
    770 #define IWebBrowser2_Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers) (This)->lpVtbl->Navigate2(This,URL,Flags,TargetFrameName,PostData,Headers)
    771 #define IWebBrowser2_QueryStatusWB(This,cmdID,pcmdf) (This)->lpVtbl->QueryStatusWB(This,cmdID,pcmdf)
    772 #define IWebBrowser2_ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut) (This)->lpVtbl->ExecWB(This,cmdID,cmdexecopt,pvaIn,pvaOut)
    773 #define IWebBrowser2_ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize) (This)->lpVtbl->ShowBrowserBar(This,pvaClsid,pvarShow,pvarSize)
    774 #define IWebBrowser2_get_ReadyState(This,plReadyState) (This)->lpVtbl->get_ReadyState(This,plReadyState)
    775 #define IWebBrowser2_get_Offline(This,pbOffline) (This)->lpVtbl->get_Offline(This,pbOffline)
    776 #define IWebBrowser2_put_Offline(This,bOffline) (This)->lpVtbl->put_Offline(This,bOffline)
    777 #define IWebBrowser2_get_Silent(This,pbSilent) (This)->lpVtbl->get_Silent(This,pbSilent)
    778 #define IWebBrowser2_put_Silent(This,bSilent) (This)->lpVtbl->put_Silent(This,bSilent)
    779 #define IWebBrowser2_get_RegisterAsBrowser(This,pbRegister) (This)->lpVtbl->get_RegisterAsBrowser(This,pbRegister)
    780 #define IWebBrowser2_put_RegisterAsBrowser(This,bRegister) (This)->lpVtbl->put_RegisterAsBrowser(This,bRegister)
    781 #define IWebBrowser2_get_RegisterAsDropTarget(This,pbRegister) (This)->lpVtbl->get_RegisterAsDropTarget(This,pbRegister)
    782 #define IWebBrowser2_put_RegisterAsDropTarget(This,bRegister) (This)->lpVtbl->put_RegisterAsDropTarget(This,bRegister)
    783 #define IWebBrowser2_get_TheaterMode(This,pbRegister) (This)->lpVtbl->get_TheaterMode(This,pbRegister)
    784 #define IWebBrowser2_put_TheaterMode(This,bRegister) (This)->lpVtbl->put_TheaterMode(This,bRegister)
    785 #define IWebBrowser2_get_AddressBar(This,Value) (This)->lpVtbl->get_AddressBar(This,Value)
    786 #define IWebBrowser2_put_AddressBar(This,Value) (This)->lpVtbl->put_AddressBar(This,Value)
    787 #define IWebBrowser2_get_Resizable(This,Value) (This)->lpVtbl->get_Resizable(This,Value)
    788 #define IWebBrowser2_put_Resizable(This,Value) (This)->lpVtbl->put_Resizable(This,Value)
    789 #endif
    790 #endif
    791   HRESULT WINAPI IWebBrowser2_Navigate2_Proxy(IWebBrowser2 *This,VARIANT *URL,VARIANT *Flags,VARIANT *TargetFrameName,VARIANT *PostData,VARIANT *Headers);
    792   void __RPC_STUB IWebBrowser2_Navigate2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    793   HRESULT WINAPI IWebBrowser2_QueryStatusWB_Proxy(IWebBrowser2 *This,OLECMDID cmdID,OLECMDF *pcmdf);
    794   void __RPC_STUB IWebBrowser2_QueryStatusWB_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    795   HRESULT WINAPI IWebBrowser2_ExecWB_Proxy(IWebBrowser2 *This,OLECMDID cmdID,OLECMDEXECOPT cmdexecopt,VARIANT *pvaIn,VARIANT *pvaOut);
    796   void __RPC_STUB IWebBrowser2_ExecWB_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    797   HRESULT WINAPI IWebBrowser2_ShowBrowserBar_Proxy(IWebBrowser2 *This,VARIANT *pvaClsid,VARIANT *pvarShow,VARIANT *pvarSize);
    798   void __RPC_STUB IWebBrowser2_ShowBrowserBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    799   HRESULT WINAPI IWebBrowser2_get_ReadyState_Proxy(IWebBrowser2 *This,READYSTATE *plReadyState);
    800   void __RPC_STUB IWebBrowser2_get_ReadyState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    801   HRESULT WINAPI IWebBrowser2_get_Offline_Proxy(IWebBrowser2 *This,VARIANT_BOOL *pbOffline);
    802   void __RPC_STUB IWebBrowser2_get_Offline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    803   HRESULT WINAPI IWebBrowser2_put_Offline_Proxy(IWebBrowser2 *This,VARIANT_BOOL bOffline);
    804   void __RPC_STUB IWebBrowser2_put_Offline_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    805   HRESULT WINAPI IWebBrowser2_get_Silent_Proxy(IWebBrowser2 *This,VARIANT_BOOL *pbSilent);
    806   void __RPC_STUB IWebBrowser2_get_Silent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    807   HRESULT WINAPI IWebBrowser2_put_Silent_Proxy(IWebBrowser2 *This,VARIANT_BOOL bSilent);
    808   void __RPC_STUB IWebBrowser2_put_Silent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    809   HRESULT WINAPI IWebBrowser2_get_RegisterAsBrowser_Proxy(IWebBrowser2 *This,VARIANT_BOOL *pbRegister);
    810   void __RPC_STUB IWebBrowser2_get_RegisterAsBrowser_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    811   HRESULT WINAPI IWebBrowser2_put_RegisterAsBrowser_Proxy(IWebBrowser2 *This,VARIANT_BOOL bRegister);
    812   void __RPC_STUB IWebBrowser2_put_RegisterAsBrowser_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    813   HRESULT WINAPI IWebBrowser2_get_RegisterAsDropTarget_Proxy(IWebBrowser2 *This,VARIANT_BOOL *pbRegister);
    814   void __RPC_STUB IWebBrowser2_get_RegisterAsDropTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    815   HRESULT WINAPI IWebBrowser2_put_RegisterAsDropTarget_Proxy(IWebBrowser2 *This,VARIANT_BOOL bRegister);
    816   void __RPC_STUB IWebBrowser2_put_RegisterAsDropTarget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    817   HRESULT WINAPI IWebBrowser2_get_TheaterMode_Proxy(IWebBrowser2 *This,VARIANT_BOOL *pbRegister);
    818   void __RPC_STUB IWebBrowser2_get_TheaterMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    819   HRESULT WINAPI IWebBrowser2_put_TheaterMode_Proxy(IWebBrowser2 *This,VARIANT_BOOL bRegister);
    820   void __RPC_STUB IWebBrowser2_put_TheaterMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    821   HRESULT WINAPI IWebBrowser2_get_AddressBar_Proxy(IWebBrowser2 *This,VARIANT_BOOL *Value);
    822   void __RPC_STUB IWebBrowser2_get_AddressBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    823   HRESULT WINAPI IWebBrowser2_put_AddressBar_Proxy(IWebBrowser2 *This,VARIANT_BOOL Value);
    824   void __RPC_STUB IWebBrowser2_put_AddressBar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    825   HRESULT WINAPI IWebBrowser2_get_Resizable_Proxy(IWebBrowser2 *This,VARIANT_BOOL *Value);
    826   void __RPC_STUB IWebBrowser2_get_Resizable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    827   HRESULT WINAPI IWebBrowser2_put_Resizable_Proxy(IWebBrowser2 *This,VARIANT_BOOL Value);
    828   void __RPC_STUB IWebBrowser2_put_Resizable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    829 #endif
    830 
    831 #ifndef __DWebBrowserEvents2_DISPINTERFACE_DEFINED__
    832 #define __DWebBrowserEvents2_DISPINTERFACE_DEFINED__
    833   EXTERN_C const IID DIID_DWebBrowserEvents2;
    834 #if defined(__cplusplus) && !defined(CINTERFACE)
    835   struct DWebBrowserEvents2 : public IDispatch {
    836   };
    837 #else
    838   typedef struct DWebBrowserEvents2Vtbl {
    839     BEGIN_INTERFACE
    840       HRESULT (WINAPI *QueryInterface)(DWebBrowserEvents2 *This,REFIID riid,void **ppvObject);
    841       ULONG (WINAPI *AddRef)(DWebBrowserEvents2 *This);
    842       ULONG (WINAPI *Release)(DWebBrowserEvents2 *This);
    843       HRESULT (WINAPI *GetTypeInfoCount)(DWebBrowserEvents2 *This,UINT *pctinfo);
    844       HRESULT (WINAPI *GetTypeInfo)(DWebBrowserEvents2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    845       HRESULT (WINAPI *GetIDsOfNames)(DWebBrowserEvents2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    846       HRESULT (WINAPI *Invoke)(DWebBrowserEvents2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    847     END_INTERFACE
    848   } DWebBrowserEvents2Vtbl;
    849   struct DWebBrowserEvents2 {
    850     CONST_VTBL struct DWebBrowserEvents2Vtbl *lpVtbl;
    851   };
    852 #ifdef COBJMACROS
    853 #define DWebBrowserEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    854 #define DWebBrowserEvents2_AddRef(This) (This)->lpVtbl->AddRef(This)
    855 #define DWebBrowserEvents2_Release(This) (This)->lpVtbl->Release(This)
    856 #define DWebBrowserEvents2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    857 #define DWebBrowserEvents2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    858 #define DWebBrowserEvents2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    859 #define DWebBrowserEvents2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    860 #endif
    861 #endif
    862 #endif
    863 
    864   EXTERN_C const CLSID CLSID_WebBrowser_V1;
    865 #ifdef __cplusplus
    866   class WebBrowser_V1;
    867 #endif
    868   EXTERN_C const CLSID CLSID_WebBrowser;
    869 #ifdef __cplusplus
    870   class WebBrowser;
    871 #endif
    872   EXTERN_C const CLSID CLSID_InternetExplorer;
    873 #ifdef __cplusplus
    874   class InternetExplorer;
    875 #endif
    876   EXTERN_C const CLSID CLSID_ShellBrowserWindow;
    877 #ifdef __cplusplus
    878   class ShellBrowserWindow;
    879 #endif
    880 
    881 #ifndef __DShellWindowsEvents_DISPINTERFACE_DEFINED__
    882 #define __DShellWindowsEvents_DISPINTERFACE_DEFINED__
    883   EXTERN_C const IID DIID_DShellWindowsEvents;
    884 #if defined(__cplusplus) && !defined(CINTERFACE)
    885   struct DShellWindowsEvents : public IDispatch {
    886   };
    887 #else
    888   typedef struct DShellWindowsEventsVtbl {
    889     BEGIN_INTERFACE
    890       HRESULT (WINAPI *QueryInterface)(DShellWindowsEvents *This,REFIID riid,void **ppvObject);
    891       ULONG (WINAPI *AddRef)(DShellWindowsEvents *This);
    892       ULONG (WINAPI *Release)(DShellWindowsEvents *This);
    893       HRESULT (WINAPI *GetTypeInfoCount)(DShellWindowsEvents *This,UINT *pctinfo);
    894       HRESULT (WINAPI *GetTypeInfo)(DShellWindowsEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    895       HRESULT (WINAPI *GetIDsOfNames)(DShellWindowsEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    896       HRESULT (WINAPI *Invoke)(DShellWindowsEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    897     END_INTERFACE
    898   } DShellWindowsEventsVtbl;
    899   struct DShellWindowsEvents {
    900     CONST_VTBL struct DShellWindowsEventsVtbl *lpVtbl;
    901   };
    902 #ifdef COBJMACROS
    903 #define DShellWindowsEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    904 #define DShellWindowsEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
    905 #define DShellWindowsEvents_Release(This) (This)->lpVtbl->Release(This)
    906 #define DShellWindowsEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    907 #define DShellWindowsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    908 #define DShellWindowsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    909 #define DShellWindowsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    910 #endif
    911 #endif
    912 #endif
    913 
    914 #ifndef __IShellWindows_INTERFACE_DEFINED__
    915 #define __IShellWindows_INTERFACE_DEFINED__
    916   EXTERN_C const IID IID_IShellWindows;
    917 #if defined(__cplusplus) && !defined(CINTERFACE)
    918   struct IShellWindows : public IDispatch {
    919   public:
    920     virtual HRESULT WINAPI get_Count(__LONG32 *Count) = 0;
    921     virtual HRESULT WINAPI Item(VARIANT index,IDispatch **Folder) = 0;
    922     virtual HRESULT WINAPI _NewEnum(IUnknown **ppunk) = 0;
    923     virtual HRESULT WINAPI Register(IDispatch *pid,__LONG32 hwnd,int swClass,__LONG32 *plCookie) = 0;
    924     virtual HRESULT WINAPI RegisterPending(__LONG32 lThreadId,VARIANT *pvarloc,VARIANT *pvarlocRoot,int swClass,__LONG32 *plCookie) = 0;
    925     virtual HRESULT WINAPI Revoke(__LONG32 lCookie) = 0;
    926     virtual HRESULT WINAPI OnNavigate(__LONG32 lCookie,VARIANT *pvarLoc) = 0;
    927     virtual HRESULT WINAPI OnActivated(__LONG32 lCookie,VARIANT_BOOL fActive) = 0;
    928     virtual HRESULT WINAPI FindWindowSW(VARIANT *pvarLoc,VARIANT *pvarLocRoot,int swClass,__LONG32 *phwnd,int swfwOptions,IDispatch **ppdispOut) = 0;
    929     virtual HRESULT WINAPI OnCreated(__LONG32 lCookie,IUnknown *punk) = 0;
    930     virtual HRESULT WINAPI ProcessAttachDetach(VARIANT_BOOL fAttach) = 0;
    931   };
    932 #else
    933   typedef struct IShellWindowsVtbl {
    934     BEGIN_INTERFACE
    935       HRESULT (WINAPI *QueryInterface)(IShellWindows *This,REFIID riid,void **ppvObject);
    936       ULONG (WINAPI *AddRef)(IShellWindows *This);
    937       ULONG (WINAPI *Release)(IShellWindows *This);
    938       HRESULT (WINAPI *GetTypeInfoCount)(IShellWindows *This,UINT *pctinfo);
    939       HRESULT (WINAPI *GetTypeInfo)(IShellWindows *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    940       HRESULT (WINAPI *GetIDsOfNames)(IShellWindows *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    941       HRESULT (WINAPI *Invoke)(IShellWindows *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    942       HRESULT (WINAPI *get_Count)(IShellWindows *This,__LONG32 *Count);
    943       HRESULT (WINAPI *Item)(IShellWindows *This,VARIANT index,IDispatch **Folder);
    944       HRESULT (WINAPI *_NewEnum)(IShellWindows *This,IUnknown **ppunk);
    945       HRESULT (WINAPI *Register)(IShellWindows *This,IDispatch *pid,__LONG32 hwnd,int swClass,__LONG32 *plCookie);
    946       HRESULT (WINAPI *RegisterPending)(IShellWindows *This,__LONG32 lThreadId,VARIANT *pvarloc,VARIANT *pvarlocRoot,int swClass,__LONG32 *plCookie);
    947       HRESULT (WINAPI *Revoke)(IShellWindows *This,__LONG32 lCookie);
    948       HRESULT (WINAPI *OnNavigate)(IShellWindows *This,__LONG32 lCookie,VARIANT *pvarLoc);
    949       HRESULT (WINAPI *OnActivated)(IShellWindows *This,__LONG32 lCookie,VARIANT_BOOL fActive);
    950       HRESULT (WINAPI *FindWindowSW)(IShellWindows *This,VARIANT *pvarLoc,VARIANT *pvarLocRoot,int swClass,__LONG32 *phwnd,int swfwOptions,IDispatch **ppdispOut);
    951       HRESULT (WINAPI *OnCreated)(IShellWindows *This,__LONG32 lCookie,IUnknown *punk);
    952       HRESULT (WINAPI *ProcessAttachDetach)(IShellWindows *This,VARIANT_BOOL fAttach);
    953     END_INTERFACE
    954   } IShellWindowsVtbl;
    955   struct IShellWindows {
    956     CONST_VTBL struct IShellWindowsVtbl *lpVtbl;
    957   };
    958 #ifdef COBJMACROS
    959 #define IShellWindows_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    960 #define IShellWindows_AddRef(This) (This)->lpVtbl->AddRef(This)
    961 #define IShellWindows_Release(This) (This)->lpVtbl->Release(This)
    962 #define IShellWindows_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    963 #define IShellWindows_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    964 #define IShellWindows_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    965 #define IShellWindows_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    966 #define IShellWindows_get_Count(This,Count) (This)->lpVtbl->get_Count(This,Count)
    967 #define IShellWindows_Item(This,index,Folder) (This)->lpVtbl->Item(This,index,Folder)
    968 #define IShellWindows__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk)
    969 #define IShellWindows_Register(This,pid,hwnd,swClass,plCookie) (This)->lpVtbl->Register(This,pid,hwnd,swClass,plCookie)
    970 #define IShellWindows_RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie) (This)->lpVtbl->RegisterPending(This,lThreadId,pvarloc,pvarlocRoot,swClass,plCookie)
    971 #define IShellWindows_Revoke(This,lCookie) (This)->lpVtbl->Revoke(This,lCookie)
    972 #define IShellWindows_OnNavigate(This,lCookie,pvarLoc) (This)->lpVtbl->OnNavigate(This,lCookie,pvarLoc)
    973 #define IShellWindows_OnActivated(This,lCookie,fActive) (This)->lpVtbl->OnActivated(This,lCookie,fActive)
    974 #define IShellWindows_FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut) (This)->lpVtbl->FindWindowSW(This,pvarLoc,pvarLocRoot,swClass,phwnd,swfwOptions,ppdispOut)
    975 #define IShellWindows_OnCreated(This,lCookie,punk) (This)->lpVtbl->OnCreated(This,lCookie,punk)
    976 #define IShellWindows_ProcessAttachDetach(This,fAttach) (This)->lpVtbl->ProcessAttachDetach(This,fAttach)
    977 #endif
    978 #endif
    979   HRESULT WINAPI IShellWindows_get_Count_Proxy(IShellWindows *This,__LONG32 *Count);
    980   void __RPC_STUB IShellWindows_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    981   HRESULT WINAPI IShellWindows_Item_Proxy(IShellWindows *This,VARIANT index,IDispatch **Folder);
    982   void __RPC_STUB IShellWindows_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    983   HRESULT WINAPI IShellWindows__NewEnum_Proxy(IShellWindows *This,IUnknown **ppunk);
    984   void __RPC_STUB IShellWindows__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    985   HRESULT WINAPI IShellWindows_Register_Proxy(IShellWindows *This,IDispatch *pid,__LONG32 hwnd,int swClass,__LONG32 *plCookie);
    986   void __RPC_STUB IShellWindows_Register_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    987   HRESULT WINAPI IShellWindows_RegisterPending_Proxy(IShellWindows *This,__LONG32 lThreadId,VARIANT *pvarloc,VARIANT *pvarlocRoot,int swClass,__LONG32 *plCookie);
    988   void __RPC_STUB IShellWindows_RegisterPending_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    989   HRESULT WINAPI IShellWindows_Revoke_Proxy(IShellWindows *This,__LONG32 lCookie);
    990   void __RPC_STUB IShellWindows_Revoke_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    991   HRESULT WINAPI IShellWindows_OnNavigate_Proxy(IShellWindows *This,__LONG32 lCookie,VARIANT *pvarLoc);
    992   void __RPC_STUB IShellWindows_OnNavigate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    993   HRESULT WINAPI IShellWindows_OnActivated_Proxy(IShellWindows *This,__LONG32 lCookie,VARIANT_BOOL fActive);
    994   void __RPC_STUB IShellWindows_OnActivated_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    995   HRESULT WINAPI IShellWindows_FindWindowSW_Proxy(IShellWindows *This,VARIANT *pvarLoc,VARIANT *pvarLocRoot,int swClass,__LONG32 *phwnd,int swfwOptions,IDispatch **ppdispOut);
    996   void __RPC_STUB IShellWindows_FindWindowSW_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    997   HRESULT WINAPI IShellWindows_OnCreated_Proxy(IShellWindows *This,__LONG32 lCookie,IUnknown *punk);
    998   void __RPC_STUB IShellWindows_OnCreated_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    999   HRESULT WINAPI IShellWindows_ProcessAttachDetach_Proxy(IShellWindows *This,VARIANT_BOOL fAttach);
   1000   void __RPC_STUB IShellWindows_ProcessAttachDetach_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1001 #endif
   1002 
   1003   EXTERN_C const CLSID CLSID_ShellWindows;
   1004 #ifdef __cplusplus
   1005   class ShellWindows;
   1006 #endif
   1007 
   1008 #ifndef __IShellUIHelper_INTERFACE_DEFINED__
   1009 #define __IShellUIHelper_INTERFACE_DEFINED__
   1010   EXTERN_C const IID IID_IShellUIHelper;
   1011 #if defined(__cplusplus) && !defined(CINTERFACE)
   1012   struct IShellUIHelper : public IDispatch {
   1013   public:
   1014     virtual HRESULT WINAPI ResetFirstBootMode(void) = 0;
   1015     virtual HRESULT WINAPI ResetSafeMode(void) = 0;
   1016     virtual HRESULT WINAPI RefreshOfflineDesktop(void) = 0;
   1017     virtual HRESULT WINAPI AddFavorite(BSTR URL,VARIANT *Title) = 0;
   1018     virtual HRESULT WINAPI AddChannel(BSTR URL) = 0;
   1019     virtual HRESULT WINAPI AddDesktopComponent(BSTR URL,BSTR Type,VARIANT *Left,VARIANT *Top,VARIANT *Width,VARIANT *Height) = 0;
   1020     virtual HRESULT WINAPI IsSubscribed(BSTR URL,VARIANT_BOOL *pBool) = 0;
   1021     virtual HRESULT WINAPI NavigateAndFind(BSTR URL,BSTR strQuery,VARIANT *varTargetFrame) = 0;
   1022     virtual HRESULT WINAPI ImportExportFavorites(VARIANT_BOOL fImport,BSTR strImpExpPath) = 0;
   1023     virtual HRESULT WINAPI AutoCompleteSaveForm(VARIANT *Form) = 0;
   1024     virtual HRESULT WINAPI AutoScan(BSTR strSearch,BSTR strFailureUrl,VARIANT *pvarTargetFrame) = 0;
   1025     virtual HRESULT WINAPI AutoCompleteAttach(VARIANT *Reserved) = 0;
   1026     virtual HRESULT WINAPI ShowBrowserUI(BSTR bstrName,VARIANT *pvarIn,VARIANT *pvarOut) = 0;
   1027   };
   1028 #else
   1029   typedef struct IShellUIHelperVtbl {
   1030     BEGIN_INTERFACE
   1031       HRESULT (WINAPI *QueryInterface)(IShellUIHelper *This,REFIID riid,void **ppvObject);
   1032       ULONG (WINAPI *AddRef)(IShellUIHelper *This);
   1033       ULONG (WINAPI *Release)(IShellUIHelper *This);
   1034       HRESULT (WINAPI *GetTypeInfoCount)(IShellUIHelper *This,UINT *pctinfo);
   1035       HRESULT (WINAPI *GetTypeInfo)(IShellUIHelper *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1036       HRESULT (WINAPI *GetIDsOfNames)(IShellUIHelper *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1037       HRESULT (WINAPI *Invoke)(IShellUIHelper *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1038       HRESULT (WINAPI *ResetFirstBootMode)(IShellUIHelper *This);
   1039       HRESULT (WINAPI *ResetSafeMode)(IShellUIHelper *This);
   1040       HRESULT (WINAPI *RefreshOfflineDesktop)(IShellUIHelper *This);
   1041       HRESULT (WINAPI *AddFavorite)(IShellUIHelper *This,BSTR URL,VARIANT *Title);
   1042       HRESULT (WINAPI *AddChannel)(IShellUIHelper *This,BSTR URL);
   1043       HRESULT (WINAPI *AddDesktopComponent)(IShellUIHelper *This,BSTR URL,BSTR Type,VARIANT *Left,VARIANT *Top,VARIANT *Width,VARIANT *Height);
   1044       HRESULT (WINAPI *IsSubscribed)(IShellUIHelper *This,BSTR URL,VARIANT_BOOL *pBool);
   1045       HRESULT (WINAPI *NavigateAndFind)(IShellUIHelper *This,BSTR URL,BSTR strQuery,VARIANT *varTargetFrame);
   1046       HRESULT (WINAPI *ImportExportFavorites)(IShellUIHelper *This,VARIANT_BOOL fImport,BSTR strImpExpPath);
   1047       HRESULT (WINAPI *AutoCompleteSaveForm)(IShellUIHelper *This,VARIANT *Form);
   1048       HRESULT (WINAPI *AutoScan)(IShellUIHelper *This,BSTR strSearch,BSTR strFailureUrl,VARIANT *pvarTargetFrame);
   1049       HRESULT (WINAPI *AutoCompleteAttach)(IShellUIHelper *This,VARIANT *Reserved);
   1050       HRESULT (WINAPI *ShowBrowserUI)(IShellUIHelper *This,BSTR bstrName,VARIANT *pvarIn,VARIANT *pvarOut);
   1051     END_INTERFACE
   1052   } IShellUIHelperVtbl;
   1053   struct IShellUIHelper {
   1054     CONST_VTBL struct IShellUIHelperVtbl *lpVtbl;
   1055   };
   1056 #ifdef COBJMACROS
   1057 #define IShellUIHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1058 #define IShellUIHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
   1059 #define IShellUIHelper_Release(This) (This)->lpVtbl->Release(This)
   1060 #define IShellUIHelper_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1061 #define IShellUIHelper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1062 #define IShellUIHelper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1063 #define IShellUIHelper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1064 #define IShellUIHelper_ResetFirstBootMode(This) (This)->lpVtbl->ResetFirstBootMode(This)
   1065 #define IShellUIHelper_ResetSafeMode(This) (This)->lpVtbl->ResetSafeMode(This)
   1066 #define IShellUIHelper_RefreshOfflineDesktop(This) (This)->lpVtbl->RefreshOfflineDesktop(This)
   1067 #define IShellUIHelper_AddFavorite(This,URL,Title) (This)->lpVtbl->AddFavorite(This,URL,Title)
   1068 #define IShellUIHelper_AddChannel(This,URL) (This)->lpVtbl->AddChannel(This,URL)
   1069 #define IShellUIHelper_AddDesktopComponent(This,URL,Type,Left,Top,Width,Height) (This)->lpVtbl->AddDesktopComponent(This,URL,Type,Left,Top,Width,Height)
   1070 #define IShellUIHelper_IsSubscribed(This,URL,pBool) (This)->lpVtbl->IsSubscribed(This,URL,pBool)
   1071 #define IShellUIHelper_NavigateAndFind(This,URL,strQuery,varTargetFrame) (This)->lpVtbl->NavigateAndFind(This,URL,strQuery,varTargetFrame)
   1072 #define IShellUIHelper_ImportExportFavorites(This,fImport,strImpExpPath) (This)->lpVtbl->ImportExportFavorites(This,fImport,strImpExpPath)
   1073 #define IShellUIHelper_AutoCompleteSaveForm(This,Form) (This)->lpVtbl->AutoCompleteSaveForm(This,Form)
   1074 #define IShellUIHelper_AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame) (This)->lpVtbl->AutoScan(This,strSearch,strFailureUrl,pvarTargetFrame)
   1075 #define IShellUIHelper_AutoCompleteAttach(This,Reserved) (This)->lpVtbl->AutoCompleteAttach(This,Reserved)
   1076 #define IShellUIHelper_ShowBrowserUI(This,bstrName,pvarIn,pvarOut) (This)->lpVtbl->ShowBrowserUI(This,bstrName,pvarIn,pvarOut)
   1077 #endif
   1078 #endif
   1079   HRESULT WINAPI IShellUIHelper_ResetFirstBootMode_Proxy(IShellUIHelper *This);
   1080   void __RPC_STUB IShellUIHelper_ResetFirstBootMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1081   HRESULT WINAPI IShellUIHelper_ResetSafeMode_Proxy(IShellUIHelper *This);
   1082   void __RPC_STUB IShellUIHelper_ResetSafeMode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1083   HRESULT WINAPI IShellUIHelper_RefreshOfflineDesktop_Proxy(IShellUIHelper *This);
   1084   void __RPC_STUB IShellUIHelper_RefreshOfflineDesktop_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1085   HRESULT WINAPI IShellUIHelper_AddFavorite_Proxy(IShellUIHelper *This,BSTR URL,VARIANT *Title);
   1086   void __RPC_STUB IShellUIHelper_AddFavorite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1087   HRESULT WINAPI IShellUIHelper_AddChannel_Proxy(IShellUIHelper *This,BSTR URL);
   1088   void __RPC_STUB IShellUIHelper_AddChannel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1089   HRESULT WINAPI IShellUIHelper_AddDesktopComponent_Proxy(IShellUIHelper *This,BSTR URL,BSTR Type,VARIANT *Left,VARIANT *Top,VARIANT *Width,VARIANT *Height);
   1090   void __RPC_STUB IShellUIHelper_AddDesktopComponent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1091   HRESULT WINAPI IShellUIHelper_IsSubscribed_Proxy(IShellUIHelper *This,BSTR URL,VARIANT_BOOL *pBool);
   1092   void __RPC_STUB IShellUIHelper_IsSubscribed_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1093   HRESULT WINAPI IShellUIHelper_NavigateAndFind_Proxy(IShellUIHelper *This,BSTR URL,BSTR strQuery,VARIANT *varTargetFrame);
   1094   void __RPC_STUB IShellUIHelper_NavigateAndFind_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1095   HRESULT WINAPI IShellUIHelper_ImportExportFavorites_Proxy(IShellUIHelper *This,VARIANT_BOOL fImport,BSTR strImpExpPath);
   1096   void __RPC_STUB IShellUIHelper_ImportExportFavorites_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1097   HRESULT WINAPI IShellUIHelper_AutoCompleteSaveForm_Proxy(IShellUIHelper *This,VARIANT *Form);
   1098   void __RPC_STUB IShellUIHelper_AutoCompleteSaveForm_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1099   HRESULT WINAPI IShellUIHelper_AutoScan_Proxy(IShellUIHelper *This,BSTR strSearch,BSTR strFailureUrl,VARIANT *pvarTargetFrame);
   1100   void __RPC_STUB IShellUIHelper_AutoScan_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1101   HRESULT WINAPI IShellUIHelper_AutoCompleteAttach_Proxy(IShellUIHelper *This,VARIANT *Reserved);
   1102   void __RPC_STUB IShellUIHelper_AutoCompleteAttach_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1103   HRESULT WINAPI IShellUIHelper_ShowBrowserUI_Proxy(IShellUIHelper *This,BSTR bstrName,VARIANT *pvarIn,VARIANT *pvarOut);
   1104   void __RPC_STUB IShellUIHelper_ShowBrowserUI_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1105 #endif
   1106 
   1107   EXTERN_C const CLSID CLSID_ShellUIHelper;
   1108 #ifdef __cplusplus
   1109   class ShellUIHelper;
   1110 #endif
   1111 
   1112 #ifndef __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__
   1113 #define __DShellNameSpaceEvents_DISPINTERFACE_DEFINED__
   1114   EXTERN_C const IID DIID_DShellNameSpaceEvents;
   1115 #if defined(__cplusplus) && !defined(CINTERFACE)
   1116   struct DShellNameSpaceEvents : public IDispatch {
   1117   };
   1118 #else
   1119   typedef struct DShellNameSpaceEventsVtbl {
   1120     BEGIN_INTERFACE
   1121       HRESULT (WINAPI *QueryInterface)(DShellNameSpaceEvents *This,REFIID riid,void **ppvObject);
   1122       ULONG (WINAPI *AddRef)(DShellNameSpaceEvents *This);
   1123       ULONG (WINAPI *Release)(DShellNameSpaceEvents *This);
   1124       HRESULT (WINAPI *GetTypeInfoCount)(DShellNameSpaceEvents *This,UINT *pctinfo);
   1125       HRESULT (WINAPI *GetTypeInfo)(DShellNameSpaceEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1126       HRESULT (WINAPI *GetIDsOfNames)(DShellNameSpaceEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1127       HRESULT (WINAPI *Invoke)(DShellNameSpaceEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1128     END_INTERFACE
   1129   } DShellNameSpaceEventsVtbl;
   1130   struct DShellNameSpaceEvents {
   1131     CONST_VTBL struct DShellNameSpaceEventsVtbl *lpVtbl;
   1132   };
   1133 #ifdef COBJMACROS
   1134 #define DShellNameSpaceEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1135 #define DShellNameSpaceEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1136 #define DShellNameSpaceEvents_Release(This) (This)->lpVtbl->Release(This)
   1137 #define DShellNameSpaceEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1138 #define DShellNameSpaceEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1139 #define DShellNameSpaceEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1140 #define DShellNameSpaceEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1141 #endif
   1142 #endif
   1143 #endif
   1144 
   1145 #ifndef __IShellFavoritesNameSpace_INTERFACE_DEFINED__
   1146 #define __IShellFavoritesNameSpace_INTERFACE_DEFINED__
   1147   EXTERN_C const IID IID_IShellFavoritesNameSpace;
   1148 #if defined(__cplusplus) && !defined(CINTERFACE)
   1149   struct IShellFavoritesNameSpace : public IDispatch {
   1150   public:
   1151     virtual HRESULT WINAPI MoveSelectionUp(void) = 0;
   1152     virtual HRESULT WINAPI MoveSelectionDown(void) = 0;
   1153     virtual HRESULT WINAPI ResetSort(void) = 0;
   1154     virtual HRESULT WINAPI NewFolder(void) = 0;
   1155     virtual HRESULT WINAPI Synchronize(void) = 0;
   1156     virtual HRESULT WINAPI Import(void) = 0;
   1157     virtual HRESULT WINAPI Export(void) = 0;
   1158     virtual HRESULT WINAPI InvokeContextMenuCommand(BSTR strCommand) = 0;
   1159     virtual HRESULT WINAPI MoveSelectionTo(void) = 0;
   1160     virtual HRESULT WINAPI get_SubscriptionsEnabled(VARIANT_BOOL *pBool) = 0;
   1161     virtual HRESULT WINAPI CreateSubscriptionForSelection(VARIANT_BOOL *pBool) = 0;
   1162     virtual HRESULT WINAPI DeleteSubscriptionForSelection(VARIANT_BOOL *pBool) = 0;
   1163     virtual HRESULT WINAPI SetRoot(BSTR bstrFullPath) = 0;
   1164   };
   1165 #else
   1166   typedef struct IShellFavoritesNameSpaceVtbl {
   1167     BEGIN_INTERFACE
   1168       HRESULT (WINAPI *QueryInterface)(IShellFavoritesNameSpace *This,REFIID riid,void **ppvObject);
   1169       ULONG (WINAPI *AddRef)(IShellFavoritesNameSpace *This);
   1170       ULONG (WINAPI *Release)(IShellFavoritesNameSpace *This);
   1171       HRESULT (WINAPI *GetTypeInfoCount)(IShellFavoritesNameSpace *This,UINT *pctinfo);
   1172       HRESULT (WINAPI *GetTypeInfo)(IShellFavoritesNameSpace *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1173       HRESULT (WINAPI *GetIDsOfNames)(IShellFavoritesNameSpace *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1174       HRESULT (WINAPI *Invoke)(IShellFavoritesNameSpace *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1175       HRESULT (WINAPI *MoveSelectionUp)(IShellFavoritesNameSpace *This);
   1176       HRESULT (WINAPI *MoveSelectionDown)(IShellFavoritesNameSpace *This);
   1177       HRESULT (WINAPI *ResetSort)(IShellFavoritesNameSpace *This);
   1178       HRESULT (WINAPI *NewFolder)(IShellFavoritesNameSpace *This);
   1179       HRESULT (WINAPI *Synchronize)(IShellFavoritesNameSpace *This);
   1180       HRESULT (WINAPI *Import)(IShellFavoritesNameSpace *This);
   1181       HRESULT (WINAPI *Export)(IShellFavoritesNameSpace *This);
   1182       HRESULT (WINAPI *InvokeContextMenuCommand)(IShellFavoritesNameSpace *This,BSTR strCommand);
   1183       HRESULT (WINAPI *MoveSelectionTo)(IShellFavoritesNameSpace *This);
   1184       HRESULT (WINAPI *get_SubscriptionsEnabled)(IShellFavoritesNameSpace *This,VARIANT_BOOL *pBool);
   1185       HRESULT (WINAPI *CreateSubscriptionForSelection)(IShellFavoritesNameSpace *This,VARIANT_BOOL *pBool);
   1186       HRESULT (WINAPI *DeleteSubscriptionForSelection)(IShellFavoritesNameSpace *This,VARIANT_BOOL *pBool);
   1187       HRESULT (WINAPI *SetRoot)(IShellFavoritesNameSpace *This,BSTR bstrFullPath);
   1188     END_INTERFACE
   1189   } IShellFavoritesNameSpaceVtbl;
   1190   struct IShellFavoritesNameSpace {
   1191     CONST_VTBL struct IShellFavoritesNameSpaceVtbl *lpVtbl;
   1192   };
   1193 #ifdef COBJMACROS
   1194 #define IShellFavoritesNameSpace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1195 #define IShellFavoritesNameSpace_AddRef(This) (This)->lpVtbl->AddRef(This)
   1196 #define IShellFavoritesNameSpace_Release(This) (This)->lpVtbl->Release(This)
   1197 #define IShellFavoritesNameSpace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1198 #define IShellFavoritesNameSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1199 #define IShellFavoritesNameSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1200 #define IShellFavoritesNameSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1201 #define IShellFavoritesNameSpace_MoveSelectionUp(This) (This)->lpVtbl->MoveSelectionUp(This)
   1202 #define IShellFavoritesNameSpace_MoveSelectionDown(This) (This)->lpVtbl->MoveSelectionDown(This)
   1203 #define IShellFavoritesNameSpace_ResetSort(This) (This)->lpVtbl->ResetSort(This)
   1204 #define IShellFavoritesNameSpace_NewFolder(This) (This)->lpVtbl->NewFolder(This)
   1205 #define IShellFavoritesNameSpace_Synchronize(This) (This)->lpVtbl->Synchronize(This)
   1206 #define IShellFavoritesNameSpace_Import(This) (This)->lpVtbl->Import(This)
   1207 #define IShellFavoritesNameSpace_Export(This) (This)->lpVtbl->Export(This)
   1208 #define IShellFavoritesNameSpace_InvokeContextMenuCommand(This,strCommand) (This)->lpVtbl->InvokeContextMenuCommand(This,strCommand)
   1209 #define IShellFavoritesNameSpace_MoveSelectionTo(This) (This)->lpVtbl->MoveSelectionTo(This)
   1210 #define IShellFavoritesNameSpace_get_SubscriptionsEnabled(This,pBool) (This)->lpVtbl->get_SubscriptionsEnabled(This,pBool)
   1211 #define IShellFavoritesNameSpace_CreateSubscriptionForSelection(This,pBool) (This)->lpVtbl->CreateSubscriptionForSelection(This,pBool)
   1212 #define IShellFavoritesNameSpace_DeleteSubscriptionForSelection(This,pBool) (This)->lpVtbl->DeleteSubscriptionForSelection(This,pBool)
   1213 #define IShellFavoritesNameSpace_SetRoot(This,bstrFullPath) (This)->lpVtbl->SetRoot(This,bstrFullPath)
   1214 #endif
   1215 #endif
   1216   HRESULT WINAPI IShellFavoritesNameSpace_MoveSelectionUp_Proxy(IShellFavoritesNameSpace *This);
   1217   void __RPC_STUB IShellFavoritesNameSpace_MoveSelectionUp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1218   HRESULT WINAPI IShellFavoritesNameSpace_MoveSelectionDown_Proxy(IShellFavoritesNameSpace *This);
   1219   void __RPC_STUB IShellFavoritesNameSpace_MoveSelectionDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1220   HRESULT WINAPI IShellFavoritesNameSpace_ResetSort_Proxy(IShellFavoritesNameSpace *This);
   1221   void __RPC_STUB IShellFavoritesNameSpace_ResetSort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1222   HRESULT WINAPI IShellFavoritesNameSpace_NewFolder_Proxy(IShellFavoritesNameSpace *This);
   1223   void __RPC_STUB IShellFavoritesNameSpace_NewFolder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1224   HRESULT WINAPI IShellFavoritesNameSpace_Synchronize_Proxy(IShellFavoritesNameSpace *This);
   1225   void __RPC_STUB IShellFavoritesNameSpace_Synchronize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1226   HRESULT WINAPI IShellFavoritesNameSpace_Import_Proxy(IShellFavoritesNameSpace *This);
   1227   void __RPC_STUB IShellFavoritesNameSpace_Import_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1228   HRESULT WINAPI IShellFavoritesNameSpace_Export_Proxy(IShellFavoritesNameSpace *This);
   1229   void __RPC_STUB IShellFavoritesNameSpace_Export_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1230   HRESULT WINAPI IShellFavoritesNameSpace_InvokeContextMenuCommand_Proxy(IShellFavoritesNameSpace *This,BSTR strCommand);
   1231   void __RPC_STUB IShellFavoritesNameSpace_InvokeContextMenuCommand_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1232   HRESULT WINAPI IShellFavoritesNameSpace_MoveSelectionTo_Proxy(IShellFavoritesNameSpace *This);
   1233   void __RPC_STUB IShellFavoritesNameSpace_MoveSelectionTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1234   HRESULT WINAPI IShellFavoritesNameSpace_get_SubscriptionsEnabled_Proxy(IShellFavoritesNameSpace *This,VARIANT_BOOL *pBool);
   1235   void __RPC_STUB IShellFavoritesNameSpace_get_SubscriptionsEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1236   HRESULT WINAPI IShellFavoritesNameSpace_CreateSubscriptionForSelection_Proxy(IShellFavoritesNameSpace *This,VARIANT_BOOL *pBool);
   1237   void __RPC_STUB IShellFavoritesNameSpace_CreateSubscriptionForSelection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1238   HRESULT WINAPI IShellFavoritesNameSpace_DeleteSubscriptionForSelection_Proxy(IShellFavoritesNameSpace *This,VARIANT_BOOL *pBool);
   1239   void __RPC_STUB IShellFavoritesNameSpace_DeleteSubscriptionForSelection_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1240   HRESULT WINAPI IShellFavoritesNameSpace_SetRoot_Proxy(IShellFavoritesNameSpace *This,BSTR bstrFullPath);
   1241   void __RPC_STUB IShellFavoritesNameSpace_SetRoot_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1242 #endif
   1243 
   1244 #ifndef __IShellNameSpace_INTERFACE_DEFINED__
   1245 #define __IShellNameSpace_INTERFACE_DEFINED__
   1246   EXTERN_C const IID IID_IShellNameSpace;
   1247 #if defined(__cplusplus) && !defined(CINTERFACE)
   1248   struct IShellNameSpace : public IShellFavoritesNameSpace {
   1249   public:
   1250     virtual HRESULT WINAPI get_EnumOptions(LONG *pgrfEnumFlags) = 0;
   1251     virtual HRESULT WINAPI put_EnumOptions(LONG lVal) = 0;
   1252     virtual HRESULT WINAPI get_SelectedItem(IDispatch **pItem) = 0;
   1253     virtual HRESULT WINAPI put_SelectedItem(IDispatch *pItem) = 0;
   1254     virtual HRESULT WINAPI get_Root(VARIANT *pvar) = 0;
   1255     virtual HRESULT WINAPI put_Root(VARIANT var) = 0;
   1256     virtual HRESULT WINAPI get_Depth(int *piDepth) = 0;
   1257     virtual HRESULT WINAPI put_Depth(int iDepth) = 0;
   1258     virtual HRESULT WINAPI get_Mode(UINT *puMode) = 0;
   1259     virtual HRESULT WINAPI put_Mode(UINT uMode) = 0;
   1260     virtual HRESULT WINAPI get_Flags(DWORD *pdwFlags) = 0;
   1261     virtual HRESULT WINAPI put_Flags(DWORD dwFlags) = 0;
   1262     virtual HRESULT WINAPI put_TVFlags(DWORD dwFlags) = 0;
   1263     virtual HRESULT WINAPI get_TVFlags(DWORD *dwFlags) = 0;
   1264     virtual HRESULT WINAPI get_Columns(BSTR *bstrColumns) = 0;
   1265     virtual HRESULT WINAPI put_Columns(BSTR bstrColumns) = 0;
   1266     virtual HRESULT WINAPI get_CountViewTypes(int *piTypes) = 0;
   1267     virtual HRESULT WINAPI SetViewType(int iType) = 0;
   1268     virtual HRESULT WINAPI SelectedItems(IDispatch **ppid) = 0;
   1269     virtual HRESULT WINAPI Expand(VARIANT var,int iDepth) = 0;
   1270     virtual HRESULT WINAPI UnselectAll(void) = 0;
   1271   };
   1272 #else
   1273   typedef struct IShellNameSpaceVtbl {
   1274     BEGIN_INTERFACE
   1275       HRESULT (WINAPI *QueryInterface)(IShellNameSpace *This,REFIID riid,void **ppvObject);
   1276       ULONG (WINAPI *AddRef)(IShellNameSpace *This);
   1277       ULONG (WINAPI *Release)(IShellNameSpace *This);
   1278       HRESULT (WINAPI *GetTypeInfoCount)(IShellNameSpace *This,UINT *pctinfo);
   1279       HRESULT (WINAPI *GetTypeInfo)(IShellNameSpace *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1280       HRESULT (WINAPI *GetIDsOfNames)(IShellNameSpace *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1281       HRESULT (WINAPI *Invoke)(IShellNameSpace *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1282       HRESULT (WINAPI *MoveSelectionUp)(IShellNameSpace *This);
   1283       HRESULT (WINAPI *MoveSelectionDown)(IShellNameSpace *This);
   1284       HRESULT (WINAPI *ResetSort)(IShellNameSpace *This);
   1285       HRESULT (WINAPI *NewFolder)(IShellNameSpace *This);
   1286       HRESULT (WINAPI *Synchronize)(IShellNameSpace *This);
   1287       HRESULT (WINAPI *Import)(IShellNameSpace *This);
   1288       HRESULT (WINAPI *Export)(IShellNameSpace *This);
   1289       HRESULT (WINAPI *InvokeContextMenuCommand)(IShellNameSpace *This,BSTR strCommand);
   1290       HRESULT (WINAPI *MoveSelectionTo)(IShellNameSpace *This);
   1291       HRESULT (WINAPI *get_SubscriptionsEnabled)(IShellNameSpace *This,VARIANT_BOOL *pBool);
   1292       HRESULT (WINAPI *CreateSubscriptionForSelection)(IShellNameSpace *This,VARIANT_BOOL *pBool);
   1293       HRESULT (WINAPI *DeleteSubscriptionForSelection)(IShellNameSpace *This,VARIANT_BOOL *pBool);
   1294       HRESULT (WINAPI *SetRoot)(IShellNameSpace *This,BSTR bstrFullPath);
   1295       HRESULT (WINAPI *get_EnumOptions)(IShellNameSpace *This,LONG *pgrfEnumFlags);
   1296       HRESULT (WINAPI *put_EnumOptions)(IShellNameSpace *This,LONG lVal);
   1297       HRESULT (WINAPI *get_SelectedItem)(IShellNameSpace *This,IDispatch **pItem);
   1298       HRESULT (WINAPI *put_SelectedItem)(IShellNameSpace *This,IDispatch *pItem);
   1299       HRESULT (WINAPI *get_Root)(IShellNameSpace *This,VARIANT *pvar);
   1300       HRESULT (WINAPI *put_Root)(IShellNameSpace *This,VARIANT var);
   1301       HRESULT (WINAPI *get_Depth)(IShellNameSpace *This,int *piDepth);
   1302       HRESULT (WINAPI *put_Depth)(IShellNameSpace *This,int iDepth);
   1303       HRESULT (WINAPI *get_Mode)(IShellNameSpace *This,UINT *puMode);
   1304       HRESULT (WINAPI *put_Mode)(IShellNameSpace *This,UINT uMode);
   1305       HRESULT (WINAPI *get_Flags)(IShellNameSpace *This,DWORD *pdwFlags);
   1306       HRESULT (WINAPI *put_Flags)(IShellNameSpace *This,DWORD dwFlags);
   1307       HRESULT (WINAPI *put_TVFlags)(IShellNameSpace *This,DWORD dwFlags);
   1308       HRESULT (WINAPI *get_TVFlags)(IShellNameSpace *This,DWORD *dwFlags);
   1309       HRESULT (WINAPI *get_Columns)(IShellNameSpace *This,BSTR *bstrColumns);
   1310       HRESULT (WINAPI *put_Columns)(IShellNameSpace *This,BSTR bstrColumns);
   1311       HRESULT (WINAPI *get_CountViewTypes)(IShellNameSpace *This,int *piTypes);
   1312       HRESULT (WINAPI *SetViewType)(IShellNameSpace *This,int iType);
   1313       HRESULT (WINAPI *SelectedItems)(IShellNameSpace *This,IDispatch **ppid);
   1314       HRESULT (WINAPI *Expand)(IShellNameSpace *This,VARIANT var,int iDepth);
   1315       HRESULT (WINAPI *UnselectAll)(IShellNameSpace *This);
   1316     END_INTERFACE
   1317   } IShellNameSpaceVtbl;
   1318   struct IShellNameSpace {
   1319     CONST_VTBL struct IShellNameSpaceVtbl *lpVtbl;
   1320   };
   1321 #ifdef COBJMACROS
   1322 #define IShellNameSpace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1323 #define IShellNameSpace_AddRef(This) (This)->lpVtbl->AddRef(This)
   1324 #define IShellNameSpace_Release(This) (This)->lpVtbl->Release(This)
   1325 #define IShellNameSpace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1326 #define IShellNameSpace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1327 #define IShellNameSpace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1328 #define IShellNameSpace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1329 #define IShellNameSpace_MoveSelectionUp(This) (This)->lpVtbl->MoveSelectionUp(This)
   1330 #define IShellNameSpace_MoveSelectionDown(This) (This)->lpVtbl->MoveSelectionDown(This)
   1331 #define IShellNameSpace_ResetSort(This) (This)->lpVtbl->ResetSort(This)
   1332 #define IShellNameSpace_NewFolder(This) (This)->lpVtbl->NewFolder(This)
   1333 #define IShellNameSpace_Synchronize(This) (This)->lpVtbl->Synchronize(This)
   1334 #define IShellNameSpace_Import(This) (This)->lpVtbl->Import(This)
   1335 #define IShellNameSpace_Export(This) (This)->lpVtbl->Export(This)
   1336 #define IShellNameSpace_InvokeContextMenuCommand(This,strCommand) (This)->lpVtbl->InvokeContextMenuCommand(This,strCommand)
   1337 #define IShellNameSpace_MoveSelectionTo(This) (This)->lpVtbl->MoveSelectionTo(This)
   1338 #define IShellNameSpace_get_SubscriptionsEnabled(This,pBool) (This)->lpVtbl->get_SubscriptionsEnabled(This,pBool)
   1339 #define IShellNameSpace_CreateSubscriptionForSelection(This,pBool) (This)->lpVtbl->CreateSubscriptionForSelection(This,pBool)
   1340 #define IShellNameSpace_DeleteSubscriptionForSelection(This,pBool) (This)->lpVtbl->DeleteSubscriptionForSelection(This,pBool)
   1341 #define IShellNameSpace_SetRoot(This,bstrFullPath) (This)->lpVtbl->SetRoot(This,bstrFullPath)
   1342 #define IShellNameSpace_get_EnumOptions(This,pgrfEnumFlags) (This)->lpVtbl->get_EnumOptions(This,pgrfEnumFlags)
   1343 #define IShellNameSpace_put_EnumOptions(This,lVal) (This)->lpVtbl->put_EnumOptions(This,lVal)
   1344 #define IShellNameSpace_get_SelectedItem(This,pItem) (This)->lpVtbl->get_SelectedItem(This,pItem)
   1345 #define IShellNameSpace_put_SelectedItem(This,pItem) (This)->lpVtbl->put_SelectedItem(This,pItem)
   1346 #define IShellNameSpace_get_Root(This,pvar) (This)->lpVtbl->get_Root(This,pvar)
   1347 #define IShellNameSpace_put_Root(This,var) (This)->lpVtbl->put_Root(This,var)
   1348 #define IShellNameSpace_get_Depth(This,piDepth) (This)->lpVtbl->get_Depth(This,piDepth)
   1349 #define IShellNameSpace_put_Depth(This,iDepth) (This)->lpVtbl->put_Depth(This,iDepth)
   1350 #define IShellNameSpace_get_Mode(This,puMode) (This)->lpVtbl->get_Mode(This,puMode)
   1351 #define IShellNameSpace_put_Mode(This,uMode) (This)->lpVtbl->put_Mode(This,uMode)
   1352 #define IShellNameSpace_get_Flags(This,pdwFlags) (This)->lpVtbl->get_Flags(This,pdwFlags)
   1353 #define IShellNameSpace_put_Flags(This,dwFlags) (This)->lpVtbl->put_Flags(This,dwFlags)
   1354 #define IShellNameSpace_put_TVFlags(This,dwFlags) (This)->lpVtbl->put_TVFlags(This,dwFlags)
   1355 #define IShellNameSpace_get_TVFlags(This,dwFlags) (This)->lpVtbl->get_TVFlags(This,dwFlags)
   1356 #define IShellNameSpace_get_Columns(This,bstrColumns) (This)->lpVtbl->get_Columns(This,bstrColumns)
   1357 #define IShellNameSpace_put_Columns(This,bstrColumns) (This)->lpVtbl->put_Columns(This,bstrColumns)
   1358 #define IShellNameSpace_get_CountViewTypes(This,piTypes) (This)->lpVtbl->get_CountViewTypes(This,piTypes)
   1359 #define IShellNameSpace_SetViewType(This,iType) (This)->lpVtbl->SetViewType(This,iType)
   1360 #define IShellNameSpace_SelectedItems(This,ppid) (This)->lpVtbl->SelectedItems(This,ppid)
   1361 #define IShellNameSpace_Expand(This,var,iDepth) (This)->lpVtbl->Expand(This,var,iDepth)
   1362 #define IShellNameSpace_UnselectAll(This) (This)->lpVtbl->UnselectAll(This)
   1363 #endif
   1364 #endif
   1365   HRESULT WINAPI IShellNameSpace_get_EnumOptions_Proxy(IShellNameSpace *This,LONG *pgrfEnumFlags);
   1366   void __RPC_STUB IShellNameSpace_get_EnumOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1367   HRESULT WINAPI IShellNameSpace_put_EnumOptions_Proxy(IShellNameSpace *This,LONG lVal);
   1368   void __RPC_STUB IShellNameSpace_put_EnumOptions_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1369   HRESULT WINAPI IShellNameSpace_get_SelectedItem_Proxy(IShellNameSpace *This,IDispatch **pItem);
   1370   void __RPC_STUB IShellNameSpace_get_SelectedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1371   HRESULT WINAPI IShellNameSpace_put_SelectedItem_Proxy(IShellNameSpace *This,IDispatch *pItem);
   1372   void __RPC_STUB IShellNameSpace_put_SelectedItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1373   HRESULT WINAPI IShellNameSpace_get_Root_Proxy(IShellNameSpace *This,VARIANT *pvar);
   1374   void __RPC_STUB IShellNameSpace_get_Root_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1375   HRESULT WINAPI IShellNameSpace_put_Root_Proxy(IShellNameSpace *This,VARIANT var);
   1376   void __RPC_STUB IShellNameSpace_put_Root_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1377   HRESULT WINAPI IShellNameSpace_get_Depth_Proxy(IShellNameSpace *This,int *piDepth);
   1378   void __RPC_STUB IShellNameSpace_get_Depth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1379   HRESULT WINAPI IShellNameSpace_put_Depth_Proxy(IShellNameSpace *This,int iDepth);
   1380   void __RPC_STUB IShellNameSpace_put_Depth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1381   HRESULT WINAPI IShellNameSpace_get_Mode_Proxy(IShellNameSpace *This,UINT *puMode);
   1382   void __RPC_STUB IShellNameSpace_get_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1383   HRESULT WINAPI IShellNameSpace_put_Mode_Proxy(IShellNameSpace *This,UINT uMode);
   1384   void __RPC_STUB IShellNameSpace_put_Mode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1385   HRESULT WINAPI IShellNameSpace_get_Flags_Proxy(IShellNameSpace *This,DWORD *pdwFlags);
   1386   void __RPC_STUB IShellNameSpace_get_Flags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1387   HRESULT WINAPI IShellNameSpace_put_Flags_Proxy(IShellNameSpace *This,DWORD dwFlags);
   1388   void __RPC_STUB IShellNameSpace_put_Flags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1389   HRESULT WINAPI IShellNameSpace_put_TVFlags_Proxy(IShellNameSpace *This,DWORD dwFlags);
   1390   void __RPC_STUB IShellNameSpace_put_TVFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1391   HRESULT WINAPI IShellNameSpace_get_TVFlags_Proxy(IShellNameSpace *This,DWORD *dwFlags);
   1392   void __RPC_STUB IShellNameSpace_get_TVFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1393   HRESULT WINAPI IShellNameSpace_get_Columns_Proxy(IShellNameSpace *This,BSTR *bstrColumns);
   1394   void __RPC_STUB IShellNameSpace_get_Columns_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1395   HRESULT WINAPI IShellNameSpace_put_Columns_Proxy(IShellNameSpace *This,BSTR bstrColumns);
   1396   void __RPC_STUB IShellNameSpace_put_Columns_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1397   HRESULT WINAPI IShellNameSpace_get_CountViewTypes_Proxy(IShellNameSpace *This,int *piTypes);
   1398   void __RPC_STUB IShellNameSpace_get_CountViewTypes_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1399   HRESULT WINAPI IShellNameSpace_SetViewType_Proxy(IShellNameSpace *This,int iType);
   1400   void __RPC_STUB IShellNameSpace_SetViewType_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1401   HRESULT WINAPI IShellNameSpace_SelectedItems_Proxy(IShellNameSpace *This,IDispatch **ppid);
   1402   void __RPC_STUB IShellNameSpace_SelectedItems_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1403   HRESULT WINAPI IShellNameSpace_Expand_Proxy(IShellNameSpace *This,VARIANT var,int iDepth);
   1404   void __RPC_STUB IShellNameSpace_Expand_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1405   HRESULT WINAPI IShellNameSpace_UnselectAll_Proxy(IShellNameSpace *This);
   1406   void __RPC_STUB IShellNameSpace_UnselectAll_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1407 #endif
   1408 
   1409   EXTERN_C const CLSID CLSID_ShellNameSpace;
   1410 #ifdef __cplusplus
   1411   class ShellNameSpace;
   1412 #endif
   1413 
   1414 #ifndef __IScriptErrorList_INTERFACE_DEFINED__
   1415 #define __IScriptErrorList_INTERFACE_DEFINED__
   1416   EXTERN_C const IID IID_IScriptErrorList;
   1417 #if defined(__cplusplus) && !defined(CINTERFACE)
   1418   struct IScriptErrorList : public IDispatch {
   1419   public:
   1420     virtual HRESULT WINAPI advanceError(void) = 0;
   1421     virtual HRESULT WINAPI retreatError(void) = 0;
   1422     virtual HRESULT WINAPI canAdvanceError(WINBOOL *pfCanAdvance) = 0;
   1423     virtual HRESULT WINAPI canRetreatError(WINBOOL *pfCanRetreat) = 0;
   1424     virtual HRESULT WINAPI getErrorLine(LONG *plLine) = 0;
   1425     virtual HRESULT WINAPI getErrorChar(LONG *plChar) = 0;
   1426     virtual HRESULT WINAPI getErrorCode(LONG *plCode) = 0;
   1427     virtual HRESULT WINAPI getErrorMsg(BSTR *pstr) = 0;
   1428     virtual HRESULT WINAPI getErrorUrl(BSTR *pstr) = 0;
   1429     virtual HRESULT WINAPI getAlwaysShowLockState(WINBOOL *pfAlwaysShowLocked) = 0;
   1430     virtual HRESULT WINAPI getDetailsPaneOpen(WINBOOL *pfDetailsPaneOpen) = 0;
   1431     virtual HRESULT WINAPI setDetailsPaneOpen(WINBOOL fDetailsPaneOpen) = 0;
   1432     virtual HRESULT WINAPI getPerErrorDisplay(WINBOOL *pfPerErrorDisplay) = 0;
   1433     virtual HRESULT WINAPI setPerErrorDisplay(WINBOOL fPerErrorDisplay) = 0;
   1434   };
   1435 #else
   1436   typedef struct IScriptErrorListVtbl {
   1437     BEGIN_INTERFACE
   1438       HRESULT (WINAPI *QueryInterface)(IScriptErrorList *This,REFIID riid,void **ppvObject);
   1439       ULONG (WINAPI *AddRef)(IScriptErrorList *This);
   1440       ULONG (WINAPI *Release)(IScriptErrorList *This);
   1441       HRESULT (WINAPI *GetTypeInfoCount)(IScriptErrorList *This,UINT *pctinfo);
   1442       HRESULT (WINAPI *GetTypeInfo)(IScriptErrorList *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1443       HRESULT (WINAPI *GetIDsOfNames)(IScriptErrorList *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1444       HRESULT (WINAPI *Invoke)(IScriptErrorList *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1445       HRESULT (WINAPI *advanceError)(IScriptErrorList *This);
   1446       HRESULT (WINAPI *retreatError)(IScriptErrorList *This);
   1447       HRESULT (WINAPI *canAdvanceError)(IScriptErrorList *This,WINBOOL *pfCanAdvance);
   1448       HRESULT (WINAPI *canRetreatError)(IScriptErrorList *This,WINBOOL *pfCanRetreat);
   1449       HRESULT (WINAPI *getErrorLine)(IScriptErrorList *This,LONG *plLine);
   1450       HRESULT (WINAPI *getErrorChar)(IScriptErrorList *This,LONG *plChar);
   1451       HRESULT (WINAPI *getErrorCode)(IScriptErrorList *This,LONG *plCode);
   1452       HRESULT (WINAPI *getErrorMsg)(IScriptErrorList *This,BSTR *pstr);
   1453       HRESULT (WINAPI *getErrorUrl)(IScriptErrorList *This,BSTR *pstr);
   1454       HRESULT (WINAPI *getAlwaysShowLockState)(IScriptErrorList *This,WINBOOL *pfAlwaysShowLocked);
   1455       HRESULT (WINAPI *getDetailsPaneOpen)(IScriptErrorList *This,WINBOOL *pfDetailsPaneOpen);
   1456       HRESULT (WINAPI *setDetailsPaneOpen)(IScriptErrorList *This,WINBOOL fDetailsPaneOpen);
   1457       HRESULT (WINAPI *getPerErrorDisplay)(IScriptErrorList *This,WINBOOL *pfPerErrorDisplay);
   1458       HRESULT (WINAPI *setPerErrorDisplay)(IScriptErrorList *This,WINBOOL fPerErrorDisplay);
   1459     END_INTERFACE
   1460   } IScriptErrorListVtbl;
   1461   struct IScriptErrorList {
   1462     CONST_VTBL struct IScriptErrorListVtbl *lpVtbl;
   1463   };
   1464 #ifdef COBJMACROS
   1465 #define IScriptErrorList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1466 #define IScriptErrorList_AddRef(This) (This)->lpVtbl->AddRef(This)
   1467 #define IScriptErrorList_Release(This) (This)->lpVtbl->Release(This)
   1468 #define IScriptErrorList_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1469 #define IScriptErrorList_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1470 #define IScriptErrorList_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1471 #define IScriptErrorList_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1472 #define IScriptErrorList_advanceError(This) (This)->lpVtbl->advanceError(This)
   1473 #define IScriptErrorList_retreatError(This) (This)->lpVtbl->retreatError(This)
   1474 #define IScriptErrorList_canAdvanceError(This,pfCanAdvance) (This)->lpVtbl->canAdvanceError(This,pfCanAdvance)
   1475 #define IScriptErrorList_canRetreatError(This,pfCanRetreat) (This)->lpVtbl->canRetreatError(This,pfCanRetreat)
   1476 #define IScriptErrorList_getErrorLine(This,plLine) (This)->lpVtbl->getErrorLine(This,plLine)
   1477 #define IScriptErrorList_getErrorChar(This,plChar) (This)->lpVtbl->getErrorChar(This,plChar)
   1478 #define IScriptErrorList_getErrorCode(This,plCode) (This)->lpVtbl->getErrorCode(This,plCode)
   1479 #define IScriptErrorList_getErrorMsg(This,pstr) (This)->lpVtbl->getErrorMsg(This,pstr)
   1480 #define IScriptErrorList_getErrorUrl(This,pstr) (This)->lpVtbl->getErrorUrl(This,pstr)
   1481 #define IScriptErrorList_getAlwaysShowLockState(This,pfAlwaysShowLocked) (This)->lpVtbl->getAlwaysShowLockState(This,pfAlwaysShowLocked)
   1482 #define IScriptErrorList_getDetailsPaneOpen(This,pfDetailsPaneOpen) (This)->lpVtbl->getDetailsPaneOpen(This,pfDetailsPaneOpen)
   1483 #define IScriptErrorList_setDetailsPaneOpen(This,fDetailsPaneOpen) (This)->lpVtbl->setDetailsPaneOpen(This,fDetailsPaneOpen)
   1484 #define IScriptErrorList_getPerErrorDisplay(This,pfPerErrorDisplay) (This)->lpVtbl->getPerErrorDisplay(This,pfPerErrorDisplay)
   1485 #define IScriptErrorList_setPerErrorDisplay(This,fPerErrorDisplay) (This)->lpVtbl->setPerErrorDisplay(This,fPerErrorDisplay)
   1486 #endif
   1487 #endif
   1488   HRESULT WINAPI IScriptErrorList_advanceError_Proxy(IScriptErrorList *This);
   1489   void __RPC_STUB IScriptErrorList_advanceError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1490   HRESULT WINAPI IScriptErrorList_retreatError_Proxy(IScriptErrorList *This);
   1491   void __RPC_STUB IScriptErrorList_retreatError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1492   HRESULT WINAPI IScriptErrorList_canAdvanceError_Proxy(IScriptErrorList *This,WINBOOL *pfCanAdvance);
   1493   void __RPC_STUB IScriptErrorList_canAdvanceError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1494   HRESULT WINAPI IScriptErrorList_canRetreatError_Proxy(IScriptErrorList *This,WINBOOL *pfCanRetreat);
   1495   void __RPC_STUB IScriptErrorList_canRetreatError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1496   HRESULT WINAPI IScriptErrorList_getErrorLine_Proxy(IScriptErrorList *This,LONG *plLine);
   1497   void __RPC_STUB IScriptErrorList_getErrorLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1498   HRESULT WINAPI IScriptErrorList_getErrorChar_Proxy(IScriptErrorList *This,LONG *plChar);
   1499   void __RPC_STUB IScriptErrorList_getErrorChar_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1500   HRESULT WINAPI IScriptErrorList_getErrorCode_Proxy(IScriptErrorList *This,LONG *plCode);
   1501   void __RPC_STUB IScriptErrorList_getErrorCode_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1502   HRESULT WINAPI IScriptErrorList_getErrorMsg_Proxy(IScriptErrorList *This,BSTR *pstr);
   1503   void __RPC_STUB IScriptErrorList_getErrorMsg_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1504   HRESULT WINAPI IScriptErrorList_getErrorUrl_Proxy(IScriptErrorList *This,BSTR *pstr);
   1505   void __RPC_STUB IScriptErrorList_getErrorUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1506   HRESULT WINAPI IScriptErrorList_getAlwaysShowLockState_Proxy(IScriptErrorList *This,WINBOOL *pfAlwaysShowLocked);
   1507   void __RPC_STUB IScriptErrorList_getAlwaysShowLockState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1508   HRESULT WINAPI IScriptErrorList_getDetailsPaneOpen_Proxy(IScriptErrorList *This,WINBOOL *pfDetailsPaneOpen);
   1509   void __RPC_STUB IScriptErrorList_getDetailsPaneOpen_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1510   HRESULT WINAPI IScriptErrorList_setDetailsPaneOpen_Proxy(IScriptErrorList *This,WINBOOL fDetailsPaneOpen);
   1511   void __RPC_STUB IScriptErrorList_setDetailsPaneOpen_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1512   HRESULT WINAPI IScriptErrorList_getPerErrorDisplay_Proxy(IScriptErrorList *This,WINBOOL *pfPerErrorDisplay);
   1513   void __RPC_STUB IScriptErrorList_getPerErrorDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1514   HRESULT WINAPI IScriptErrorList_setPerErrorDisplay_Proxy(IScriptErrorList *This,WINBOOL fPerErrorDisplay);
   1515   void __RPC_STUB IScriptErrorList_setPerErrorDisplay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1516 #endif
   1517 
   1518   EXTERN_C const CLSID CLSID_CScriptErrorList;
   1519 #ifdef __cplusplus
   1520   class CScriptErrorList;
   1521 #endif
   1522 
   1523 #ifndef __ISearch_INTERFACE_DEFINED__
   1524 #define __ISearch_INTERFACE_DEFINED__
   1525   EXTERN_C const IID IID_ISearch;
   1526 #if defined(__cplusplus) && !defined(CINTERFACE)
   1527   struct ISearch : public IDispatch {
   1528   public:
   1529     virtual HRESULT WINAPI get_Title(BSTR *pbstrTitle) = 0;
   1530     virtual HRESULT WINAPI get_Id(BSTR *pbstrId) = 0;
   1531     virtual HRESULT WINAPI get_Url(BSTR *pbstrUrl) = 0;
   1532   };
   1533 #else
   1534   typedef struct ISearchVtbl {
   1535     BEGIN_INTERFACE
   1536       HRESULT (WINAPI *QueryInterface)(ISearch *This,REFIID riid,void **ppvObject);
   1537       ULONG (WINAPI *AddRef)(ISearch *This);
   1538       ULONG (WINAPI *Release)(ISearch *This);
   1539       HRESULT (WINAPI *GetTypeInfoCount)(ISearch *This,UINT *pctinfo);
   1540       HRESULT (WINAPI *GetTypeInfo)(ISearch *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1541       HRESULT (WINAPI *GetIDsOfNames)(ISearch *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1542       HRESULT (WINAPI *Invoke)(ISearch *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1543       HRESULT (WINAPI *get_Title)(ISearch *This,BSTR *pbstrTitle);
   1544       HRESULT (WINAPI *get_Id)(ISearch *This,BSTR *pbstrId);
   1545       HRESULT (WINAPI *get_Url)(ISearch *This,BSTR *pbstrUrl);
   1546     END_INTERFACE
   1547   } ISearchVtbl;
   1548   struct ISearch {
   1549     CONST_VTBL struct ISearchVtbl *lpVtbl;
   1550   };
   1551 #ifdef COBJMACROS
   1552 #define ISearch_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1553 #define ISearch_AddRef(This) (This)->lpVtbl->AddRef(This)
   1554 #define ISearch_Release(This) (This)->lpVtbl->Release(This)
   1555 #define ISearch_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1556 #define ISearch_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1557 #define ISearch_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1558 #define ISearch_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1559 #define ISearch_get_Title(This,pbstrTitle) (This)->lpVtbl->get_Title(This,pbstrTitle)
   1560 #define ISearch_get_Id(This,pbstrId) (This)->lpVtbl->get_Id(This,pbstrId)
   1561 #define ISearch_get_Url(This,pbstrUrl) (This)->lpVtbl->get_Url(This,pbstrUrl)
   1562 #endif
   1563 #endif
   1564   HRESULT WINAPI ISearch_get_Title_Proxy(ISearch *This,BSTR *pbstrTitle);
   1565   void __RPC_STUB ISearch_get_Title_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1566   HRESULT WINAPI ISearch_get_Id_Proxy(ISearch *This,BSTR *pbstrId);
   1567   void __RPC_STUB ISearch_get_Id_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1568   HRESULT WINAPI ISearch_get_Url_Proxy(ISearch *This,BSTR *pbstrUrl);
   1569   void __RPC_STUB ISearch_get_Url_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1570 #endif
   1571 
   1572 #ifndef __ISearches_INTERFACE_DEFINED__
   1573 #define __ISearches_INTERFACE_DEFINED__
   1574   EXTERN_C const IID IID_ISearches;
   1575 #if defined(__cplusplus) && !defined(CINTERFACE)
   1576   struct ISearches : public IDispatch {
   1577   public:
   1578     virtual HRESULT WINAPI get_Count(__LONG32 *plCount) = 0;
   1579     virtual HRESULT WINAPI get_Default(BSTR *pbstrDefault) = 0;
   1580     virtual HRESULT WINAPI Item(VARIANT index,ISearch **ppid) = 0;
   1581     virtual HRESULT WINAPI _NewEnum(IUnknown **ppunk) = 0;
   1582   };
   1583 #else
   1584   typedef struct ISearchesVtbl {
   1585     BEGIN_INTERFACE
   1586       HRESULT (WINAPI *QueryInterface)(ISearches *This,REFIID riid,void **ppvObject);
   1587       ULONG (WINAPI *AddRef)(ISearches *This);
   1588       ULONG (WINAPI *Release)(ISearches *This);
   1589       HRESULT (WINAPI *GetTypeInfoCount)(ISearches *This,UINT *pctinfo);
   1590       HRESULT (WINAPI *GetTypeInfo)(ISearches *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1591       HRESULT (WINAPI *GetIDsOfNames)(ISearches *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1592       HRESULT (WINAPI *Invoke)(ISearches *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1593       HRESULT (WINAPI *get_Count)(ISearches *This,__LONG32 *plCount);
   1594       HRESULT (WINAPI *get_Default)(ISearches *This,BSTR *pbstrDefault);
   1595       HRESULT (WINAPI *Item)(ISearches *This,VARIANT index,ISearch **ppid);
   1596       HRESULT (WINAPI *_NewEnum)(ISearches *This,IUnknown **ppunk);
   1597     END_INTERFACE
   1598   } ISearchesVtbl;
   1599   struct ISearches {
   1600     CONST_VTBL struct ISearchesVtbl *lpVtbl;
   1601   };
   1602 #ifdef COBJMACROS
   1603 #define ISearches_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1604 #define ISearches_AddRef(This) (This)->lpVtbl->AddRef(This)
   1605 #define ISearches_Release(This) (This)->lpVtbl->Release(This)
   1606 #define ISearches_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1607 #define ISearches_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1608 #define ISearches_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1609 #define ISearches_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1610 #define ISearches_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)
   1611 #define ISearches_get_Default(This,pbstrDefault) (This)->lpVtbl->get_Default(This,pbstrDefault)
   1612 #define ISearches_Item(This,index,ppid) (This)->lpVtbl->Item(This,index,ppid)
   1613 #define ISearches__NewEnum(This,ppunk) (This)->lpVtbl->_NewEnum(This,ppunk)
   1614 #endif
   1615 #endif
   1616   HRESULT WINAPI ISearches_get_Count_Proxy(ISearches *This,__LONG32 *plCount);
   1617   void __RPC_STUB ISearches_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1618   HRESULT WINAPI ISearches_get_Default_Proxy(ISearches *This,BSTR *pbstrDefault);
   1619   void __RPC_STUB ISearches_get_Default_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1620   HRESULT WINAPI ISearches_Item_Proxy(ISearches *This,VARIANT index,ISearch **ppid);
   1621   void __RPC_STUB ISearches_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1622   HRESULT WINAPI ISearches__NewEnum_Proxy(ISearches *This,IUnknown **ppunk);
   1623   void __RPC_STUB ISearches__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1624 #endif
   1625 
   1626 #ifndef __ISearchAssistantOC_INTERFACE_DEFINED__
   1627 #define __ISearchAssistantOC_INTERFACE_DEFINED__
   1628   EXTERN_C const IID IID_ISearchAssistantOC;
   1629 #if defined(__cplusplus) && !defined(CINTERFACE)
   1630   struct ISearchAssistantOC : public IDispatch {
   1631   public:
   1632     virtual HRESULT WINAPI AddNextMenuItem(BSTR bstrText,__LONG32 idItem) = 0;
   1633     virtual HRESULT WINAPI SetDefaultSearchUrl(BSTR bstrUrl) = 0;
   1634     virtual HRESULT WINAPI NavigateToDefaultSearch(void) = 0;
   1635     virtual HRESULT WINAPI IsRestricted(BSTR bstrGuid,VARIANT_BOOL *pVal) = 0;
   1636     virtual HRESULT WINAPI get_ShellFeaturesEnabled(VARIANT_BOOL *pVal) = 0;
   1637     virtual HRESULT WINAPI get_SearchAssistantDefault(VARIANT_BOOL *pVal) = 0;
   1638     virtual HRESULT WINAPI get_Searches(ISearches **ppid) = 0;
   1639     virtual HRESULT WINAPI get_InWebFolder(VARIANT_BOOL *pVal) = 0;
   1640     virtual HRESULT WINAPI PutProperty(VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue) = 0;
   1641     virtual HRESULT WINAPI GetProperty(VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue) = 0;
   1642     virtual HRESULT WINAPI put_EventHandled(VARIANT_BOOL bHandled) = 0;
   1643     virtual HRESULT WINAPI ResetNextMenu(void) = 0;
   1644     virtual HRESULT WINAPI FindOnWeb(void) = 0;
   1645     virtual HRESULT WINAPI FindFilesOrFolders(void) = 0;
   1646     virtual HRESULT WINAPI FindComputer(void) = 0;
   1647     virtual HRESULT WINAPI FindPrinter(void) = 0;
   1648     virtual HRESULT WINAPI FindPeople(void) = 0;
   1649     virtual HRESULT WINAPI GetSearchAssistantURL(VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue) = 0;
   1650     virtual HRESULT WINAPI NotifySearchSettingsChanged(void) = 0;
   1651     virtual HRESULT WINAPI put_ASProvider(BSTR Provider) = 0;
   1652     virtual HRESULT WINAPI get_ASProvider(BSTR *pProvider) = 0;
   1653     virtual HRESULT WINAPI put_ASSetting(int Setting) = 0;
   1654     virtual HRESULT WINAPI get_ASSetting(int *pSetting) = 0;
   1655     virtual HRESULT WINAPI NETDetectNextNavigate(void) = 0;
   1656     virtual HRESULT WINAPI PutFindText(BSTR FindText) = 0;
   1657     virtual HRESULT WINAPI get_Version(int *pVersion) = 0;
   1658     virtual HRESULT WINAPI EncodeString(BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult) = 0;
   1659   };
   1660 #else
   1661   typedef struct ISearchAssistantOCVtbl {
   1662     BEGIN_INTERFACE
   1663       HRESULT (WINAPI *QueryInterface)(ISearchAssistantOC *This,REFIID riid,void **ppvObject);
   1664       ULONG (WINAPI *AddRef)(ISearchAssistantOC *This);
   1665       ULONG (WINAPI *Release)(ISearchAssistantOC *This);
   1666       HRESULT (WINAPI *GetTypeInfoCount)(ISearchAssistantOC *This,UINT *pctinfo);
   1667       HRESULT (WINAPI *GetTypeInfo)(ISearchAssistantOC *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1668       HRESULT (WINAPI *GetIDsOfNames)(ISearchAssistantOC *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1669       HRESULT (WINAPI *Invoke)(ISearchAssistantOC *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1670       HRESULT (WINAPI *AddNextMenuItem)(ISearchAssistantOC *This,BSTR bstrText,__LONG32 idItem);
   1671       HRESULT (WINAPI *SetDefaultSearchUrl)(ISearchAssistantOC *This,BSTR bstrUrl);
   1672       HRESULT (WINAPI *NavigateToDefaultSearch)(ISearchAssistantOC *This);
   1673       HRESULT (WINAPI *IsRestricted)(ISearchAssistantOC *This,BSTR bstrGuid,VARIANT_BOOL *pVal);
   1674       HRESULT (WINAPI *get_ShellFeaturesEnabled)(ISearchAssistantOC *This,VARIANT_BOOL *pVal);
   1675       HRESULT (WINAPI *get_SearchAssistantDefault)(ISearchAssistantOC *This,VARIANT_BOOL *pVal);
   1676       HRESULT (WINAPI *get_Searches)(ISearchAssistantOC *This,ISearches **ppid);
   1677       HRESULT (WINAPI *get_InWebFolder)(ISearchAssistantOC *This,VARIANT_BOOL *pVal);
   1678       HRESULT (WINAPI *PutProperty)(ISearchAssistantOC *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue);
   1679       HRESULT (WINAPI *GetProperty)(ISearchAssistantOC *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue);
   1680       HRESULT (WINAPI *put_EventHandled)(ISearchAssistantOC *This,VARIANT_BOOL bHandled);
   1681       HRESULT (WINAPI *ResetNextMenu)(ISearchAssistantOC *This);
   1682       HRESULT (WINAPI *FindOnWeb)(ISearchAssistantOC *This);
   1683       HRESULT (WINAPI *FindFilesOrFolders)(ISearchAssistantOC *This);
   1684       HRESULT (WINAPI *FindComputer)(ISearchAssistantOC *This);
   1685       HRESULT (WINAPI *FindPrinter)(ISearchAssistantOC *This);
   1686       HRESULT (WINAPI *FindPeople)(ISearchAssistantOC *This);
   1687       HRESULT (WINAPI *GetSearchAssistantURL)(ISearchAssistantOC *This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue);
   1688       HRESULT (WINAPI *NotifySearchSettingsChanged)(ISearchAssistantOC *This);
   1689       HRESULT (WINAPI *put_ASProvider)(ISearchAssistantOC *This,BSTR Provider);
   1690       HRESULT (WINAPI *get_ASProvider)(ISearchAssistantOC *This,BSTR *pProvider);
   1691       HRESULT (WINAPI *put_ASSetting)(ISearchAssistantOC *This,int Setting);
   1692       HRESULT (WINAPI *get_ASSetting)(ISearchAssistantOC *This,int *pSetting);
   1693       HRESULT (WINAPI *NETDetectNextNavigate)(ISearchAssistantOC *This);
   1694       HRESULT (WINAPI *PutFindText)(ISearchAssistantOC *This,BSTR FindText);
   1695       HRESULT (WINAPI *get_Version)(ISearchAssistantOC *This,int *pVersion);
   1696       HRESULT (WINAPI *EncodeString)(ISearchAssistantOC *This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult);
   1697     END_INTERFACE
   1698   } ISearchAssistantOCVtbl;
   1699   struct ISearchAssistantOC {
   1700     CONST_VTBL struct ISearchAssistantOCVtbl *lpVtbl;
   1701   };
   1702 #ifdef COBJMACROS
   1703 #define ISearchAssistantOC_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1704 #define ISearchAssistantOC_AddRef(This) (This)->lpVtbl->AddRef(This)
   1705 #define ISearchAssistantOC_Release(This) (This)->lpVtbl->Release(This)
   1706 #define ISearchAssistantOC_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1707 #define ISearchAssistantOC_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1708 #define ISearchAssistantOC_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1709 #define ISearchAssistantOC_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1710 #define ISearchAssistantOC_AddNextMenuItem(This,bstrText,idItem) (This)->lpVtbl->AddNextMenuItem(This,bstrText,idItem)
   1711 #define ISearchAssistantOC_SetDefaultSearchUrl(This,bstrUrl) (This)->lpVtbl->SetDefaultSearchUrl(This,bstrUrl)
   1712 #define ISearchAssistantOC_NavigateToDefaultSearch(This) (This)->lpVtbl->NavigateToDefaultSearch(This)
   1713 #define ISearchAssistantOC_IsRestricted(This,bstrGuid,pVal) (This)->lpVtbl->IsRestricted(This,bstrGuid,pVal)
   1714 #define ISearchAssistantOC_get_ShellFeaturesEnabled(This,pVal) (This)->lpVtbl->get_ShellFeaturesEnabled(This,pVal)
   1715 #define ISearchAssistantOC_get_SearchAssistantDefault(This,pVal) (This)->lpVtbl->get_SearchAssistantDefault(This,pVal)
   1716 #define ISearchAssistantOC_get_Searches(This,ppid) (This)->lpVtbl->get_Searches(This,ppid)
   1717 #define ISearchAssistantOC_get_InWebFolder(This,pVal) (This)->lpVtbl->get_InWebFolder(This,pVal)
   1718 #define ISearchAssistantOC_PutProperty(This,bPerLocale,bstrName,bstrValue) (This)->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue)
   1719 #define ISearchAssistantOC_GetProperty(This,bPerLocale,bstrName,pbstrValue) (This)->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue)
   1720 #define ISearchAssistantOC_put_EventHandled(This,bHandled) (This)->lpVtbl->put_EventHandled(This,bHandled)
   1721 #define ISearchAssistantOC_ResetNextMenu(This) (This)->lpVtbl->ResetNextMenu(This)
   1722 #define ISearchAssistantOC_FindOnWeb(This) (This)->lpVtbl->FindOnWeb(This)
   1723 #define ISearchAssistantOC_FindFilesOrFolders(This) (This)->lpVtbl->FindFilesOrFolders(This)
   1724 #define ISearchAssistantOC_FindComputer(This) (This)->lpVtbl->FindComputer(This)
   1725 #define ISearchAssistantOC_FindPrinter(This) (This)->lpVtbl->FindPrinter(This)
   1726 #define ISearchAssistantOC_FindPeople(This) (This)->lpVtbl->FindPeople(This)
   1727 #define ISearchAssistantOC_GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) (This)->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue)
   1728 #define ISearchAssistantOC_NotifySearchSettingsChanged(This) (This)->lpVtbl->NotifySearchSettingsChanged(This)
   1729 #define ISearchAssistantOC_put_ASProvider(This,Provider) (This)->lpVtbl->put_ASProvider(This,Provider)
   1730 #define ISearchAssistantOC_get_ASProvider(This,pProvider) (This)->lpVtbl->get_ASProvider(This,pProvider)
   1731 #define ISearchAssistantOC_put_ASSetting(This,Setting) (This)->lpVtbl->put_ASSetting(This,Setting)
   1732 #define ISearchAssistantOC_get_ASSetting(This,pSetting) (This)->lpVtbl->get_ASSetting(This,pSetting)
   1733 #define ISearchAssistantOC_NETDetectNextNavigate(This) (This)->lpVtbl->NETDetectNextNavigate(This)
   1734 #define ISearchAssistantOC_PutFindText(This,FindText) (This)->lpVtbl->PutFindText(This,FindText)
   1735 #define ISearchAssistantOC_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion)
   1736 #define ISearchAssistantOC_EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) (This)->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult)
   1737 #endif
   1738 #endif
   1739   HRESULT WINAPI ISearchAssistantOC_AddNextMenuItem_Proxy(ISearchAssistantOC *This,BSTR bstrText,__LONG32 idItem);
   1740   void __RPC_STUB ISearchAssistantOC_AddNextMenuItem_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1741   HRESULT WINAPI ISearchAssistantOC_SetDefaultSearchUrl_Proxy(ISearchAssistantOC *This,BSTR bstrUrl);
   1742   void __RPC_STUB ISearchAssistantOC_SetDefaultSearchUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1743   HRESULT WINAPI ISearchAssistantOC_NavigateToDefaultSearch_Proxy(ISearchAssistantOC *This);
   1744   void __RPC_STUB ISearchAssistantOC_NavigateToDefaultSearch_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1745   HRESULT WINAPI ISearchAssistantOC_IsRestricted_Proxy(ISearchAssistantOC *This,BSTR bstrGuid,VARIANT_BOOL *pVal);
   1746   void __RPC_STUB ISearchAssistantOC_IsRestricted_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1747   HRESULT WINAPI ISearchAssistantOC_get_ShellFeaturesEnabled_Proxy(ISearchAssistantOC *This,VARIANT_BOOL *pVal);
   1748   void __RPC_STUB ISearchAssistantOC_get_ShellFeaturesEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1749   HRESULT WINAPI ISearchAssistantOC_get_SearchAssistantDefault_Proxy(ISearchAssistantOC *This,VARIANT_BOOL *pVal);
   1750   void __RPC_STUB ISearchAssistantOC_get_SearchAssistantDefault_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1751   HRESULT WINAPI ISearchAssistantOC_get_Searches_Proxy(ISearchAssistantOC *This,ISearches **ppid);
   1752   void __RPC_STUB ISearchAssistantOC_get_Searches_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1753   HRESULT WINAPI ISearchAssistantOC_get_InWebFolder_Proxy(ISearchAssistantOC *This,VARIANT_BOOL *pVal);
   1754   void __RPC_STUB ISearchAssistantOC_get_InWebFolder_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1755   HRESULT WINAPI ISearchAssistantOC_PutProperty_Proxy(ISearchAssistantOC *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue);
   1756   void __RPC_STUB ISearchAssistantOC_PutProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1757   HRESULT WINAPI ISearchAssistantOC_GetProperty_Proxy(ISearchAssistantOC *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue);
   1758   void __RPC_STUB ISearchAssistantOC_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1759   HRESULT WINAPI ISearchAssistantOC_put_EventHandled_Proxy(ISearchAssistantOC *This,VARIANT_BOOL bHandled);
   1760   void __RPC_STUB ISearchAssistantOC_put_EventHandled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1761   HRESULT WINAPI ISearchAssistantOC_ResetNextMenu_Proxy(ISearchAssistantOC *This);
   1762   void __RPC_STUB ISearchAssistantOC_ResetNextMenu_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1763   HRESULT WINAPI ISearchAssistantOC_FindOnWeb_Proxy(ISearchAssistantOC *This);
   1764   void __RPC_STUB ISearchAssistantOC_FindOnWeb_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1765   HRESULT WINAPI ISearchAssistantOC_FindFilesOrFolders_Proxy(ISearchAssistantOC *This);
   1766   void __RPC_STUB ISearchAssistantOC_FindFilesOrFolders_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1767   HRESULT WINAPI ISearchAssistantOC_FindComputer_Proxy(ISearchAssistantOC *This);
   1768   void __RPC_STUB ISearchAssistantOC_FindComputer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1769   HRESULT WINAPI ISearchAssistantOC_FindPrinter_Proxy(ISearchAssistantOC *This);
   1770   void __RPC_STUB ISearchAssistantOC_FindPrinter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1771   HRESULT WINAPI ISearchAssistantOC_FindPeople_Proxy(ISearchAssistantOC *This);
   1772   void __RPC_STUB ISearchAssistantOC_FindPeople_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1773   HRESULT WINAPI ISearchAssistantOC_GetSearchAssistantURL_Proxy(ISearchAssistantOC *This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue);
   1774   void __RPC_STUB ISearchAssistantOC_GetSearchAssistantURL_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1775   HRESULT WINAPI ISearchAssistantOC_NotifySearchSettingsChanged_Proxy(ISearchAssistantOC *This);
   1776   void __RPC_STUB ISearchAssistantOC_NotifySearchSettingsChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1777   HRESULT WINAPI ISearchAssistantOC_put_ASProvider_Proxy(ISearchAssistantOC *This,BSTR Provider);
   1778   void __RPC_STUB ISearchAssistantOC_put_ASProvider_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1779   HRESULT WINAPI ISearchAssistantOC_get_ASProvider_Proxy(ISearchAssistantOC *This,BSTR *pProvider);
   1780   void __RPC_STUB ISearchAssistantOC_get_ASProvider_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1781   HRESULT WINAPI ISearchAssistantOC_put_ASSetting_Proxy(ISearchAssistantOC *This,int Setting);
   1782   void __RPC_STUB ISearchAssistantOC_put_ASSetting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1783   HRESULT WINAPI ISearchAssistantOC_get_ASSetting_Proxy(ISearchAssistantOC *This,int *pSetting);
   1784   void __RPC_STUB ISearchAssistantOC_get_ASSetting_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1785   HRESULT WINAPI ISearchAssistantOC_NETDetectNextNavigate_Proxy(ISearchAssistantOC *This);
   1786   void __RPC_STUB ISearchAssistantOC_NETDetectNextNavigate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1787   HRESULT WINAPI ISearchAssistantOC_PutFindText_Proxy(ISearchAssistantOC *This,BSTR FindText);
   1788   void __RPC_STUB ISearchAssistantOC_PutFindText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1789   HRESULT WINAPI ISearchAssistantOC_get_Version_Proxy(ISearchAssistantOC *This,int *pVersion);
   1790   void __RPC_STUB ISearchAssistantOC_get_Version_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1791   HRESULT WINAPI ISearchAssistantOC_EncodeString_Proxy(ISearchAssistantOC *This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult);
   1792   void __RPC_STUB ISearchAssistantOC_EncodeString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1793 #endif
   1794 
   1795 #ifndef __ISearchAssistantOC2_INTERFACE_DEFINED__
   1796 #define __ISearchAssistantOC2_INTERFACE_DEFINED__
   1797   EXTERN_C const IID IID_ISearchAssistantOC2;
   1798 #if defined(__cplusplus) && !defined(CINTERFACE)
   1799   struct ISearchAssistantOC2 : public ISearchAssistantOC {
   1800   public:
   1801     virtual HRESULT WINAPI get_ShowFindPrinter(VARIANT_BOOL *pbShowFindPrinter) = 0;
   1802   };
   1803 #else
   1804   typedef struct ISearchAssistantOC2Vtbl {
   1805     BEGIN_INTERFACE
   1806       HRESULT (WINAPI *QueryInterface)(ISearchAssistantOC2 *This,REFIID riid,void **ppvObject);
   1807       ULONG (WINAPI *AddRef)(ISearchAssistantOC2 *This);
   1808       ULONG (WINAPI *Release)(ISearchAssistantOC2 *This);
   1809       HRESULT (WINAPI *GetTypeInfoCount)(ISearchAssistantOC2 *This,UINT *pctinfo);
   1810       HRESULT (WINAPI *GetTypeInfo)(ISearchAssistantOC2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1811       HRESULT (WINAPI *GetIDsOfNames)(ISearchAssistantOC2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1812       HRESULT (WINAPI *Invoke)(ISearchAssistantOC2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1813       HRESULT (WINAPI *AddNextMenuItem)(ISearchAssistantOC2 *This,BSTR bstrText,__LONG32 idItem);
   1814       HRESULT (WINAPI *SetDefaultSearchUrl)(ISearchAssistantOC2 *This,BSTR bstrUrl);
   1815       HRESULT (WINAPI *NavigateToDefaultSearch)(ISearchAssistantOC2 *This);
   1816       HRESULT (WINAPI *IsRestricted)(ISearchAssistantOC2 *This,BSTR bstrGuid,VARIANT_BOOL *pVal);
   1817       HRESULT (WINAPI *get_ShellFeaturesEnabled)(ISearchAssistantOC2 *This,VARIANT_BOOL *pVal);
   1818       HRESULT (WINAPI *get_SearchAssistantDefault)(ISearchAssistantOC2 *This,VARIANT_BOOL *pVal);
   1819       HRESULT (WINAPI *get_Searches)(ISearchAssistantOC2 *This,ISearches **ppid);
   1820       HRESULT (WINAPI *get_InWebFolder)(ISearchAssistantOC2 *This,VARIANT_BOOL *pVal);
   1821       HRESULT (WINAPI *PutProperty)(ISearchAssistantOC2 *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue);
   1822       HRESULT (WINAPI *GetProperty)(ISearchAssistantOC2 *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue);
   1823       HRESULT (WINAPI *put_EventHandled)(ISearchAssistantOC2 *This,VARIANT_BOOL bHandled);
   1824       HRESULT (WINAPI *ResetNextMenu)(ISearchAssistantOC2 *This);
   1825       HRESULT (WINAPI *FindOnWeb)(ISearchAssistantOC2 *This);
   1826       HRESULT (WINAPI *FindFilesOrFolders)(ISearchAssistantOC2 *This);
   1827       HRESULT (WINAPI *FindComputer)(ISearchAssistantOC2 *This);
   1828       HRESULT (WINAPI *FindPrinter)(ISearchAssistantOC2 *This);
   1829       HRESULT (WINAPI *FindPeople)(ISearchAssistantOC2 *This);
   1830       HRESULT (WINAPI *GetSearchAssistantURL)(ISearchAssistantOC2 *This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue);
   1831       HRESULT (WINAPI *NotifySearchSettingsChanged)(ISearchAssistantOC2 *This);
   1832       HRESULT (WINAPI *put_ASProvider)(ISearchAssistantOC2 *This,BSTR Provider);
   1833       HRESULT (WINAPI *get_ASProvider)(ISearchAssistantOC2 *This,BSTR *pProvider);
   1834       HRESULT (WINAPI *put_ASSetting)(ISearchAssistantOC2 *This,int Setting);
   1835       HRESULT (WINAPI *get_ASSetting)(ISearchAssistantOC2 *This,int *pSetting);
   1836       HRESULT (WINAPI *NETDetectNextNavigate)(ISearchAssistantOC2 *This);
   1837       HRESULT (WINAPI *PutFindText)(ISearchAssistantOC2 *This,BSTR FindText);
   1838       HRESULT (WINAPI *get_Version)(ISearchAssistantOC2 *This,int *pVersion);
   1839       HRESULT (WINAPI *EncodeString)(ISearchAssistantOC2 *This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult);
   1840       HRESULT (WINAPI *get_ShowFindPrinter)(ISearchAssistantOC2 *This,VARIANT_BOOL *pbShowFindPrinter);
   1841     END_INTERFACE
   1842   } ISearchAssistantOC2Vtbl;
   1843   struct ISearchAssistantOC2 {
   1844     CONST_VTBL struct ISearchAssistantOC2Vtbl *lpVtbl;
   1845   };
   1846 #ifdef COBJMACROS
   1847 #define ISearchAssistantOC2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1848 #define ISearchAssistantOC2_AddRef(This) (This)->lpVtbl->AddRef(This)
   1849 #define ISearchAssistantOC2_Release(This) (This)->lpVtbl->Release(This)
   1850 #define ISearchAssistantOC2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1851 #define ISearchAssistantOC2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1852 #define ISearchAssistantOC2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1853 #define ISearchAssistantOC2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1854 #define ISearchAssistantOC2_AddNextMenuItem(This,bstrText,idItem) (This)->lpVtbl->AddNextMenuItem(This,bstrText,idItem)
   1855 #define ISearchAssistantOC2_SetDefaultSearchUrl(This,bstrUrl) (This)->lpVtbl->SetDefaultSearchUrl(This,bstrUrl)
   1856 #define ISearchAssistantOC2_NavigateToDefaultSearch(This) (This)->lpVtbl->NavigateToDefaultSearch(This)
   1857 #define ISearchAssistantOC2_IsRestricted(This,bstrGuid,pVal) (This)->lpVtbl->IsRestricted(This,bstrGuid,pVal)
   1858 #define ISearchAssistantOC2_get_ShellFeaturesEnabled(This,pVal) (This)->lpVtbl->get_ShellFeaturesEnabled(This,pVal)
   1859 #define ISearchAssistantOC2_get_SearchAssistantDefault(This,pVal) (This)->lpVtbl->get_SearchAssistantDefault(This,pVal)
   1860 #define ISearchAssistantOC2_get_Searches(This,ppid) (This)->lpVtbl->get_Searches(This,ppid)
   1861 #define ISearchAssistantOC2_get_InWebFolder(This,pVal) (This)->lpVtbl->get_InWebFolder(This,pVal)
   1862 #define ISearchAssistantOC2_PutProperty(This,bPerLocale,bstrName,bstrValue) (This)->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue)
   1863 #define ISearchAssistantOC2_GetProperty(This,bPerLocale,bstrName,pbstrValue) (This)->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue)
   1864 #define ISearchAssistantOC2_put_EventHandled(This,bHandled) (This)->lpVtbl->put_EventHandled(This,bHandled)
   1865 #define ISearchAssistantOC2_ResetNextMenu(This) (This)->lpVtbl->ResetNextMenu(This)
   1866 #define ISearchAssistantOC2_FindOnWeb(This) (This)->lpVtbl->FindOnWeb(This)
   1867 #define ISearchAssistantOC2_FindFilesOrFolders(This) (This)->lpVtbl->FindFilesOrFolders(This)
   1868 #define ISearchAssistantOC2_FindComputer(This) (This)->lpVtbl->FindComputer(This)
   1869 #define ISearchAssistantOC2_FindPrinter(This) (This)->lpVtbl->FindPrinter(This)
   1870 #define ISearchAssistantOC2_FindPeople(This) (This)->lpVtbl->FindPeople(This)
   1871 #define ISearchAssistantOC2_GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) (This)->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue)
   1872 #define ISearchAssistantOC2_NotifySearchSettingsChanged(This) (This)->lpVtbl->NotifySearchSettingsChanged(This)
   1873 #define ISearchAssistantOC2_put_ASProvider(This,Provider) (This)->lpVtbl->put_ASProvider(This,Provider)
   1874 #define ISearchAssistantOC2_get_ASProvider(This,pProvider) (This)->lpVtbl->get_ASProvider(This,pProvider)
   1875 #define ISearchAssistantOC2_put_ASSetting(This,Setting) (This)->lpVtbl->put_ASSetting(This,Setting)
   1876 #define ISearchAssistantOC2_get_ASSetting(This,pSetting) (This)->lpVtbl->get_ASSetting(This,pSetting)
   1877 #define ISearchAssistantOC2_NETDetectNextNavigate(This) (This)->lpVtbl->NETDetectNextNavigate(This)
   1878 #define ISearchAssistantOC2_PutFindText(This,FindText) (This)->lpVtbl->PutFindText(This,FindText)
   1879 #define ISearchAssistantOC2_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion)
   1880 #define ISearchAssistantOC2_EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) (This)->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult)
   1881 #define ISearchAssistantOC2_get_ShowFindPrinter(This,pbShowFindPrinter) (This)->lpVtbl->get_ShowFindPrinter(This,pbShowFindPrinter)
   1882 #endif
   1883 #endif
   1884   HRESULT WINAPI ISearchAssistantOC2_get_ShowFindPrinter_Proxy(ISearchAssistantOC2 *This,VARIANT_BOOL *pbShowFindPrinter);
   1885   void __RPC_STUB ISearchAssistantOC2_get_ShowFindPrinter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1886 #endif
   1887 
   1888 #ifndef __ISearchAssistantOC3_INTERFACE_DEFINED__
   1889 #define __ISearchAssistantOC3_INTERFACE_DEFINED__
   1890   EXTERN_C const IID IID_ISearchAssistantOC3;
   1891 #if defined(__cplusplus) && !defined(CINTERFACE)
   1892   struct ISearchAssistantOC3 : public ISearchAssistantOC2 {
   1893   public:
   1894     virtual HRESULT WINAPI get_SearchCompanionAvailable(VARIANT_BOOL *pbAvailable) = 0;
   1895     virtual HRESULT WINAPI put_UseSearchCompanion(VARIANT_BOOL bUseSC) = 0;
   1896     virtual HRESULT WINAPI get_UseSearchCompanion(VARIANT_BOOL *pbUseSC) = 0;
   1897   };
   1898 #else
   1899   typedef struct ISearchAssistantOC3Vtbl {
   1900     BEGIN_INTERFACE
   1901       HRESULT (WINAPI *QueryInterface)(ISearchAssistantOC3 *This,REFIID riid,void **ppvObject);
   1902       ULONG (WINAPI *AddRef)(ISearchAssistantOC3 *This);
   1903       ULONG (WINAPI *Release)(ISearchAssistantOC3 *This);
   1904       HRESULT (WINAPI *GetTypeInfoCount)(ISearchAssistantOC3 *This,UINT *pctinfo);
   1905       HRESULT (WINAPI *GetTypeInfo)(ISearchAssistantOC3 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1906       HRESULT (WINAPI *GetIDsOfNames)(ISearchAssistantOC3 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1907       HRESULT (WINAPI *Invoke)(ISearchAssistantOC3 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1908       HRESULT (WINAPI *AddNextMenuItem)(ISearchAssistantOC3 *This,BSTR bstrText,__LONG32 idItem);
   1909       HRESULT (WINAPI *SetDefaultSearchUrl)(ISearchAssistantOC3 *This,BSTR bstrUrl);
   1910       HRESULT (WINAPI *NavigateToDefaultSearch)(ISearchAssistantOC3 *This);
   1911       HRESULT (WINAPI *IsRestricted)(ISearchAssistantOC3 *This,BSTR bstrGuid,VARIANT_BOOL *pVal);
   1912       HRESULT (WINAPI *get_ShellFeaturesEnabled)(ISearchAssistantOC3 *This,VARIANT_BOOL *pVal);
   1913       HRESULT (WINAPI *get_SearchAssistantDefault)(ISearchAssistantOC3 *This,VARIANT_BOOL *pVal);
   1914       HRESULT (WINAPI *get_Searches)(ISearchAssistantOC3 *This,ISearches **ppid);
   1915       HRESULT (WINAPI *get_InWebFolder)(ISearchAssistantOC3 *This,VARIANT_BOOL *pVal);
   1916       HRESULT (WINAPI *PutProperty)(ISearchAssistantOC3 *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR bstrValue);
   1917       HRESULT (WINAPI *GetProperty)(ISearchAssistantOC3 *This,VARIANT_BOOL bPerLocale,BSTR bstrName,BSTR *pbstrValue);
   1918       HRESULT (WINAPI *put_EventHandled)(ISearchAssistantOC3 *This,VARIANT_BOOL bHandled);
   1919       HRESULT (WINAPI *ResetNextMenu)(ISearchAssistantOC3 *This);
   1920       HRESULT (WINAPI *FindOnWeb)(ISearchAssistantOC3 *This);
   1921       HRESULT (WINAPI *FindFilesOrFolders)(ISearchAssistantOC3 *This);
   1922       HRESULT (WINAPI *FindComputer)(ISearchAssistantOC3 *This);
   1923       HRESULT (WINAPI *FindPrinter)(ISearchAssistantOC3 *This);
   1924       HRESULT (WINAPI *FindPeople)(ISearchAssistantOC3 *This);
   1925       HRESULT (WINAPI *GetSearchAssistantURL)(ISearchAssistantOC3 *This,VARIANT_BOOL bSubstitute,VARIANT_BOOL bCustomize,BSTR *pbstrValue);
   1926       HRESULT (WINAPI *NotifySearchSettingsChanged)(ISearchAssistantOC3 *This);
   1927       HRESULT (WINAPI *put_ASProvider)(ISearchAssistantOC3 *This,BSTR Provider);
   1928       HRESULT (WINAPI *get_ASProvider)(ISearchAssistantOC3 *This,BSTR *pProvider);
   1929       HRESULT (WINAPI *put_ASSetting)(ISearchAssistantOC3 *This,int Setting);
   1930       HRESULT (WINAPI *get_ASSetting)(ISearchAssistantOC3 *This,int *pSetting);
   1931       HRESULT (WINAPI *NETDetectNextNavigate)(ISearchAssistantOC3 *This);
   1932       HRESULT (WINAPI *PutFindText)(ISearchAssistantOC3 *This,BSTR FindText);
   1933       HRESULT (WINAPI *get_Version)(ISearchAssistantOC3 *This,int *pVersion);
   1934       HRESULT (WINAPI *EncodeString)(ISearchAssistantOC3 *This,BSTR bstrValue,BSTR bstrCharSet,VARIANT_BOOL bUseUTF8,BSTR *pbstrResult);
   1935       HRESULT (WINAPI *get_ShowFindPrinter)(ISearchAssistantOC3 *This,VARIANT_BOOL *pbShowFindPrinter);
   1936       HRESULT (WINAPI *get_SearchCompanionAvailable)(ISearchAssistantOC3 *This,VARIANT_BOOL *pbAvailable);
   1937       HRESULT (WINAPI *put_UseSearchCompanion)(ISearchAssistantOC3 *This,VARIANT_BOOL bUseSC);
   1938       HRESULT (WINAPI *get_UseSearchCompanion)(ISearchAssistantOC3 *This,VARIANT_BOOL *pbUseSC);
   1939     END_INTERFACE
   1940   } ISearchAssistantOC3Vtbl;
   1941   struct ISearchAssistantOC3 {
   1942     CONST_VTBL struct ISearchAssistantOC3Vtbl *lpVtbl;
   1943   };
   1944 #ifdef COBJMACROS
   1945 #define ISearchAssistantOC3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1946 #define ISearchAssistantOC3_AddRef(This) (This)->lpVtbl->AddRef(This)
   1947 #define ISearchAssistantOC3_Release(This) (This)->lpVtbl->Release(This)
   1948 #define ISearchAssistantOC3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1949 #define ISearchAssistantOC3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1950 #define ISearchAssistantOC3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1951 #define ISearchAssistantOC3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1952 #define ISearchAssistantOC3_AddNextMenuItem(This,bstrText,idItem) (This)->lpVtbl->AddNextMenuItem(This,bstrText,idItem)
   1953 #define ISearchAssistantOC3_SetDefaultSearchUrl(This,bstrUrl) (This)->lpVtbl->SetDefaultSearchUrl(This,bstrUrl)
   1954 #define ISearchAssistantOC3_NavigateToDefaultSearch(This) (This)->lpVtbl->NavigateToDefaultSearch(This)
   1955 #define ISearchAssistantOC3_IsRestricted(This,bstrGuid,pVal) (This)->lpVtbl->IsRestricted(This,bstrGuid,pVal)
   1956 #define ISearchAssistantOC3_get_ShellFeaturesEnabled(This,pVal) (This)->lpVtbl->get_ShellFeaturesEnabled(This,pVal)
   1957 #define ISearchAssistantOC3_get_SearchAssistantDefault(This,pVal) (This)->lpVtbl->get_SearchAssistantDefault(This,pVal)
   1958 #define ISearchAssistantOC3_get_Searches(This,ppid) (This)->lpVtbl->get_Searches(This,ppid)
   1959 #define ISearchAssistantOC3_get_InWebFolder(This,pVal) (This)->lpVtbl->get_InWebFolder(This,pVal)
   1960 #define ISearchAssistantOC3_PutProperty(This,bPerLocale,bstrName,bstrValue) (This)->lpVtbl->PutProperty(This,bPerLocale,bstrName,bstrValue)
   1961 #define ISearchAssistantOC3_GetProperty(This,bPerLocale,bstrName,pbstrValue) (This)->lpVtbl->GetProperty(This,bPerLocale,bstrName,pbstrValue)
   1962 #define ISearchAssistantOC3_put_EventHandled(This,bHandled) (This)->lpVtbl->put_EventHandled(This,bHandled)
   1963 #define ISearchAssistantOC3_ResetNextMenu(This) (This)->lpVtbl->ResetNextMenu(This)
   1964 #define ISearchAssistantOC3_FindOnWeb(This) (This)->lpVtbl->FindOnWeb(This)
   1965 #define ISearchAssistantOC3_FindFilesOrFolders(This) (This)->lpVtbl->FindFilesOrFolders(This)
   1966 #define ISearchAssistantOC3_FindComputer(This) (This)->lpVtbl->FindComputer(This)
   1967 #define ISearchAssistantOC3_FindPrinter(This) (This)->lpVtbl->FindPrinter(This)
   1968 #define ISearchAssistantOC3_FindPeople(This) (This)->lpVtbl->FindPeople(This)
   1969 #define ISearchAssistantOC3_GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue) (This)->lpVtbl->GetSearchAssistantURL(This,bSubstitute,bCustomize,pbstrValue)
   1970 #define ISearchAssistantOC3_NotifySearchSettingsChanged(This) (This)->lpVtbl->NotifySearchSettingsChanged(This)
   1971 #define ISearchAssistantOC3_put_ASProvider(This,Provider) (This)->lpVtbl->put_ASProvider(This,Provider)
   1972 #define ISearchAssistantOC3_get_ASProvider(This,pProvider) (This)->lpVtbl->get_ASProvider(This,pProvider)
   1973 #define ISearchAssistantOC3_put_ASSetting(This,Setting) (This)->lpVtbl->put_ASSetting(This,Setting)
   1974 #define ISearchAssistantOC3_get_ASSetting(This,pSetting) (This)->lpVtbl->get_ASSetting(This,pSetting)
   1975 #define ISearchAssistantOC3_NETDetectNextNavigate(This) (This)->lpVtbl->NETDetectNextNavigate(This)
   1976 #define ISearchAssistantOC3_PutFindText(This,FindText) (This)->lpVtbl->PutFindText(This,FindText)
   1977 #define ISearchAssistantOC3_get_Version(This,pVersion) (This)->lpVtbl->get_Version(This,pVersion)
   1978 #define ISearchAssistantOC3_EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult) (This)->lpVtbl->EncodeString(This,bstrValue,bstrCharSet,bUseUTF8,pbstrResult)
   1979 #define ISearchAssistantOC3_get_ShowFindPrinter(This,pbShowFindPrinter) (This)->lpVtbl->get_ShowFindPrinter(This,pbShowFindPrinter)
   1980 #define ISearchAssistantOC3_get_SearchCompanionAvailable(This,pbAvailable) (This)->lpVtbl->get_SearchCompanionAvailable(This,pbAvailable)
   1981 #define ISearchAssistantOC3_put_UseSearchCompanion(This,bUseSC) (This)->lpVtbl->put_UseSearchCompanion(This,bUseSC)
   1982 #define ISearchAssistantOC3_get_UseSearchCompanion(This,pbUseSC) (This)->lpVtbl->get_UseSearchCompanion(This,pbUseSC)
   1983 #endif
   1984 #endif
   1985   HRESULT WINAPI ISearchAssistantOC3_get_SearchCompanionAvailable_Proxy(ISearchAssistantOC3 *This,VARIANT_BOOL *pbAvailable);
   1986   void __RPC_STUB ISearchAssistantOC3_get_SearchCompanionAvailable_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1987   HRESULT WINAPI ISearchAssistantOC3_put_UseSearchCompanion_Proxy(ISearchAssistantOC3 *This,VARIANT_BOOL bUseSC);
   1988   void __RPC_STUB ISearchAssistantOC3_put_UseSearchCompanion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1989   HRESULT WINAPI ISearchAssistantOC3_get_UseSearchCompanion_Proxy(ISearchAssistantOC3 *This,VARIANT_BOOL *pbUseSC);
   1990   void __RPC_STUB ISearchAssistantOC3_get_UseSearchCompanion_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1991 #endif
   1992 
   1993 #ifndef ___SearchAssistantEvents_DISPINTERFACE_DEFINED__
   1994 #define ___SearchAssistantEvents_DISPINTERFACE_DEFINED__
   1995   EXTERN_C const IID DIID__SearchAssistantEvents;
   1996 #if defined(__cplusplus) && !defined(CINTERFACE)
   1997   struct _SearchAssistantEvents : public IDispatch {
   1998   };
   1999 #else
   2000   typedef struct _SearchAssistantEventsVtbl {
   2001     BEGIN_INTERFACE
   2002       HRESULT (WINAPI *QueryInterface)(_SearchAssistantEvents *This,REFIID riid,void **ppvObject);
   2003       ULONG (WINAPI *AddRef)(_SearchAssistantEvents *This);
   2004       ULONG (WINAPI *Release)(_SearchAssistantEvents *This);
   2005       HRESULT (WINAPI *GetTypeInfoCount)(_SearchAssistantEvents *This,UINT *pctinfo);
   2006       HRESULT (WINAPI *GetTypeInfo)(_SearchAssistantEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   2007       HRESULT (WINAPI *GetIDsOfNames)(_SearchAssistantEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   2008       HRESULT (WINAPI *Invoke)(_SearchAssistantEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   2009     END_INTERFACE
   2010   } _SearchAssistantEventsVtbl;
   2011   struct _SearchAssistantEvents {
   2012     CONST_VTBL struct _SearchAssistantEventsVtbl *lpVtbl;
   2013   };
   2014 #ifdef COBJMACROS
   2015 #define _SearchAssistantEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2016 #define _SearchAssistantEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2017 #define _SearchAssistantEvents_Release(This) (This)->lpVtbl->Release(This)
   2018 #define _SearchAssistantEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   2019 #define _SearchAssistantEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   2020 #define _SearchAssistantEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   2021 #define _SearchAssistantEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   2022 #endif
   2023 #endif
   2024 #endif
   2025 
   2026   EXTERN_C const CLSID CLSID_SearchAssistantOC;
   2027 #ifdef __cplusplus
   2028   class SearchAssistantOC;
   2029 #endif
   2030 #endif
   2031 
   2032 #ifdef __cplusplus
   2033 }
   2034 #endif
   2035 #endif
   2036