ShlDisp.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:298k
源码类别:

模拟服务器

开发平台:

C/C++

  1.     MIDL_INTERFACE("A4C6892C-3BA9-11d2-9DEA-00C04FB16162")
  2.     IShellDispatch2 : public IShellDispatch
  3.     {
  4.     public:
  5.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsRestricted( 
  6.             /* [in] */ BSTR Group,
  7.             /* [in] */ BSTR Restriction,
  8.             /* [retval][out] */ long *plRestrictValue) = 0;
  9.         
  10.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShellExecute( 
  11.             /* [in] */ BSTR File,
  12.             /* [optional][in] */ VARIANT vArgs,
  13.             /* [optional][in] */ VARIANT vDir,
  14.             /* [optional][in] */ VARIANT vOperation,
  15.             /* [optional][in] */ VARIANT vShow) = 0;
  16.         
  17.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindPrinter( 
  18.             /* [optional][in] */ BSTR name,
  19.             /* [optional][in] */ BSTR location,
  20.             /* [optional][in] */ BSTR model) = 0;
  21.         
  22.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSystemInformation( 
  23.             /* [in] */ BSTR name,
  24.             /* [retval][out] */ VARIANT *pv) = 0;
  25.         
  26.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ServiceStart( 
  27.             /* [in] */ BSTR ServiceName,
  28.             /* [in] */ VARIANT Persistent,
  29.             /* [retval][out] */ VARIANT *pSuccess) = 0;
  30.         
  31.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ServiceStop( 
  32.             /* [in] */ BSTR ServiceName,
  33.             /* [in] */ VARIANT Persistent,
  34.             /* [retval][out] */ VARIANT *pSuccess) = 0;
  35.         
  36.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsServiceRunning( 
  37.             /* [in] */ BSTR ServiceName,
  38.             /* [retval][out] */ VARIANT *pRunning) = 0;
  39.         
  40.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CanStartStopService( 
  41.             /* [in] */ BSTR ServiceName,
  42.             /* [retval][out] */ VARIANT *pCanStartStop) = 0;
  43.         
  44.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ShowBrowserBar( 
  45.             /* [in] */ BSTR bstrClsid,
  46.             /* [in] */ VARIANT bShow,
  47.             /* [retval][out] */ VARIANT *pSuccess) = 0;
  48.         
  49.     };
  50.     
  51. #else  /* C style interface */
  52.     typedef struct IShellDispatch2Vtbl
  53.     {
  54.         BEGIN_INTERFACE
  55.         
  56.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  57.             IShellDispatch2 * This,
  58.             /* [in] */ REFIID riid,
  59.             /* [iid_is][out] */ void **ppvObject);
  60.         
  61.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  62.             IShellDispatch2 * This);
  63.         
  64.         ULONG ( STDMETHODCALLTYPE *Release )( 
  65.             IShellDispatch2 * This);
  66.         
  67.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  68.             IShellDispatch2 * This,
  69.             /* [out] */ UINT *pctinfo);
  70.         
  71.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  72.             IShellDispatch2 * This,
  73.             /* [in] */ UINT iTInfo,
  74.             /* [in] */ LCID lcid,
  75.             /* [out] */ ITypeInfo **ppTInfo);
  76.         
  77.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  78.             IShellDispatch2 * This,
  79.             /* [in] */ REFIID riid,
  80.             /* [size_is][in] */ LPOLESTR *rgszNames,
  81.             /* [in] */ UINT cNames,
  82.             /* [in] */ LCID lcid,
  83.             /* [size_is][out] */ DISPID *rgDispId);
  84.         
  85.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  86.             IShellDispatch2 * This,
  87.             /* [in] */ DISPID dispIdMember,
  88.             /* [in] */ REFIID riid,
  89.             /* [in] */ LCID lcid,
  90.             /* [in] */ WORD wFlags,
  91.             /* [out][in] */ DISPPARAMS *pDispParams,
  92.             /* [out] */ VARIANT *pVarResult,
  93.             /* [out] */ EXCEPINFO *pExcepInfo,
  94.             /* [out] */ UINT *puArgErr);
  95.         
  96.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( 
  97.             IShellDispatch2 * This,
  98.             /* [retval][out] */ IDispatch **ppid);
  99.         
  100.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( 
  101.             IShellDispatch2 * This,
  102.             /* [retval][out] */ IDispatch **ppid);
  103.         
  104.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NameSpace )( 
  105.             IShellDispatch2 * This,
  106.             /* [in] */ VARIANT vDir,
  107.             /* [retval][out] */ Folder **ppsdf);
  108.         
  109.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BrowseForFolder )( 
  110.             IShellDispatch2 * This,
  111.             /* [in] */ long Hwnd,
  112.             /* [in] */ BSTR Title,
  113.             /* [in] */ long Options,
  114.             /* [optional][in] */ VARIANT RootFolder,
  115.             /* [retval][out] */ Folder **ppsdf);
  116.         
  117.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Windows )( 
  118.             IShellDispatch2 * This,
  119.             /* [retval][out] */ IDispatch **ppid);
  120.         
  121.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Open )( 
  122.             IShellDispatch2 * This,
  123.             /* [in] */ VARIANT vDir);
  124.         
  125.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Explore )( 
  126.             IShellDispatch2 * This,
  127.             /* [in] */ VARIANT vDir);
  128.         
  129.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MinimizeAll )( 
  130.             IShellDispatch2 * This);
  131.         
  132.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UndoMinimizeALL )( 
  133.             IShellDispatch2 * This);
  134.         
  135.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FileRun )( 
  136.             IShellDispatch2 * This);
  137.         
  138.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CascadeWindows )( 
  139.             IShellDispatch2 * This);
  140.         
  141.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TileVertically )( 
  142.             IShellDispatch2 * This);
  143.         
  144.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TileHorizontally )( 
  145.             IShellDispatch2 * This);
  146.         
  147.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShutdownWindows )( 
  148.             IShellDispatch2 * This);
  149.         
  150.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Suspend )( 
  151.             IShellDispatch2 * This);
  152.         
  153.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EjectPC )( 
  154.             IShellDispatch2 * This);
  155.         
  156.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetTime )( 
  157.             IShellDispatch2 * This);
  158.         
  159.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TrayProperties )( 
  160.             IShellDispatch2 * This);
  161.         
  162.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Help )( 
  163.             IShellDispatch2 * This);
  164.         
  165.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindFiles )( 
  166.             IShellDispatch2 * This);
  167.         
  168.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindComputer )( 
  169.             IShellDispatch2 * This);
  170.         
  171.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RefreshMenu )( 
  172.             IShellDispatch2 * This);
  173.         
  174.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ControlPanelItem )( 
  175.             IShellDispatch2 * This,
  176.             /* [in] */ BSTR szDir);
  177.         
  178.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsRestricted )( 
  179.             IShellDispatch2 * This,
  180.             /* [in] */ BSTR Group,
  181.             /* [in] */ BSTR Restriction,
  182.             /* [retval][out] */ long *plRestrictValue);
  183.         
  184.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShellExecute )( 
  185.             IShellDispatch2 * This,
  186.             /* [in] */ BSTR File,
  187.             /* [optional][in] */ VARIANT vArgs,
  188.             /* [optional][in] */ VARIANT vDir,
  189.             /* [optional][in] */ VARIANT vOperation,
  190.             /* [optional][in] */ VARIANT vShow);
  191.         
  192.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindPrinter )( 
  193.             IShellDispatch2 * This,
  194.             /* [optional][in] */ BSTR name,
  195.             /* [optional][in] */ BSTR location,
  196.             /* [optional][in] */ BSTR model);
  197.         
  198.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSystemInformation )( 
  199.             IShellDispatch2 * This,
  200.             /* [in] */ BSTR name,
  201.             /* [retval][out] */ VARIANT *pv);
  202.         
  203.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ServiceStart )( 
  204.             IShellDispatch2 * This,
  205.             /* [in] */ BSTR ServiceName,
  206.             /* [in] */ VARIANT Persistent,
  207.             /* [retval][out] */ VARIANT *pSuccess);
  208.         
  209.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ServiceStop )( 
  210.             IShellDispatch2 * This,
  211.             /* [in] */ BSTR ServiceName,
  212.             /* [in] */ VARIANT Persistent,
  213.             /* [retval][out] */ VARIANT *pSuccess);
  214.         
  215.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsServiceRunning )( 
  216.             IShellDispatch2 * This,
  217.             /* [in] */ BSTR ServiceName,
  218.             /* [retval][out] */ VARIANT *pRunning);
  219.         
  220.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CanStartStopService )( 
  221.             IShellDispatch2 * This,
  222.             /* [in] */ BSTR ServiceName,
  223.             /* [retval][out] */ VARIANT *pCanStartStop);
  224.         
  225.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserBar )( 
  226.             IShellDispatch2 * This,
  227.             /* [in] */ BSTR bstrClsid,
  228.             /* [in] */ VARIANT bShow,
  229.             /* [retval][out] */ VARIANT *pSuccess);
  230.         
  231.         END_INTERFACE
  232.     } IShellDispatch2Vtbl;
  233.     interface IShellDispatch2
  234.     {
  235.         CONST_VTBL struct IShellDispatch2Vtbl *lpVtbl;
  236.     };
  237.     
  238. #ifdef COBJMACROS
  239. #define IShellDispatch2_QueryInterface(This,riid,ppvObject)
  240.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  241. #define IShellDispatch2_AddRef(This)
  242.     (This)->lpVtbl -> AddRef(This)
  243. #define IShellDispatch2_Release(This)
  244.     (This)->lpVtbl -> Release(This)
  245. #define IShellDispatch2_GetTypeInfoCount(This,pctinfo)
  246.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  247. #define IShellDispatch2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  248.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  249. #define IShellDispatch2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  250.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  251. #define IShellDispatch2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  252.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  253. #define IShellDispatch2_get_Application(This,ppid)
  254.     (This)->lpVtbl -> get_Application(This,ppid)
  255. #define IShellDispatch2_get_Parent(This,ppid)
  256.     (This)->lpVtbl -> get_Parent(This,ppid)
  257. #define IShellDispatch2_NameSpace(This,vDir,ppsdf)
  258.     (This)->lpVtbl -> NameSpace(This,vDir,ppsdf)
  259. #define IShellDispatch2_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf)
  260.     (This)->lpVtbl -> BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf)
  261. #define IShellDispatch2_Windows(This,ppid)
  262.     (This)->lpVtbl -> Windows(This,ppid)
  263. #define IShellDispatch2_Open(This,vDir)
  264.     (This)->lpVtbl -> Open(This,vDir)
  265. #define IShellDispatch2_Explore(This,vDir)
  266.     (This)->lpVtbl -> Explore(This,vDir)
  267. #define IShellDispatch2_MinimizeAll(This)
  268.     (This)->lpVtbl -> MinimizeAll(This)
  269. #define IShellDispatch2_UndoMinimizeALL(This)
  270.     (This)->lpVtbl -> UndoMinimizeALL(This)
  271. #define IShellDispatch2_FileRun(This)
  272.     (This)->lpVtbl -> FileRun(This)
  273. #define IShellDispatch2_CascadeWindows(This)
  274.     (This)->lpVtbl -> CascadeWindows(This)
  275. #define IShellDispatch2_TileVertically(This)
  276.     (This)->lpVtbl -> TileVertically(This)
  277. #define IShellDispatch2_TileHorizontally(This)
  278.     (This)->lpVtbl -> TileHorizontally(This)
  279. #define IShellDispatch2_ShutdownWindows(This)
  280.     (This)->lpVtbl -> ShutdownWindows(This)
  281. #define IShellDispatch2_Suspend(This)
  282.     (This)->lpVtbl -> Suspend(This)
  283. #define IShellDispatch2_EjectPC(This)
  284.     (This)->lpVtbl -> EjectPC(This)
  285. #define IShellDispatch2_SetTime(This)
  286.     (This)->lpVtbl -> SetTime(This)
  287. #define IShellDispatch2_TrayProperties(This)
  288.     (This)->lpVtbl -> TrayProperties(This)
  289. #define IShellDispatch2_Help(This)
  290.     (This)->lpVtbl -> Help(This)
  291. #define IShellDispatch2_FindFiles(This)
  292.     (This)->lpVtbl -> FindFiles(This)
  293. #define IShellDispatch2_FindComputer(This)
  294.     (This)->lpVtbl -> FindComputer(This)
  295. #define IShellDispatch2_RefreshMenu(This)
  296.     (This)->lpVtbl -> RefreshMenu(This)
  297. #define IShellDispatch2_ControlPanelItem(This,szDir)
  298.     (This)->lpVtbl -> ControlPanelItem(This,szDir)
  299. #define IShellDispatch2_IsRestricted(This,Group,Restriction,plRestrictValue)
  300.     (This)->lpVtbl -> IsRestricted(This,Group,Restriction,plRestrictValue)
  301. #define IShellDispatch2_ShellExecute(This,File,vArgs,vDir,vOperation,vShow)
  302.     (This)->lpVtbl -> ShellExecute(This,File,vArgs,vDir,vOperation,vShow)
  303. #define IShellDispatch2_FindPrinter(This,name,location,model)
  304.     (This)->lpVtbl -> FindPrinter(This,name,location,model)
  305. #define IShellDispatch2_GetSystemInformation(This,name,pv)
  306.     (This)->lpVtbl -> GetSystemInformation(This,name,pv)
  307. #define IShellDispatch2_ServiceStart(This,ServiceName,Persistent,pSuccess)
  308.     (This)->lpVtbl -> ServiceStart(This,ServiceName,Persistent,pSuccess)
  309. #define IShellDispatch2_ServiceStop(This,ServiceName,Persistent,pSuccess)
  310.     (This)->lpVtbl -> ServiceStop(This,ServiceName,Persistent,pSuccess)
  311. #define IShellDispatch2_IsServiceRunning(This,ServiceName,pRunning)
  312.     (This)->lpVtbl -> IsServiceRunning(This,ServiceName,pRunning)
  313. #define IShellDispatch2_CanStartStopService(This,ServiceName,pCanStartStop)
  314.     (This)->lpVtbl -> CanStartStopService(This,ServiceName,pCanStartStop)
  315. #define IShellDispatch2_ShowBrowserBar(This,bstrClsid,bShow,pSuccess)
  316.     (This)->lpVtbl -> ShowBrowserBar(This,bstrClsid,bShow,pSuccess)
  317. #endif /* COBJMACROS */
  318. #endif  /* C style interface */
  319. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_IsRestricted_Proxy( 
  320.     IShellDispatch2 * This,
  321.     /* [in] */ BSTR Group,
  322.     /* [in] */ BSTR Restriction,
  323.     /* [retval][out] */ long *plRestrictValue);
  324. void __RPC_STUB IShellDispatch2_IsRestricted_Stub(
  325.     IRpcStubBuffer *This,
  326.     IRpcChannelBuffer *_pRpcChannelBuffer,
  327.     PRPC_MESSAGE _pRpcMessage,
  328.     DWORD *_pdwStubPhase);
  329. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_ShellExecute_Proxy( 
  330.     IShellDispatch2 * This,
  331.     /* [in] */ BSTR File,
  332.     /* [optional][in] */ VARIANT vArgs,
  333.     /* [optional][in] */ VARIANT vDir,
  334.     /* [optional][in] */ VARIANT vOperation,
  335.     /* [optional][in] */ VARIANT vShow);
  336. void __RPC_STUB IShellDispatch2_ShellExecute_Stub(
  337.     IRpcStubBuffer *This,
  338.     IRpcChannelBuffer *_pRpcChannelBuffer,
  339.     PRPC_MESSAGE _pRpcMessage,
  340.     DWORD *_pdwStubPhase);
  341. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_FindPrinter_Proxy( 
  342.     IShellDispatch2 * This,
  343.     /* [optional][in] */ BSTR name,
  344.     /* [optional][in] */ BSTR location,
  345.     /* [optional][in] */ BSTR model);
  346. void __RPC_STUB IShellDispatch2_FindPrinter_Stub(
  347.     IRpcStubBuffer *This,
  348.     IRpcChannelBuffer *_pRpcChannelBuffer,
  349.     PRPC_MESSAGE _pRpcMessage,
  350.     DWORD *_pdwStubPhase);
  351. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_GetSystemInformation_Proxy( 
  352.     IShellDispatch2 * This,
  353.     /* [in] */ BSTR name,
  354.     /* [retval][out] */ VARIANT *pv);
  355. void __RPC_STUB IShellDispatch2_GetSystemInformation_Stub(
  356.     IRpcStubBuffer *This,
  357.     IRpcChannelBuffer *_pRpcChannelBuffer,
  358.     PRPC_MESSAGE _pRpcMessage,
  359.     DWORD *_pdwStubPhase);
  360. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_ServiceStart_Proxy( 
  361.     IShellDispatch2 * This,
  362.     /* [in] */ BSTR ServiceName,
  363.     /* [in] */ VARIANT Persistent,
  364.     /* [retval][out] */ VARIANT *pSuccess);
  365. void __RPC_STUB IShellDispatch2_ServiceStart_Stub(
  366.     IRpcStubBuffer *This,
  367.     IRpcChannelBuffer *_pRpcChannelBuffer,
  368.     PRPC_MESSAGE _pRpcMessage,
  369.     DWORD *_pdwStubPhase);
  370. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_ServiceStop_Proxy( 
  371.     IShellDispatch2 * This,
  372.     /* [in] */ BSTR ServiceName,
  373.     /* [in] */ VARIANT Persistent,
  374.     /* [retval][out] */ VARIANT *pSuccess);
  375. void __RPC_STUB IShellDispatch2_ServiceStop_Stub(
  376.     IRpcStubBuffer *This,
  377.     IRpcChannelBuffer *_pRpcChannelBuffer,
  378.     PRPC_MESSAGE _pRpcMessage,
  379.     DWORD *_pdwStubPhase);
  380. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_IsServiceRunning_Proxy( 
  381.     IShellDispatch2 * This,
  382.     /* [in] */ BSTR ServiceName,
  383.     /* [retval][out] */ VARIANT *pRunning);
  384. void __RPC_STUB IShellDispatch2_IsServiceRunning_Stub(
  385.     IRpcStubBuffer *This,
  386.     IRpcChannelBuffer *_pRpcChannelBuffer,
  387.     PRPC_MESSAGE _pRpcMessage,
  388.     DWORD *_pdwStubPhase);
  389. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_CanStartStopService_Proxy( 
  390.     IShellDispatch2 * This,
  391.     /* [in] */ BSTR ServiceName,
  392.     /* [retval][out] */ VARIANT *pCanStartStop);
  393. void __RPC_STUB IShellDispatch2_CanStartStopService_Stub(
  394.     IRpcStubBuffer *This,
  395.     IRpcChannelBuffer *_pRpcChannelBuffer,
  396.     PRPC_MESSAGE _pRpcMessage,
  397.     DWORD *_pdwStubPhase);
  398. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch2_ShowBrowserBar_Proxy( 
  399.     IShellDispatch2 * This,
  400.     /* [in] */ BSTR bstrClsid,
  401.     /* [in] */ VARIANT bShow,
  402.     /* [retval][out] */ VARIANT *pSuccess);
  403. void __RPC_STUB IShellDispatch2_ShowBrowserBar_Stub(
  404.     IRpcStubBuffer *This,
  405.     IRpcChannelBuffer *_pRpcChannelBuffer,
  406.     PRPC_MESSAGE _pRpcMessage,
  407.     DWORD *_pdwStubPhase);
  408. #endif  /* __IShellDispatch2_INTERFACE_DEFINED__ */
  409. #ifndef __IShellDispatch3_INTERFACE_DEFINED__
  410. #define __IShellDispatch3_INTERFACE_DEFINED__
  411. /* interface IShellDispatch3 */
  412. /* [object][dual][hidden][oleautomation][helpstring][uuid] */ 
  413. EXTERN_C const IID IID_IShellDispatch3;
  414. #if defined(__cplusplus) && !defined(CINTERFACE)
  415.     
  416.     MIDL_INTERFACE("177160ca-bb5a-411c-841d-bd38facdeaa0")
  417.     IShellDispatch3 : public IShellDispatch2
  418.     {
  419.     public:
  420.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddToRecent( 
  421.             /* [in] */ VARIANT varFile,
  422.             /* [optional][in] */ BSTR bstrCategory) = 0;
  423.         
  424.     };
  425.     
  426. #else  /* C style interface */
  427.     typedef struct IShellDispatch3Vtbl
  428.     {
  429.         BEGIN_INTERFACE
  430.         
  431.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  432.             IShellDispatch3 * This,
  433.             /* [in] */ REFIID riid,
  434.             /* [iid_is][out] */ void **ppvObject);
  435.         
  436.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  437.             IShellDispatch3 * This);
  438.         
  439.         ULONG ( STDMETHODCALLTYPE *Release )( 
  440.             IShellDispatch3 * This);
  441.         
  442.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  443.             IShellDispatch3 * This,
  444.             /* [out] */ UINT *pctinfo);
  445.         
  446.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  447.             IShellDispatch3 * This,
  448.             /* [in] */ UINT iTInfo,
  449.             /* [in] */ LCID lcid,
  450.             /* [out] */ ITypeInfo **ppTInfo);
  451.         
  452.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  453.             IShellDispatch3 * This,
  454.             /* [in] */ REFIID riid,
  455.             /* [size_is][in] */ LPOLESTR *rgszNames,
  456.             /* [in] */ UINT cNames,
  457.             /* [in] */ LCID lcid,
  458.             /* [size_is][out] */ DISPID *rgDispId);
  459.         
  460.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  461.             IShellDispatch3 * This,
  462.             /* [in] */ DISPID dispIdMember,
  463.             /* [in] */ REFIID riid,
  464.             /* [in] */ LCID lcid,
  465.             /* [in] */ WORD wFlags,
  466.             /* [out][in] */ DISPPARAMS *pDispParams,
  467.             /* [out] */ VARIANT *pVarResult,
  468.             /* [out] */ EXCEPINFO *pExcepInfo,
  469.             /* [out] */ UINT *puArgErr);
  470.         
  471.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( 
  472.             IShellDispatch3 * This,
  473.             /* [retval][out] */ IDispatch **ppid);
  474.         
  475.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( 
  476.             IShellDispatch3 * This,
  477.             /* [retval][out] */ IDispatch **ppid);
  478.         
  479.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NameSpace )( 
  480.             IShellDispatch3 * This,
  481.             /* [in] */ VARIANT vDir,
  482.             /* [retval][out] */ Folder **ppsdf);
  483.         
  484.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BrowseForFolder )( 
  485.             IShellDispatch3 * This,
  486.             /* [in] */ long Hwnd,
  487.             /* [in] */ BSTR Title,
  488.             /* [in] */ long Options,
  489.             /* [optional][in] */ VARIANT RootFolder,
  490.             /* [retval][out] */ Folder **ppsdf);
  491.         
  492.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Windows )( 
  493.             IShellDispatch3 * This,
  494.             /* [retval][out] */ IDispatch **ppid);
  495.         
  496.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Open )( 
  497.             IShellDispatch3 * This,
  498.             /* [in] */ VARIANT vDir);
  499.         
  500.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Explore )( 
  501.             IShellDispatch3 * This,
  502.             /* [in] */ VARIANT vDir);
  503.         
  504.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MinimizeAll )( 
  505.             IShellDispatch3 * This);
  506.         
  507.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UndoMinimizeALL )( 
  508.             IShellDispatch3 * This);
  509.         
  510.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FileRun )( 
  511.             IShellDispatch3 * This);
  512.         
  513.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CascadeWindows )( 
  514.             IShellDispatch3 * This);
  515.         
  516.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TileVertically )( 
  517.             IShellDispatch3 * This);
  518.         
  519.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TileHorizontally )( 
  520.             IShellDispatch3 * This);
  521.         
  522.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShutdownWindows )( 
  523.             IShellDispatch3 * This);
  524.         
  525.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Suspend )( 
  526.             IShellDispatch3 * This);
  527.         
  528.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EjectPC )( 
  529.             IShellDispatch3 * This);
  530.         
  531.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetTime )( 
  532.             IShellDispatch3 * This);
  533.         
  534.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TrayProperties )( 
  535.             IShellDispatch3 * This);
  536.         
  537.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Help )( 
  538.             IShellDispatch3 * This);
  539.         
  540.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindFiles )( 
  541.             IShellDispatch3 * This);
  542.         
  543.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindComputer )( 
  544.             IShellDispatch3 * This);
  545.         
  546.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RefreshMenu )( 
  547.             IShellDispatch3 * This);
  548.         
  549.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ControlPanelItem )( 
  550.             IShellDispatch3 * This,
  551.             /* [in] */ BSTR szDir);
  552.         
  553.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsRestricted )( 
  554.             IShellDispatch3 * This,
  555.             /* [in] */ BSTR Group,
  556.             /* [in] */ BSTR Restriction,
  557.             /* [retval][out] */ long *plRestrictValue);
  558.         
  559.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShellExecute )( 
  560.             IShellDispatch3 * This,
  561.             /* [in] */ BSTR File,
  562.             /* [optional][in] */ VARIANT vArgs,
  563.             /* [optional][in] */ VARIANT vDir,
  564.             /* [optional][in] */ VARIANT vOperation,
  565.             /* [optional][in] */ VARIANT vShow);
  566.         
  567.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindPrinter )( 
  568.             IShellDispatch3 * This,
  569.             /* [optional][in] */ BSTR name,
  570.             /* [optional][in] */ BSTR location,
  571.             /* [optional][in] */ BSTR model);
  572.         
  573.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSystemInformation )( 
  574.             IShellDispatch3 * This,
  575.             /* [in] */ BSTR name,
  576.             /* [retval][out] */ VARIANT *pv);
  577.         
  578.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ServiceStart )( 
  579.             IShellDispatch3 * This,
  580.             /* [in] */ BSTR ServiceName,
  581.             /* [in] */ VARIANT Persistent,
  582.             /* [retval][out] */ VARIANT *pSuccess);
  583.         
  584.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ServiceStop )( 
  585.             IShellDispatch3 * This,
  586.             /* [in] */ BSTR ServiceName,
  587.             /* [in] */ VARIANT Persistent,
  588.             /* [retval][out] */ VARIANT *pSuccess);
  589.         
  590.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsServiceRunning )( 
  591.             IShellDispatch3 * This,
  592.             /* [in] */ BSTR ServiceName,
  593.             /* [retval][out] */ VARIANT *pRunning);
  594.         
  595.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CanStartStopService )( 
  596.             IShellDispatch3 * This,
  597.             /* [in] */ BSTR ServiceName,
  598.             /* [retval][out] */ VARIANT *pCanStartStop);
  599.         
  600.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserBar )( 
  601.             IShellDispatch3 * This,
  602.             /* [in] */ BSTR bstrClsid,
  603.             /* [in] */ VARIANT bShow,
  604.             /* [retval][out] */ VARIANT *pSuccess);
  605.         
  606.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddToRecent )( 
  607.             IShellDispatch3 * This,
  608.             /* [in] */ VARIANT varFile,
  609.             /* [optional][in] */ BSTR bstrCategory);
  610.         
  611.         END_INTERFACE
  612.     } IShellDispatch3Vtbl;
  613.     interface IShellDispatch3
  614.     {
  615.         CONST_VTBL struct IShellDispatch3Vtbl *lpVtbl;
  616.     };
  617.     
  618. #ifdef COBJMACROS
  619. #define IShellDispatch3_QueryInterface(This,riid,ppvObject)
  620.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  621. #define IShellDispatch3_AddRef(This)
  622.     (This)->lpVtbl -> AddRef(This)
  623. #define IShellDispatch3_Release(This)
  624.     (This)->lpVtbl -> Release(This)
  625. #define IShellDispatch3_GetTypeInfoCount(This,pctinfo)
  626.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  627. #define IShellDispatch3_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  628.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  629. #define IShellDispatch3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  630.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  631. #define IShellDispatch3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  632.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  633. #define IShellDispatch3_get_Application(This,ppid)
  634.     (This)->lpVtbl -> get_Application(This,ppid)
  635. #define IShellDispatch3_get_Parent(This,ppid)
  636.     (This)->lpVtbl -> get_Parent(This,ppid)
  637. #define IShellDispatch3_NameSpace(This,vDir,ppsdf)
  638.     (This)->lpVtbl -> NameSpace(This,vDir,ppsdf)
  639. #define IShellDispatch3_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf)
  640.     (This)->lpVtbl -> BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf)
  641. #define IShellDispatch3_Windows(This,ppid)
  642.     (This)->lpVtbl -> Windows(This,ppid)
  643. #define IShellDispatch3_Open(This,vDir)
  644.     (This)->lpVtbl -> Open(This,vDir)
  645. #define IShellDispatch3_Explore(This,vDir)
  646.     (This)->lpVtbl -> Explore(This,vDir)
  647. #define IShellDispatch3_MinimizeAll(This)
  648.     (This)->lpVtbl -> MinimizeAll(This)
  649. #define IShellDispatch3_UndoMinimizeALL(This)
  650.     (This)->lpVtbl -> UndoMinimizeALL(This)
  651. #define IShellDispatch3_FileRun(This)
  652.     (This)->lpVtbl -> FileRun(This)
  653. #define IShellDispatch3_CascadeWindows(This)
  654.     (This)->lpVtbl -> CascadeWindows(This)
  655. #define IShellDispatch3_TileVertically(This)
  656.     (This)->lpVtbl -> TileVertically(This)
  657. #define IShellDispatch3_TileHorizontally(This)
  658.     (This)->lpVtbl -> TileHorizontally(This)
  659. #define IShellDispatch3_ShutdownWindows(This)
  660.     (This)->lpVtbl -> ShutdownWindows(This)
  661. #define IShellDispatch3_Suspend(This)
  662.     (This)->lpVtbl -> Suspend(This)
  663. #define IShellDispatch3_EjectPC(This)
  664.     (This)->lpVtbl -> EjectPC(This)
  665. #define IShellDispatch3_SetTime(This)
  666.     (This)->lpVtbl -> SetTime(This)
  667. #define IShellDispatch3_TrayProperties(This)
  668.     (This)->lpVtbl -> TrayProperties(This)
  669. #define IShellDispatch3_Help(This)
  670.     (This)->lpVtbl -> Help(This)
  671. #define IShellDispatch3_FindFiles(This)
  672.     (This)->lpVtbl -> FindFiles(This)
  673. #define IShellDispatch3_FindComputer(This)
  674.     (This)->lpVtbl -> FindComputer(This)
  675. #define IShellDispatch3_RefreshMenu(This)
  676.     (This)->lpVtbl -> RefreshMenu(This)
  677. #define IShellDispatch3_ControlPanelItem(This,szDir)
  678.     (This)->lpVtbl -> ControlPanelItem(This,szDir)
  679. #define IShellDispatch3_IsRestricted(This,Group,Restriction,plRestrictValue)
  680.     (This)->lpVtbl -> IsRestricted(This,Group,Restriction,plRestrictValue)
  681. #define IShellDispatch3_ShellExecute(This,File,vArgs,vDir,vOperation,vShow)
  682.     (This)->lpVtbl -> ShellExecute(This,File,vArgs,vDir,vOperation,vShow)
  683. #define IShellDispatch3_FindPrinter(This,name,location,model)
  684.     (This)->lpVtbl -> FindPrinter(This,name,location,model)
  685. #define IShellDispatch3_GetSystemInformation(This,name,pv)
  686.     (This)->lpVtbl -> GetSystemInformation(This,name,pv)
  687. #define IShellDispatch3_ServiceStart(This,ServiceName,Persistent,pSuccess)
  688.     (This)->lpVtbl -> ServiceStart(This,ServiceName,Persistent,pSuccess)
  689. #define IShellDispatch3_ServiceStop(This,ServiceName,Persistent,pSuccess)
  690.     (This)->lpVtbl -> ServiceStop(This,ServiceName,Persistent,pSuccess)
  691. #define IShellDispatch3_IsServiceRunning(This,ServiceName,pRunning)
  692.     (This)->lpVtbl -> IsServiceRunning(This,ServiceName,pRunning)
  693. #define IShellDispatch3_CanStartStopService(This,ServiceName,pCanStartStop)
  694.     (This)->lpVtbl -> CanStartStopService(This,ServiceName,pCanStartStop)
  695. #define IShellDispatch3_ShowBrowserBar(This,bstrClsid,bShow,pSuccess)
  696.     (This)->lpVtbl -> ShowBrowserBar(This,bstrClsid,bShow,pSuccess)
  697. #define IShellDispatch3_AddToRecent(This,varFile,bstrCategory)
  698.     (This)->lpVtbl -> AddToRecent(This,varFile,bstrCategory)
  699. #endif /* COBJMACROS */
  700. #endif  /* C style interface */
  701. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch3_AddToRecent_Proxy( 
  702.     IShellDispatch3 * This,
  703.     /* [in] */ VARIANT varFile,
  704.     /* [optional][in] */ BSTR bstrCategory);
  705. void __RPC_STUB IShellDispatch3_AddToRecent_Stub(
  706.     IRpcStubBuffer *This,
  707.     IRpcChannelBuffer *_pRpcChannelBuffer,
  708.     PRPC_MESSAGE _pRpcMessage,
  709.     DWORD *_pdwStubPhase);
  710. #endif  /* __IShellDispatch3_INTERFACE_DEFINED__ */
  711. #ifndef __IShellDispatch4_INTERFACE_DEFINED__
  712. #define __IShellDispatch4_INTERFACE_DEFINED__
  713. /* interface IShellDispatch4 */
  714. /* [object][dual][hidden][oleautomation][helpstring][uuid] */ 
  715. EXTERN_C const IID IID_IShellDispatch4;
  716. #if defined(__cplusplus) && !defined(CINTERFACE)
  717.     
  718.     MIDL_INTERFACE("efd84b2d-4bcf-4298-be25-eb542a59fbda")
  719.     IShellDispatch4 : public IShellDispatch3
  720.     {
  721.     public:
  722.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WindowsSecurity( void) = 0;
  723.         
  724.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ToggleDesktop( void) = 0;
  725.         
  726.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE ExplorerPolicy( 
  727.             /* [in] */ BSTR bstrPolicyName,
  728.             /* [retval][out] */ VARIANT *pValue) = 0;
  729.         
  730.         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetSetting( 
  731.             /* [in] */ long lSetting,
  732.             /* [retval][out] */ VARIANT_BOOL *pResult) = 0;
  733.         
  734.     };
  735.     
  736. #else  /* C style interface */
  737.     typedef struct IShellDispatch4Vtbl
  738.     {
  739.         BEGIN_INTERFACE
  740.         
  741.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  742.             IShellDispatch4 * This,
  743.             /* [in] */ REFIID riid,
  744.             /* [iid_is][out] */ void **ppvObject);
  745.         
  746.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  747.             IShellDispatch4 * This);
  748.         
  749.         ULONG ( STDMETHODCALLTYPE *Release )( 
  750.             IShellDispatch4 * This);
  751.         
  752.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  753.             IShellDispatch4 * This,
  754.             /* [out] */ UINT *pctinfo);
  755.         
  756.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  757.             IShellDispatch4 * This,
  758.             /* [in] */ UINT iTInfo,
  759.             /* [in] */ LCID lcid,
  760.             /* [out] */ ITypeInfo **ppTInfo);
  761.         
  762.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  763.             IShellDispatch4 * This,
  764.             /* [in] */ REFIID riid,
  765.             /* [size_is][in] */ LPOLESTR *rgszNames,
  766.             /* [in] */ UINT cNames,
  767.             /* [in] */ LCID lcid,
  768.             /* [size_is][out] */ DISPID *rgDispId);
  769.         
  770.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  771.             IShellDispatch4 * This,
  772.             /* [in] */ DISPID dispIdMember,
  773.             /* [in] */ REFIID riid,
  774.             /* [in] */ LCID lcid,
  775.             /* [in] */ WORD wFlags,
  776.             /* [out][in] */ DISPPARAMS *pDispParams,
  777.             /* [out] */ VARIANT *pVarResult,
  778.             /* [out] */ EXCEPINFO *pExcepInfo,
  779.             /* [out] */ UINT *puArgErr);
  780.         
  781.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Application )( 
  782.             IShellDispatch4 * This,
  783.             /* [retval][out] */ IDispatch **ppid);
  784.         
  785.         /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )( 
  786.             IShellDispatch4 * This,
  787.             /* [retval][out] */ IDispatch **ppid);
  788.         
  789.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *NameSpace )( 
  790.             IShellDispatch4 * This,
  791.             /* [in] */ VARIANT vDir,
  792.             /* [retval][out] */ Folder **ppsdf);
  793.         
  794.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BrowseForFolder )( 
  795.             IShellDispatch4 * This,
  796.             /* [in] */ long Hwnd,
  797.             /* [in] */ BSTR Title,
  798.             /* [in] */ long Options,
  799.             /* [optional][in] */ VARIANT RootFolder,
  800.             /* [retval][out] */ Folder **ppsdf);
  801.         
  802.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Windows )( 
  803.             IShellDispatch4 * This,
  804.             /* [retval][out] */ IDispatch **ppid);
  805.         
  806.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Open )( 
  807.             IShellDispatch4 * This,
  808.             /* [in] */ VARIANT vDir);
  809.         
  810.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Explore )( 
  811.             IShellDispatch4 * This,
  812.             /* [in] */ VARIANT vDir);
  813.         
  814.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *MinimizeAll )( 
  815.             IShellDispatch4 * This);
  816.         
  817.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *UndoMinimizeALL )( 
  818.             IShellDispatch4 * This);
  819.         
  820.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FileRun )( 
  821.             IShellDispatch4 * This);
  822.         
  823.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CascadeWindows )( 
  824.             IShellDispatch4 * This);
  825.         
  826.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TileVertically )( 
  827.             IShellDispatch4 * This);
  828.         
  829.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TileHorizontally )( 
  830.             IShellDispatch4 * This);
  831.         
  832.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShutdownWindows )( 
  833.             IShellDispatch4 * This);
  834.         
  835.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Suspend )( 
  836.             IShellDispatch4 * This);
  837.         
  838.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EjectPC )( 
  839.             IShellDispatch4 * This);
  840.         
  841.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetTime )( 
  842.             IShellDispatch4 * This);
  843.         
  844.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *TrayProperties )( 
  845.             IShellDispatch4 * This);
  846.         
  847.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Help )( 
  848.             IShellDispatch4 * This);
  849.         
  850.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindFiles )( 
  851.             IShellDispatch4 * This);
  852.         
  853.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindComputer )( 
  854.             IShellDispatch4 * This);
  855.         
  856.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RefreshMenu )( 
  857.             IShellDispatch4 * This);
  858.         
  859.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ControlPanelItem )( 
  860.             IShellDispatch4 * This,
  861.             /* [in] */ BSTR szDir);
  862.         
  863.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsRestricted )( 
  864.             IShellDispatch4 * This,
  865.             /* [in] */ BSTR Group,
  866.             /* [in] */ BSTR Restriction,
  867.             /* [retval][out] */ long *plRestrictValue);
  868.         
  869.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShellExecute )( 
  870.             IShellDispatch4 * This,
  871.             /* [in] */ BSTR File,
  872.             /* [optional][in] */ VARIANT vArgs,
  873.             /* [optional][in] */ VARIANT vDir,
  874.             /* [optional][in] */ VARIANT vOperation,
  875.             /* [optional][in] */ VARIANT vShow);
  876.         
  877.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindPrinter )( 
  878.             IShellDispatch4 * This,
  879.             /* [optional][in] */ BSTR name,
  880.             /* [optional][in] */ BSTR location,
  881.             /* [optional][in] */ BSTR model);
  882.         
  883.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSystemInformation )( 
  884.             IShellDispatch4 * This,
  885.             /* [in] */ BSTR name,
  886.             /* [retval][out] */ VARIANT *pv);
  887.         
  888.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ServiceStart )( 
  889.             IShellDispatch4 * This,
  890.             /* [in] */ BSTR ServiceName,
  891.             /* [in] */ VARIANT Persistent,
  892.             /* [retval][out] */ VARIANT *pSuccess);
  893.         
  894.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ServiceStop )( 
  895.             IShellDispatch4 * This,
  896.             /* [in] */ BSTR ServiceName,
  897.             /* [in] */ VARIANT Persistent,
  898.             /* [retval][out] */ VARIANT *pSuccess);
  899.         
  900.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *IsServiceRunning )( 
  901.             IShellDispatch4 * This,
  902.             /* [in] */ BSTR ServiceName,
  903.             /* [retval][out] */ VARIANT *pRunning);
  904.         
  905.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CanStartStopService )( 
  906.             IShellDispatch4 * This,
  907.             /* [in] */ BSTR ServiceName,
  908.             /* [retval][out] */ VARIANT *pCanStartStop);
  909.         
  910.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserBar )( 
  911.             IShellDispatch4 * This,
  912.             /* [in] */ BSTR bstrClsid,
  913.             /* [in] */ VARIANT bShow,
  914.             /* [retval][out] */ VARIANT *pSuccess);
  915.         
  916.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddToRecent )( 
  917.             IShellDispatch4 * This,
  918.             /* [in] */ VARIANT varFile,
  919.             /* [optional][in] */ BSTR bstrCategory);
  920.         
  921.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *WindowsSecurity )( 
  922.             IShellDispatch4 * This);
  923.         
  924.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ToggleDesktop )( 
  925.             IShellDispatch4 * This);
  926.         
  927.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ExplorerPolicy )( 
  928.             IShellDispatch4 * This,
  929.             /* [in] */ BSTR bstrPolicyName,
  930.             /* [retval][out] */ VARIANT *pValue);
  931.         
  932.         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetSetting )( 
  933.             IShellDispatch4 * This,
  934.             /* [in] */ long lSetting,
  935.             /* [retval][out] */ VARIANT_BOOL *pResult);
  936.         
  937.         END_INTERFACE
  938.     } IShellDispatch4Vtbl;
  939.     interface IShellDispatch4
  940.     {
  941.         CONST_VTBL struct IShellDispatch4Vtbl *lpVtbl;
  942.     };
  943.     
  944. #ifdef COBJMACROS
  945. #define IShellDispatch4_QueryInterface(This,riid,ppvObject)
  946.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  947. #define IShellDispatch4_AddRef(This)
  948.     (This)->lpVtbl -> AddRef(This)
  949. #define IShellDispatch4_Release(This)
  950.     (This)->lpVtbl -> Release(This)
  951. #define IShellDispatch4_GetTypeInfoCount(This,pctinfo)
  952.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  953. #define IShellDispatch4_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  954.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  955. #define IShellDispatch4_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  956.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  957. #define IShellDispatch4_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  958.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  959. #define IShellDispatch4_get_Application(This,ppid)
  960.     (This)->lpVtbl -> get_Application(This,ppid)
  961. #define IShellDispatch4_get_Parent(This,ppid)
  962.     (This)->lpVtbl -> get_Parent(This,ppid)
  963. #define IShellDispatch4_NameSpace(This,vDir,ppsdf)
  964.     (This)->lpVtbl -> NameSpace(This,vDir,ppsdf)
  965. #define IShellDispatch4_BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf)
  966.     (This)->lpVtbl -> BrowseForFolder(This,Hwnd,Title,Options,RootFolder,ppsdf)
  967. #define IShellDispatch4_Windows(This,ppid)
  968.     (This)->lpVtbl -> Windows(This,ppid)
  969. #define IShellDispatch4_Open(This,vDir)
  970.     (This)->lpVtbl -> Open(This,vDir)
  971. #define IShellDispatch4_Explore(This,vDir)
  972.     (This)->lpVtbl -> Explore(This,vDir)
  973. #define IShellDispatch4_MinimizeAll(This)
  974.     (This)->lpVtbl -> MinimizeAll(This)
  975. #define IShellDispatch4_UndoMinimizeALL(This)
  976.     (This)->lpVtbl -> UndoMinimizeALL(This)
  977. #define IShellDispatch4_FileRun(This)
  978.     (This)->lpVtbl -> FileRun(This)
  979. #define IShellDispatch4_CascadeWindows(This)
  980.     (This)->lpVtbl -> CascadeWindows(This)
  981. #define IShellDispatch4_TileVertically(This)
  982.     (This)->lpVtbl -> TileVertically(This)
  983. #define IShellDispatch4_TileHorizontally(This)
  984.     (This)->lpVtbl -> TileHorizontally(This)
  985. #define IShellDispatch4_ShutdownWindows(This)
  986.     (This)->lpVtbl -> ShutdownWindows(This)
  987. #define IShellDispatch4_Suspend(This)
  988.     (This)->lpVtbl -> Suspend(This)
  989. #define IShellDispatch4_EjectPC(This)
  990.     (This)->lpVtbl -> EjectPC(This)
  991. #define IShellDispatch4_SetTime(This)
  992.     (This)->lpVtbl -> SetTime(This)
  993. #define IShellDispatch4_TrayProperties(This)
  994.     (This)->lpVtbl -> TrayProperties(This)
  995. #define IShellDispatch4_Help(This)
  996.     (This)->lpVtbl -> Help(This)
  997. #define IShellDispatch4_FindFiles(This)
  998.     (This)->lpVtbl -> FindFiles(This)
  999. #define IShellDispatch4_FindComputer(This)
  1000.     (This)->lpVtbl -> FindComputer(This)
  1001. #define IShellDispatch4_RefreshMenu(This)
  1002.     (This)->lpVtbl -> RefreshMenu(This)
  1003. #define IShellDispatch4_ControlPanelItem(This,szDir)
  1004.     (This)->lpVtbl -> ControlPanelItem(This,szDir)
  1005. #define IShellDispatch4_IsRestricted(This,Group,Restriction,plRestrictValue)
  1006.     (This)->lpVtbl -> IsRestricted(This,Group,Restriction,plRestrictValue)
  1007. #define IShellDispatch4_ShellExecute(This,File,vArgs,vDir,vOperation,vShow)
  1008.     (This)->lpVtbl -> ShellExecute(This,File,vArgs,vDir,vOperation,vShow)
  1009. #define IShellDispatch4_FindPrinter(This,name,location,model)
  1010.     (This)->lpVtbl -> FindPrinter(This,name,location,model)
  1011. #define IShellDispatch4_GetSystemInformation(This,name,pv)
  1012.     (This)->lpVtbl -> GetSystemInformation(This,name,pv)
  1013. #define IShellDispatch4_ServiceStart(This,ServiceName,Persistent,pSuccess)
  1014.     (This)->lpVtbl -> ServiceStart(This,ServiceName,Persistent,pSuccess)
  1015. #define IShellDispatch4_ServiceStop(This,ServiceName,Persistent,pSuccess)
  1016.     (This)->lpVtbl -> ServiceStop(This,ServiceName,Persistent,pSuccess)
  1017. #define IShellDispatch4_IsServiceRunning(This,ServiceName,pRunning)
  1018.     (This)->lpVtbl -> IsServiceRunning(This,ServiceName,pRunning)
  1019. #define IShellDispatch4_CanStartStopService(This,ServiceName,pCanStartStop)
  1020.     (This)->lpVtbl -> CanStartStopService(This,ServiceName,pCanStartStop)
  1021. #define IShellDispatch4_ShowBrowserBar(This,bstrClsid,bShow,pSuccess)
  1022.     (This)->lpVtbl -> ShowBrowserBar(This,bstrClsid,bShow,pSuccess)
  1023. #define IShellDispatch4_AddToRecent(This,varFile,bstrCategory)
  1024.     (This)->lpVtbl -> AddToRecent(This,varFile,bstrCategory)
  1025. #define IShellDispatch4_WindowsSecurity(This)
  1026.     (This)->lpVtbl -> WindowsSecurity(This)
  1027. #define IShellDispatch4_ToggleDesktop(This)
  1028.     (This)->lpVtbl -> ToggleDesktop(This)
  1029. #define IShellDispatch4_ExplorerPolicy(This,bstrPolicyName,pValue)
  1030.     (This)->lpVtbl -> ExplorerPolicy(This,bstrPolicyName,pValue)
  1031. #define IShellDispatch4_GetSetting(This,lSetting,pResult)
  1032.     (This)->lpVtbl -> GetSetting(This,lSetting,pResult)
  1033. #endif /* COBJMACROS */
  1034. #endif  /* C style interface */
  1035. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch4_WindowsSecurity_Proxy( 
  1036.     IShellDispatch4 * This);
  1037. void __RPC_STUB IShellDispatch4_WindowsSecurity_Stub(
  1038.     IRpcStubBuffer *This,
  1039.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1040.     PRPC_MESSAGE _pRpcMessage,
  1041.     DWORD *_pdwStubPhase);
  1042. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch4_ToggleDesktop_Proxy( 
  1043.     IShellDispatch4 * This);
  1044. void __RPC_STUB IShellDispatch4_ToggleDesktop_Stub(
  1045.     IRpcStubBuffer *This,
  1046.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1047.     PRPC_MESSAGE _pRpcMessage,
  1048.     DWORD *_pdwStubPhase);
  1049. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch4_ExplorerPolicy_Proxy( 
  1050.     IShellDispatch4 * This,
  1051.     /* [in] */ BSTR bstrPolicyName,
  1052.     /* [retval][out] */ VARIANT *pValue);
  1053. void __RPC_STUB IShellDispatch4_ExplorerPolicy_Stub(
  1054.     IRpcStubBuffer *This,
  1055.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1056.     PRPC_MESSAGE _pRpcMessage,
  1057.     DWORD *_pdwStubPhase);
  1058. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IShellDispatch4_GetSetting_Proxy( 
  1059.     IShellDispatch4 * This,
  1060.     /* [in] */ long lSetting,
  1061.     /* [retval][out] */ VARIANT_BOOL *pResult);
  1062. void __RPC_STUB IShellDispatch4_GetSetting_Stub(
  1063.     IRpcStubBuffer *This,
  1064.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1065.     PRPC_MESSAGE _pRpcMessage,
  1066.     DWORD *_pdwStubPhase);
  1067. #endif  /* __IShellDispatch4_INTERFACE_DEFINED__ */
  1068. EXTERN_C const CLSID CLSID_Shell;
  1069. #ifdef __cplusplus
  1070. class DECLSPEC_UUID("13709620-C279-11CE-A49E-444553540000")
  1071. Shell;
  1072. #endif
  1073. EXTERN_C const CLSID CLSID_ShellDispatchInproc;
  1074. #ifdef __cplusplus
  1075. class DECLSPEC_UUID("0A89A860-D7B1-11CE-8350-444553540000")
  1076. ShellDispatchInproc;
  1077. #endif
  1078. EXTERN_C const CLSID CLSID_WebViewFolderContents;
  1079. #ifdef __cplusplus
  1080. class DECLSPEC_UUID("1820FED0-473E-11D0-A96C-00C04FD705A2")
  1081. WebViewFolderContents;
  1082. #endif
  1083. #ifndef __DSearchCommandEvents_DISPINTERFACE_DEFINED__
  1084. #define __DSearchCommandEvents_DISPINTERFACE_DEFINED__
  1085. /* dispinterface DSearchCommandEvents */
  1086. /* [helpstring][uuid] */ 
  1087. EXTERN_C const IID DIID_DSearchCommandEvents;
  1088. #if defined(__cplusplus) && !defined(CINTERFACE)
  1089.     MIDL_INTERFACE("60890160-69f0-11d1-b758-00a0c90564fe")
  1090.     DSearchCommandEvents : public IDispatch
  1091.     {
  1092.     };
  1093.     
  1094. #else  /* C style interface */
  1095.     typedef struct DSearchCommandEventsVtbl
  1096.     {
  1097.         BEGIN_INTERFACE
  1098.         
  1099.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1100.             DSearchCommandEvents * This,
  1101.             /* [in] */ REFIID riid,
  1102.             /* [iid_is][out] */ void **ppvObject);
  1103.         
  1104.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1105.             DSearchCommandEvents * This);
  1106.         
  1107.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1108.             DSearchCommandEvents * This);
  1109.         
  1110.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1111.             DSearchCommandEvents * This,
  1112.             /* [out] */ UINT *pctinfo);
  1113.         
  1114.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1115.             DSearchCommandEvents * This,
  1116.             /* [in] */ UINT iTInfo,
  1117.             /* [in] */ LCID lcid,
  1118.             /* [out] */ ITypeInfo **ppTInfo);
  1119.         
  1120.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1121.             DSearchCommandEvents * This,
  1122.             /* [in] */ REFIID riid,
  1123.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1124.             /* [in] */ UINT cNames,
  1125.             /* [in] */ LCID lcid,
  1126.             /* [size_is][out] */ DISPID *rgDispId);
  1127.         
  1128.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1129.             DSearchCommandEvents * This,
  1130.             /* [in] */ DISPID dispIdMember,
  1131.             /* [in] */ REFIID riid,
  1132.             /* [in] */ LCID lcid,
  1133.             /* [in] */ WORD wFlags,
  1134.             /* [out][in] */ DISPPARAMS *pDispParams,
  1135.             /* [out] */ VARIANT *pVarResult,
  1136.             /* [out] */ EXCEPINFO *pExcepInfo,
  1137.             /* [out] */ UINT *puArgErr);
  1138.         
  1139.         END_INTERFACE
  1140.     } DSearchCommandEventsVtbl;
  1141.     interface DSearchCommandEvents
  1142.     {
  1143.         CONST_VTBL struct DSearchCommandEventsVtbl *lpVtbl;
  1144.     };
  1145.     
  1146. #ifdef COBJMACROS
  1147. #define DSearchCommandEvents_QueryInterface(This,riid,ppvObject)
  1148.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1149. #define DSearchCommandEvents_AddRef(This)
  1150.     (This)->lpVtbl -> AddRef(This)
  1151. #define DSearchCommandEvents_Release(This)
  1152.     (This)->lpVtbl -> Release(This)
  1153. #define DSearchCommandEvents_GetTypeInfoCount(This,pctinfo)
  1154.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1155. #define DSearchCommandEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1156.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1157. #define DSearchCommandEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1158.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1159. #define DSearchCommandEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1160.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1161. #endif /* COBJMACROS */
  1162. #endif  /* C style interface */
  1163. #endif  /* __DSearchCommandEvents_DISPINTERFACE_DEFINED__ */
  1164. EXTERN_C const CLSID CLSID_SearchCommand;
  1165. #ifdef __cplusplus
  1166. class DECLSPEC_UUID("B005E690-678D-11d1-B758-00A0C90564FE")
  1167. SearchCommand;
  1168. #endif
  1169. #ifndef __IFileSearchBand_INTERFACE_DEFINED__
  1170. #define __IFileSearchBand_INTERFACE_DEFINED__
  1171. /* interface IFileSearchBand */
  1172. /* [object][unique][hidden][dual][oleautomation][helpstring][uuid] */ 
  1173. EXTERN_C const IID IID_IFileSearchBand;
  1174. #if defined(__cplusplus) && !defined(CINTERFACE)
  1175.     
  1176.     MIDL_INTERFACE("2D91EEA1-9932-11d2-BE86-00A0C9A83DA1")
  1177.     IFileSearchBand : public IDispatch
  1178.     {
  1179.     public:
  1180.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetFocus( void) = 0;
  1181.         
  1182.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetSearchParameters( 
  1183.             /* [in] */ BSTR *pbstrSearchID,
  1184.             /* [in] */ VARIANT_BOOL bNavToResults,
  1185.             /* [optional][in] */ VARIANT *pvarScope,
  1186.             /* [optional][in] */ VARIANT *pvarQueryFile) = 0;
  1187.         
  1188.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SearchID( 
  1189.             /* [retval][out] */ BSTR *pbstrSearchID) = 0;
  1190.         
  1191.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Scope( 
  1192.             /* [retval][out] */ VARIANT *pvarScope) = 0;
  1193.         
  1194.         virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_QueryFile( 
  1195.             /* [retval][out] */ VARIANT *pvarFile) = 0;
  1196.         
  1197.     };
  1198.     
  1199. #else  /* C style interface */
  1200.     typedef struct IFileSearchBandVtbl
  1201.     {
  1202.         BEGIN_INTERFACE
  1203.         
  1204.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1205.             IFileSearchBand * This,
  1206.             /* [in] */ REFIID riid,
  1207.             /* [iid_is][out] */ void **ppvObject);
  1208.         
  1209.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1210.             IFileSearchBand * This);
  1211.         
  1212.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1213.             IFileSearchBand * This);
  1214.         
  1215.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1216.             IFileSearchBand * This,
  1217.             /* [out] */ UINT *pctinfo);
  1218.         
  1219.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1220.             IFileSearchBand * This,
  1221.             /* [in] */ UINT iTInfo,
  1222.             /* [in] */ LCID lcid,
  1223.             /* [out] */ ITypeInfo **ppTInfo);
  1224.         
  1225.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1226.             IFileSearchBand * This,
  1227.             /* [in] */ REFIID riid,
  1228.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1229.             /* [in] */ UINT cNames,
  1230.             /* [in] */ LCID lcid,
  1231.             /* [size_is][out] */ DISPID *rgDispId);
  1232.         
  1233.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1234.             IFileSearchBand * This,
  1235.             /* [in] */ DISPID dispIdMember,
  1236.             /* [in] */ REFIID riid,
  1237.             /* [in] */ LCID lcid,
  1238.             /* [in] */ WORD wFlags,
  1239.             /* [out][in] */ DISPPARAMS *pDispParams,
  1240.             /* [out] */ VARIANT *pVarResult,
  1241.             /* [out] */ EXCEPINFO *pExcepInfo,
  1242.             /* [out] */ UINT *puArgErr);
  1243.         
  1244.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetFocus )( 
  1245.             IFileSearchBand * This);
  1246.         
  1247.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetSearchParameters )( 
  1248.             IFileSearchBand * This,
  1249.             /* [in] */ BSTR *pbstrSearchID,
  1250.             /* [in] */ VARIANT_BOOL bNavToResults,
  1251.             /* [optional][in] */ VARIANT *pvarScope,
  1252.             /* [optional][in] */ VARIANT *pvarQueryFile);
  1253.         
  1254.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SearchID )( 
  1255.             IFileSearchBand * This,
  1256.             /* [retval][out] */ BSTR *pbstrSearchID);
  1257.         
  1258.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Scope )( 
  1259.             IFileSearchBand * This,
  1260.             /* [retval][out] */ VARIANT *pvarScope);
  1261.         
  1262.         /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_QueryFile )( 
  1263.             IFileSearchBand * This,
  1264.             /* [retval][out] */ VARIANT *pvarFile);
  1265.         
  1266.         END_INTERFACE
  1267.     } IFileSearchBandVtbl;
  1268.     interface IFileSearchBand
  1269.     {
  1270.         CONST_VTBL struct IFileSearchBandVtbl *lpVtbl;
  1271.     };
  1272.     
  1273. #ifdef COBJMACROS
  1274. #define IFileSearchBand_QueryInterface(This,riid,ppvObject)
  1275.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1276. #define IFileSearchBand_AddRef(This)
  1277.     (This)->lpVtbl -> AddRef(This)
  1278. #define IFileSearchBand_Release(This)
  1279.     (This)->lpVtbl -> Release(This)
  1280. #define IFileSearchBand_GetTypeInfoCount(This,pctinfo)
  1281.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1282. #define IFileSearchBand_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1283.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1284. #define IFileSearchBand_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1285.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1286. #define IFileSearchBand_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1287.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1288. #define IFileSearchBand_SetFocus(This)
  1289.     (This)->lpVtbl -> SetFocus(This)
  1290. #define IFileSearchBand_SetSearchParameters(This,pbstrSearchID,bNavToResults,pvarScope,pvarQueryFile)
  1291.     (This)->lpVtbl -> SetSearchParameters(This,pbstrSearchID,bNavToResults,pvarScope,pvarQueryFile)
  1292. #define IFileSearchBand_get_SearchID(This,pbstrSearchID)
  1293.     (This)->lpVtbl -> get_SearchID(This,pbstrSearchID)
  1294. #define IFileSearchBand_get_Scope(This,pvarScope)
  1295.     (This)->lpVtbl -> get_Scope(This,pvarScope)
  1296. #define IFileSearchBand_get_QueryFile(This,pvarFile)
  1297.     (This)->lpVtbl -> get_QueryFile(This,pvarFile)
  1298. #endif /* COBJMACROS */
  1299. #endif  /* C style interface */
  1300. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IFileSearchBand_SetFocus_Proxy( 
  1301.     IFileSearchBand * This);
  1302. void __RPC_STUB IFileSearchBand_SetFocus_Stub(
  1303.     IRpcStubBuffer *This,
  1304.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1305.     PRPC_MESSAGE _pRpcMessage,
  1306.     DWORD *_pdwStubPhase);
  1307. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IFileSearchBand_SetSearchParameters_Proxy( 
  1308.     IFileSearchBand * This,
  1309.     /* [in] */ BSTR *pbstrSearchID,
  1310.     /* [in] */ VARIANT_BOOL bNavToResults,
  1311.     /* [optional][in] */ VARIANT *pvarScope,
  1312.     /* [optional][in] */ VARIANT *pvarQueryFile);
  1313. void __RPC_STUB IFileSearchBand_SetSearchParameters_Stub(
  1314.     IRpcStubBuffer *This,
  1315.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1316.     PRPC_MESSAGE _pRpcMessage,
  1317.     DWORD *_pdwStubPhase);
  1318. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IFileSearchBand_get_SearchID_Proxy( 
  1319.     IFileSearchBand * This,
  1320.     /* [retval][out] */ BSTR *pbstrSearchID);
  1321. void __RPC_STUB IFileSearchBand_get_SearchID_Stub(
  1322.     IRpcStubBuffer *This,
  1323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1324.     PRPC_MESSAGE _pRpcMessage,
  1325.     DWORD *_pdwStubPhase);
  1326. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IFileSearchBand_get_Scope_Proxy( 
  1327.     IFileSearchBand * This,
  1328.     /* [retval][out] */ VARIANT *pvarScope);
  1329. void __RPC_STUB IFileSearchBand_get_Scope_Stub(
  1330.     IRpcStubBuffer *This,
  1331.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1332.     PRPC_MESSAGE _pRpcMessage,
  1333.     DWORD *_pdwStubPhase);
  1334. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IFileSearchBand_get_QueryFile_Proxy( 
  1335.     IFileSearchBand * This,
  1336.     /* [retval][out] */ VARIANT *pvarFile);
  1337. void __RPC_STUB IFileSearchBand_get_QueryFile_Stub(
  1338.     IRpcStubBuffer *This,
  1339.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1340.     PRPC_MESSAGE _pRpcMessage,
  1341.     DWORD *_pdwStubPhase);
  1342. #endif  /* __IFileSearchBand_INTERFACE_DEFINED__ */
  1343. EXTERN_C const CLSID CLSID_FileSearchBand;
  1344. #ifdef __cplusplus
  1345. class DECLSPEC_UUID("C4EE31F3-4768-11D2-BE5C-00A0C9A83DA1")
  1346. FileSearchBand;
  1347. #endif
  1348. #ifndef __IWebWizardHost_INTERFACE_DEFINED__
  1349. #define __IWebWizardHost_INTERFACE_DEFINED__
  1350. /* interface IWebWizardHost */
  1351. /* [helpstring][dual][object][uuid] */ 
  1352. EXTERN_C const IID IID_IWebWizardHost;
  1353. #if defined(__cplusplus) && !defined(CINTERFACE)
  1354.     
  1355.     MIDL_INTERFACE("18bcc359-4990-4bfb-b951-3c83702be5f9")
  1356.     IWebWizardHost : public IDispatch
  1357.     {
  1358.     public:
  1359.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE FinalBack( void) = 0;
  1360.         
  1361.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE FinalNext( void) = 0;
  1362.         
  1363.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  1364.         
  1365.         virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Caption( 
  1366.             /* [in] */ BSTR bstrCaption) = 0;
  1367.         
  1368.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Caption( 
  1369.             /* [retval][out] */ BSTR *pbstrCaption) = 0;
  1370.         
  1371.         virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_Property( 
  1372.             /* [in] */ BSTR bstrPropertyName,
  1373.             /* [in] */ VARIANT *pvProperty) = 0;
  1374.         
  1375.         virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE get_Property( 
  1376.             /* [in] */ BSTR bstrPropertyName,
  1377.             /* [retval][out] */ VARIANT *pvProperty) = 0;
  1378.         
  1379.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetWizardButtons( 
  1380.             /* [in] */ VARIANT_BOOL vfEnableBack,
  1381.             /* [in] */ VARIANT_BOOL vfEnableNext,
  1382.             /* [in] */ VARIANT_BOOL vfLastPage) = 0;
  1383.         
  1384.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetHeaderText( 
  1385.             /* [in] */ BSTR bstrHeaderTitle,
  1386.             /* [in] */ BSTR bstrHeaderSubtitle) = 0;
  1387.         
  1388.     };
  1389.     
  1390. #else  /* C style interface */
  1391.     typedef struct IWebWizardHostVtbl
  1392.     {
  1393.         BEGIN_INTERFACE
  1394.         
  1395.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1396.             IWebWizardHost * This,
  1397.             /* [in] */ REFIID riid,
  1398.             /* [iid_is][out] */ void **ppvObject);
  1399.         
  1400.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1401.             IWebWizardHost * This);
  1402.         
  1403.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1404.             IWebWizardHost * This);
  1405.         
  1406.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1407.             IWebWizardHost * This,
  1408.             /* [out] */ UINT *pctinfo);
  1409.         
  1410.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1411.             IWebWizardHost * This,
  1412.             /* [in] */ UINT iTInfo,
  1413.             /* [in] */ LCID lcid,
  1414.             /* [out] */ ITypeInfo **ppTInfo);
  1415.         
  1416.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1417.             IWebWizardHost * This,
  1418.             /* [in] */ REFIID riid,
  1419.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1420.             /* [in] */ UINT cNames,
  1421.             /* [in] */ LCID lcid,
  1422.             /* [size_is][out] */ DISPID *rgDispId);
  1423.         
  1424.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1425.             IWebWizardHost * This,
  1426.             /* [in] */ DISPID dispIdMember,
  1427.             /* [in] */ REFIID riid,
  1428.             /* [in] */ LCID lcid,
  1429.             /* [in] */ WORD wFlags,
  1430.             /* [out][in] */ DISPPARAMS *pDispParams,
  1431.             /* [out] */ VARIANT *pVarResult,
  1432.             /* [out] */ EXCEPINFO *pExcepInfo,
  1433.             /* [out] */ UINT *puArgErr);
  1434.         
  1435.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *FinalBack )( 
  1436.             IWebWizardHost * This);
  1437.         
  1438.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *FinalNext )( 
  1439.             IWebWizardHost * This);
  1440.         
  1441.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( 
  1442.             IWebWizardHost * This);
  1443.         
  1444.         /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
  1445.             IWebWizardHost * This,
  1446.             /* [in] */ BSTR bstrCaption);
  1447.         
  1448.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
  1449.             IWebWizardHost * This,
  1450.             /* [retval][out] */ BSTR *pbstrCaption);
  1451.         
  1452.         /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Property )( 
  1453.             IWebWizardHost * This,
  1454.             /* [in] */ BSTR bstrPropertyName,
  1455.             /* [in] */ VARIANT *pvProperty);
  1456.         
  1457.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Property )( 
  1458.             IWebWizardHost * This,
  1459.             /* [in] */ BSTR bstrPropertyName,
  1460.             /* [retval][out] */ VARIANT *pvProperty);
  1461.         
  1462.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetWizardButtons )( 
  1463.             IWebWizardHost * This,
  1464.             /* [in] */ VARIANT_BOOL vfEnableBack,
  1465.             /* [in] */ VARIANT_BOOL vfEnableNext,
  1466.             /* [in] */ VARIANT_BOOL vfLastPage);
  1467.         
  1468.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetHeaderText )( 
  1469.             IWebWizardHost * This,
  1470.             /* [in] */ BSTR bstrHeaderTitle,
  1471.             /* [in] */ BSTR bstrHeaderSubtitle);
  1472.         
  1473.         END_INTERFACE
  1474.     } IWebWizardHostVtbl;
  1475.     interface IWebWizardHost
  1476.     {
  1477.         CONST_VTBL struct IWebWizardHostVtbl *lpVtbl;
  1478.     };
  1479.     
  1480. #ifdef COBJMACROS
  1481. #define IWebWizardHost_QueryInterface(This,riid,ppvObject)
  1482.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1483. #define IWebWizardHost_AddRef(This)
  1484.     (This)->lpVtbl -> AddRef(This)
  1485. #define IWebWizardHost_Release(This)
  1486.     (This)->lpVtbl -> Release(This)
  1487. #define IWebWizardHost_GetTypeInfoCount(This,pctinfo)
  1488.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1489. #define IWebWizardHost_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1490.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1491. #define IWebWizardHost_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1492.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1493. #define IWebWizardHost_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1494.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1495. #define IWebWizardHost_FinalBack(This)
  1496.     (This)->lpVtbl -> FinalBack(This)
  1497. #define IWebWizardHost_FinalNext(This)
  1498.     (This)->lpVtbl -> FinalNext(This)
  1499. #define IWebWizardHost_Cancel(This)
  1500.     (This)->lpVtbl -> Cancel(This)
  1501. #define IWebWizardHost_put_Caption(This,bstrCaption)
  1502.     (This)->lpVtbl -> put_Caption(This,bstrCaption)
  1503. #define IWebWizardHost_get_Caption(This,pbstrCaption)
  1504.     (This)->lpVtbl -> get_Caption(This,pbstrCaption)
  1505. #define IWebWizardHost_put_Property(This,bstrPropertyName,pvProperty)
  1506.     (This)->lpVtbl -> put_Property(This,bstrPropertyName,pvProperty)
  1507. #define IWebWizardHost_get_Property(This,bstrPropertyName,pvProperty)
  1508.     (This)->lpVtbl -> get_Property(This,bstrPropertyName,pvProperty)
  1509. #define IWebWizardHost_SetWizardButtons(This,vfEnableBack,vfEnableNext,vfLastPage)
  1510.     (This)->lpVtbl -> SetWizardButtons(This,vfEnableBack,vfEnableNext,vfLastPage)
  1511. #define IWebWizardHost_SetHeaderText(This,bstrHeaderTitle,bstrHeaderSubtitle)
  1512.     (This)->lpVtbl -> SetHeaderText(This,bstrHeaderTitle,bstrHeaderSubtitle)
  1513. #endif /* COBJMACROS */
  1514. #endif  /* C style interface */
  1515. /* [id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_FinalBack_Proxy( 
  1516.     IWebWizardHost * This);
  1517. void __RPC_STUB IWebWizardHost_FinalBack_Stub(
  1518.     IRpcStubBuffer *This,
  1519.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1520.     PRPC_MESSAGE _pRpcMessage,
  1521.     DWORD *_pdwStubPhase);
  1522. /* [id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_FinalNext_Proxy( 
  1523.     IWebWizardHost * This);
  1524. void __RPC_STUB IWebWizardHost_FinalNext_Stub(
  1525.     IRpcStubBuffer *This,
  1526.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1527.     PRPC_MESSAGE _pRpcMessage,
  1528.     DWORD *_pdwStubPhase);
  1529. /* [id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_Cancel_Proxy( 
  1530.     IWebWizardHost * This);
  1531. void __RPC_STUB IWebWizardHost_Cancel_Stub(
  1532.     IRpcStubBuffer *This,
  1533.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1534.     PRPC_MESSAGE _pRpcMessage,
  1535.     DWORD *_pdwStubPhase);
  1536. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_put_Caption_Proxy( 
  1537.     IWebWizardHost * This,
  1538.     /* [in] */ BSTR bstrCaption);
  1539. void __RPC_STUB IWebWizardHost_put_Caption_Stub(
  1540.     IRpcStubBuffer *This,
  1541.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1542.     PRPC_MESSAGE _pRpcMessage,
  1543.     DWORD *_pdwStubPhase);
  1544. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_get_Caption_Proxy( 
  1545.     IWebWizardHost * This,
  1546.     /* [retval][out] */ BSTR *pbstrCaption);
  1547. void __RPC_STUB IWebWizardHost_get_Caption_Stub(
  1548.     IRpcStubBuffer *This,
  1549.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1550.     PRPC_MESSAGE _pRpcMessage,
  1551.     DWORD *_pdwStubPhase);
  1552. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_put_Property_Proxy( 
  1553.     IWebWizardHost * This,
  1554.     /* [in] */ BSTR bstrPropertyName,
  1555.     /* [in] */ VARIANT *pvProperty);
  1556. void __RPC_STUB IWebWizardHost_put_Property_Stub(
  1557.     IRpcStubBuffer *This,
  1558.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1559.     PRPC_MESSAGE _pRpcMessage,
  1560.     DWORD *_pdwStubPhase);
  1561. /* [propget][id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_get_Property_Proxy( 
  1562.     IWebWizardHost * This,
  1563.     /* [in] */ BSTR bstrPropertyName,
  1564.     /* [retval][out] */ VARIANT *pvProperty);
  1565. void __RPC_STUB IWebWizardHost_get_Property_Stub(
  1566.     IRpcStubBuffer *This,
  1567.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1568.     PRPC_MESSAGE _pRpcMessage,
  1569.     DWORD *_pdwStubPhase);
  1570. /* [id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_SetWizardButtons_Proxy( 
  1571.     IWebWizardHost * This,
  1572.     /* [in] */ VARIANT_BOOL vfEnableBack,
  1573.     /* [in] */ VARIANT_BOOL vfEnableNext,
  1574.     /* [in] */ VARIANT_BOOL vfLastPage);
  1575. void __RPC_STUB IWebWizardHost_SetWizardButtons_Stub(
  1576.     IRpcStubBuffer *This,
  1577.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1578.     PRPC_MESSAGE _pRpcMessage,
  1579.     DWORD *_pdwStubPhase);
  1580. /* [id] */ HRESULT STDMETHODCALLTYPE IWebWizardHost_SetHeaderText_Proxy( 
  1581.     IWebWizardHost * This,
  1582.     /* [in] */ BSTR bstrHeaderTitle,
  1583.     /* [in] */ BSTR bstrHeaderSubtitle);
  1584. void __RPC_STUB IWebWizardHost_SetHeaderText_Stub(
  1585.     IRpcStubBuffer *This,
  1586.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1587.     PRPC_MESSAGE _pRpcMessage,
  1588.     DWORD *_pdwStubPhase);
  1589. #endif  /* __IWebWizardHost_INTERFACE_DEFINED__ */
  1590. #ifndef __INewWDEvents_INTERFACE_DEFINED__
  1591. #define __INewWDEvents_INTERFACE_DEFINED__
  1592. /* interface INewWDEvents */
  1593. /* [helpstring][dual][object][uuid] */ 
  1594. EXTERN_C const IID IID_INewWDEvents;
  1595. #if defined(__cplusplus) && !defined(CINTERFACE)
  1596.     
  1597.     MIDL_INTERFACE("0751c551-7568-41c9-8e5b-e22e38919236")
  1598.     INewWDEvents : public IWebWizardHost
  1599.     {
  1600.     public:
  1601.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE PassportAuthenticate( 
  1602.             /* [in] */ BSTR bstrSignInUrl,
  1603.             /* [retval][out] */ VARIANT_BOOL *pvfAuthenitcated) = 0;
  1604.         
  1605.     };
  1606.     
  1607. #else  /* C style interface */
  1608.     typedef struct INewWDEventsVtbl
  1609.     {
  1610.         BEGIN_INTERFACE
  1611.         
  1612.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1613.             INewWDEvents * This,
  1614.             /* [in] */ REFIID riid,
  1615.             /* [iid_is][out] */ void **ppvObject);
  1616.         
  1617.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1618.             INewWDEvents * This);
  1619.         
  1620.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1621.             INewWDEvents * This);
  1622.         
  1623.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1624.             INewWDEvents * This,
  1625.             /* [out] */ UINT *pctinfo);
  1626.         
  1627.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1628.             INewWDEvents * This,
  1629.             /* [in] */ UINT iTInfo,
  1630.             /* [in] */ LCID lcid,
  1631.             /* [out] */ ITypeInfo **ppTInfo);
  1632.         
  1633.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1634.             INewWDEvents * This,
  1635.             /* [in] */ REFIID riid,
  1636.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1637.             /* [in] */ UINT cNames,
  1638.             /* [in] */ LCID lcid,
  1639.             /* [size_is][out] */ DISPID *rgDispId);
  1640.         
  1641.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1642.             INewWDEvents * This,
  1643.             /* [in] */ DISPID dispIdMember,
  1644.             /* [in] */ REFIID riid,
  1645.             /* [in] */ LCID lcid,
  1646.             /* [in] */ WORD wFlags,
  1647.             /* [out][in] */ DISPPARAMS *pDispParams,
  1648.             /* [out] */ VARIANT *pVarResult,
  1649.             /* [out] */ EXCEPINFO *pExcepInfo,
  1650.             /* [out] */ UINT *puArgErr);
  1651.         
  1652.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *FinalBack )( 
  1653.             INewWDEvents * This);
  1654.         
  1655.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *FinalNext )( 
  1656.             INewWDEvents * This);
  1657.         
  1658.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *Cancel )( 
  1659.             INewWDEvents * This);
  1660.         
  1661.         /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Caption )( 
  1662.             INewWDEvents * This,
  1663.             /* [in] */ BSTR bstrCaption);
  1664.         
  1665.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Caption )( 
  1666.             INewWDEvents * This,
  1667.             /* [retval][out] */ BSTR *pbstrCaption);
  1668.         
  1669.         /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Property )( 
  1670.             INewWDEvents * This,
  1671.             /* [in] */ BSTR bstrPropertyName,
  1672.             /* [in] */ VARIANT *pvProperty);
  1673.         
  1674.         /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Property )( 
  1675.             INewWDEvents * This,
  1676.             /* [in] */ BSTR bstrPropertyName,
  1677.             /* [retval][out] */ VARIANT *pvProperty);
  1678.         
  1679.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetWizardButtons )( 
  1680.             INewWDEvents * This,
  1681.             /* [in] */ VARIANT_BOOL vfEnableBack,
  1682.             /* [in] */ VARIANT_BOOL vfEnableNext,
  1683.             /* [in] */ VARIANT_BOOL vfLastPage);
  1684.         
  1685.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *SetHeaderText )( 
  1686.             INewWDEvents * This,
  1687.             /* [in] */ BSTR bstrHeaderTitle,
  1688.             /* [in] */ BSTR bstrHeaderSubtitle);
  1689.         
  1690.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *PassportAuthenticate )( 
  1691.             INewWDEvents * This,
  1692.             /* [in] */ BSTR bstrSignInUrl,
  1693.             /* [retval][out] */ VARIANT_BOOL *pvfAuthenitcated);
  1694.         
  1695.         END_INTERFACE
  1696.     } INewWDEventsVtbl;
  1697.     interface INewWDEvents
  1698.     {
  1699.         CONST_VTBL struct INewWDEventsVtbl *lpVtbl;
  1700.     };
  1701.     
  1702. #ifdef COBJMACROS
  1703. #define INewWDEvents_QueryInterface(This,riid,ppvObject)
  1704.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1705. #define INewWDEvents_AddRef(This)
  1706.     (This)->lpVtbl -> AddRef(This)
  1707. #define INewWDEvents_Release(This)
  1708.     (This)->lpVtbl -> Release(This)
  1709. #define INewWDEvents_GetTypeInfoCount(This,pctinfo)
  1710.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1711. #define INewWDEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1712.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1713. #define INewWDEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1714.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1715. #define INewWDEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1716.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1717. #define INewWDEvents_FinalBack(This)
  1718.     (This)->lpVtbl -> FinalBack(This)
  1719. #define INewWDEvents_FinalNext(This)
  1720.     (This)->lpVtbl -> FinalNext(This)
  1721. #define INewWDEvents_Cancel(This)
  1722.     (This)->lpVtbl -> Cancel(This)
  1723. #define INewWDEvents_put_Caption(This,bstrCaption)
  1724.     (This)->lpVtbl -> put_Caption(This,bstrCaption)
  1725. #define INewWDEvents_get_Caption(This,pbstrCaption)
  1726.     (This)->lpVtbl -> get_Caption(This,pbstrCaption)
  1727. #define INewWDEvents_put_Property(This,bstrPropertyName,pvProperty)
  1728.     (This)->lpVtbl -> put_Property(This,bstrPropertyName,pvProperty)
  1729. #define INewWDEvents_get_Property(This,bstrPropertyName,pvProperty)
  1730.     (This)->lpVtbl -> get_Property(This,bstrPropertyName,pvProperty)
  1731. #define INewWDEvents_SetWizardButtons(This,vfEnableBack,vfEnableNext,vfLastPage)
  1732.     (This)->lpVtbl -> SetWizardButtons(This,vfEnableBack,vfEnableNext,vfLastPage)
  1733. #define INewWDEvents_SetHeaderText(This,bstrHeaderTitle,bstrHeaderSubtitle)
  1734.     (This)->lpVtbl -> SetHeaderText(This,bstrHeaderTitle,bstrHeaderSubtitle)
  1735. #define INewWDEvents_PassportAuthenticate(This,bstrSignInUrl,pvfAuthenitcated)
  1736.     (This)->lpVtbl -> PassportAuthenticate(This,bstrSignInUrl,pvfAuthenitcated)
  1737. #endif /* COBJMACROS */
  1738. #endif  /* C style interface */
  1739. /* [id] */ HRESULT STDMETHODCALLTYPE INewWDEvents_PassportAuthenticate_Proxy( 
  1740.     INewWDEvents * This,
  1741.     /* [in] */ BSTR bstrSignInUrl,
  1742.     /* [retval][out] */ VARIANT_BOOL *pvfAuthenitcated);
  1743. void __RPC_STUB INewWDEvents_PassportAuthenticate_Stub(
  1744.     IRpcStubBuffer *This,
  1745.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1746.     PRPC_MESSAGE _pRpcMessage,
  1747.     DWORD *_pdwStubPhase);
  1748. #endif  /* __INewWDEvents_INTERFACE_DEFINED__ */
  1749. #ifndef __IPassportClientServices_INTERFACE_DEFINED__
  1750. #define __IPassportClientServices_INTERFACE_DEFINED__
  1751. /* interface IPassportClientServices */
  1752. /* [helpstring][dual][object][uuid] */ 
  1753. EXTERN_C const IID IID_IPassportClientServices;
  1754. #if defined(__cplusplus) && !defined(CINTERFACE)
  1755.     
  1756.     MIDL_INTERFACE("b30f7305-5967-45d1-b7bc-d6eb7163d770")
  1757.     IPassportClientServices : public IDispatch
  1758.     {
  1759.     public:
  1760.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE MemberExists( 
  1761.             /* [in] */ BSTR bstrUser,
  1762.             /* [in] */ BSTR bstrPassword,
  1763.             /* [retval][out] */ VARIANT_BOOL *pvfExists) = 0;
  1764.         
  1765.     };
  1766.     
  1767. #else  /* C style interface */
  1768.     typedef struct IPassportClientServicesVtbl
  1769.     {
  1770.         BEGIN_INTERFACE
  1771.         
  1772.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1773.             IPassportClientServices * This,
  1774.             /* [in] */ REFIID riid,
  1775.             /* [iid_is][out] */ void **ppvObject);
  1776.         
  1777.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1778.             IPassportClientServices * This);
  1779.         
  1780.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1781.             IPassportClientServices * This);
  1782.         
  1783.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  1784.             IPassportClientServices * This,
  1785.             /* [out] */ UINT *pctinfo);
  1786.         
  1787.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  1788.             IPassportClientServices * This,
  1789.             /* [in] */ UINT iTInfo,
  1790.             /* [in] */ LCID lcid,
  1791.             /* [out] */ ITypeInfo **ppTInfo);
  1792.         
  1793.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  1794.             IPassportClientServices * This,
  1795.             /* [in] */ REFIID riid,
  1796.             /* [size_is][in] */ LPOLESTR *rgszNames,
  1797.             /* [in] */ UINT cNames,
  1798.             /* [in] */ LCID lcid,
  1799.             /* [size_is][out] */ DISPID *rgDispId);
  1800.         
  1801.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  1802.             IPassportClientServices * This,
  1803.             /* [in] */ DISPID dispIdMember,
  1804.             /* [in] */ REFIID riid,
  1805.             /* [in] */ LCID lcid,
  1806.             /* [in] */ WORD wFlags,
  1807.             /* [out][in] */ DISPPARAMS *pDispParams,
  1808.             /* [out] */ VARIANT *pVarResult,
  1809.             /* [out] */ EXCEPINFO *pExcepInfo,
  1810.             /* [out] */ UINT *puArgErr);
  1811.         
  1812.         /* [id] */ HRESULT ( STDMETHODCALLTYPE *MemberExists )( 
  1813.             IPassportClientServices * This,
  1814.             /* [in] */ BSTR bstrUser,
  1815.             /* [in] */ BSTR bstrPassword,
  1816.             /* [retval][out] */ VARIANT_BOOL *pvfExists);
  1817.         
  1818.         END_INTERFACE
  1819.     } IPassportClientServicesVtbl;
  1820.     interface IPassportClientServices
  1821.     {
  1822.         CONST_VTBL struct IPassportClientServicesVtbl *lpVtbl;
  1823.     };
  1824.     
  1825. #ifdef COBJMACROS
  1826. #define IPassportClientServices_QueryInterface(This,riid,ppvObject)
  1827.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1828. #define IPassportClientServices_AddRef(This)
  1829.     (This)->lpVtbl -> AddRef(This)
  1830. #define IPassportClientServices_Release(This)
  1831.     (This)->lpVtbl -> Release(This)
  1832. #define IPassportClientServices_GetTypeInfoCount(This,pctinfo)
  1833.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1834. #define IPassportClientServices_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1835.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1836. #define IPassportClientServices_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1837.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1838. #define IPassportClientServices_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1839.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1840. #define IPassportClientServices_MemberExists(This,bstrUser,bstrPassword,pvfExists)
  1841.     (This)->lpVtbl -> MemberExists(This,bstrUser,bstrPassword,pvfExists)
  1842. #endif /* COBJMACROS */
  1843. #endif  /* C style interface */
  1844. /* [id] */ HRESULT STDMETHODCALLTYPE IPassportClientServices_MemberExists_Proxy( 
  1845.     IPassportClientServices * This,
  1846.     /* [in] */ BSTR bstrUser,
  1847.     /* [in] */ BSTR bstrPassword,
  1848.     /* [retval][out] */ VARIANT_BOOL *pvfExists);
  1849. void __RPC_STUB IPassportClientServices_MemberExists_Stub(
  1850.     IRpcStubBuffer *This,
  1851.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1852.     PRPC_MESSAGE _pRpcMessage,
  1853.     DWORD *_pdwStubPhase);
  1854. #endif  /* __IPassportClientServices_INTERFACE_DEFINED__ */
  1855. EXTERN_C const CLSID CLSID_PassportClientServices;
  1856. #ifdef __cplusplus
  1857. class DECLSPEC_UUID("2d2307c8-7db4-40d6-9100-d52af4f97a5b")
  1858. PassportClientServices;
  1859. #endif
  1860. #endif /* __Shell32_LIBRARY_DEFINED__ */
  1861. /* interface __MIDL_itf_shldisp_0279 */
  1862. /* [local] */ 
  1863. //-------------------------------------------------------------------------
  1864. //
  1865. // IAutoComplete interface
  1866. //
  1867. //
  1868. // [Member functions]
  1869. //
  1870. // IAutoComplete::Init(hwndEdit, punkACL, pwszRegKeyPath, pwszQuickComplete)
  1871. //   This function initializes an AutoComplete object, telling it
  1872. //   what control to subclass, and what list of strings to process.
  1873. //
  1874. // IAutoComplete::Enable(fEnable)
  1875. //   This function enables or disables the AutoComplete functionality.
  1876. //
  1877. //-------------------------------------------------------------------------
  1878. extern RPC_IF_HANDLE __MIDL_itf_shldisp_0279_v0_0_c_ifspec;
  1879. extern RPC_IF_HANDLE __MIDL_itf_shldisp_0279_v0_0_s_ifspec;
  1880. #ifndef __IAutoComplete_INTERFACE_DEFINED__
  1881. #define __IAutoComplete_INTERFACE_DEFINED__
  1882. /* interface IAutoComplete */
  1883. /* [unique][uuid][object][local][helpstring] */ 
  1884. typedef /* [unique] */ IAutoComplete *LPAUTOCOMPLETE;
  1885. EXTERN_C const IID IID_IAutoComplete;
  1886. #if defined(__cplusplus) && !defined(CINTERFACE)
  1887.     
  1888.     MIDL_INTERFACE("00bb2762-6a77-11d0-a535-00c04fd7d062")
  1889.     IAutoComplete : public IUnknown
  1890.     {
  1891.     public:
  1892.         virtual HRESULT STDMETHODCALLTYPE Init( 
  1893.             /* [in] */ HWND hwndEdit,
  1894.             /* [unique][in] */ IUnknown *punkACL,
  1895.             /* [unique][in] */ LPCOLESTR pwszRegKeyPath,
  1896.             /* [in] */ LPCOLESTR pwszQuickComplete) = 0;
  1897.         
  1898.         virtual HRESULT STDMETHODCALLTYPE Enable( 
  1899.             /* [in] */ BOOL fEnable) = 0;
  1900.         
  1901.     };
  1902.     
  1903. #else  /* C style interface */
  1904.     typedef struct IAutoCompleteVtbl
  1905.     {
  1906.         BEGIN_INTERFACE
  1907.         
  1908.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  1909.             IAutoComplete * This,
  1910.             /* [in] */ REFIID riid,
  1911.             /* [iid_is][out] */ void **ppvObject);
  1912.         
  1913.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  1914.             IAutoComplete * This);
  1915.         
  1916.         ULONG ( STDMETHODCALLTYPE *Release )( 
  1917.             IAutoComplete * This);
  1918.         
  1919.         HRESULT ( STDMETHODCALLTYPE *Init )( 
  1920.             IAutoComplete * This,
  1921.             /* [in] */ HWND hwndEdit,
  1922.             /* [unique][in] */ IUnknown *punkACL,
  1923.             /* [unique][in] */ LPCOLESTR pwszRegKeyPath,
  1924.             /* [in] */ LPCOLESTR pwszQuickComplete);
  1925.         
  1926.         HRESULT ( STDMETHODCALLTYPE *Enable )( 
  1927.             IAutoComplete * This,
  1928.             /* [in] */ BOOL fEnable);
  1929.         
  1930.         END_INTERFACE
  1931.     } IAutoCompleteVtbl;
  1932.     interface IAutoComplete
  1933.     {
  1934.         CONST_VTBL struct IAutoCompleteVtbl *lpVtbl;
  1935.     };
  1936.     
  1937. #ifdef COBJMACROS
  1938. #define IAutoComplete_QueryInterface(This,riid,ppvObject)
  1939.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1940. #define IAutoComplete_AddRef(This)
  1941.     (This)->lpVtbl -> AddRef(This)
  1942. #define IAutoComplete_Release(This)
  1943.     (This)->lpVtbl -> Release(This)
  1944. #define IAutoComplete_Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete)
  1945.     (This)->lpVtbl -> Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete)
  1946. #define IAutoComplete_Enable(This,fEnable)
  1947.     (This)->lpVtbl -> Enable(This,fEnable)
  1948. #endif /* COBJMACROS */
  1949. #endif  /* C style interface */
  1950. HRESULT STDMETHODCALLTYPE IAutoComplete_Init_Proxy( 
  1951.     IAutoComplete * This,
  1952.     /* [in] */ HWND hwndEdit,
  1953.     /* [unique][in] */ IUnknown *punkACL,
  1954.     /* [unique][in] */ LPCOLESTR pwszRegKeyPath,
  1955.     /* [in] */ LPCOLESTR pwszQuickComplete);
  1956. void __RPC_STUB IAutoComplete_Init_Stub(
  1957.     IRpcStubBuffer *This,
  1958.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1959.     PRPC_MESSAGE _pRpcMessage,
  1960.     DWORD *_pdwStubPhase);
  1961. HRESULT STDMETHODCALLTYPE IAutoComplete_Enable_Proxy( 
  1962.     IAutoComplete * This,
  1963.     /* [in] */ BOOL fEnable);
  1964. void __RPC_STUB IAutoComplete_Enable_Stub(
  1965.     IRpcStubBuffer *This,
  1966.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1967.     PRPC_MESSAGE _pRpcMessage,
  1968.     DWORD *_pdwStubPhase);
  1969. #endif  /* __IAutoComplete_INTERFACE_DEFINED__ */
  1970. #ifndef __IAutoComplete2_INTERFACE_DEFINED__
  1971. #define __IAutoComplete2_INTERFACE_DEFINED__
  1972. /* interface IAutoComplete2 */
  1973. /* [unique][uuid][object][local][helpstring] */ 
  1974. typedef /* [unique] */ IAutoComplete2 *LPAUTOCOMPLETE2;
  1975. typedef 
  1976. enum _tagAUTOCOMPLETEOPTIONS
  1977.     { ACO_NONE = 0,
  1978. ACO_AUTOSUGGEST = 0x1,
  1979. ACO_AUTOAPPEND = 0x2,
  1980. ACO_SEARCH = 0x4,
  1981. ACO_FILTERPREFIXES = 0x8,
  1982. ACO_USETAB = 0x10,
  1983. ACO_UPDOWNKEYDROPSLIST = 0x20,
  1984. ACO_RTLREADING = 0x40
  1985.     }  AUTOCOMPLETEOPTIONS;
  1986. EXTERN_C const IID IID_IAutoComplete2;
  1987. #if defined(__cplusplus) && !defined(CINTERFACE)
  1988.     
  1989.     MIDL_INTERFACE("EAC04BC0-3791-11d2-BB95-0060977B464C")
  1990.     IAutoComplete2 : public IAutoComplete
  1991.     {
  1992.     public:
  1993.         virtual HRESULT STDMETHODCALLTYPE SetOptions( 
  1994.             /* [in] */ DWORD dwFlag) = 0;
  1995.         
  1996.         virtual HRESULT STDMETHODCALLTYPE GetOptions( 
  1997.             /* [out] */ DWORD *pdwFlag) = 0;
  1998.         
  1999.     };
  2000.     
  2001. #else  /* C style interface */
  2002.     typedef struct IAutoComplete2Vtbl
  2003.     {
  2004.         BEGIN_INTERFACE
  2005.         
  2006.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2007.             IAutoComplete2 * This,
  2008.             /* [in] */ REFIID riid,
  2009.             /* [iid_is][out] */ void **ppvObject);
  2010.         
  2011.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2012.             IAutoComplete2 * This);
  2013.         
  2014.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2015.             IAutoComplete2 * This);
  2016.         
  2017.         HRESULT ( STDMETHODCALLTYPE *Init )( 
  2018.             IAutoComplete2 * This,
  2019.             /* [in] */ HWND hwndEdit,
  2020.             /* [unique][in] */ IUnknown *punkACL,
  2021.             /* [unique][in] */ LPCOLESTR pwszRegKeyPath,
  2022.             /* [in] */ LPCOLESTR pwszQuickComplete);
  2023.         
  2024.         HRESULT ( STDMETHODCALLTYPE *Enable )( 
  2025.             IAutoComplete2 * This,
  2026.             /* [in] */ BOOL fEnable);
  2027.         
  2028.         HRESULT ( STDMETHODCALLTYPE *SetOptions )( 
  2029.             IAutoComplete2 * This,
  2030.             /* [in] */ DWORD dwFlag);
  2031.         
  2032.         HRESULT ( STDMETHODCALLTYPE *GetOptions )( 
  2033.             IAutoComplete2 * This,
  2034.             /* [out] */ DWORD *pdwFlag);
  2035.         
  2036.         END_INTERFACE
  2037.     } IAutoComplete2Vtbl;
  2038.     interface IAutoComplete2
  2039.     {
  2040.         CONST_VTBL struct IAutoComplete2Vtbl *lpVtbl;
  2041.     };
  2042.     
  2043. #ifdef COBJMACROS
  2044. #define IAutoComplete2_QueryInterface(This,riid,ppvObject)
  2045.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2046. #define IAutoComplete2_AddRef(This)
  2047.     (This)->lpVtbl -> AddRef(This)
  2048. #define IAutoComplete2_Release(This)
  2049.     (This)->lpVtbl -> Release(This)
  2050. #define IAutoComplete2_Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete)
  2051.     (This)->lpVtbl -> Init(This,hwndEdit,punkACL,pwszRegKeyPath,pwszQuickComplete)
  2052. #define IAutoComplete2_Enable(This,fEnable)
  2053.     (This)->lpVtbl -> Enable(This,fEnable)
  2054. #define IAutoComplete2_SetOptions(This,dwFlag)
  2055.     (This)->lpVtbl -> SetOptions(This,dwFlag)
  2056. #define IAutoComplete2_GetOptions(This,pdwFlag)
  2057.     (This)->lpVtbl -> GetOptions(This,pdwFlag)
  2058. #endif /* COBJMACROS */
  2059. #endif  /* C style interface */
  2060. HRESULT STDMETHODCALLTYPE IAutoComplete2_SetOptions_Proxy( 
  2061.     IAutoComplete2 * This,
  2062.     /* [in] */ DWORD dwFlag);
  2063. void __RPC_STUB IAutoComplete2_SetOptions_Stub(
  2064.     IRpcStubBuffer *This,
  2065.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2066.     PRPC_MESSAGE _pRpcMessage,
  2067.     DWORD *_pdwStubPhase);
  2068. HRESULT STDMETHODCALLTYPE IAutoComplete2_GetOptions_Proxy( 
  2069.     IAutoComplete2 * This,
  2070.     /* [out] */ DWORD *pdwFlag);
  2071. void __RPC_STUB IAutoComplete2_GetOptions_Stub(
  2072.     IRpcStubBuffer *This,
  2073.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2074.     PRPC_MESSAGE _pRpcMessage,
  2075.     DWORD *_pdwStubPhase);
  2076. #endif  /* __IAutoComplete2_INTERFACE_DEFINED__ */
  2077. /* interface __MIDL_itf_shldisp_0281 */
  2078. /* [local] */ 
  2079. // INTERFACE: IEnumACString
  2080. //
  2081. // This interface was implemented to return autocomplete strings
  2082. // into the caller's buffer (to reduce the number of memory allocations).
  2083. // A sort index is also returned to control the order of items displayed.
  2084. // by autocomplete.  The sort index should be set to zero if unused.
  2085. //
  2086. // The NextItem method increments the current index by one (similar to Next
  2087. // when one item is requested).
  2088. //
  2089. extern RPC_IF_HANDLE __MIDL_itf_shldisp_0281_v0_0_c_ifspec;
  2090. extern RPC_IF_HANDLE __MIDL_itf_shldisp_0281_v0_0_s_ifspec;
  2091. #ifndef __IEnumACString_INTERFACE_DEFINED__
  2092. #define __IEnumACString_INTERFACE_DEFINED__
  2093. /* interface IEnumACString */
  2094. /* [unique][uuid][object][local][helpstring] */ 
  2095. typedef /* [unique] */ IEnumACString *PENUMACSTRING;
  2096. typedef /* [unique] */ IEnumACString *LPENUMACSTRING;
  2097. typedef 
  2098. enum _tagACENUMOPTION
  2099.     { ACEO_NONE = 0,
  2100. ACEO_MOSTRECENTFIRST = 0x1,
  2101. ACEO_FIRSTUNUSED = 0x10000
  2102.     }  ACENUMOPTION;
  2103. EXTERN_C const IID IID_IEnumACString;
  2104. #if defined(__cplusplus) && !defined(CINTERFACE)
  2105.     
  2106.     MIDL_INTERFACE("8E74C210-CF9D-4eaf-A403-7356428F0A5A")
  2107.     IEnumACString : public IEnumString
  2108.     {
  2109.     public:
  2110.         virtual HRESULT STDMETHODCALLTYPE NextItem( 
  2111.             /* [size_is][unique][string][out] */ LPOLESTR pszUrl,
  2112.             /* [in] */ ULONG cchMax,
  2113.             /* [out] */ ULONG *pulSortIndex) = 0;
  2114.         
  2115.         virtual HRESULT STDMETHODCALLTYPE SetEnumOptions( 
  2116.             /* [in] */ DWORD dwOptions) = 0;
  2117.         
  2118.         virtual HRESULT STDMETHODCALLTYPE GetEnumOptions( 
  2119.             /* [out] */ DWORD *pdwOptions) = 0;
  2120.         
  2121.     };
  2122.     
  2123. #else  /* C style interface */
  2124.     typedef struct IEnumACStringVtbl
  2125.     {
  2126.         BEGIN_INTERFACE
  2127.         
  2128.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2129.             IEnumACString * This,
  2130.             /* [in] */ REFIID riid,
  2131.             /* [iid_is][out] */ void **ppvObject);
  2132.         
  2133.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2134.             IEnumACString * This);
  2135.         
  2136.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2137.             IEnumACString * This);
  2138.         
  2139.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )( 
  2140.             IEnumACString * This,
  2141.             /* [in] */ ULONG celt,
  2142.             /* [length_is][size_is][out] */ LPOLESTR *rgelt,
  2143.             /* [out] */ ULONG *pceltFetched);
  2144.         
  2145.         HRESULT ( STDMETHODCALLTYPE *Skip )( 
  2146.             IEnumACString * This,
  2147.             /* [in] */ ULONG celt);
  2148.         
  2149.         HRESULT ( STDMETHODCALLTYPE *Reset )( 
  2150.             IEnumACString * This);
  2151.         
  2152.         HRESULT ( STDMETHODCALLTYPE *Clone )( 
  2153.             IEnumACString * This,
  2154.             /* [out] */ IEnumString **ppenum);
  2155.         
  2156.         HRESULT ( STDMETHODCALLTYPE *NextItem )( 
  2157.             IEnumACString * This,
  2158.             /* [size_is][unique][string][out] */ LPOLESTR pszUrl,
  2159.             /* [in] */ ULONG cchMax,
  2160.             /* [out] */ ULONG *pulSortIndex);
  2161.         
  2162.         HRESULT ( STDMETHODCALLTYPE *SetEnumOptions )( 
  2163.             IEnumACString * This,
  2164.             /* [in] */ DWORD dwOptions);
  2165.         
  2166.         HRESULT ( STDMETHODCALLTYPE *GetEnumOptions )( 
  2167.             IEnumACString * This,
  2168.             /* [out] */ DWORD *pdwOptions);
  2169.         
  2170.         END_INTERFACE
  2171.     } IEnumACStringVtbl;
  2172.     interface IEnumACString
  2173.     {
  2174.         CONST_VTBL struct IEnumACStringVtbl *lpVtbl;
  2175.     };
  2176.     
  2177. #ifdef COBJMACROS
  2178. #define IEnumACString_QueryInterface(This,riid,ppvObject)
  2179.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2180. #define IEnumACString_AddRef(This)
  2181.     (This)->lpVtbl -> AddRef(This)
  2182. #define IEnumACString_Release(This)
  2183.     (This)->lpVtbl -> Release(This)
  2184. #define IEnumACString_Next(This,celt,rgelt,pceltFetched)
  2185.     (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  2186. #define IEnumACString_Skip(This,celt)
  2187.     (This)->lpVtbl -> Skip(This,celt)
  2188. #define IEnumACString_Reset(This)
  2189.     (This)->lpVtbl -> Reset(This)
  2190. #define IEnumACString_Clone(This,ppenum)
  2191.     (This)->lpVtbl -> Clone(This,ppenum)
  2192. #define IEnumACString_NextItem(This,pszUrl,cchMax,pulSortIndex)
  2193.     (This)->lpVtbl -> NextItem(This,pszUrl,cchMax,pulSortIndex)
  2194. #define IEnumACString_SetEnumOptions(This,dwOptions)
  2195.     (This)->lpVtbl -> SetEnumOptions(This,dwOptions)
  2196. #define IEnumACString_GetEnumOptions(This,pdwOptions)
  2197.     (This)->lpVtbl -> GetEnumOptions(This,pdwOptions)
  2198. #endif /* COBJMACROS */
  2199. #endif  /* C style interface */
  2200. HRESULT STDMETHODCALLTYPE IEnumACString_NextItem_Proxy( 
  2201.     IEnumACString * This,
  2202.     /* [size_is][unique][string][out] */ LPOLESTR pszUrl,
  2203.     /* [in] */ ULONG cchMax,
  2204.     /* [out] */ ULONG *pulSortIndex);
  2205. void __RPC_STUB IEnumACString_NextItem_Stub(
  2206.     IRpcStubBuffer *This,
  2207.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2208.     PRPC_MESSAGE _pRpcMessage,
  2209.     DWORD *_pdwStubPhase);
  2210. HRESULT STDMETHODCALLTYPE IEnumACString_SetEnumOptions_Proxy( 
  2211.     IEnumACString * This,
  2212.     /* [in] */ DWORD dwOptions);
  2213. void __RPC_STUB IEnumACString_SetEnumOptions_Stub(
  2214.     IRpcStubBuffer *This,
  2215.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2216.     PRPC_MESSAGE _pRpcMessage,
  2217.     DWORD *_pdwStubPhase);
  2218. HRESULT STDMETHODCALLTYPE IEnumACString_GetEnumOptions_Proxy( 
  2219.     IEnumACString * This,
  2220.     /* [out] */ DWORD *pdwOptions);
  2221. void __RPC_STUB IEnumACString_GetEnumOptions_Stub(
  2222.     IRpcStubBuffer *This,
  2223.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2224.     PRPC_MESSAGE _pRpcMessage,
  2225.     DWORD *_pdwStubPhase);
  2226. #endif  /* __IEnumACString_INTERFACE_DEFINED__ */
  2227. /* interface __MIDL_itf_shldisp_0282 */
  2228. /* [local] */ 
  2229. // INTERFACE: IAsyncOperation
  2230. //
  2231. // This interface was implemented to turn some previously synchronous
  2232. // interfaces into async.  The following example is for
  2233. // doing the IDataObject::Drop() operation asynchronously.
  2234. //
  2235. // Sometimes the rendering of the IDataObject data (IDataObject::GetData() or
  2236. // STGMEDIUM.pStream->Read()) can be time intensive.  The IDropTarget
  2237. // may want to do this on another thread.
  2238. //
  2239. // Implimentation Check list:
  2240. // DoDragDrop Caller:
  2241. //    If this code can support asynch operations, then it needs to
  2242. //    QueryInterface() the IDataObject for IAsyncOperation.
  2243. //    IAsyncOperation::SetAsyncMode(VARIANT_TRUE).
  2244. //    After calling DoDragDrop(), call InOperation().  If any call fails
  2245. //    or InOperation() return FALSE, use the pdwEffect returned by DoDragDrop()
  2246. //    and the operation completed synchrously.
  2247. //
  2248. // OleSetClipboard Caller:
  2249. //    If this code can support asynch operations, then it needs to
  2250. //    QueryInterface() the IDataObject for IAsyncOperation.  Then call
  2251. //    IAsyncOperation::SetAsyncMode(VARIANT_TRUE).
  2252. //    If any of that fails, the final dwEffect should be passed to the IDataObject via
  2253. //    CFSTR_PERFORMEDDROPEFFECT.
  2254. //
  2255. // IDataObect Object:
  2256. //    IAsyncOperation::GetAsyncMode() should return whatever was last passed in
  2257. //          fDoOpAsync to ::SetAsyncMode() or VARIANT_FALSE if ::SetAsyncMode()
  2258. //          was never called.
  2259. //    IAsyncOperation::SetAsyncMode() should AddRef and store paocb.
  2260. //    IAsyncOperation::StartOperation() should store the fact that this was called and
  2261. //          cause InOperation() to return VARIANT_TRUE.  pbcReserved is not used and needs
  2262. //          to be NULL.
  2263. //    IAsyncOperation::InOperation() should return VARIANT_TRUE only if ::StartOperation()
  2264. //          was called.
  2265. //    IAsyncOperation::EndOperation() needs to call paocbpaocb->EndOperation() with the same
  2266. //          parameters.  Then release paocb.
  2267. //    IDataObject::SetData(CFSTR_PERFORMEDDROPEFFECT) When this happens, call
  2268. //          EndOperation(<into VAR>S_OK, NULL, <into VAR>dwEffect) and pass the dwEffect from the hglobal.
  2269. //
  2270. // IDropTarget Object:
  2271. //    IDropTarget::Drop() If asynch operations aren't supported, nothing is required.
  2272. //          The asynch operation can only happen if GetAsyncMode() returns VARIANT_TRUE.
  2273. //          Before starting the asynch operation, StartOperation(NULL) needs to be called before
  2274. //          returning from IDropTarget::Drop().
  2275. extern RPC_IF_HANDLE __MIDL_itf_shldisp_0282_v0_0_c_ifspec;
  2276. extern RPC_IF_HANDLE __MIDL_itf_shldisp_0282_v0_0_s_ifspec;
  2277. #ifndef __IAsyncOperation_INTERFACE_DEFINED__
  2278. #define __IAsyncOperation_INTERFACE_DEFINED__
  2279. /* interface IAsyncOperation */
  2280. /* [object][uuid][helpstring] */ 
  2281. typedef /* [unique] */ IAsyncOperation *LPASYNCOPERATION;
  2282. EXTERN_C const IID IID_IAsyncOperation;
  2283. #if defined(__cplusplus) && !defined(CINTERFACE)
  2284.     
  2285.     MIDL_INTERFACE("3D8B0590-F691-11d2-8EA9-006097DF5BD4")
  2286.     IAsyncOperation : public IUnknown
  2287.     {
  2288.     public:
  2289.         virtual HRESULT STDMETHODCALLTYPE SetAsyncMode( 
  2290.             /* [in] */ BOOL fDoOpAsync) = 0;
  2291.         
  2292.         virtual HRESULT STDMETHODCALLTYPE GetAsyncMode( 
  2293.             /* [out] */ BOOL *pfIsOpAsync) = 0;
  2294.         
  2295.         virtual HRESULT STDMETHODCALLTYPE StartOperation( 
  2296.             /* [optional][unique][in] */ IBindCtx *pbcReserved) = 0;
  2297.         
  2298.         virtual HRESULT STDMETHODCALLTYPE InOperation( 
  2299.             /* [out] */ BOOL *pfInAsyncOp) = 0;
  2300.         
  2301.         virtual HRESULT STDMETHODCALLTYPE EndOperation( 
  2302.             /* [in] */ HRESULT hResult,
  2303.             /* [unique][in] */ IBindCtx *pbcReserved,
  2304.             /* [in] */ DWORD dwEffects) = 0;
  2305.         
  2306.     };
  2307.     
  2308. #else  /* C style interface */
  2309.     typedef struct IAsyncOperationVtbl
  2310.     {
  2311.         BEGIN_INTERFACE
  2312.         
  2313.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  2314.             IAsyncOperation * This,
  2315.             /* [in] */ REFIID riid,
  2316.             /* [iid_is][out] */ void **ppvObject);
  2317.         
  2318.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  2319.             IAsyncOperation * This);
  2320.         
  2321.         ULONG ( STDMETHODCALLTYPE *Release )( 
  2322.             IAsyncOperation * This);
  2323.         
  2324.         HRESULT ( STDMETHODCALLTYPE *SetAsyncMode )( 
  2325.             IAsyncOperation * This,
  2326.             /* [in] */ BOOL fDoOpAsync);
  2327.         
  2328.         HRESULT ( STDMETHODCALLTYPE *GetAsyncMode )( 
  2329.             IAsyncOperation * This,
  2330.             /* [out] */ BOOL *pfIsOpAsync);
  2331.         
  2332.         HRESULT ( STDMETHODCALLTYPE *StartOperation )( 
  2333.             IAsyncOperation * This,
  2334.             /* [optional][unique][in] */ IBindCtx *pbcReserved);
  2335.         
  2336.         HRESULT ( STDMETHODCALLTYPE *InOperation )( 
  2337.             IAsyncOperation * This,
  2338.             /* [out] */ BOOL *pfInAsyncOp);
  2339.         
  2340.         HRESULT ( STDMETHODCALLTYPE *EndOperation )( 
  2341.             IAsyncOperation * This,
  2342.             /* [in] */ HRESULT hResult,
  2343.             /* [unique][in] */ IBindCtx *pbcReserved,
  2344.             /* [in] */ DWORD dwEffects);
  2345.         
  2346.         END_INTERFACE
  2347.     } IAsyncOperationVtbl;
  2348.     interface IAsyncOperation
  2349.     {
  2350.         CONST_VTBL struct IAsyncOperationVtbl *lpVtbl;
  2351.     };
  2352.     
  2353. #ifdef COBJMACROS
  2354. #define IAsyncOperation_QueryInterface(This,riid,ppvObject)
  2355.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2356. #define IAsyncOperation_AddRef(This)
  2357.     (This)->lpVtbl -> AddRef(This)
  2358. #define IAsyncOperation_Release(This)
  2359.     (This)->lpVtbl -> Release(This)
  2360. #define IAsyncOperation_SetAsyncMode(This,fDoOpAsync)
  2361.     (This)->lpVtbl -> SetAsyncMode(This,fDoOpAsync)
  2362. #define IAsyncOperation_GetAsyncMode(This,pfIsOpAsync)
  2363.     (This)->lpVtbl -> GetAsyncMode(This,pfIsOpAsync)
  2364. #define IAsyncOperation_StartOperation(This,pbcReserved)
  2365.     (This)->lpVtbl -> StartOperation(This,pbcReserved)
  2366. #define IAsyncOperation_InOperation(This,pfInAsyncOp)
  2367.     (This)->lpVtbl -> InOperation(This,pfInAsyncOp)
  2368. #define IAsyncOperation_EndOperation(This,hResult,pbcReserved,dwEffects)
  2369.     (This)->lpVtbl -> EndOperation(This,hResult,pbcReserved,dwEffects)
  2370. #endif /* COBJMACROS */
  2371. #endif  /* C style interface */
  2372. HRESULT STDMETHODCALLTYPE IAsyncOperation_SetAsyncMode_Proxy( 
  2373.     IAsyncOperation * This,
  2374.     /* [in] */ BOOL fDoOpAsync);
  2375. void __RPC_STUB IAsyncOperation_SetAsyncMode_Stub(
  2376.     IRpcStubBuffer *This,
  2377.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2378.     PRPC_MESSAGE _pRpcMessage,
  2379.     DWORD *_pdwStubPhase);
  2380. HRESULT STDMETHODCALLTYPE IAsyncOperation_GetAsyncMode_Proxy( 
  2381.     IAsyncOperation * This,
  2382.     /* [out] */ BOOL *pfIsOpAsync);
  2383. void __RPC_STUB IAsyncOperation_GetAsyncMode_Stub(
  2384.     IRpcStubBuffer *This,
  2385.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2386.     PRPC_MESSAGE _pRpcMessage,
  2387.     DWORD *_pdwStubPhase);
  2388. HRESULT STDMETHODCALLTYPE IAsyncOperation_StartOperation_Proxy( 
  2389.     IAsyncOperation * This,
  2390.     /* [optional][unique][in] */ IBindCtx *pbcReserved);
  2391. void __RPC_STUB IAsyncOperation_StartOperation_Stub(
  2392.     IRpcStubBuffer *This,
  2393.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2394.     PRPC_MESSAGE _pRpcMessage,
  2395.     DWORD *_pdwStubPhase);
  2396. HRESULT STDMETHODCALLTYPE IAsyncOperation_InOperation_Proxy( 
  2397.     IAsyncOperation * This,
  2398.     /* [out] */ BOOL *pfInAsyncOp);
  2399. void __RPC_STUB IAsyncOperation_InOperation_Stub(
  2400.     IRpcStubBuffer *This,
  2401.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2402.     PRPC_MESSAGE _pRpcMessage,
  2403.     DWORD *_pdwStubPhase);
  2404. HRESULT STDMETHODCALLTYPE IAsyncOperation_EndOperation_Proxy( 
  2405.     IAsyncOperation * This,
  2406.     /* [in] */ HRESULT hResult,
  2407.     /* [unique][in] */ IBindCtx *pbcReserved,
  2408.     /* [in] */ DWORD dwEffects);
  2409. void __RPC_STUB IAsyncOperation_EndOperation_Stub(
  2410.     IRpcStubBuffer *This,
  2411.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2412.     PRPC_MESSAGE _pRpcMessage,
  2413.     DWORD *_pdwStubPhase);
  2414. #endif  /* __IAsyncOperation_INTERFACE_DEFINED__ */
  2415. /* Additional Prototypes for ALL interfaces */
  2416. /* end of Additional Prototypes */
  2417. #ifdef __cplusplus
  2418. }
  2419. #endif
  2420. #endif