Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

203 lines
5.1 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for mimeinfo.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __mimeinfo_h__
  27. #define __mimeinfo_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IMimeInfo_FWD_DEFINED__
  33. #define __IMimeInfo_FWD_DEFINED__
  34. typedef interface IMimeInfo IMimeInfo;
  35. #endif /* __IMimeInfo_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "objidl.h"
  38. #ifdef __cplusplus
  39. extern "C"{
  40. #endif
  41. void * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void * );
  43. /* interface __MIDL_itf_mimeinfo_0000 */
  44. /* [local] */
  45. //=--------------------------------------------------------------------------=
  46. // MimeInfo.h
  47. //=--------------------------------------------------------------------------=
  48. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  49. //
  50. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  51. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  52. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  53. // PARTICULAR PURPOSE.
  54. //=--------------------------------------------------------------------------=
  55. #pragma comment(lib,"uuid.lib")
  56. //--------------------------------------------------------------------------
  57. // IMimeInfo Interfaces.
  58. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0000_v0_0_s_ifspec;
  60. #ifndef __IMimeInfo_INTERFACE_DEFINED__
  61. #define __IMimeInfo_INTERFACE_DEFINED__
  62. /* interface IMimeInfo */
  63. /* [unique][uuid][object][local] */
  64. typedef /* [unique] */ IMimeInfo *LPMIMEINFO;
  65. EXTERN_C const IID IID_IMimeInfo;
  66. #if defined(__cplusplus) && !defined(CINTERFACE)
  67. MIDL_INTERFACE("F77459A0-BF9A-11cf-BA4E-00C04FD70816")
  68. IMimeInfo : public IUnknown
  69. {
  70. public:
  71. virtual HRESULT STDMETHODCALLTYPE GetMimeCLSIDMapping(
  72. /* [out] */ UINT *pcTypes,
  73. /* [out] */ LPCSTR **ppszTypes,
  74. /* [out] */ CLSID **ppclsID) = 0;
  75. };
  76. #else /* C style interface */
  77. typedef struct IMimeInfoVtbl
  78. {
  79. BEGIN_INTERFACE
  80. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  81. IMimeInfo * This,
  82. /* [in] */ REFIID riid,
  83. /* [iid_is][out] */ void **ppvObject);
  84. ULONG ( STDMETHODCALLTYPE *AddRef )(
  85. IMimeInfo * This);
  86. ULONG ( STDMETHODCALLTYPE *Release )(
  87. IMimeInfo * This);
  88. HRESULT ( STDMETHODCALLTYPE *GetMimeCLSIDMapping )(
  89. IMimeInfo * This,
  90. /* [out] */ UINT *pcTypes,
  91. /* [out] */ LPCSTR **ppszTypes,
  92. /* [out] */ CLSID **ppclsID);
  93. END_INTERFACE
  94. } IMimeInfoVtbl;
  95. interface IMimeInfo
  96. {
  97. CONST_VTBL struct IMimeInfoVtbl *lpVtbl;
  98. };
  99. #ifdef COBJMACROS
  100. #define IMimeInfo_QueryInterface(This,riid,ppvObject) \
  101. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  102. #define IMimeInfo_AddRef(This) \
  103. (This)->lpVtbl -> AddRef(This)
  104. #define IMimeInfo_Release(This) \
  105. (This)->lpVtbl -> Release(This)
  106. #define IMimeInfo_GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID) \
  107. (This)->lpVtbl -> GetMimeCLSIDMapping(This,pcTypes,ppszTypes,ppclsID)
  108. #endif /* COBJMACROS */
  109. #endif /* C style interface */
  110. HRESULT STDMETHODCALLTYPE IMimeInfo_GetMimeCLSIDMapping_Proxy(
  111. IMimeInfo * This,
  112. /* [out] */ UINT *pcTypes,
  113. /* [out] */ LPCSTR **ppszTypes,
  114. /* [out] */ CLSID **ppclsID);
  115. void __RPC_STUB IMimeInfo_GetMimeCLSIDMapping_Stub(
  116. IRpcStubBuffer *This,
  117. IRpcChannelBuffer *_pRpcChannelBuffer,
  118. PRPC_MESSAGE _pRpcMessage,
  119. DWORD *_pdwStubPhase);
  120. #endif /* __IMimeInfo_INTERFACE_DEFINED__ */
  121. /* interface __MIDL_itf_mimeinfo_0093 */
  122. /* [local] */
  123. #define SID_IMimeInfo IID_IMimeInfo
  124. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0093_v0_0_c_ifspec;
  125. extern RPC_IF_HANDLE __MIDL_itf_mimeinfo_0093_v0_0_s_ifspec;
  126. /* Additional Prototypes for ALL interfaces */
  127. /* end of Additional Prototypes */
  128. #ifdef __cplusplus
  129. }
  130. #endif
  131. #endif