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