home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / recent / recent.exe / Recent.h < prev    next >
C/C++ Source or Header  |  1998-04-13  |  7KB  |  238 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Mon Apr 13 19:55:03 1998
  6.  */
  7. /* Compiler settings for Recent.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __Recent_h__
  20. #define __Recent_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IChooser_FWD_DEFINED__
  29. #define __IChooser_FWD_DEFINED__
  30. typedef interface IChooser IChooser;
  31. #endif     /* __IChooser_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __Chooser_FWD_DEFINED__
  35. #define __Chooser_FWD_DEFINED__
  36.  
  37. #ifdef __cplusplus
  38. typedef class Chooser Chooser;
  39. #else
  40. typedef struct Chooser Chooser;
  41. #endif /* __cplusplus */
  42.  
  43. #endif     /* __Chooser_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49.  
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52.  
  53. #ifndef __IChooser_INTERFACE_DEFINED__
  54. #define __IChooser_INTERFACE_DEFINED__
  55.  
  56. /****************************************
  57.  * Generated header for interface: IChooser
  58.  * at Mon Apr 13 19:55:03 1998
  59.  * using MIDL 3.01.75
  60.  ****************************************/
  61. /* [unique][helpstring][dual][uuid][object] */ 
  62.  
  63.  
  64.  
  65. EXTERN_C const IID IID_IChooser;
  66.  
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68.     
  69.     interface DECLSPEC_UUID("89D32CC7-93FA-11D1-9EBC-00C0DF4A4FA9")
  70.     IChooser : public IDispatch
  71.     {
  72.     public:
  73.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE ChooseRecentFile( void) = 0;
  74.         
  75.         virtual /* [id] */ HRESULT STDMETHODCALLTYPE ChooseRecentWorkspace( void) = 0;
  76.         
  77.     };
  78.     
  79. #else     /* C style interface */
  80.  
  81.     typedef struct IChooserVtbl
  82.     {
  83.         BEGIN_INTERFACE
  84.         
  85.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  86.             IChooser __RPC_FAR * This,
  87.             /* [in] */ REFIID riid,
  88.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  89.         
  90.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  91.             IChooser __RPC_FAR * This);
  92.         
  93.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  94.             IChooser __RPC_FAR * This);
  95.         
  96.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  97.             IChooser __RPC_FAR * This,
  98.             /* [out] */ UINT __RPC_FAR *pctinfo);
  99.         
  100.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  101.             IChooser __RPC_FAR * This,
  102.             /* [in] */ UINT iTInfo,
  103.             /* [in] */ LCID lcid,
  104.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  105.         
  106.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  107.             IChooser __RPC_FAR * This,
  108.             /* [in] */ REFIID riid,
  109.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  110.             /* [in] */ UINT cNames,
  111.             /* [in] */ LCID lcid,
  112.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  113.         
  114.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  115.             IChooser __RPC_FAR * This,
  116.             /* [in] */ DISPID dispIdMember,
  117.             /* [in] */ REFIID riid,
  118.             /* [in] */ LCID lcid,
  119.             /* [in] */ WORD wFlags,
  120.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  121.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  122.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  123.             /* [out] */ UINT __RPC_FAR *puArgErr);
  124.         
  125.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChooseRecentFile )( 
  126.             IChooser __RPC_FAR * This);
  127.         
  128.         /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChooseRecentWorkspace )( 
  129.             IChooser __RPC_FAR * This);
  130.         
  131.         END_INTERFACE
  132.     } IChooserVtbl;
  133.  
  134.     interface IChooser
  135.     {
  136.         CONST_VTBL struct IChooserVtbl __RPC_FAR *lpVtbl;
  137.     };
  138.  
  139.     
  140.  
  141. #ifdef COBJMACROS
  142.  
  143.  
  144. #define IChooser_QueryInterface(This,riid,ppvObject)    \
  145.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  146.  
  147. #define IChooser_AddRef(This)    \
  148.     (This)->lpVtbl -> AddRef(This)
  149.  
  150. #define IChooser_Release(This)    \
  151.     (This)->lpVtbl -> Release(This)
  152.  
  153.  
  154. #define IChooser_GetTypeInfoCount(This,pctinfo)    \
  155.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  156.  
  157. #define IChooser_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  158.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  159.  
  160. #define IChooser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  161.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  162.  
  163. #define IChooser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  164.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  165.  
  166.  
  167. #define IChooser_ChooseRecentFile(This)    \
  168.     (This)->lpVtbl -> ChooseRecentFile(This)
  169.  
  170. #define IChooser_ChooseRecentWorkspace(This)    \
  171.     (This)->lpVtbl -> ChooseRecentWorkspace(This)
  172.  
  173. #endif /* COBJMACROS */
  174.  
  175.  
  176. #endif     /* C style interface */
  177.  
  178.  
  179.  
  180. /* [id] */ HRESULT STDMETHODCALLTYPE IChooser_ChooseRecentFile_Proxy( 
  181.     IChooser __RPC_FAR * This);
  182.  
  183.  
  184. void __RPC_STUB IChooser_ChooseRecentFile_Stub(
  185.     IRpcStubBuffer *This,
  186.     IRpcChannelBuffer *_pRpcChannelBuffer,
  187.     PRPC_MESSAGE _pRpcMessage,
  188.     DWORD *_pdwStubPhase);
  189.  
  190.  
  191. /* [id] */ HRESULT STDMETHODCALLTYPE IChooser_ChooseRecentWorkspace_Proxy( 
  192.     IChooser __RPC_FAR * This);
  193.  
  194.  
  195. void __RPC_STUB IChooser_ChooseRecentWorkspace_Stub(
  196.     IRpcStubBuffer *This,
  197.     IRpcChannelBuffer *_pRpcChannelBuffer,
  198.     PRPC_MESSAGE _pRpcMessage,
  199.     DWORD *_pdwStubPhase);
  200.  
  201.  
  202.  
  203. #endif     /* __IChooser_INTERFACE_DEFINED__ */
  204.  
  205.  
  206.  
  207. #ifndef __Recent_LIBRARY_DEFINED__
  208. #define __Recent_LIBRARY_DEFINED__
  209.  
  210. /****************************************
  211.  * Generated header for library: Recent
  212.  * at Mon Apr 13 19:55:03 1998
  213.  * using MIDL 3.01.75
  214.  ****************************************/
  215. /* [helpstring][version][uuid] */ 
  216.  
  217.  
  218.  
  219. EXTERN_C const IID LIBID_Recent;
  220.  
  221. #ifdef __cplusplus
  222. EXTERN_C const CLSID CLSID_Chooser;
  223.  
  224. class DECLSPEC_UUID("89D32CC8-93FA-11D1-9EBC-00C0DF4A4FA9")
  225. Chooser;
  226. #endif
  227. #endif /* __Recent_LIBRARY_DEFINED__ */
  228.  
  229. /* Additional Prototypes for ALL interfaces */
  230.  
  231. /* end of Additional Prototypes */
  232.  
  233. #ifdef __cplusplus
  234. }
  235. #endif
  236.  
  237. #endif
  238.