home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / mimeinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  5.4 KB  |  202 lines

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