home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / mimeinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  5.3 KB  |  197 lines

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