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.

1031 lines
32 KiB

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. comcat.h
  5. --*/
  6. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  7. /* File created by MIDL compiler version 3.00.44 */
  8. /* at Wed Jun 26 18:29:20 1996
  9. */
  10. /* Compiler settings for comcat.idl:
  11. Oi (OptLev=i0), W1, Zp8, env=Win32, ms_ext, c_ext
  12. error checks: none
  13. */
  14. //@@MIDL_FILE_HEADING( )
  15. #include "rpc.h"
  16. #include "rpcndr.h"
  17. #ifndef COM_NO_WINDOWS_H
  18. #include "windows.h"
  19. #include "ole2.h"
  20. #endif /*COM_NO_WINDOWS_H*/
  21. #ifndef __comcat_h__
  22. #define __comcat_h__
  23. #ifdef __cplusplus
  24. extern "C"{
  25. #endif
  26. /* Forward Declarations */
  27. #ifndef __IEnumGUID_FWD_DEFINED__
  28. #define __IEnumGUID_FWD_DEFINED__
  29. typedef interface IEnumGUID IEnumGUID;
  30. #endif /* __IEnumGUID_FWD_DEFINED__ */
  31. #ifndef __IEnumCATEGORYINFO_FWD_DEFINED__
  32. #define __IEnumCATEGORYINFO_FWD_DEFINED__
  33. typedef interface IEnumCATEGORYINFO IEnumCATEGORYINFO;
  34. #endif /* __IEnumCATEGORYINFO_FWD_DEFINED__ */
  35. #ifndef __ICatRegister_FWD_DEFINED__
  36. #define __ICatRegister_FWD_DEFINED__
  37. typedef interface ICatRegister ICatRegister;
  38. #endif /* __ICatRegister_FWD_DEFINED__ */
  39. #ifndef __ICatInformation_FWD_DEFINED__
  40. #define __ICatInformation_FWD_DEFINED__
  41. typedef interface ICatInformation ICatInformation;
  42. #endif /* __ICatInformation_FWD_DEFINED__ */
  43. /* header files for imported files */
  44. #include "unknwn.h"
  45. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  47. /****************************************
  48. * Generated header for interface: __MIDL__intf_0000
  49. * at Wed Jun 26 18:29:20 1996
  50. * using MIDL 3.00.44
  51. ****************************************/
  52. /* [local] */
  53. //=--------------------------------------------------------------------------=
  54. // ComCat.h
  55. //=--------------------------------------------------------------------------=
  56. // (C) Copyright 1995-1996 Microsoft Corporation. All Rights Reserved.
  57. //
  58. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  59. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  60. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  61. // PARTICULAR PURPOSE.
  62. //=--------------------------------------------------------------------------=
  63. #pragma comment(lib,"uuid.lib")
  64. //=--------------------------------------------------------------------------=
  65. // OLE Componet Categories Interfaces.
  66. //=--------------------------------------------------------------------------=
  67. //
  68. EXTERN_C const CLSID CLSID_StdComponentCategoriesMgr;
  69. ////////////////////////////////////////////////////////////////////////////
  70. // Types
  71. typedef GUID CATID;
  72. typedef REFGUID REFCATID;
  73. #define IID_IEnumCLSID IID_IEnumGUID
  74. #define IEnumCLSID IEnumGUID
  75. #define LPENUMCLSID LPENUMGUID
  76. #define CATID_NULL GUID_NULL
  77. #define IsEqualCATID(rcatid1, rcatid2) IsEqualGUID(rcatid1, rcatid2)
  78. #define IID_IEnumCATID IID_IEnumGUID
  79. #define IEnumCATID IEnumGUID
  80. ////////////////////////////////////////////////////////////////////////////
  81. // Category IDs (link to uuid3.lib)
  82. EXTERN_C const CATID CATID_Insertable;
  83. EXTERN_C const CATID CATID_Control;
  84. EXTERN_C const CATID CATID_Programmable;
  85. EXTERN_C const CATID CATID_IsShortcut;
  86. EXTERN_C const CATID CATID_NeverShowExt;
  87. EXTERN_C const CATID CATID_DocObject;
  88. EXTERN_C const CATID CATID_Printable;
  89. EXTERN_C const CATID CATID_RequiresDataPathHost;
  90. EXTERN_C const CATID CATID_PersistsToMoniker;
  91. EXTERN_C const CATID CATID_PersistsToStorage;
  92. EXTERN_C const CATID CATID_PersistsToStreamInit;
  93. EXTERN_C const CATID CATID_PersistsToStream;
  94. EXTERN_C const CATID CATID_PersistsToMemory;
  95. EXTERN_C const CATID CATID_PersistsToFile;
  96. EXTERN_C const CATID CATID_PersistsToPropertyBag;
  97. EXTERN_C const CATID CATID_InternetAware;
  98. ////////////////////////////////////////////////////////////////////////////
  99. // Interface Definitions
  100. #ifndef _LPENUMGUID_DEFINED
  101. #define _LPENUMGUID_DEFINED
  102. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  103. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  104. #ifndef __IEnumGUID_INTERFACE_DEFINED__
  105. #define __IEnumGUID_INTERFACE_DEFINED__
  106. /****************************************
  107. * Generated header for interface: IEnumGUID
  108. * at Wed Jun 26 18:29:20 1996
  109. * using MIDL 3.00.44
  110. ****************************************/
  111. /* [unique][uuid][object] */
  112. typedef /* [unique] */ IEnumGUID __RPC_FAR *LPENUMGUID;
  113. EXTERN_C const IID IID_IEnumGUID;
  114. #if defined(__cplusplus) && !defined(CINTERFACE)
  115. interface IEnumGUID : public IUnknown
  116. {
  117. public:
  118. virtual HRESULT STDMETHODCALLTYPE Next(
  119. /* [in] */ ULONG celt,
  120. /* [length_is][size_is][out] */ GUID __RPC_FAR *rgelt,
  121. /* [out] */ ULONG __RPC_FAR *pceltFetched) = 0;
  122. virtual HRESULT STDMETHODCALLTYPE Skip(
  123. /* [in] */ ULONG celt) = 0;
  124. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  125. virtual HRESULT STDMETHODCALLTYPE Clone(
  126. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenum) = 0;
  127. };
  128. #else /* C style interface */
  129. typedef struct IEnumGUIDVtbl
  130. {
  131. BEGIN_INTERFACE
  132. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  133. IEnumGUID __RPC_FAR * This,
  134. /* [in] */ REFIID riid,
  135. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  136. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  137. IEnumGUID __RPC_FAR * This);
  138. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  139. IEnumGUID __RPC_FAR * This);
  140. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  141. IEnumGUID __RPC_FAR * This,
  142. /* [in] */ ULONG celt,
  143. /* [length_is][size_is][out] */ GUID __RPC_FAR *rgelt,
  144. /* [out] */ ULONG __RPC_FAR *pceltFetched);
  145. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
  146. IEnumGUID __RPC_FAR * This,
  147. /* [in] */ ULONG celt);
  148. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  149. IEnumGUID __RPC_FAR * This);
  150. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  151. IEnumGUID __RPC_FAR * This,
  152. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenum);
  153. END_INTERFACE
  154. } IEnumGUIDVtbl;
  155. interface IEnumGUID
  156. {
  157. CONST_VTBL struct IEnumGUIDVtbl __RPC_FAR *lpVtbl;
  158. };
  159. #ifdef COBJMACROS
  160. #define IEnumGUID_QueryInterface(This,riid,ppvObject) \
  161. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  162. #define IEnumGUID_AddRef(This) \
  163. (This)->lpVtbl -> AddRef(This)
  164. #define IEnumGUID_Release(This) \
  165. (This)->lpVtbl -> Release(This)
  166. #define IEnumGUID_Next(This,celt,rgelt,pceltFetched) \
  167. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  168. #define IEnumGUID_Skip(This,celt) \
  169. (This)->lpVtbl -> Skip(This,celt)
  170. #define IEnumGUID_Reset(This) \
  171. (This)->lpVtbl -> Reset(This)
  172. #define IEnumGUID_Clone(This,ppenum) \
  173. (This)->lpVtbl -> Clone(This,ppenum)
  174. #endif /* COBJMACROS */
  175. #endif /* C style interface */
  176. HRESULT STDMETHODCALLTYPE IEnumGUID_Next_Proxy(
  177. IEnumGUID __RPC_FAR * This,
  178. /* [in] */ ULONG celt,
  179. /* [length_is][size_is][out] */ GUID __RPC_FAR *rgelt,
  180. /* [out] */ ULONG __RPC_FAR *pceltFetched);
  181. void __RPC_STUB IEnumGUID_Next_Stub(
  182. IRpcStubBuffer *This,
  183. IRpcChannelBuffer *_pRpcChannelBuffer,
  184. PRPC_MESSAGE _pRpcMessage,
  185. DWORD *_pdwStubPhase);
  186. HRESULT STDMETHODCALLTYPE IEnumGUID_Skip_Proxy(
  187. IEnumGUID __RPC_FAR * This,
  188. /* [in] */ ULONG celt);
  189. void __RPC_STUB IEnumGUID_Skip_Stub(
  190. IRpcStubBuffer *This,
  191. IRpcChannelBuffer *_pRpcChannelBuffer,
  192. PRPC_MESSAGE _pRpcMessage,
  193. DWORD *_pdwStubPhase);
  194. HRESULT STDMETHODCALLTYPE IEnumGUID_Reset_Proxy(
  195. IEnumGUID __RPC_FAR * This);
  196. void __RPC_STUB IEnumGUID_Reset_Stub(
  197. IRpcStubBuffer *This,
  198. IRpcChannelBuffer *_pRpcChannelBuffer,
  199. PRPC_MESSAGE _pRpcMessage,
  200. DWORD *_pdwStubPhase);
  201. HRESULT STDMETHODCALLTYPE IEnumGUID_Clone_Proxy(
  202. IEnumGUID __RPC_FAR * This,
  203. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenum);
  204. void __RPC_STUB IEnumGUID_Clone_Stub(
  205. IRpcStubBuffer *This,
  206. IRpcChannelBuffer *_pRpcChannelBuffer,
  207. PRPC_MESSAGE _pRpcMessage,
  208. DWORD *_pdwStubPhase);
  209. #endif /* __IEnumGUID_INTERFACE_DEFINED__ */
  210. /****************************************
  211. * Generated header for interface: __MIDL__intf_0006
  212. * at Wed Jun 26 18:29:20 1996
  213. * using MIDL 3.00.44
  214. ****************************************/
  215. /* [local] */
  216. #endif
  217. #ifndef _LPENUMCATEGORYINFO_DEFINED
  218. #define _LPENUMCATEGORYINFO_DEFINED
  219. extern RPC_IF_HANDLE __MIDL__intf_0006_v0_0_c_ifspec;
  220. extern RPC_IF_HANDLE __MIDL__intf_0006_v0_0_s_ifspec;
  221. #ifndef __IEnumCATEGORYINFO_INTERFACE_DEFINED__
  222. #define __IEnumCATEGORYINFO_INTERFACE_DEFINED__
  223. /****************************************
  224. * Generated header for interface: IEnumCATEGORYINFO
  225. * at Wed Jun 26 18:29:20 1996
  226. * using MIDL 3.00.44
  227. ****************************************/
  228. /* [unique][uuid][object] */
  229. typedef /* [unique] */ IEnumCATEGORYINFO __RPC_FAR *LPENUNCATEGORYINFO;
  230. typedef struct tagCATEGORYINFO
  231. {
  232. CATID catid;
  233. LCID lcid;
  234. OLECHAR szDescription[ 128 ];
  235. } CATEGORYINFO;
  236. typedef struct tagCATEGORYINFO __RPC_FAR *LPCATEGORYINFO;
  237. EXTERN_C const IID IID_IEnumCATEGORYINFO;
  238. #if defined(__cplusplus) && !defined(CINTERFACE)
  239. interface IEnumCATEGORYINFO : public IUnknown
  240. {
  241. public:
  242. virtual HRESULT STDMETHODCALLTYPE Next(
  243. /* [in] */ ULONG celt,
  244. /* [length_is][size_is][out] */ CATEGORYINFO __RPC_FAR *rgelt,
  245. /* [out] */ ULONG __RPC_FAR *pceltFetched) = 0;
  246. virtual HRESULT STDMETHODCALLTYPE Skip(
  247. /* [in] */ ULONG celt) = 0;
  248. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  249. virtual HRESULT STDMETHODCALLTYPE Clone(
  250. /* [out] */ IEnumCATEGORYINFO __RPC_FAR *__RPC_FAR *ppenum) = 0;
  251. };
  252. #else /* C style interface */
  253. typedef struct IEnumCATEGORYINFOVtbl
  254. {
  255. BEGIN_INTERFACE
  256. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  257. IEnumCATEGORYINFO __RPC_FAR * This,
  258. /* [in] */ REFIID riid,
  259. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  260. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  261. IEnumCATEGORYINFO __RPC_FAR * This);
  262. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  263. IEnumCATEGORYINFO __RPC_FAR * This);
  264. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
  265. IEnumCATEGORYINFO __RPC_FAR * This,
  266. /* [in] */ ULONG celt,
  267. /* [length_is][size_is][out] */ CATEGORYINFO __RPC_FAR *rgelt,
  268. /* [out] */ ULONG __RPC_FAR *pceltFetched);
  269. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
  270. IEnumCATEGORYINFO __RPC_FAR * This,
  271. /* [in] */ ULONG celt);
  272. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  273. IEnumCATEGORYINFO __RPC_FAR * This);
  274. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
  275. IEnumCATEGORYINFO __RPC_FAR * This,
  276. /* [out] */ IEnumCATEGORYINFO __RPC_FAR *__RPC_FAR *ppenum);
  277. END_INTERFACE
  278. } IEnumCATEGORYINFOVtbl;
  279. interface IEnumCATEGORYINFO
  280. {
  281. CONST_VTBL struct IEnumCATEGORYINFOVtbl __RPC_FAR *lpVtbl;
  282. };
  283. #ifdef COBJMACROS
  284. #define IEnumCATEGORYINFO_QueryInterface(This,riid,ppvObject) \
  285. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  286. #define IEnumCATEGORYINFO_AddRef(This) \
  287. (This)->lpVtbl -> AddRef(This)
  288. #define IEnumCATEGORYINFO_Release(This) \
  289. (This)->lpVtbl -> Release(This)
  290. #define IEnumCATEGORYINFO_Next(This,celt,rgelt,pceltFetched) \
  291. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  292. #define IEnumCATEGORYINFO_Skip(This,celt) \
  293. (This)->lpVtbl -> Skip(This,celt)
  294. #define IEnumCATEGORYINFO_Reset(This) \
  295. (This)->lpVtbl -> Reset(This)
  296. #define IEnumCATEGORYINFO_Clone(This,ppenum) \
  297. (This)->lpVtbl -> Clone(This,ppenum)
  298. #endif /* COBJMACROS */
  299. #endif /* C style interface */
  300. HRESULT STDMETHODCALLTYPE IEnumCATEGORYINFO_Next_Proxy(
  301. IEnumCATEGORYINFO __RPC_FAR * This,
  302. /* [in] */ ULONG celt,
  303. /* [length_is][size_is][out] */ CATEGORYINFO __RPC_FAR *rgelt,
  304. /* [out] */ ULONG __RPC_FAR *pceltFetched);
  305. void __RPC_STUB IEnumCATEGORYINFO_Next_Stub(
  306. IRpcStubBuffer *This,
  307. IRpcChannelBuffer *_pRpcChannelBuffer,
  308. PRPC_MESSAGE _pRpcMessage,
  309. DWORD *_pdwStubPhase);
  310. HRESULT STDMETHODCALLTYPE IEnumCATEGORYINFO_Skip_Proxy(
  311. IEnumCATEGORYINFO __RPC_FAR * This,
  312. /* [in] */ ULONG celt);
  313. void __RPC_STUB IEnumCATEGORYINFO_Skip_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. HRESULT STDMETHODCALLTYPE IEnumCATEGORYINFO_Reset_Proxy(
  319. IEnumCATEGORYINFO __RPC_FAR * This);
  320. void __RPC_STUB IEnumCATEGORYINFO_Reset_Stub(
  321. IRpcStubBuffer *This,
  322. IRpcChannelBuffer *_pRpcChannelBuffer,
  323. PRPC_MESSAGE _pRpcMessage,
  324. DWORD *_pdwStubPhase);
  325. HRESULT STDMETHODCALLTYPE IEnumCATEGORYINFO_Clone_Proxy(
  326. IEnumCATEGORYINFO __RPC_FAR * This,
  327. /* [out] */ IEnumCATEGORYINFO __RPC_FAR *__RPC_FAR *ppenum);
  328. void __RPC_STUB IEnumCATEGORYINFO_Clone_Stub(
  329. IRpcStubBuffer *This,
  330. IRpcChannelBuffer *_pRpcChannelBuffer,
  331. PRPC_MESSAGE _pRpcMessage,
  332. DWORD *_pdwStubPhase);
  333. #endif /* __IEnumCATEGORYINFO_INTERFACE_DEFINED__ */
  334. /****************************************
  335. * Generated header for interface: __MIDL__intf_0007
  336. * at Wed Jun 26 18:29:20 1996
  337. * using MIDL 3.00.44
  338. ****************************************/
  339. /* [local] */
  340. #endif
  341. #ifndef _LPCATREGISTER_DEFINED
  342. #define _LPCATREGISTER_DEFINED
  343. extern RPC_IF_HANDLE __MIDL__intf_0007_v0_0_c_ifspec;
  344. extern RPC_IF_HANDLE __MIDL__intf_0007_v0_0_s_ifspec;
  345. #ifndef __ICatRegister_INTERFACE_DEFINED__
  346. #define __ICatRegister_INTERFACE_DEFINED__
  347. /****************************************
  348. * Generated header for interface: ICatRegister
  349. * at Wed Jun 26 18:29:20 1996
  350. * using MIDL 3.00.44
  351. ****************************************/
  352. /* [unique][uuid][object] */
  353. typedef /* [unique] */ ICatRegister __RPC_FAR *LPCATREGISTER;
  354. EXTERN_C const IID IID_ICatRegister;
  355. #if defined(__cplusplus) && !defined(CINTERFACE)
  356. interface ICatRegister : public IUnknown
  357. {
  358. public:
  359. virtual HRESULT STDMETHODCALLTYPE RegisterCategories(
  360. /* [in] */ ULONG cCategories,
  361. /* [size_is][in] */ CATEGORYINFO __RPC_FAR rgCategoryInfo[ ]) = 0;
  362. virtual HRESULT STDMETHODCALLTYPE UnRegisterCategories(
  363. /* [in] */ ULONG cCategories,
  364. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]) = 0;
  365. virtual HRESULT STDMETHODCALLTYPE RegisterClassImplCategories(
  366. /* [in] */ REFCLSID rclsid,
  367. /* [in] */ ULONG cCategories,
  368. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]) = 0;
  369. virtual HRESULT STDMETHODCALLTYPE UnRegisterClassImplCategories(
  370. /* [in] */ REFCLSID rclsid,
  371. /* [in] */ ULONG cCategories,
  372. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]) = 0;
  373. virtual HRESULT STDMETHODCALLTYPE RegisterClassReqCategories(
  374. /* [in] */ REFCLSID rclsid,
  375. /* [in] */ ULONG cCategories,
  376. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]) = 0;
  377. virtual HRESULT STDMETHODCALLTYPE UnRegisterClassReqCategories(
  378. /* [in] */ REFCLSID rclsid,
  379. /* [in] */ ULONG cCategories,
  380. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]) = 0;
  381. };
  382. #else /* C style interface */
  383. typedef struct ICatRegisterVtbl
  384. {
  385. BEGIN_INTERFACE
  386. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  387. ICatRegister __RPC_FAR * This,
  388. /* [in] */ REFIID riid,
  389. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  390. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  391. ICatRegister __RPC_FAR * This);
  392. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  393. ICatRegister __RPC_FAR * This);
  394. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterCategories )(
  395. ICatRegister __RPC_FAR * This,
  396. /* [in] */ ULONG cCategories,
  397. /* [size_is][in] */ CATEGORYINFO __RPC_FAR rgCategoryInfo[ ]);
  398. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnRegisterCategories )(
  399. ICatRegister __RPC_FAR * This,
  400. /* [in] */ ULONG cCategories,
  401. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  402. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterClassImplCategories )(
  403. ICatRegister __RPC_FAR * This,
  404. /* [in] */ REFCLSID rclsid,
  405. /* [in] */ ULONG cCategories,
  406. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  407. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnRegisterClassImplCategories )(
  408. ICatRegister __RPC_FAR * This,
  409. /* [in] */ REFCLSID rclsid,
  410. /* [in] */ ULONG cCategories,
  411. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  412. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterClassReqCategories )(
  413. ICatRegister __RPC_FAR * This,
  414. /* [in] */ REFCLSID rclsid,
  415. /* [in] */ ULONG cCategories,
  416. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  417. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnRegisterClassReqCategories )(
  418. ICatRegister __RPC_FAR * This,
  419. /* [in] */ REFCLSID rclsid,
  420. /* [in] */ ULONG cCategories,
  421. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  422. END_INTERFACE
  423. } ICatRegisterVtbl;
  424. interface ICatRegister
  425. {
  426. CONST_VTBL struct ICatRegisterVtbl __RPC_FAR *lpVtbl;
  427. };
  428. #ifdef COBJMACROS
  429. #define ICatRegister_QueryInterface(This,riid,ppvObject) \
  430. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  431. #define ICatRegister_AddRef(This) \
  432. (This)->lpVtbl -> AddRef(This)
  433. #define ICatRegister_Release(This) \
  434. (This)->lpVtbl -> Release(This)
  435. #define ICatRegister_RegisterCategories(This,cCategories,rgCategoryInfo) \
  436. (This)->lpVtbl -> RegisterCategories(This,cCategories,rgCategoryInfo)
  437. #define ICatRegister_UnRegisterCategories(This,cCategories,rgcatid) \
  438. (This)->lpVtbl -> UnRegisterCategories(This,cCategories,rgcatid)
  439. #define ICatRegister_RegisterClassImplCategories(This,rclsid,cCategories,rgcatid) \
  440. (This)->lpVtbl -> RegisterClassImplCategories(This,rclsid,cCategories,rgcatid)
  441. #define ICatRegister_UnRegisterClassImplCategories(This,rclsid,cCategories,rgcatid) \
  442. (This)->lpVtbl -> UnRegisterClassImplCategories(This,rclsid,cCategories,rgcatid)
  443. #define ICatRegister_RegisterClassReqCategories(This,rclsid,cCategories,rgcatid) \
  444. (This)->lpVtbl -> RegisterClassReqCategories(This,rclsid,cCategories,rgcatid)
  445. #define ICatRegister_UnRegisterClassReqCategories(This,rclsid,cCategories,rgcatid) \
  446. (This)->lpVtbl -> UnRegisterClassReqCategories(This,rclsid,cCategories,rgcatid)
  447. #endif /* COBJMACROS */
  448. #endif /* C style interface */
  449. HRESULT STDMETHODCALLTYPE ICatRegister_RegisterCategories_Proxy(
  450. ICatRegister __RPC_FAR * This,
  451. /* [in] */ ULONG cCategories,
  452. /* [size_is][in] */ CATEGORYINFO __RPC_FAR rgCategoryInfo[ ]);
  453. void __RPC_STUB ICatRegister_RegisterCategories_Stub(
  454. IRpcStubBuffer *This,
  455. IRpcChannelBuffer *_pRpcChannelBuffer,
  456. PRPC_MESSAGE _pRpcMessage,
  457. DWORD *_pdwStubPhase);
  458. HRESULT STDMETHODCALLTYPE ICatRegister_UnRegisterCategories_Proxy(
  459. ICatRegister __RPC_FAR * This,
  460. /* [in] */ ULONG cCategories,
  461. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  462. void __RPC_STUB ICatRegister_UnRegisterCategories_Stub(
  463. IRpcStubBuffer *This,
  464. IRpcChannelBuffer *_pRpcChannelBuffer,
  465. PRPC_MESSAGE _pRpcMessage,
  466. DWORD *_pdwStubPhase);
  467. HRESULT STDMETHODCALLTYPE ICatRegister_RegisterClassImplCategories_Proxy(
  468. ICatRegister __RPC_FAR * This,
  469. /* [in] */ REFCLSID rclsid,
  470. /* [in] */ ULONG cCategories,
  471. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  472. void __RPC_STUB ICatRegister_RegisterClassImplCategories_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. HRESULT STDMETHODCALLTYPE ICatRegister_UnRegisterClassImplCategories_Proxy(
  478. ICatRegister __RPC_FAR * This,
  479. /* [in] */ REFCLSID rclsid,
  480. /* [in] */ ULONG cCategories,
  481. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  482. void __RPC_STUB ICatRegister_UnRegisterClassImplCategories_Stub(
  483. IRpcStubBuffer *This,
  484. IRpcChannelBuffer *_pRpcChannelBuffer,
  485. PRPC_MESSAGE _pRpcMessage,
  486. DWORD *_pdwStubPhase);
  487. HRESULT STDMETHODCALLTYPE ICatRegister_RegisterClassReqCategories_Proxy(
  488. ICatRegister __RPC_FAR * This,
  489. /* [in] */ REFCLSID rclsid,
  490. /* [in] */ ULONG cCategories,
  491. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  492. void __RPC_STUB ICatRegister_RegisterClassReqCategories_Stub(
  493. IRpcStubBuffer *This,
  494. IRpcChannelBuffer *_pRpcChannelBuffer,
  495. PRPC_MESSAGE _pRpcMessage,
  496. DWORD *_pdwStubPhase);
  497. HRESULT STDMETHODCALLTYPE ICatRegister_UnRegisterClassReqCategories_Proxy(
  498. ICatRegister __RPC_FAR * This,
  499. /* [in] */ REFCLSID rclsid,
  500. /* [in] */ ULONG cCategories,
  501. /* [size_is][in] */ CATID __RPC_FAR rgcatid[ ]);
  502. void __RPC_STUB ICatRegister_UnRegisterClassReqCategories_Stub(
  503. IRpcStubBuffer *This,
  504. IRpcChannelBuffer *_pRpcChannelBuffer,
  505. PRPC_MESSAGE _pRpcMessage,
  506. DWORD *_pdwStubPhase);
  507. #endif /* __ICatRegister_INTERFACE_DEFINED__ */
  508. /****************************************
  509. * Generated header for interface: __MIDL__intf_0008
  510. * at Wed Jun 26 18:29:20 1996
  511. * using MIDL 3.00.44
  512. ****************************************/
  513. /* [local] */
  514. #endif
  515. #ifndef _LPCATINFORMATION_DEFINED
  516. #define _LPCATINFORMATION_DEFINED
  517. extern RPC_IF_HANDLE __MIDL__intf_0008_v0_0_c_ifspec;
  518. extern RPC_IF_HANDLE __MIDL__intf_0008_v0_0_s_ifspec;
  519. #ifndef __ICatInformation_INTERFACE_DEFINED__
  520. #define __ICatInformation_INTERFACE_DEFINED__
  521. /****************************************
  522. * Generated header for interface: ICatInformation
  523. * at Wed Jun 26 18:29:20 1996
  524. * using MIDL 3.00.44
  525. ****************************************/
  526. /* [unique][uuid][object] */
  527. typedef /* [unique] */ ICatInformation __RPC_FAR *LPCATINFORMATION;
  528. EXTERN_C const IID IID_ICatInformation;
  529. #if defined(__cplusplus) && !defined(CINTERFACE)
  530. interface ICatInformation : public IUnknown
  531. {
  532. public:
  533. virtual HRESULT STDMETHODCALLTYPE EnumCategories(
  534. /* [in] */ LCID lcid,
  535. /* [out] */ IEnumCATEGORYINFO __RPC_FAR *__RPC_FAR *ppenumCategoryInfo) = 0;
  536. virtual HRESULT STDMETHODCALLTYPE GetCategoryDesc(
  537. /* [in] */ REFCATID rcatid,
  538. /* [in] */ LCID lcid,
  539. /* [out] */ LPWSTR __RPC_FAR *pszDesc) = 0;
  540. virtual HRESULT STDMETHODCALLTYPE EnumClassesOfCategories(
  541. /* [in] */ ULONG cImplemented,
  542. /* [size_is][in] */ CATID __RPC_FAR rgcatidImpl[ ],
  543. /* [in] */ ULONG cRequired,
  544. /* [size_is][in] */ CATID __RPC_FAR rgcatidReq[ ],
  545. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumClsid) = 0;
  546. virtual HRESULT STDMETHODCALLTYPE IsClassOfCategories(
  547. /* [in] */ REFCLSID rclsid,
  548. /* [in] */ ULONG cImplemented,
  549. /* [size_is][in] */ CATID __RPC_FAR rgcatidImpl[ ],
  550. /* [in] */ ULONG cRequired,
  551. /* [size_is][in] */ CATID __RPC_FAR rgcatidReq[ ]) = 0;
  552. virtual HRESULT STDMETHODCALLTYPE EnumImplCategoriesOfClass(
  553. /* [in] */ REFCLSID rclsid,
  554. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumCatid) = 0;
  555. virtual HRESULT STDMETHODCALLTYPE EnumReqCategoriesOfClass(
  556. /* [in] */ REFCLSID rclsid,
  557. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumCatid) = 0;
  558. };
  559. #else /* C style interface */
  560. typedef struct ICatInformationVtbl
  561. {
  562. BEGIN_INTERFACE
  563. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  564. ICatInformation __RPC_FAR * This,
  565. /* [in] */ REFIID riid,
  566. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  567. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  568. ICatInformation __RPC_FAR * This);
  569. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  570. ICatInformation __RPC_FAR * This);
  571. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumCategories )(
  572. ICatInformation __RPC_FAR * This,
  573. /* [in] */ LCID lcid,
  574. /* [out] */ IEnumCATEGORYINFO __RPC_FAR *__RPC_FAR *ppenumCategoryInfo);
  575. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCategoryDesc )(
  576. ICatInformation __RPC_FAR * This,
  577. /* [in] */ REFCATID rcatid,
  578. /* [in] */ LCID lcid,
  579. /* [out] */ LPWSTR __RPC_FAR *pszDesc);
  580. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumClassesOfCategories )(
  581. ICatInformation __RPC_FAR * This,
  582. /* [in] */ ULONG cImplemented,
  583. /* [size_is][in] */ CATID __RPC_FAR rgcatidImpl[ ],
  584. /* [in] */ ULONG cRequired,
  585. /* [size_is][in] */ CATID __RPC_FAR rgcatidReq[ ],
  586. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumClsid);
  587. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsClassOfCategories )(
  588. ICatInformation __RPC_FAR * This,
  589. /* [in] */ REFCLSID rclsid,
  590. /* [in] */ ULONG cImplemented,
  591. /* [size_is][in] */ CATID __RPC_FAR rgcatidImpl[ ],
  592. /* [in] */ ULONG cRequired,
  593. /* [size_is][in] */ CATID __RPC_FAR rgcatidReq[ ]);
  594. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumImplCategoriesOfClass )(
  595. ICatInformation __RPC_FAR * This,
  596. /* [in] */ REFCLSID rclsid,
  597. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumCatid);
  598. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumReqCategoriesOfClass )(
  599. ICatInformation __RPC_FAR * This,
  600. /* [in] */ REFCLSID rclsid,
  601. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumCatid);
  602. END_INTERFACE
  603. } ICatInformationVtbl;
  604. interface ICatInformation
  605. {
  606. CONST_VTBL struct ICatInformationVtbl __RPC_FAR *lpVtbl;
  607. };
  608. #ifdef COBJMACROS
  609. #define ICatInformation_QueryInterface(This,riid,ppvObject) \
  610. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  611. #define ICatInformation_AddRef(This) \
  612. (This)->lpVtbl -> AddRef(This)
  613. #define ICatInformation_Release(This) \
  614. (This)->lpVtbl -> Release(This)
  615. #define ICatInformation_EnumCategories(This,lcid,ppenumCategoryInfo) \
  616. (This)->lpVtbl -> EnumCategories(This,lcid,ppenumCategoryInfo)
  617. #define ICatInformation_GetCategoryDesc(This,rcatid,lcid,pszDesc) \
  618. (This)->lpVtbl -> GetCategoryDesc(This,rcatid,lcid,pszDesc)
  619. #define ICatInformation_EnumClassesOfCategories(This,cImplemented,rgcatidImpl,cRequired,rgcatidReq,ppenumClsid) \
  620. (This)->lpVtbl -> EnumClassesOfCategories(This,cImplemented,rgcatidImpl,cRequired,rgcatidReq,ppenumClsid)
  621. #define ICatInformation_IsClassOfCategories(This,rclsid,cImplemented,rgcatidImpl,cRequired,rgcatidReq) \
  622. (This)->lpVtbl -> IsClassOfCategories(This,rclsid,cImplemented,rgcatidImpl,cRequired,rgcatidReq)
  623. #define ICatInformation_EnumImplCategoriesOfClass(This,rclsid,ppenumCatid) \
  624. (This)->lpVtbl -> EnumImplCategoriesOfClass(This,rclsid,ppenumCatid)
  625. #define ICatInformation_EnumReqCategoriesOfClass(This,rclsid,ppenumCatid) \
  626. (This)->lpVtbl -> EnumReqCategoriesOfClass(This,rclsid,ppenumCatid)
  627. #endif /* COBJMACROS */
  628. #endif /* C style interface */
  629. HRESULT STDMETHODCALLTYPE ICatInformation_EnumCategories_Proxy(
  630. ICatInformation __RPC_FAR * This,
  631. /* [in] */ LCID lcid,
  632. /* [out] */ IEnumCATEGORYINFO __RPC_FAR *__RPC_FAR *ppenumCategoryInfo);
  633. void __RPC_STUB ICatInformation_EnumCategories_Stub(
  634. IRpcStubBuffer *This,
  635. IRpcChannelBuffer *_pRpcChannelBuffer,
  636. PRPC_MESSAGE _pRpcMessage,
  637. DWORD *_pdwStubPhase);
  638. HRESULT STDMETHODCALLTYPE ICatInformation_GetCategoryDesc_Proxy(
  639. ICatInformation __RPC_FAR * This,
  640. /* [in] */ REFCATID rcatid,
  641. /* [in] */ LCID lcid,
  642. /* [out] */ LPWSTR __RPC_FAR *pszDesc);
  643. void __RPC_STUB ICatInformation_GetCategoryDesc_Stub(
  644. IRpcStubBuffer *This,
  645. IRpcChannelBuffer *_pRpcChannelBuffer,
  646. PRPC_MESSAGE _pRpcMessage,
  647. DWORD *_pdwStubPhase);
  648. HRESULT STDMETHODCALLTYPE ICatInformation_EnumClassesOfCategories_Proxy(
  649. ICatInformation __RPC_FAR * This,
  650. /* [in] */ ULONG cImplemented,
  651. /* [size_is][in] */ CATID __RPC_FAR rgcatidImpl[ ],
  652. /* [in] */ ULONG cRequired,
  653. /* [size_is][in] */ CATID __RPC_FAR rgcatidReq[ ],
  654. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumClsid);
  655. void __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub(
  656. IRpcStubBuffer *This,
  657. IRpcChannelBuffer *_pRpcChannelBuffer,
  658. PRPC_MESSAGE _pRpcMessage,
  659. DWORD *_pdwStubPhase);
  660. HRESULT STDMETHODCALLTYPE ICatInformation_IsClassOfCategories_Proxy(
  661. ICatInformation __RPC_FAR * This,
  662. /* [in] */ REFCLSID rclsid,
  663. /* [in] */ ULONG cImplemented,
  664. /* [size_is][in] */ CATID __RPC_FAR rgcatidImpl[ ],
  665. /* [in] */ ULONG cRequired,
  666. /* [size_is][in] */ CATID __RPC_FAR rgcatidReq[ ]);
  667. void __RPC_STUB ICatInformation_IsClassOfCategories_Stub(
  668. IRpcStubBuffer *This,
  669. IRpcChannelBuffer *_pRpcChannelBuffer,
  670. PRPC_MESSAGE _pRpcMessage,
  671. DWORD *_pdwStubPhase);
  672. HRESULT STDMETHODCALLTYPE ICatInformation_EnumImplCategoriesOfClass_Proxy(
  673. ICatInformation __RPC_FAR * This,
  674. /* [in] */ REFCLSID rclsid,
  675. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumCatid);
  676. void __RPC_STUB ICatInformation_EnumImplCategoriesOfClass_Stub(
  677. IRpcStubBuffer *This,
  678. IRpcChannelBuffer *_pRpcChannelBuffer,
  679. PRPC_MESSAGE _pRpcMessage,
  680. DWORD *_pdwStubPhase);
  681. HRESULT STDMETHODCALLTYPE ICatInformation_EnumReqCategoriesOfClass_Proxy(
  682. ICatInformation __RPC_FAR * This,
  683. /* [in] */ REFCLSID rclsid,
  684. /* [out] */ IEnumGUID __RPC_FAR *__RPC_FAR *ppenumCatid);
  685. void __RPC_STUB ICatInformation_EnumReqCategoriesOfClass_Stub(
  686. IRpcStubBuffer *This,
  687. IRpcChannelBuffer *_pRpcChannelBuffer,
  688. PRPC_MESSAGE _pRpcMessage,
  689. DWORD *_pdwStubPhase);
  690. #endif /* __ICatInformation_INTERFACE_DEFINED__ */
  691. /****************************************
  692. * Generated header for interface: __MIDL__intf_0009
  693. * at Wed Jun 26 18:29:20 1996
  694. * using MIDL 3.00.44
  695. ****************************************/
  696. /* [local] */
  697. #endif
  698. extern RPC_IF_HANDLE __MIDL__intf_0009_v0_0_c_ifspec;
  699. extern RPC_IF_HANDLE __MIDL__intf_0009_v0_0_s_ifspec;
  700. /* Additional Prototypes for ALL interfaces */
  701. /* end of Additional Prototypes */
  702. #ifdef __cplusplus
  703. }
  704. #endif
  705. #endif