home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / trkcom.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  19KB  |  593 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Thu Sep 11 18:12:06 1997
  6.  */
  7. /* Compiler settings for trkcom.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25.  
  26. #ifndef COM_NO_WINDOWS_H
  27. #include "windows.h"
  28. #include "ole2.h"
  29. #endif /*COM_NO_WINDOWS_H*/
  30.  
  31. #ifndef __trkcom_h__
  32. #define __trkcom_h__
  33.  
  34. #ifdef __cplusplus
  35. extern "C"{
  36. #endif 
  37.  
  38. /* Forward Declarations */ 
  39.  
  40. #ifndef __ITrackFile_FWD_DEFINED__
  41. #define __ITrackFile_FWD_DEFINED__
  42. typedef interface ITrackFile ITrackFile;
  43. #endif     /* __ITrackFile_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __ITrackStorage_FWD_DEFINED__
  47. #define __ITrackStorage_FWD_DEFINED__
  48. typedef interface ITrackStorage ITrackStorage;
  49. #endif     /* __ITrackStorage_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __ITrackFileRestricted_FWD_DEFINED__
  53. #define __ITrackFileRestricted_FWD_DEFINED__
  54. typedef interface ITrackFileRestricted ITrackFileRestricted;
  55. #endif     /* __ITrackFileRestricted_FWD_DEFINED__ */
  56.  
  57.  
  58. /* header files for imported files */
  59. #include "unknwn.h"
  60.  
  61. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  62. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  63.  
  64. /****************************************
  65.  * Generated header for interface: __MIDL_itf_trkcom_0000
  66.  * at Thu Sep 11 18:12:06 1997
  67.  * using MIDL 3.03.0110
  68.  ****************************************/
  69. /* [local] */ 
  70.  
  71.  
  72. EXTERN_C const CLSID CLSID_TrackFile; // {8790c947-a30b-11d0-8cab-00c04fd90f85}
  73.  
  74.  
  75. extern RPC_IF_HANDLE __MIDL_itf_trkcom_0000_v0_0_c_ifspec;
  76. extern RPC_IF_HANDLE Stub__MIDL_itf_trkcom_0000_v0_0_s_ifspec;
  77.  
  78. #ifndef __ITrackFile_INTERFACE_DEFINED__
  79. #define __ITrackFile_INTERFACE_DEFINED__
  80.  
  81. /****************************************
  82.  * Generated header for interface: ITrackFile
  83.  * at Thu Sep 11 18:12:06 1997
  84.  * using MIDL 3.03.0110
  85.  ****************************************/
  86. /* [version][unique][object][uuid][local] */ 
  87.  
  88.  
  89.  
  90. EXTERN_C const IID IID_ITrackFile;
  91.  
  92. #if defined(__cplusplus) && !defined(CINTERFACE)
  93.     
  94.     MIDL_INTERFACE("8790c948-a30b-11d0-8cab-00c04fd90f85")
  95.     ITrackFile : public IUnknown
  96.     {
  97.     public:
  98.         virtual HRESULT STDMETHODCALLTYPE CreateFromPath( 
  99.             /* [string][in] */ const OLECHAR __RPC_FAR *poszPath) = 0;
  100.         
  101.         virtual HRESULT STDMETHODCALLTYPE Resolve( 
  102.             /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  103.             /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  104.             /* [in] */ DWORD dwMillisecondTimeout) = 0;
  105.         
  106.         virtual HRESULT STDMETHODCALLTYPE Open( 
  107.             /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  108.             /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  109.             /* [in] */ DWORD dwMillisecondTimeout,
  110.             /* [in] */ DWORD dwDesiredAccess,
  111.             /* [in] */ DWORD dwShareMode,
  112.             /* [in] */ DWORD dwFlags,
  113.             /* [out] */ HANDLE __RPC_FAR *phFile) = 0;
  114.         
  115.     };
  116.     
  117. #else     /* C style interface */
  118.  
  119.     typedef struct ITrackFileVtbl
  120.     {
  121.         BEGIN_INTERFACE
  122.         
  123.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  124.             ITrackFile __RPC_FAR * This,
  125.             /* [in] */ REFIID riid,
  126.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  127.         
  128.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  129.             ITrackFile __RPC_FAR * This);
  130.         
  131.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  132.             ITrackFile __RPC_FAR * This);
  133.         
  134.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateFromPath )( 
  135.             ITrackFile __RPC_FAR * This,
  136.             /* [string][in] */ const OLECHAR __RPC_FAR *poszPath);
  137.         
  138.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resolve )( 
  139.             ITrackFile __RPC_FAR * This,
  140.             /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  141.             /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  142.             /* [in] */ DWORD dwMillisecondTimeout);
  143.         
  144.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )( 
  145.             ITrackFile __RPC_FAR * This,
  146.             /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  147.             /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  148.             /* [in] */ DWORD dwMillisecondTimeout,
  149.             /* [in] */ DWORD dwDesiredAccess,
  150.             /* [in] */ DWORD dwShareMode,
  151.             /* [in] */ DWORD dwFlags,
  152.             /* [out] */ HANDLE __RPC_FAR *phFile);
  153.         
  154.         END_INTERFACE
  155.     } ITrackFileVtbl;
  156.  
  157.     interface ITrackFile
  158.     {
  159.         CONST_VTBL struct ITrackFileVtbl __RPC_FAR *lpVtbl;
  160.     };
  161.  
  162.     
  163.  
  164. #ifdef COBJMACROS
  165.  
  166.  
  167. #define ITrackFile_QueryInterface(This,riid,ppvObject)    \
  168.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  169.  
  170. #define ITrackFile_AddRef(This)    \
  171.     (This)->lpVtbl -> AddRef(This)
  172.  
  173. #define ITrackFile_Release(This)    \
  174.     (This)->lpVtbl -> Release(This)
  175.  
  176.  
  177. #define ITrackFile_CreateFromPath(This,poszPath)    \
  178.     (This)->lpVtbl -> CreateFromPath(This,poszPath)
  179.  
  180. #define ITrackFile_Resolve(This,pcbPath,poszPath,dwMillisecondTimeout)    \
  181.     (This)->lpVtbl -> Resolve(This,pcbPath,poszPath,dwMillisecondTimeout)
  182.  
  183. #define ITrackFile_Open(This,pcbPathHint,poszPathHint,dwMillisecondTimeout,dwDesiredAccess,dwShareMode,dwFlags,phFile)    \
  184.     (This)->lpVtbl -> Open(This,pcbPathHint,poszPathHint,dwMillisecondTimeout,dwDesiredAccess,dwShareMode,dwFlags,phFile)
  185.  
  186. #endif /* COBJMACROS */
  187.  
  188.  
  189. #endif     /* C style interface */
  190.  
  191.  
  192.  
  193. HRESULT STDMETHODCALLTYPE ITrackFile_CreateFromPath_Proxy( 
  194.     ITrackFile __RPC_FAR * This,
  195.     /* [string][in] */ const OLECHAR __RPC_FAR *poszPath);
  196.  
  197.  
  198. void __RPC_STUB ITrackFile_CreateFromPath_Stub(
  199.     IRpcStubBuffer *This,
  200.     IRpcChannelBuffer *_pRpcChannelBuffer,
  201.     PRPC_MESSAGE _pRpcMessage,
  202.     DWORD *_pdwStubPhase);
  203.  
  204.  
  205. HRESULT STDMETHODCALLTYPE ITrackFile_Resolve_Proxy( 
  206.     ITrackFile __RPC_FAR * This,
  207.     /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  208.     /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  209.     /* [in] */ DWORD dwMillisecondTimeout);
  210.  
  211.  
  212. void __RPC_STUB ITrackFile_Resolve_Stub(
  213.     IRpcStubBuffer *This,
  214.     IRpcChannelBuffer *_pRpcChannelBuffer,
  215.     PRPC_MESSAGE _pRpcMessage,
  216.     DWORD *_pdwStubPhase);
  217.  
  218.  
  219. HRESULT STDMETHODCALLTYPE ITrackFile_Open_Proxy( 
  220.     ITrackFile __RPC_FAR * This,
  221.     /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  222.     /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  223.     /* [in] */ DWORD dwMillisecondTimeout,
  224.     /* [in] */ DWORD dwDesiredAccess,
  225.     /* [in] */ DWORD dwShareMode,
  226.     /* [in] */ DWORD dwFlags,
  227.     /* [out] */ HANDLE __RPC_FAR *phFile);
  228.  
  229.  
  230. void __RPC_STUB ITrackFile_Open_Stub(
  231.     IRpcStubBuffer *This,
  232.     IRpcChannelBuffer *_pRpcChannelBuffer,
  233.     PRPC_MESSAGE _pRpcMessage,
  234.     DWORD *_pdwStubPhase);
  235.  
  236.  
  237.  
  238. #endif     /* __ITrackFile_INTERFACE_DEFINED__ */
  239.  
  240.  
  241. #ifndef __ITrackStorage_INTERFACE_DEFINED__
  242. #define __ITrackStorage_INTERFACE_DEFINED__
  243.  
  244. /****************************************
  245.  * Generated header for interface: ITrackStorage
  246.  * at Thu Sep 11 18:12:06 1997
  247.  * using MIDL 3.03.0110
  248.  ****************************************/
  249. /* [version][unique][object][uuid] */ 
  250.  
  251.  
  252.  
  253. EXTERN_C const IID IID_ITrackStorage;
  254.  
  255. #if defined(__cplusplus) && !defined(CINTERFACE)
  256.     
  257.     MIDL_INTERFACE("8790c94a-a30b-11d0-8cab-00c04fd90f85")
  258.     ITrackStorage : public IUnknown
  259.     {
  260.     public:
  261.         virtual HRESULT STDMETHODCALLTYPE CreateFromPath( 
  262.             /* [string][in] */ const OLECHAR __RPC_FAR *poszPath) = 0;
  263.         
  264.         virtual HRESULT STDMETHODCALLTYPE Resolve( 
  265.             /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  266.             /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  267.             /* [in] */ DWORD dwMillisecondTimeout) = 0;
  268.         
  269.         virtual HRESULT STDMETHODCALLTYPE OpenStorageEx( 
  270.             /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  271.             /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  272.             /* [in] */ DWORD dwMillisecondTimeout,
  273.             /* [in] */ DWORD grfMode,
  274.             /* [in] */ DWORD stgfmt,
  275.             /* [in] */ DWORD grfAttrs,
  276.             /* [in] */ REFIID riid,
  277.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppObjectOpen) = 0;
  278.         
  279.     };
  280.     
  281. #else     /* C style interface */
  282.  
  283.     typedef struct ITrackStorageVtbl
  284.     {
  285.         BEGIN_INTERFACE
  286.         
  287.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  288.             ITrackStorage __RPC_FAR * This,
  289.             /* [in] */ REFIID riid,
  290.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  291.         
  292.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  293.             ITrackStorage __RPC_FAR * This);
  294.         
  295.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  296.             ITrackStorage __RPC_FAR * This);
  297.         
  298.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateFromPath )( 
  299.             ITrackStorage __RPC_FAR * This,
  300.             /* [string][in] */ const OLECHAR __RPC_FAR *poszPath);
  301.         
  302.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resolve )( 
  303.             ITrackStorage __RPC_FAR * This,
  304.             /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  305.             /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  306.             /* [in] */ DWORD dwMillisecondTimeout);
  307.         
  308.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OpenStorageEx )( 
  309.             ITrackStorage __RPC_FAR * This,
  310.             /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  311.             /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  312.             /* [in] */ DWORD dwMillisecondTimeout,
  313.             /* [in] */ DWORD grfMode,
  314.             /* [in] */ DWORD stgfmt,
  315.             /* [in] */ DWORD grfAttrs,
  316.             /* [in] */ REFIID riid,
  317.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppObjectOpen);
  318.         
  319.         END_INTERFACE
  320.     } ITrackStorageVtbl;
  321.  
  322.     interface ITrackStorage
  323.     {
  324.         CONST_VTBL struct ITrackStorageVtbl __RPC_FAR *lpVtbl;
  325.     };
  326.  
  327.     
  328.  
  329. #ifdef COBJMACROS
  330.  
  331.  
  332. #define ITrackStorage_QueryInterface(This,riid,ppvObject)    \
  333.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  334.  
  335. #define ITrackStorage_AddRef(This)    \
  336.     (This)->lpVtbl -> AddRef(This)
  337.  
  338. #define ITrackStorage_Release(This)    \
  339.     (This)->lpVtbl -> Release(This)
  340.  
  341.  
  342. #define ITrackStorage_CreateFromPath(This,poszPath)    \
  343.     (This)->lpVtbl -> CreateFromPath(This,poszPath)
  344.  
  345. #define ITrackStorage_Resolve(This,pcbPath,poszPath,dwMillisecondTimeout)    \
  346.     (This)->lpVtbl -> Resolve(This,pcbPath,poszPath,dwMillisecondTimeout)
  347.  
  348. #define ITrackStorage_OpenStorageEx(This,pcbPathHint,poszPathHint,dwMillisecondTimeout,grfMode,stgfmt,grfAttrs,riid,ppObjectOpen)    \
  349.     (This)->lpVtbl -> OpenStorageEx(This,pcbPathHint,poszPathHint,dwMillisecondTimeout,grfMode,stgfmt,grfAttrs,riid,ppObjectOpen)
  350.  
  351. #endif /* COBJMACROS */
  352.  
  353.  
  354. #endif     /* C style interface */
  355.  
  356.  
  357.  
  358. HRESULT STDMETHODCALLTYPE ITrackStorage_CreateFromPath_Proxy( 
  359.     ITrackStorage __RPC_FAR * This,
  360.     /* [string][in] */ const OLECHAR __RPC_FAR *poszPath);
  361.  
  362.  
  363. void __RPC_STUB ITrackStorage_CreateFromPath_Stub(
  364.     IRpcStubBuffer *This,
  365.     IRpcChannelBuffer *_pRpcChannelBuffer,
  366.     PRPC_MESSAGE _pRpcMessage,
  367.     DWORD *_pdwStubPhase);
  368.  
  369.  
  370. HRESULT STDMETHODCALLTYPE ITrackStorage_Resolve_Proxy( 
  371.     ITrackStorage __RPC_FAR * This,
  372.     /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  373.     /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  374.     /* [in] */ DWORD dwMillisecondTimeout);
  375.  
  376.  
  377. void __RPC_STUB ITrackStorage_Resolve_Stub(
  378.     IRpcStubBuffer *This,
  379.     IRpcChannelBuffer *_pRpcChannelBuffer,
  380.     PRPC_MESSAGE _pRpcMessage,
  381.     DWORD *_pdwStubPhase);
  382.  
  383.  
  384. HRESULT STDMETHODCALLTYPE ITrackStorage_OpenStorageEx_Proxy( 
  385.     ITrackStorage __RPC_FAR * This,
  386.     /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  387.     /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  388.     /* [in] */ DWORD dwMillisecondTimeout,
  389.     /* [in] */ DWORD grfMode,
  390.     /* [in] */ DWORD stgfmt,
  391.     /* [in] */ DWORD grfAttrs,
  392.     /* [in] */ REFIID riid,
  393.     /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppObjectOpen);
  394.  
  395.  
  396. void __RPC_STUB ITrackStorage_OpenStorageEx_Stub(
  397.     IRpcStubBuffer *This,
  398.     IRpcChannelBuffer *_pRpcChannelBuffer,
  399.     PRPC_MESSAGE _pRpcMessage,
  400.     DWORD *_pdwStubPhase);
  401.  
  402.  
  403.  
  404. #endif     /* __ITrackStorage_INTERFACE_DEFINED__ */
  405.  
  406.  
  407. #ifndef __ITrackFileRestricted_INTERFACE_DEFINED__
  408. #define __ITrackFileRestricted_INTERFACE_DEFINED__
  409.  
  410. /****************************************
  411.  * Generated header for interface: ITrackFileRestricted
  412.  * at Thu Sep 11 18:12:06 1997
  413.  * using MIDL 3.03.0110
  414.  ****************************************/
  415. /* [version][unique][object][uuid][local] */ 
  416.  
  417.  
  418.  
  419. // Reserved flags
  420. typedef 
  421. enum _TrkMendRestrictions
  422.     {    TRK_MEND_DEFAULT    = 0,
  423.     TRK_MEND_LAST_ONLY    = 1,
  424.     TRK_MEND_DONT_USE_LOG    = 2,
  425.     TRK_MEND_DONT_USE_DC    = 4,
  426.     TRK_MEND_SEARCH_ALL_VOLUMES    = 8
  427.     }    TrkMendRestrictions;
  428.  
  429.  
  430. EXTERN_C const IID IID_ITrackFileRestricted;
  431.  
  432. #if defined(__cplusplus) && !defined(CINTERFACE)
  433.     
  434.     MIDL_INTERFACE("8790c949-a30b-11d0-8cab-00c04fd90f85")
  435.     ITrackFileRestricted : public IUnknown
  436.     {
  437.     public:
  438.         virtual HRESULT STDMETHODCALLTYPE CreateFromPath( 
  439.             /* [string][in] */ const OLECHAR __RPC_FAR *poszPath) = 0;
  440.         
  441.         virtual HRESULT STDMETHODCALLTYPE Resolve( 
  442.             /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  443.             /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  444.             /* [in] */ DWORD dwMillisecondTimeout,
  445.             /* [in] */ TrkMendRestrictions Restrictions) = 0;
  446.         
  447.         virtual HRESULT STDMETHODCALLTYPE Open( 
  448.             /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  449.             /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  450.             /* [in] */ DWORD dwMillisecondTimeout,
  451.             /* [in] */ DWORD dwDesiredAccess,
  452.             /* [in] */ DWORD dwShareMode,
  453.             /* [in] */ DWORD dwFlags,
  454.             /* [out] */ HANDLE __RPC_FAR *phFile) = 0;
  455.         
  456.     };
  457.     
  458. #else     /* C style interface */
  459.  
  460.     typedef struct ITrackFileRestrictedVtbl
  461.     {
  462.         BEGIN_INTERFACE
  463.         
  464.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  465.             ITrackFileRestricted __RPC_FAR * This,
  466.             /* [in] */ REFIID riid,
  467.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  468.         
  469.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  470.             ITrackFileRestricted __RPC_FAR * This);
  471.         
  472.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  473.             ITrackFileRestricted __RPC_FAR * This);
  474.         
  475.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateFromPath )( 
  476.             ITrackFileRestricted __RPC_FAR * This,
  477.             /* [string][in] */ const OLECHAR __RPC_FAR *poszPath);
  478.         
  479.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resolve )( 
  480.             ITrackFileRestricted __RPC_FAR * This,
  481.             /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  482.             /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  483.             /* [in] */ DWORD dwMillisecondTimeout,
  484.             /* [in] */ TrkMendRestrictions Restrictions);
  485.         
  486.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )( 
  487.             ITrackFileRestricted __RPC_FAR * This,
  488.             /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  489.             /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  490.             /* [in] */ DWORD dwMillisecondTimeout,
  491.             /* [in] */ DWORD dwDesiredAccess,
  492.             /* [in] */ DWORD dwShareMode,
  493.             /* [in] */ DWORD dwFlags,
  494.             /* [out] */ HANDLE __RPC_FAR *phFile);
  495.         
  496.         END_INTERFACE
  497.     } ITrackFileRestrictedVtbl;
  498.  
  499.     interface ITrackFileRestricted
  500.     {
  501.         CONST_VTBL struct ITrackFileRestrictedVtbl __RPC_FAR *lpVtbl;
  502.     };
  503.  
  504.     
  505.  
  506. #ifdef COBJMACROS
  507.  
  508.  
  509. #define ITrackFileRestricted_QueryInterface(This,riid,ppvObject)    \
  510.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  511.  
  512. #define ITrackFileRestricted_AddRef(This)    \
  513.     (This)->lpVtbl -> AddRef(This)
  514.  
  515. #define ITrackFileRestricted_Release(This)    \
  516.     (This)->lpVtbl -> Release(This)
  517.  
  518.  
  519. #define ITrackFileRestricted_CreateFromPath(This,poszPath)    \
  520.     (This)->lpVtbl -> CreateFromPath(This,poszPath)
  521.  
  522. #define ITrackFileRestricted_Resolve(This,pcbPath,poszPath,dwMillisecondTimeout,Restrictions)    \
  523.     (This)->lpVtbl -> Resolve(This,pcbPath,poszPath,dwMillisecondTimeout,Restrictions)
  524.  
  525. #define ITrackFileRestricted_Open(This,pcbPathHint,poszPathHint,dwMillisecondTimeout,dwDesiredAccess,dwShareMode,dwFlags,phFile)    \
  526.     (This)->lpVtbl -> Open(This,pcbPathHint,poszPathHint,dwMillisecondTimeout,dwDesiredAccess,dwShareMode,dwFlags,phFile)
  527.  
  528. #endif /* COBJMACROS */
  529.  
  530.  
  531. #endif     /* C style interface */
  532.  
  533.  
  534.  
  535. HRESULT STDMETHODCALLTYPE ITrackFileRestricted_CreateFromPath_Proxy( 
  536.     ITrackFileRestricted __RPC_FAR * This,
  537.     /* [string][in] */ const OLECHAR __RPC_FAR *poszPath);
  538.  
  539.  
  540. void __RPC_STUB ITrackFileRestricted_CreateFromPath_Stub(
  541.     IRpcStubBuffer *This,
  542.     IRpcChannelBuffer *_pRpcChannelBuffer,
  543.     PRPC_MESSAGE _pRpcMessage,
  544.     DWORD *_pdwStubPhase);
  545.  
  546.  
  547. HRESULT STDMETHODCALLTYPE ITrackFileRestricted_Resolve_Proxy( 
  548.     ITrackFileRestricted __RPC_FAR * This,
  549.     /* [out][in] */ DWORD __RPC_FAR *pcbPath,
  550.     /* [string][size_is][out] */ OLECHAR __RPC_FAR *poszPath,
  551.     /* [in] */ DWORD dwMillisecondTimeout,
  552.     /* [in] */ TrkMendRestrictions Restrictions);
  553.  
  554.  
  555. void __RPC_STUB ITrackFileRestricted_Resolve_Stub(
  556.     IRpcStubBuffer *This,
  557.     IRpcChannelBuffer *_pRpcChannelBuffer,
  558.     PRPC_MESSAGE _pRpcMessage,
  559.     DWORD *_pdwStubPhase);
  560.  
  561.  
  562. HRESULT STDMETHODCALLTYPE ITrackFileRestricted_Open_Proxy( 
  563.     ITrackFileRestricted __RPC_FAR * This,
  564.     /* [out][in] */ DWORD __RPC_FAR *pcbPathHint,
  565.     /* [string][size_is][out][in] */ OLECHAR __RPC_FAR *poszPathHint,
  566.     /* [in] */ DWORD dwMillisecondTimeout,
  567.     /* [in] */ DWORD dwDesiredAccess,
  568.     /* [in] */ DWORD dwShareMode,
  569.     /* [in] */ DWORD dwFlags,
  570.     /* [out] */ HANDLE __RPC_FAR *phFile);
  571.  
  572.  
  573. void __RPC_STUB ITrackFileRestricted_Open_Stub(
  574.     IRpcStubBuffer *This,
  575.     IRpcChannelBuffer *_pRpcChannelBuffer,
  576.     PRPC_MESSAGE _pRpcMessage,
  577.     DWORD *_pdwStubPhase);
  578.  
  579.  
  580.  
  581. #endif     /* __ITrackFileRestricted_INTERFACE_DEFINED__ */
  582.  
  583.  
  584. /* Additional Prototypes for ALL interfaces */
  585.  
  586. /* end of Additional Prototypes */
  587.  
  588. #ifdef __cplusplus
  589. }
  590. #endif
  591.  
  592. #endif
  593.