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.

467 lines
13 KiB

  1. // This is a part of the Active Template Library.
  2. // Copyright (C) 1996-2001 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  11. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  12. /* File created by MIDL compiler version 6.00.0342 */
  13. /* at Mon Feb 12 21:31:09 2001
  14. */
  15. /* Compiler settings for atliface.idl:
  16. Oicf, W1, Zp8, env=Win32 (32b run)
  17. protocol : dce , ms_ext, c_ext
  18. error checks: allocation ref bounds_check enum stub_data
  19. VC __declspec() decoration level:
  20. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  21. DECLSPEC_UUID(), MIDL_INTERFACE()
  22. */
  23. //@@MIDL_FILE_HEADING( )
  24. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  25. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  26. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  27. #endif
  28. #include "rpc.h"
  29. #include "rpcndr.h"
  30. #ifndef __RPCNDR_H_VERSION__
  31. #error this stub requires an updated version of <rpcndr.h>
  32. #endif // __RPCNDR_H_VERSION__
  33. #ifndef COM_NO_WINDOWS_H
  34. #include "windows.h"
  35. #include "ole2.h"
  36. #endif /*COM_NO_WINDOWS_H*/
  37. #ifndef __atliface_h__
  38. #define __atliface_h__
  39. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  40. #pragma once
  41. #endif
  42. /* Forward Declarations */
  43. #ifndef __IRegistrarBase_FWD_DEFINED__
  44. #define __IRegistrarBase_FWD_DEFINED__
  45. typedef interface IRegistrarBase IRegistrarBase;
  46. #endif /* __IRegistrarBase_FWD_DEFINED__ */
  47. #ifndef __IRegistrar_FWD_DEFINED__
  48. #define __IRegistrar_FWD_DEFINED__
  49. typedef interface IRegistrar IRegistrar;
  50. #endif /* __IRegistrar_FWD_DEFINED__ */
  51. #ifdef __cplusplus
  52. extern "C"{
  53. #endif
  54. #ifndef __IRegistrarBase_INTERFACE_DEFINED__
  55. #define __IRegistrarBase_INTERFACE_DEFINED__
  56. /* interface IRegistrarBase */
  57. /* [unique][helpstring][uuid][object] */
  58. #if defined(__cplusplus) && !defined(CINTERFACE)
  59. MIDL_INTERFACE("e21f8a85-b05d-4243-8183-c7cb405588f7")
  60. IRegistrarBase : public IUnknown
  61. {
  62. public:
  63. virtual HRESULT STDMETHODCALLTYPE AddReplacement(
  64. /* [in] */ LPCOLESTR key,
  65. /* [in] */ LPCOLESTR item) = 0;
  66. virtual HRESULT STDMETHODCALLTYPE ClearReplacements( void) = 0;
  67. };
  68. #else /* C style interface */
  69. typedef struct IRegistrarBaseVtbl
  70. {
  71. BEGIN_INTERFACE
  72. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  73. IRegistrarBase * This,
  74. /* [in] */ REFIID riid,
  75. /* [iid_is][out] */ void **ppvObject);
  76. ULONG ( STDMETHODCALLTYPE *AddRef )(
  77. IRegistrarBase * This);
  78. ULONG ( STDMETHODCALLTYPE *Release )(
  79. IRegistrarBase * This);
  80. HRESULT ( STDMETHODCALLTYPE *AddReplacement )(
  81. IRegistrarBase * This,
  82. /* [in] */ LPCOLESTR key,
  83. /* [in] */ LPCOLESTR item);
  84. HRESULT ( STDMETHODCALLTYPE *ClearReplacements )(
  85. IRegistrarBase * This);
  86. END_INTERFACE
  87. } IRegistrarBaseVtbl;
  88. interface IRegistrarBase
  89. {
  90. CONST_VTBL struct IRegistrarBaseVtbl *lpVtbl;
  91. };
  92. #ifdef COBJMACROS
  93. #define IRegistrarBase_QueryInterface(This,riid,ppvObject) \
  94. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  95. #define IRegistrarBase_AddRef(This) \
  96. (This)->lpVtbl -> AddRef(This)
  97. #define IRegistrarBase_Release(This) \
  98. (This)->lpVtbl -> Release(This)
  99. #define IRegistrarBase_AddReplacement(This,key,item) \
  100. (This)->lpVtbl -> AddReplacement(This,key,item)
  101. #define IRegistrarBase_ClearReplacements(This) \
  102. (This)->lpVtbl -> ClearReplacements(This)
  103. #endif /* COBJMACROS */
  104. #endif /* C style interface */
  105. HRESULT STDMETHODCALLTYPE IRegistrarBase_AddReplacement_Proxy(
  106. IRegistrarBase * This,
  107. /* [in] */ LPCOLESTR key,
  108. /* [in] */ LPCOLESTR item);
  109. void __RPC_STUB IRegistrarBase_AddReplacement_Stub(
  110. IRpcStubBuffer *This,
  111. IRpcChannelBuffer *_pRpcChannelBuffer,
  112. PRPC_MESSAGE _pRpcMessage,
  113. DWORD *_pdwStubPhase);
  114. HRESULT STDMETHODCALLTYPE IRegistrarBase_ClearReplacements_Proxy(
  115. IRegistrarBase * This);
  116. void __RPC_STUB IRegistrarBase_ClearReplacements_Stub(
  117. IRpcStubBuffer *This,
  118. IRpcChannelBuffer *_pRpcChannelBuffer,
  119. PRPC_MESSAGE _pRpcMessage,
  120. DWORD *_pdwStubPhase);
  121. #endif /* __IRegistrarBase_INTERFACE_DEFINED__ */
  122. #ifndef __IRegistrar_INTERFACE_DEFINED__
  123. #define __IRegistrar_INTERFACE_DEFINED__
  124. /* interface IRegistrar */
  125. /* [unique][helpstring][uuid][object] */
  126. #if defined(__cplusplus) && !defined(CINTERFACE)
  127. MIDL_INTERFACE("44EC053B-400F-11D0-9DCD-00A0C90391D3")
  128. IRegistrar : public IRegistrarBase
  129. {
  130. public:
  131. virtual HRESULT STDMETHODCALLTYPE ResourceRegisterSz(
  132. /* [in] */ LPCOLESTR resFileName,
  133. /* [in] */ LPCOLESTR szID,
  134. /* [in] */ LPCOLESTR szType) = 0;
  135. virtual HRESULT STDMETHODCALLTYPE ResourceUnregisterSz(
  136. /* [in] */ LPCOLESTR resFileName,
  137. /* [in] */ LPCOLESTR szID,
  138. /* [in] */ LPCOLESTR szType) = 0;
  139. virtual HRESULT STDMETHODCALLTYPE FileRegister(
  140. /* [in] */ LPCOLESTR fileName) = 0;
  141. virtual HRESULT STDMETHODCALLTYPE FileUnregister(
  142. /* [in] */ LPCOLESTR fileName) = 0;
  143. virtual HRESULT STDMETHODCALLTYPE StringRegister(
  144. /* [in] */ LPCOLESTR data) = 0;
  145. virtual HRESULT STDMETHODCALLTYPE StringUnregister(
  146. /* [in] */ LPCOLESTR data) = 0;
  147. virtual HRESULT STDMETHODCALLTYPE ResourceRegister(
  148. /* [in] */ LPCOLESTR resFileName,
  149. /* [in] */ UINT nID,
  150. /* [in] */ LPCOLESTR szType) = 0;
  151. virtual HRESULT STDMETHODCALLTYPE ResourceUnregister(
  152. /* [in] */ LPCOLESTR resFileName,
  153. /* [in] */ UINT nID,
  154. /* [in] */ LPCOLESTR szType) = 0;
  155. };
  156. #else /* C style interface */
  157. typedef struct IRegistrarVtbl
  158. {
  159. BEGIN_INTERFACE
  160. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  161. IRegistrar * This,
  162. /* [in] */ REFIID riid,
  163. /* [iid_is][out] */ void **ppvObject);
  164. ULONG ( STDMETHODCALLTYPE *AddRef )(
  165. IRegistrar * This);
  166. ULONG ( STDMETHODCALLTYPE *Release )(
  167. IRegistrar * This);
  168. HRESULT ( STDMETHODCALLTYPE *AddReplacement )(
  169. IRegistrar * This,
  170. /* [in] */ LPCOLESTR key,
  171. /* [in] */ LPCOLESTR item);
  172. HRESULT ( STDMETHODCALLTYPE *ClearReplacements )(
  173. IRegistrar * This);
  174. HRESULT ( STDMETHODCALLTYPE *ResourceRegisterSz )(
  175. IRegistrar * This,
  176. /* [in] */ LPCOLESTR resFileName,
  177. /* [in] */ LPCOLESTR szID,
  178. /* [in] */ LPCOLESTR szType);
  179. HRESULT ( STDMETHODCALLTYPE *ResourceUnregisterSz )(
  180. IRegistrar * This,
  181. /* [in] */ LPCOLESTR resFileName,
  182. /* [in] */ LPCOLESTR szID,
  183. /* [in] */ LPCOLESTR szType);
  184. HRESULT ( STDMETHODCALLTYPE *FileRegister )(
  185. IRegistrar * This,
  186. /* [in] */ LPCOLESTR fileName);
  187. HRESULT ( STDMETHODCALLTYPE *FileUnregister )(
  188. IRegistrar * This,
  189. /* [in] */ LPCOLESTR fileName);
  190. HRESULT ( STDMETHODCALLTYPE *StringRegister )(
  191. IRegistrar * This,
  192. /* [in] */ LPCOLESTR data);
  193. HRESULT ( STDMETHODCALLTYPE *StringUnregister )(
  194. IRegistrar * This,
  195. /* [in] */ LPCOLESTR data);
  196. HRESULT ( STDMETHODCALLTYPE *ResourceRegister )(
  197. IRegistrar * This,
  198. /* [in] */ LPCOLESTR resFileName,
  199. /* [in] */ UINT nID,
  200. /* [in] */ LPCOLESTR szType);
  201. HRESULT ( STDMETHODCALLTYPE *ResourceUnregister )(
  202. IRegistrar * This,
  203. /* [in] */ LPCOLESTR resFileName,
  204. /* [in] */ UINT nID,
  205. /* [in] */ LPCOLESTR szType);
  206. END_INTERFACE
  207. } IRegistrarVtbl;
  208. interface IRegistrar
  209. {
  210. CONST_VTBL struct IRegistrarVtbl *lpVtbl;
  211. };
  212. #ifdef COBJMACROS
  213. #define IRegistrar_QueryInterface(This,riid,ppvObject) \
  214. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  215. #define IRegistrar_AddRef(This) \
  216. (This)->lpVtbl -> AddRef(This)
  217. #define IRegistrar_Release(This) \
  218. (This)->lpVtbl -> Release(This)
  219. #define IRegistrar_AddReplacement(This,key,item) \
  220. (This)->lpVtbl -> AddReplacement(This,key,item)
  221. #define IRegistrar_ClearReplacements(This) \
  222. (This)->lpVtbl -> ClearReplacements(This)
  223. #define IRegistrar_ResourceRegisterSz(This,resFileName,szID,szType) \
  224. (This)->lpVtbl -> ResourceRegisterSz(This,resFileName,szID,szType)
  225. #define IRegistrar_ResourceUnregisterSz(This,resFileName,szID,szType) \
  226. (This)->lpVtbl -> ResourceUnregisterSz(This,resFileName,szID,szType)
  227. #define IRegistrar_FileRegister(This,fileName) \
  228. (This)->lpVtbl -> FileRegister(This,fileName)
  229. #define IRegistrar_FileUnregister(This,fileName) \
  230. (This)->lpVtbl -> FileUnregister(This,fileName)
  231. #define IRegistrar_StringRegister(This,data) \
  232. (This)->lpVtbl -> StringRegister(This,data)
  233. #define IRegistrar_StringUnregister(This,data) \
  234. (This)->lpVtbl -> StringUnregister(This,data)
  235. #define IRegistrar_ResourceRegister(This,resFileName,nID,szType) \
  236. (This)->lpVtbl -> ResourceRegister(This,resFileName,nID,szType)
  237. #define IRegistrar_ResourceUnregister(This,resFileName,nID,szType) \
  238. (This)->lpVtbl -> ResourceUnregister(This,resFileName,nID,szType)
  239. #endif /* COBJMACROS */
  240. #endif /* C style interface */
  241. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceRegisterSz_Proxy(
  242. IRegistrar * This,
  243. /* [in] */ LPCOLESTR resFileName,
  244. /* [in] */ LPCOLESTR szID,
  245. /* [in] */ LPCOLESTR szType);
  246. void __RPC_STUB IRegistrar_ResourceRegisterSz_Stub(
  247. IRpcStubBuffer *This,
  248. IRpcChannelBuffer *_pRpcChannelBuffer,
  249. PRPC_MESSAGE _pRpcMessage,
  250. DWORD *_pdwStubPhase);
  251. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceUnregisterSz_Proxy(
  252. IRegistrar * This,
  253. /* [in] */ LPCOLESTR resFileName,
  254. /* [in] */ LPCOLESTR szID,
  255. /* [in] */ LPCOLESTR szType);
  256. void __RPC_STUB IRegistrar_ResourceUnregisterSz_Stub(
  257. IRpcStubBuffer *This,
  258. IRpcChannelBuffer *_pRpcChannelBuffer,
  259. PRPC_MESSAGE _pRpcMessage,
  260. DWORD *_pdwStubPhase);
  261. HRESULT STDMETHODCALLTYPE IRegistrar_FileRegister_Proxy(
  262. IRegistrar * This,
  263. /* [in] */ LPCOLESTR fileName);
  264. void __RPC_STUB IRegistrar_FileRegister_Stub(
  265. IRpcStubBuffer *This,
  266. IRpcChannelBuffer *_pRpcChannelBuffer,
  267. PRPC_MESSAGE _pRpcMessage,
  268. DWORD *_pdwStubPhase);
  269. HRESULT STDMETHODCALLTYPE IRegistrar_FileUnregister_Proxy(
  270. IRegistrar * This,
  271. /* [in] */ LPCOLESTR fileName);
  272. void __RPC_STUB IRegistrar_FileUnregister_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. HRESULT STDMETHODCALLTYPE IRegistrar_StringRegister_Proxy(
  278. IRegistrar * This,
  279. /* [in] */ LPCOLESTR data);
  280. void __RPC_STUB IRegistrar_StringRegister_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. HRESULT STDMETHODCALLTYPE IRegistrar_StringUnregister_Proxy(
  286. IRegistrar * This,
  287. /* [in] */ LPCOLESTR data);
  288. void __RPC_STUB IRegistrar_StringUnregister_Stub(
  289. IRpcStubBuffer *This,
  290. IRpcChannelBuffer *_pRpcChannelBuffer,
  291. PRPC_MESSAGE _pRpcMessage,
  292. DWORD *_pdwStubPhase);
  293. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceRegister_Proxy(
  294. IRegistrar * This,
  295. /* [in] */ LPCOLESTR resFileName,
  296. /* [in] */ UINT nID,
  297. /* [in] */ LPCOLESTR szType);
  298. void __RPC_STUB IRegistrar_ResourceRegister_Stub(
  299. IRpcStubBuffer *This,
  300. IRpcChannelBuffer *_pRpcChannelBuffer,
  301. PRPC_MESSAGE _pRpcMessage,
  302. DWORD *_pdwStubPhase);
  303. HRESULT STDMETHODCALLTYPE IRegistrar_ResourceUnregister_Proxy(
  304. IRegistrar * This,
  305. /* [in] */ LPCOLESTR resFileName,
  306. /* [in] */ UINT nID,
  307. /* [in] */ LPCOLESTR szType);
  308. void __RPC_STUB IRegistrar_ResourceUnregister_Stub(
  309. IRpcStubBuffer *This,
  310. IRpcChannelBuffer *_pRpcChannelBuffer,
  311. PRPC_MESSAGE _pRpcMessage,
  312. DWORD *_pdwStubPhase);
  313. #endif /* __IRegistrar_INTERFACE_DEFINED__ */
  314. #ifdef __cplusplus
  315. }
  316. #endif
  317. #endif