home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / MIMEINFO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  5.6 KB  |  209 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.03.0110 */
  6. /* at Thu Sep 11 10:59:24 1997
  7.  */
  8. /* Compiler settings for mimeinfo.idl:
  9.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13.  
  14.  
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  18. #endif
  19.  
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22.  
  23. #ifndef __RPCNDR_H_VERSION__
  24. #error this stub requires an updated version of <rpcndr.h>
  25. #endif // __RPCNDR_H_VERSION__
  26.  
  27. #ifndef COM_NO_WINDOWS_H
  28. #include "windows.h"
  29. #include "ole2.h"
  30. #endif /*COM_NO_WINDOWS_H*/
  31.  
  32. #ifndef __mimeinfo_h__
  33. #define __mimeinfo_h__
  34.  
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif 
  38.  
  39. /* Forward Declarations */ 
  40.  
  41. #ifndef __IMimeInfo_FWD_DEFINED__
  42. #define __IMimeInfo_FWD_DEFINED__
  43. typedef interface IMimeInfo IMimeInfo;
  44. #endif     /* __IMimeInfo_FWD_DEFINED__ */
  45.  
  46.  
  47. /* header files for imported files */
  48. #include "objidl.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. /****************************************
  54.  * Generated header for interface: __MIDL_itf_mimeinfo_0000
  55.  * at Thu Sep 11 10:59:24 1997
  56.  * using MIDL 3.03.0110
  57.  ****************************************/
  58. /* [local] */ 
  59.  
  60.  
  61. //=--------------------------------------------------------------------------=
  62. // MimeInfo.h
  63. //=--------------------------------------------------------------------------=
  64. // (C) Copyright 1995 - 1998 Microsoft Corporation.  All Rights Reserved.
  65. //
  66. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  67. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  68. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  69. // PARTICULAR PURPOSE.
  70. //=--------------------------------------------------------------------------=
  71.  
  72. #pragma comment(lib,"uuid.lib")
  73.  
  74. //--------------------------------------------------------------------------
  75. // IMimeInfo Interfaces.
  76.  
  77.  
  78.  
  79. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0000_v0_0_c_ifspec;
  80. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0000_v0_0_s_ifspec;
  81.  
  82. #ifndef __IMimeInfo_INTERFACE_DEFINED__
  83. #define __IMimeInfo_INTERFACE_DEFINED__
  84.  
  85. /****************************************
  86.  * Generated header for interface: IMimeInfo
  87.  * at Thu Sep 11 10:59:24 1997
  88.  * using MIDL 3.03.0110
  89.  ****************************************/
  90. /* [unique][uuid][object][local] */ 
  91.  
  92.  
  93. typedef /* [unique] */ IMimeInfo __RPC_FAR *LPMIMEINFO;
  94.  
  95.  
  96. EXTERN_C const IID IID_IMimeInfo;
  97.  
  98. #if defined(__cplusplus) && !defined(CINTERFACE)
  99.     
  100.     MIDL_INTERFACE("F77459A0-BF9A-11cf-BA4E-00C04FD70816")
  101.     IMimeInfo : public IUnknown
  102.     {
  103.     public:
  104.         virtual HRESULT STDMETHODCALLTYPE GetMimeCLSIDMapping( 
  105.             /* [out] */ UINT __RPC_FAR *pcTypes,
  106.             /* [out] */ LPCSTR __RPC_FAR *__RPC_FAR *ppszTypes,
  107.             /* [out] */ CLSID __RPC_FAR *__RPC_FAR *ppclsID) = 0;
  108.         
  109.     };
  110.     
  111. #else     /* C style interface */
  112.  
  113.     typedef struct IMimeInfoVtbl
  114.     {
  115.         BEGIN_INTERFACE
  116.         
  117.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  118.             IMimeInfo __RPC_FAR * This,
  119.             /* [in] */ REFIID riid,
  120.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  121.         
  122.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  123.             IMimeInfo __RPC_FAR * This);
  124.         
  125.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  126.             IMimeInfo __RPC_FAR * This);
  127.         
  128.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMimeCLSIDMapping )( 
  129.             IMimeInfo __RPC_FAR * This,
  130.             /* [out] */ UINT __RPC_FAR *pcTypes,
  131.             /* [out] */ LPCSTR __RPC_FAR *__RPC_FAR *ppszTypes,
  132.             /* [out] */ CLSID __RPC_FAR *__RPC_FAR *ppclsID);
  133.         
  134.         END_INTERFACE
  135.     } IMimeInfoVtbl;
  136.  
  137.     interface IMimeInfo
  138.     {
  139.         CONST_VTBL struct IMimeInfoVtbl __RPC_FAR *lpVtbl;
  140.     };
  141.  
  142.     
  143.  
  144. #ifdef COBJMACROS
  145.  
  146.  
  147. #define IMimeInfo_QueryInterface(This,riid,ppvObject)    \
  148.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  149.  
  150. #define IMimeInfo_AddRef(This)    \
  151.     (This)->lpVtbl -> AddRef(This)
  152.  
  153. #define IMimeInfo_Release(This)    \
  154.     (This)->lpVtbl -> Release(This)
  155.  
  156.  
  157. #define IMimeInfo_GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID)    \
  158.     (This)->lpVtbl -> GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID)
  159.  
  160. #endif /* COBJMACROS */
  161.  
  162.  
  163. #endif     /* C style interface */
  164.  
  165.  
  166.  
  167. HRESULT STDMETHODCALLTYPE IMimeInfo_GetMimeCLSIDMapping_Proxy( 
  168.     IMimeInfo __RPC_FAR * This,
  169.     /* [out] */ UINT __RPC_FAR *pcTypes,
  170.     /* [out] */ LPCSTR __RPC_FAR *__RPC_FAR *ppszTypes,
  171.     /* [out] */ CLSID __RPC_FAR *__RPC_FAR *ppclsID);
  172.  
  173.  
  174. void __RPC_STUB IMimeInfo_GetMimeCLSIDMapping_Stub(
  175.     IRpcStubBuffer *This,
  176.     IRpcChannelBuffer *_pRpcChannelBuffer,
  177.     PRPC_MESSAGE _pRpcMessage,
  178.     DWORD *_pdwStubPhase);
  179.  
  180.  
  181.  
  182. #endif     /* __IMimeInfo_INTERFACE_DEFINED__ */
  183.  
  184.  
  185. /****************************************
  186.  * Generated header for interface: __MIDL_itf_mimeinfo_0074
  187.  * at Thu Sep 11 10:59:24 1997
  188.  * using MIDL 3.03.0110
  189.  ****************************************/
  190. /* [local] */ 
  191.  
  192.  
  193. #define SID_IMimeInfo IID_IMimeInfo
  194.  
  195.  
  196. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0074_v0_0_c_ifspec;
  197. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0074_v0_0_s_ifspec;
  198.  
  199. /* Additional Prototypes for ALL interfaces */
  200.  
  201. /* end of Additional Prototypes */
  202.  
  203. #ifdef __cplusplus
  204. }
  205. #endif
  206.  
  207. #endif
  208. #pragma option pop /*P_O_Pop*/
  209.