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.

364 lines
9.5 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 vervec.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 __vervec_h__
  27. #define __vervec_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IVersionVector_FWD_DEFINED__
  33. #define __IVersionVector_FWD_DEFINED__
  34. typedef interface IVersionVector IVersionVector;
  35. #endif /* __IVersionVector_FWD_DEFINED__ */
  36. #ifndef __IVersionHost_FWD_DEFINED__
  37. #define __IVersionHost_FWD_DEFINED__
  38. typedef interface IVersionHost IVersionHost;
  39. #endif /* __IVersionHost_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "objidl.h"
  42. #include "oleidl.h"
  43. #ifdef __cplusplus
  44. extern "C"{
  45. #endif
  46. void * __RPC_USER MIDL_user_allocate(size_t);
  47. void __RPC_USER MIDL_user_free( void * );
  48. /* interface __MIDL_itf_vervec_0000 */
  49. /* [local] */
  50. //=--------------------------------------------------------------------------=
  51. // version.h
  52. //=--------------------------------------------------------------------------=
  53. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  54. //
  55. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  56. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  57. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  58. // PARTICULAR PURPOSE.
  59. //=--------------------------------------------------------------------------=
  60. #pragma comment(lib,"uuid.lib")
  61. //---------------------------------------------------------------------------=
  62. // IVersionVector Interface.
  63. #ifndef _LPVERSION_DEFINED
  64. #define _LPVERSION_DEFINED
  65. extern RPC_IF_HANDLE __MIDL_itf_vervec_0000_v0_0_c_ifspec;
  66. extern RPC_IF_HANDLE __MIDL_itf_vervec_0000_v0_0_s_ifspec;
  67. #ifndef __IVersionVector_INTERFACE_DEFINED__
  68. #define __IVersionVector_INTERFACE_DEFINED__
  69. /* interface IVersionVector */
  70. /* [unique][uuid][object] */
  71. typedef /* [unique] */ IVersionVector *LPVERSION;
  72. EXTERN_C const IID IID_IVersionVector;
  73. #if defined(__cplusplus) && !defined(CINTERFACE)
  74. MIDL_INTERFACE("4eb01410-db1a-11d1-ba53-00c04fc2040e")
  75. IVersionVector : public IUnknown
  76. {
  77. public:
  78. virtual HRESULT STDMETHODCALLTYPE SetVersion(
  79. /* [in] */ const OLECHAR *pchComponent,
  80. /* [in] */ const OLECHAR *pchVersion) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  82. /* [in] */ const OLECHAR *pchComponent,
  83. /* [out] */ OLECHAR *pchVersion,
  84. /* [out][in] */ ULONG *pcchVersion) = 0;
  85. };
  86. #else /* C style interface */
  87. typedef struct IVersionVectorVtbl
  88. {
  89. BEGIN_INTERFACE
  90. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  91. IVersionVector * This,
  92. /* [in] */ REFIID riid,
  93. /* [iid_is][out] */ void **ppvObject);
  94. ULONG ( STDMETHODCALLTYPE *AddRef )(
  95. IVersionVector * This);
  96. ULONG ( STDMETHODCALLTYPE *Release )(
  97. IVersionVector * This);
  98. HRESULT ( STDMETHODCALLTYPE *SetVersion )(
  99. IVersionVector * This,
  100. /* [in] */ const OLECHAR *pchComponent,
  101. /* [in] */ const OLECHAR *pchVersion);
  102. HRESULT ( STDMETHODCALLTYPE *GetVersion )(
  103. IVersionVector * This,
  104. /* [in] */ const OLECHAR *pchComponent,
  105. /* [out] */ OLECHAR *pchVersion,
  106. /* [out][in] */ ULONG *pcchVersion);
  107. END_INTERFACE
  108. } IVersionVectorVtbl;
  109. interface IVersionVector
  110. {
  111. CONST_VTBL struct IVersionVectorVtbl *lpVtbl;
  112. };
  113. #ifdef COBJMACROS
  114. #define IVersionVector_QueryInterface(This,riid,ppvObject) \
  115. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  116. #define IVersionVector_AddRef(This) \
  117. (This)->lpVtbl -> AddRef(This)
  118. #define IVersionVector_Release(This) \
  119. (This)->lpVtbl -> Release(This)
  120. #define IVersionVector_SetVersion(This,pchComponent,pchVersion) \
  121. (This)->lpVtbl -> SetVersion(This,pchComponent,pchVersion)
  122. #define IVersionVector_GetVersion(This,pchComponent,pchVersion,pcchVersion) \
  123. (This)->lpVtbl -> GetVersion(This,pchComponent,pchVersion,pcchVersion)
  124. #endif /* COBJMACROS */
  125. #endif /* C style interface */
  126. HRESULT STDMETHODCALLTYPE IVersionVector_SetVersion_Proxy(
  127. IVersionVector * This,
  128. /* [in] */ const OLECHAR *pchComponent,
  129. /* [in] */ const OLECHAR *pchVersion);
  130. void __RPC_STUB IVersionVector_SetVersion_Stub(
  131. IRpcStubBuffer *This,
  132. IRpcChannelBuffer *_pRpcChannelBuffer,
  133. PRPC_MESSAGE _pRpcMessage,
  134. DWORD *_pdwStubPhase);
  135. HRESULT STDMETHODCALLTYPE IVersionVector_GetVersion_Proxy(
  136. IVersionVector * This,
  137. /* [in] */ const OLECHAR *pchComponent,
  138. /* [out] */ OLECHAR *pchVersion,
  139. /* [out][in] */ ULONG *pcchVersion);
  140. void __RPC_STUB IVersionVector_GetVersion_Stub(
  141. IRpcStubBuffer *This,
  142. IRpcChannelBuffer *_pRpcChannelBuffer,
  143. PRPC_MESSAGE _pRpcMessage,
  144. DWORD *_pdwStubPhase);
  145. #endif /* __IVersionVector_INTERFACE_DEFINED__ */
  146. /* interface __MIDL_itf_vervec_0118 */
  147. /* [local] */
  148. #endif
  149. EXTERN_C const GUID SID_SVersionHost;
  150. #ifndef _LPVERSIONHOST_DEFINED
  151. #define _LPVERSIONHOST_DEFINED
  152. extern RPC_IF_HANDLE __MIDL_itf_vervec_0118_v0_0_c_ifspec;
  153. extern RPC_IF_HANDLE __MIDL_itf_vervec_0118_v0_0_s_ifspec;
  154. #ifndef __IVersionHost_INTERFACE_DEFINED__
  155. #define __IVersionHost_INTERFACE_DEFINED__
  156. /* interface IVersionHost */
  157. /* [unique][uuid][object] */
  158. typedef /* [unique] */ IVersionHost *LPVERSIONHOST;
  159. EXTERN_C const IID IID_IVersionHost;
  160. #if defined(__cplusplus) && !defined(CINTERFACE)
  161. MIDL_INTERFACE("667115ac-dc02-11d1-ba57-00c04fc2040e")
  162. IVersionHost : public IUnknown
  163. {
  164. public:
  165. virtual HRESULT STDMETHODCALLTYPE QueryUseLocalVersionVector(
  166. /* [out] */ BOOL *fUseLocal) = 0;
  167. virtual HRESULT STDMETHODCALLTYPE QueryVersionVector(
  168. /* [in] */ IVersionVector *pVersion) = 0;
  169. };
  170. #else /* C style interface */
  171. typedef struct IVersionHostVtbl
  172. {
  173. BEGIN_INTERFACE
  174. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  175. IVersionHost * This,
  176. /* [in] */ REFIID riid,
  177. /* [iid_is][out] */ void **ppvObject);
  178. ULONG ( STDMETHODCALLTYPE *AddRef )(
  179. IVersionHost * This);
  180. ULONG ( STDMETHODCALLTYPE *Release )(
  181. IVersionHost * This);
  182. HRESULT ( STDMETHODCALLTYPE *QueryUseLocalVersionVector )(
  183. IVersionHost * This,
  184. /* [out] */ BOOL *fUseLocal);
  185. HRESULT ( STDMETHODCALLTYPE *QueryVersionVector )(
  186. IVersionHost * This,
  187. /* [in] */ IVersionVector *pVersion);
  188. END_INTERFACE
  189. } IVersionHostVtbl;
  190. interface IVersionHost
  191. {
  192. CONST_VTBL struct IVersionHostVtbl *lpVtbl;
  193. };
  194. #ifdef COBJMACROS
  195. #define IVersionHost_QueryInterface(This,riid,ppvObject) \
  196. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  197. #define IVersionHost_AddRef(This) \
  198. (This)->lpVtbl -> AddRef(This)
  199. #define IVersionHost_Release(This) \
  200. (This)->lpVtbl -> Release(This)
  201. #define IVersionHost_QueryUseLocalVersionVector(This,fUseLocal) \
  202. (This)->lpVtbl -> QueryUseLocalVersionVector(This,fUseLocal)
  203. #define IVersionHost_QueryVersionVector(This,pVersion) \
  204. (This)->lpVtbl -> QueryVersionVector(This,pVersion)
  205. #endif /* COBJMACROS */
  206. #endif /* C style interface */
  207. HRESULT STDMETHODCALLTYPE IVersionHost_QueryUseLocalVersionVector_Proxy(
  208. IVersionHost * This,
  209. /* [out] */ BOOL *fUseLocal);
  210. void __RPC_STUB IVersionHost_QueryUseLocalVersionVector_Stub(
  211. IRpcStubBuffer *This,
  212. IRpcChannelBuffer *_pRpcChannelBuffer,
  213. PRPC_MESSAGE _pRpcMessage,
  214. DWORD *_pdwStubPhase);
  215. HRESULT STDMETHODCALLTYPE IVersionHost_QueryVersionVector_Proxy(
  216. IVersionHost * This,
  217. /* [in] */ IVersionVector *pVersion);
  218. void __RPC_STUB IVersionHost_QueryVersionVector_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. #endif /* __IVersionHost_INTERFACE_DEFINED__ */
  224. /* interface __MIDL_itf_vervec_0119 */
  225. /* [local] */
  226. #endif
  227. extern RPC_IF_HANDLE __MIDL_itf_vervec_0119_v0_0_c_ifspec;
  228. extern RPC_IF_HANDLE __MIDL_itf_vervec_0119_v0_0_s_ifspec;
  229. /* Additional Prototypes for ALL interfaces */
  230. /* end of Additional Prototypes */
  231. #ifdef __cplusplus
  232. }
  233. #endif
  234. #endif