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.

1572 lines
55 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 termmgr.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  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__ 475
  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 __termmgr_h__
  27. #define __termmgr_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITTerminalControl_FWD_DEFINED__
  33. #define __ITTerminalControl_FWD_DEFINED__
  34. typedef interface ITTerminalControl ITTerminalControl;
  35. #endif /* __ITTerminalControl_FWD_DEFINED__ */
  36. #ifndef __ITPluggableTerminalInitialization_FWD_DEFINED__
  37. #define __ITPluggableTerminalInitialization_FWD_DEFINED__
  38. typedef interface ITPluggableTerminalInitialization ITPluggableTerminalInitialization;
  39. #endif /* __ITPluggableTerminalInitialization_FWD_DEFINED__ */
  40. #ifndef __ITTerminalManager_FWD_DEFINED__
  41. #define __ITTerminalManager_FWD_DEFINED__
  42. typedef interface ITTerminalManager ITTerminalManager;
  43. #endif /* __ITTerminalManager_FWD_DEFINED__ */
  44. #ifndef __ITTerminalManager2_FWD_DEFINED__
  45. #define __ITTerminalManager2_FWD_DEFINED__
  46. typedef interface ITTerminalManager2 ITTerminalManager2;
  47. #endif /* __ITTerminalManager2_FWD_DEFINED__ */
  48. #ifndef __ITPluggableTerminalClassRegistration_FWD_DEFINED__
  49. #define __ITPluggableTerminalClassRegistration_FWD_DEFINED__
  50. typedef interface ITPluggableTerminalClassRegistration ITPluggableTerminalClassRegistration;
  51. #endif /* __ITPluggableTerminalClassRegistration_FWD_DEFINED__ */
  52. #ifndef __ITPluggableTerminalSuperclassRegistration_FWD_DEFINED__
  53. #define __ITPluggableTerminalSuperclassRegistration_FWD_DEFINED__
  54. typedef interface ITPluggableTerminalSuperclassRegistration ITPluggableTerminalSuperclassRegistration;
  55. #endif /* __ITPluggableTerminalSuperclassRegistration_FWD_DEFINED__ */
  56. #ifndef __TerminalManager_FWD_DEFINED__
  57. #define __TerminalManager_FWD_DEFINED__
  58. #ifdef __cplusplus
  59. typedef class TerminalManager TerminalManager;
  60. #else
  61. typedef struct TerminalManager TerminalManager;
  62. #endif /* __cplusplus */
  63. #endif /* __TerminalManager_FWD_DEFINED__ */
  64. #ifndef __PluggableSuperclassRegistration_FWD_DEFINED__
  65. #define __PluggableSuperclassRegistration_FWD_DEFINED__
  66. #ifdef __cplusplus
  67. typedef class PluggableSuperclassRegistration PluggableSuperclassRegistration;
  68. #else
  69. typedef struct PluggableSuperclassRegistration PluggableSuperclassRegistration;
  70. #endif /* __cplusplus */
  71. #endif /* __PluggableSuperclassRegistration_FWD_DEFINED__ */
  72. #ifndef __PluggableTerminalRegistration_FWD_DEFINED__
  73. #define __PluggableTerminalRegistration_FWD_DEFINED__
  74. #ifdef __cplusplus
  75. typedef class PluggableTerminalRegistration PluggableTerminalRegistration;
  76. #else
  77. typedef struct PluggableTerminalRegistration PluggableTerminalRegistration;
  78. #endif /* __cplusplus */
  79. #endif /* __PluggableTerminalRegistration_FWD_DEFINED__ */
  80. /* header files for imported files */
  81. #include "Objsafe.h"
  82. #include "tapi3if.h"
  83. #include "tapi3ds.h"
  84. #include "msp.h"
  85. #ifdef __cplusplus
  86. extern "C"{
  87. #endif
  88. void * __RPC_USER MIDL_user_allocate(size_t);
  89. void __RPC_USER MIDL_user_free( void * );
  90. /* interface __MIDL_itf_termmgr_0000 */
  91. /* [local] */
  92. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  93. typedef /* [public][public][public] */
  94. enum __MIDL___MIDL_itf_termmgr_0000_0001
  95. { TMGR_TD_CAPTURE = 1,
  96. TMGR_TD_RENDER = 2,
  97. TMGR_TD_BOTH = 3
  98. } TMGR_DIRECTION;
  99. #define CLSID_String_VideoSuperclass ( L"{714C6F8C-6244-4685-87B3-B91F3F9EADA7}" )
  100. #define CLSID_String_StreamingSuperclass ( L"{214F4ACC-AE0B-4464-8405-07029003F8E2}" )
  101. #define CLSID_String_FileSuperclass ( L"{B4790031-56DB-4d3e-88C8-6FFAAFA08A91}" )
  102. extern RPC_IF_HANDLE __MIDL_itf_termmgr_0000_v0_0_c_ifspec;
  103. extern RPC_IF_HANDLE __MIDL_itf_termmgr_0000_v0_0_s_ifspec;
  104. #ifndef __ITTerminalControl_INTERFACE_DEFINED__
  105. #define __ITTerminalControl_INTERFACE_DEFINED__
  106. /* interface ITTerminalControl */
  107. /* [object][dual][helpstring][uuid] */
  108. EXTERN_C const IID IID_ITTerminalControl;
  109. #if defined(__cplusplus) && !defined(CINTERFACE)
  110. MIDL_INTERFACE("AED6483B-3304-11d2-86F1-006008B0E5D2")
  111. ITTerminalControl : public IUnknown
  112. {
  113. public:
  114. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_AddressHandle(
  115. /* [out] */ MSP_HANDLE *phtAddress) = 0;
  116. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ConnectTerminal(
  117. /* [in] */ IGraphBuilder *pGraph,
  118. /* [in] */ DWORD dwTerminalDirection,
  119. /* [out][in] */ DWORD *pdwNumPins,
  120. /* [out] */ IPin **ppPins) = 0;
  121. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CompleteConnectTerminal( void) = 0;
  122. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DisconnectTerminal(
  123. /* [in] */ IGraphBuilder *pGraph,
  124. /* [in] */ DWORD dwReserved) = 0;
  125. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RunRenderFilter( void) = 0;
  126. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopRenderFilter( void) = 0;
  127. };
  128. #else /* C style interface */
  129. typedef struct ITTerminalControlVtbl
  130. {
  131. BEGIN_INTERFACE
  132. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  133. ITTerminalControl * This,
  134. /* [in] */ REFIID riid,
  135. /* [iid_is][out] */ void **ppvObject);
  136. ULONG ( STDMETHODCALLTYPE *AddRef )(
  137. ITTerminalControl * This);
  138. ULONG ( STDMETHODCALLTYPE *Release )(
  139. ITTerminalControl * This);
  140. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AddressHandle )(
  141. ITTerminalControl * This,
  142. /* [out] */ MSP_HANDLE *phtAddress);
  143. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ConnectTerminal )(
  144. ITTerminalControl * This,
  145. /* [in] */ IGraphBuilder *pGraph,
  146. /* [in] */ DWORD dwTerminalDirection,
  147. /* [out][in] */ DWORD *pdwNumPins,
  148. /* [out] */ IPin **ppPins);
  149. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CompleteConnectTerminal )(
  150. ITTerminalControl * This);
  151. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DisconnectTerminal )(
  152. ITTerminalControl * This,
  153. /* [in] */ IGraphBuilder *pGraph,
  154. /* [in] */ DWORD dwReserved);
  155. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RunRenderFilter )(
  156. ITTerminalControl * This);
  157. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopRenderFilter )(
  158. ITTerminalControl * This);
  159. END_INTERFACE
  160. } ITTerminalControlVtbl;
  161. interface ITTerminalControl
  162. {
  163. CONST_VTBL struct ITTerminalControlVtbl *lpVtbl;
  164. };
  165. #ifdef COBJMACROS
  166. #define ITTerminalControl_QueryInterface(This,riid,ppvObject) \
  167. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  168. #define ITTerminalControl_AddRef(This) \
  169. (This)->lpVtbl -> AddRef(This)
  170. #define ITTerminalControl_Release(This) \
  171. (This)->lpVtbl -> Release(This)
  172. #define ITTerminalControl_get_AddressHandle(This,phtAddress) \
  173. (This)->lpVtbl -> get_AddressHandle(This,phtAddress)
  174. #define ITTerminalControl_ConnectTerminal(This,pGraph,dwTerminalDirection,pdwNumPins,ppPins) \
  175. (This)->lpVtbl -> ConnectTerminal(This,pGraph,dwTerminalDirection,pdwNumPins,ppPins)
  176. #define ITTerminalControl_CompleteConnectTerminal(This) \
  177. (This)->lpVtbl -> CompleteConnectTerminal(This)
  178. #define ITTerminalControl_DisconnectTerminal(This,pGraph,dwReserved) \
  179. (This)->lpVtbl -> DisconnectTerminal(This,pGraph,dwReserved)
  180. #define ITTerminalControl_RunRenderFilter(This) \
  181. (This)->lpVtbl -> RunRenderFilter(This)
  182. #define ITTerminalControl_StopRenderFilter(This) \
  183. (This)->lpVtbl -> StopRenderFilter(This)
  184. #endif /* COBJMACROS */
  185. #endif /* C style interface */
  186. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITTerminalControl_get_AddressHandle_Proxy(
  187. ITTerminalControl * This,
  188. /* [out] */ MSP_HANDLE *phtAddress);
  189. void __RPC_STUB ITTerminalControl_get_AddressHandle_Stub(
  190. IRpcStubBuffer *This,
  191. IRpcChannelBuffer *_pRpcChannelBuffer,
  192. PRPC_MESSAGE _pRpcMessage,
  193. DWORD *_pdwStubPhase);
  194. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalControl_ConnectTerminal_Proxy(
  195. ITTerminalControl * This,
  196. /* [in] */ IGraphBuilder *pGraph,
  197. /* [in] */ DWORD dwTerminalDirection,
  198. /* [out][in] */ DWORD *pdwNumPins,
  199. /* [out] */ IPin **ppPins);
  200. void __RPC_STUB ITTerminalControl_ConnectTerminal_Stub(
  201. IRpcStubBuffer *This,
  202. IRpcChannelBuffer *_pRpcChannelBuffer,
  203. PRPC_MESSAGE _pRpcMessage,
  204. DWORD *_pdwStubPhase);
  205. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalControl_CompleteConnectTerminal_Proxy(
  206. ITTerminalControl * This);
  207. void __RPC_STUB ITTerminalControl_CompleteConnectTerminal_Stub(
  208. IRpcStubBuffer *This,
  209. IRpcChannelBuffer *_pRpcChannelBuffer,
  210. PRPC_MESSAGE _pRpcMessage,
  211. DWORD *_pdwStubPhase);
  212. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalControl_DisconnectTerminal_Proxy(
  213. ITTerminalControl * This,
  214. /* [in] */ IGraphBuilder *pGraph,
  215. /* [in] */ DWORD dwReserved);
  216. void __RPC_STUB ITTerminalControl_DisconnectTerminal_Stub(
  217. IRpcStubBuffer *This,
  218. IRpcChannelBuffer *_pRpcChannelBuffer,
  219. PRPC_MESSAGE _pRpcMessage,
  220. DWORD *_pdwStubPhase);
  221. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalControl_RunRenderFilter_Proxy(
  222. ITTerminalControl * This);
  223. void __RPC_STUB ITTerminalControl_RunRenderFilter_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalControl_StopRenderFilter_Proxy(
  229. ITTerminalControl * This);
  230. void __RPC_STUB ITTerminalControl_StopRenderFilter_Stub(
  231. IRpcStubBuffer *This,
  232. IRpcChannelBuffer *_pRpcChannelBuffer,
  233. PRPC_MESSAGE _pRpcMessage,
  234. DWORD *_pdwStubPhase);
  235. #endif /* __ITTerminalControl_INTERFACE_DEFINED__ */
  236. #ifndef __ITPluggableTerminalInitialization_INTERFACE_DEFINED__
  237. #define __ITPluggableTerminalInitialization_INTERFACE_DEFINED__
  238. /* interface ITPluggableTerminalInitialization */
  239. /* [object][dual][helpstring][uuid] */
  240. EXTERN_C const IID IID_ITPluggableTerminalInitialization;
  241. #if defined(__cplusplus) && !defined(CINTERFACE)
  242. MIDL_INTERFACE("AED6483C-3304-11d2-86F1-006008B0E5D2")
  243. ITPluggableTerminalInitialization : public IUnknown
  244. {
  245. public:
  246. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE InitializeDynamic(
  247. /* [in] */ IID iidTerminalClass,
  248. /* [in] */ DWORD dwMediaType,
  249. /* [in] */ TERMINAL_DIRECTION Direction,
  250. /* [in] */ MSP_HANDLE htAddress) = 0;
  251. };
  252. #else /* C style interface */
  253. typedef struct ITPluggableTerminalInitializationVtbl
  254. {
  255. BEGIN_INTERFACE
  256. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  257. ITPluggableTerminalInitialization * This,
  258. /* [in] */ REFIID riid,
  259. /* [iid_is][out] */ void **ppvObject);
  260. ULONG ( STDMETHODCALLTYPE *AddRef )(
  261. ITPluggableTerminalInitialization * This);
  262. ULONG ( STDMETHODCALLTYPE *Release )(
  263. ITPluggableTerminalInitialization * This);
  264. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *InitializeDynamic )(
  265. ITPluggableTerminalInitialization * This,
  266. /* [in] */ IID iidTerminalClass,
  267. /* [in] */ DWORD dwMediaType,
  268. /* [in] */ TERMINAL_DIRECTION Direction,
  269. /* [in] */ MSP_HANDLE htAddress);
  270. END_INTERFACE
  271. } ITPluggableTerminalInitializationVtbl;
  272. interface ITPluggableTerminalInitialization
  273. {
  274. CONST_VTBL struct ITPluggableTerminalInitializationVtbl *lpVtbl;
  275. };
  276. #ifdef COBJMACROS
  277. #define ITPluggableTerminalInitialization_QueryInterface(This,riid,ppvObject) \
  278. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  279. #define ITPluggableTerminalInitialization_AddRef(This) \
  280. (This)->lpVtbl -> AddRef(This)
  281. #define ITPluggableTerminalInitialization_Release(This) \
  282. (This)->lpVtbl -> Release(This)
  283. #define ITPluggableTerminalInitialization_InitializeDynamic(This,iidTerminalClass,dwMediaType,Direction,htAddress) \
  284. (This)->lpVtbl -> InitializeDynamic(This,iidTerminalClass,dwMediaType,Direction,htAddress)
  285. #endif /* COBJMACROS */
  286. #endif /* C style interface */
  287. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalInitialization_InitializeDynamic_Proxy(
  288. ITPluggableTerminalInitialization * This,
  289. /* [in] */ IID iidTerminalClass,
  290. /* [in] */ DWORD dwMediaType,
  291. /* [in] */ TERMINAL_DIRECTION Direction,
  292. /* [in] */ MSP_HANDLE htAddress);
  293. void __RPC_STUB ITPluggableTerminalInitialization_InitializeDynamic_Stub(
  294. IRpcStubBuffer *This,
  295. IRpcChannelBuffer *_pRpcChannelBuffer,
  296. PRPC_MESSAGE _pRpcMessage,
  297. DWORD *_pdwStubPhase);
  298. #endif /* __ITPluggableTerminalInitialization_INTERFACE_DEFINED__ */
  299. #ifndef __ITTerminalManager_INTERFACE_DEFINED__
  300. #define __ITTerminalManager_INTERFACE_DEFINED__
  301. /* interface ITTerminalManager */
  302. /* [hidden][unique][helpstring][uuid][object] */
  303. EXTERN_C const IID IID_ITTerminalManager;
  304. #if defined(__cplusplus) && !defined(CINTERFACE)
  305. MIDL_INTERFACE("7170F2DE-9BE3-11D0-A009-00AA00B605A4")
  306. ITTerminalManager : public IUnknown
  307. {
  308. public:
  309. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDynamicTerminalClasses(
  310. /* [in] */ DWORD dwMediaTypes,
  311. /* [out][in] */ DWORD *pdwNumClasses,
  312. /* [out] */ IID *pTerminalClasses) = 0;
  313. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateDynamicTerminal(
  314. /* [in] */ IUnknown *pOuterUnknown,
  315. /* [in] */ IID iidTerminalClass,
  316. /* [in] */ DWORD dwMediaType,
  317. /* [in] */ TERMINAL_DIRECTION Direction,
  318. /* [in] */ MSP_HANDLE htAddress,
  319. /* [out] */ ITTerminal **ppTerminal) = 0;
  320. };
  321. #else /* C style interface */
  322. typedef struct ITTerminalManagerVtbl
  323. {
  324. BEGIN_INTERFACE
  325. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  326. ITTerminalManager * This,
  327. /* [in] */ REFIID riid,
  328. /* [iid_is][out] */ void **ppvObject);
  329. ULONG ( STDMETHODCALLTYPE *AddRef )(
  330. ITTerminalManager * This);
  331. ULONG ( STDMETHODCALLTYPE *Release )(
  332. ITTerminalManager * This);
  333. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDynamicTerminalClasses )(
  334. ITTerminalManager * This,
  335. /* [in] */ DWORD dwMediaTypes,
  336. /* [out][in] */ DWORD *pdwNumClasses,
  337. /* [out] */ IID *pTerminalClasses);
  338. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateDynamicTerminal )(
  339. ITTerminalManager * This,
  340. /* [in] */ IUnknown *pOuterUnknown,
  341. /* [in] */ IID iidTerminalClass,
  342. /* [in] */ DWORD dwMediaType,
  343. /* [in] */ TERMINAL_DIRECTION Direction,
  344. /* [in] */ MSP_HANDLE htAddress,
  345. /* [out] */ ITTerminal **ppTerminal);
  346. END_INTERFACE
  347. } ITTerminalManagerVtbl;
  348. interface ITTerminalManager
  349. {
  350. CONST_VTBL struct ITTerminalManagerVtbl *lpVtbl;
  351. };
  352. #ifdef COBJMACROS
  353. #define ITTerminalManager_QueryInterface(This,riid,ppvObject) \
  354. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  355. #define ITTerminalManager_AddRef(This) \
  356. (This)->lpVtbl -> AddRef(This)
  357. #define ITTerminalManager_Release(This) \
  358. (This)->lpVtbl -> Release(This)
  359. #define ITTerminalManager_GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses) \
  360. (This)->lpVtbl -> GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses)
  361. #define ITTerminalManager_CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal) \
  362. (This)->lpVtbl -> CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal)
  363. #endif /* COBJMACROS */
  364. #endif /* C style interface */
  365. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalManager_GetDynamicTerminalClasses_Proxy(
  366. ITTerminalManager * This,
  367. /* [in] */ DWORD dwMediaTypes,
  368. /* [out][in] */ DWORD *pdwNumClasses,
  369. /* [out] */ IID *pTerminalClasses);
  370. void __RPC_STUB ITTerminalManager_GetDynamicTerminalClasses_Stub(
  371. IRpcStubBuffer *This,
  372. IRpcChannelBuffer *_pRpcChannelBuffer,
  373. PRPC_MESSAGE _pRpcMessage,
  374. DWORD *_pdwStubPhase);
  375. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalManager_CreateDynamicTerminal_Proxy(
  376. ITTerminalManager * This,
  377. /* [in] */ IUnknown *pOuterUnknown,
  378. /* [in] */ IID iidTerminalClass,
  379. /* [in] */ DWORD dwMediaType,
  380. /* [in] */ TERMINAL_DIRECTION Direction,
  381. /* [in] */ MSP_HANDLE htAddress,
  382. /* [out] */ ITTerminal **ppTerminal);
  383. void __RPC_STUB ITTerminalManager_CreateDynamicTerminal_Stub(
  384. IRpcStubBuffer *This,
  385. IRpcChannelBuffer *_pRpcChannelBuffer,
  386. PRPC_MESSAGE _pRpcMessage,
  387. DWORD *_pdwStubPhase);
  388. #endif /* __ITTerminalManager_INTERFACE_DEFINED__ */
  389. #ifndef __ITTerminalManager2_INTERFACE_DEFINED__
  390. #define __ITTerminalManager2_INTERFACE_DEFINED__
  391. /* interface ITTerminalManager2 */
  392. /* [object][hidden][unique][helpstring][uuid] */
  393. EXTERN_C const IID IID_ITTerminalManager2;
  394. #if defined(__cplusplus) && !defined(CINTERFACE)
  395. MIDL_INTERFACE("BB33DEC6-B2C7-46E6-9ED1-498B91FA85AC")
  396. ITTerminalManager2 : public ITTerminalManager
  397. {
  398. public:
  399. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPluggableSuperclasses(
  400. /* [out][in] */ DWORD *pdwNumSuperclasses,
  401. /* [out] */ IID *pSuperclasses) = 0;
  402. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPluggableTerminalClasses(
  403. /* [in] */ IID iidSuperclass,
  404. /* [in] */ DWORD dwMediaTypes,
  405. /* [out][in] */ DWORD *pdwNumClasses,
  406. /* [out] */ IID *pTerminalClasses) = 0;
  407. };
  408. #else /* C style interface */
  409. typedef struct ITTerminalManager2Vtbl
  410. {
  411. BEGIN_INTERFACE
  412. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  413. ITTerminalManager2 * This,
  414. /* [in] */ REFIID riid,
  415. /* [iid_is][out] */ void **ppvObject);
  416. ULONG ( STDMETHODCALLTYPE *AddRef )(
  417. ITTerminalManager2 * This);
  418. ULONG ( STDMETHODCALLTYPE *Release )(
  419. ITTerminalManager2 * This);
  420. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDynamicTerminalClasses )(
  421. ITTerminalManager2 * This,
  422. /* [in] */ DWORD dwMediaTypes,
  423. /* [out][in] */ DWORD *pdwNumClasses,
  424. /* [out] */ IID *pTerminalClasses);
  425. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateDynamicTerminal )(
  426. ITTerminalManager2 * This,
  427. /* [in] */ IUnknown *pOuterUnknown,
  428. /* [in] */ IID iidTerminalClass,
  429. /* [in] */ DWORD dwMediaType,
  430. /* [in] */ TERMINAL_DIRECTION Direction,
  431. /* [in] */ MSP_HANDLE htAddress,
  432. /* [out] */ ITTerminal **ppTerminal);
  433. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPluggableSuperclasses )(
  434. ITTerminalManager2 * This,
  435. /* [out][in] */ DWORD *pdwNumSuperclasses,
  436. /* [out] */ IID *pSuperclasses);
  437. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPluggableTerminalClasses )(
  438. ITTerminalManager2 * This,
  439. /* [in] */ IID iidSuperclass,
  440. /* [in] */ DWORD dwMediaTypes,
  441. /* [out][in] */ DWORD *pdwNumClasses,
  442. /* [out] */ IID *pTerminalClasses);
  443. END_INTERFACE
  444. } ITTerminalManager2Vtbl;
  445. interface ITTerminalManager2
  446. {
  447. CONST_VTBL struct ITTerminalManager2Vtbl *lpVtbl;
  448. };
  449. #ifdef COBJMACROS
  450. #define ITTerminalManager2_QueryInterface(This,riid,ppvObject) \
  451. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  452. #define ITTerminalManager2_AddRef(This) \
  453. (This)->lpVtbl -> AddRef(This)
  454. #define ITTerminalManager2_Release(This) \
  455. (This)->lpVtbl -> Release(This)
  456. #define ITTerminalManager2_GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses) \
  457. (This)->lpVtbl -> GetDynamicTerminalClasses(This,dwMediaTypes,pdwNumClasses,pTerminalClasses)
  458. #define ITTerminalManager2_CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal) \
  459. (This)->lpVtbl -> CreateDynamicTerminal(This,pOuterUnknown,iidTerminalClass,dwMediaType,Direction,htAddress,ppTerminal)
  460. #define ITTerminalManager2_GetPluggableSuperclasses(This,pdwNumSuperclasses,pSuperclasses) \
  461. (This)->lpVtbl -> GetPluggableSuperclasses(This,pdwNumSuperclasses,pSuperclasses)
  462. #define ITTerminalManager2_GetPluggableTerminalClasses(This,iidSuperclass,dwMediaTypes,pdwNumClasses,pTerminalClasses) \
  463. (This)->lpVtbl -> GetPluggableTerminalClasses(This,iidSuperclass,dwMediaTypes,pdwNumClasses,pTerminalClasses)
  464. #endif /* COBJMACROS */
  465. #endif /* C style interface */
  466. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalManager2_GetPluggableSuperclasses_Proxy(
  467. ITTerminalManager2 * This,
  468. /* [out][in] */ DWORD *pdwNumSuperclasses,
  469. /* [out] */ IID *pSuperclasses);
  470. void __RPC_STUB ITTerminalManager2_GetPluggableSuperclasses_Stub(
  471. IRpcStubBuffer *This,
  472. IRpcChannelBuffer *_pRpcChannelBuffer,
  473. PRPC_MESSAGE _pRpcMessage,
  474. DWORD *_pdwStubPhase);
  475. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalManager2_GetPluggableTerminalClasses_Proxy(
  476. ITTerminalManager2 * This,
  477. /* [in] */ IID iidSuperclass,
  478. /* [in] */ DWORD dwMediaTypes,
  479. /* [out][in] */ DWORD *pdwNumClasses,
  480. /* [out] */ IID *pTerminalClasses);
  481. void __RPC_STUB ITTerminalManager2_GetPluggableTerminalClasses_Stub(
  482. IRpcStubBuffer *This,
  483. IRpcChannelBuffer *_pRpcChannelBuffer,
  484. PRPC_MESSAGE _pRpcMessage,
  485. DWORD *_pdwStubPhase);
  486. #endif /* __ITTerminalManager2_INTERFACE_DEFINED__ */
  487. #ifndef __ITPluggableTerminalClassRegistration_INTERFACE_DEFINED__
  488. #define __ITPluggableTerminalClassRegistration_INTERFACE_DEFINED__
  489. /* interface ITPluggableTerminalClassRegistration */
  490. /* [unique][helpstring][dual][uuid][object] */
  491. EXTERN_C const IID IID_ITPluggableTerminalClassRegistration;
  492. #if defined(__cplusplus) && !defined(CINTERFACE)
  493. MIDL_INTERFACE("924A3723-A00B-4f5f-9FEE-8E9AEB9E82AA")
  494. ITPluggableTerminalClassRegistration : public IDispatch
  495. {
  496. public:
  497. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  498. /* [retval][out] */ BSTR *pName) = 0;
  499. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  500. /* [in] */ BSTR bstrName) = 0;
  501. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Company(
  502. /* [retval][out] */ BSTR *pCompany) = 0;
  503. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Company(
  504. /* [in] */ BSTR bstrCompany) = 0;
  505. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Version(
  506. /* [retval][out] */ BSTR *pVersion) = 0;
  507. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Version(
  508. /* [in] */ BSTR bstrVersion) = 0;
  509. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TerminalClass(
  510. /* [retval][out] */ BSTR *pTerminalClass) = 0;
  511. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_TerminalClass(
  512. /* [in] */ BSTR bstrTerminalClass) = 0;
  513. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CLSID(
  514. /* [retval][out] */ BSTR *pCLSID) = 0;
  515. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_CLSID(
  516. /* [in] */ BSTR bstrCLSID) = 0;
  517. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Direction(
  518. /* [retval][out] */ TMGR_DIRECTION *pDirection) = 0;
  519. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Direction(
  520. /* [in] */ TMGR_DIRECTION nDirection) = 0;
  521. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MediaTypes(
  522. /* [retval][out] */ long *pMediaTypes) = 0;
  523. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_MediaTypes(
  524. /* [in] */ long nMediaTypes) = 0;
  525. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  526. /* [in] */ BSTR bstrSuperclass) = 0;
  527. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete(
  528. /* [in] */ BSTR bstrSuperclass) = 0;
  529. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTerminalClassInfo(
  530. /* [in] */ BSTR bstrSuperclass) = 0;
  531. };
  532. #else /* C style interface */
  533. typedef struct ITPluggableTerminalClassRegistrationVtbl
  534. {
  535. BEGIN_INTERFACE
  536. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  537. ITPluggableTerminalClassRegistration * This,
  538. /* [in] */ REFIID riid,
  539. /* [iid_is][out] */ void **ppvObject);
  540. ULONG ( STDMETHODCALLTYPE *AddRef )(
  541. ITPluggableTerminalClassRegistration * This);
  542. ULONG ( STDMETHODCALLTYPE *Release )(
  543. ITPluggableTerminalClassRegistration * This);
  544. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  545. ITPluggableTerminalClassRegistration * This,
  546. /* [out] */ UINT *pctinfo);
  547. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  548. ITPluggableTerminalClassRegistration * This,
  549. /* [in] */ UINT iTInfo,
  550. /* [in] */ LCID lcid,
  551. /* [out] */ ITypeInfo **ppTInfo);
  552. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  553. ITPluggableTerminalClassRegistration * This,
  554. /* [in] */ REFIID riid,
  555. /* [size_is][in] */ LPOLESTR *rgszNames,
  556. /* [in] */ UINT cNames,
  557. /* [in] */ LCID lcid,
  558. /* [size_is][out] */ DISPID *rgDispId);
  559. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  560. ITPluggableTerminalClassRegistration * This,
  561. /* [in] */ DISPID dispIdMember,
  562. /* [in] */ REFIID riid,
  563. /* [in] */ LCID lcid,
  564. /* [in] */ WORD wFlags,
  565. /* [out][in] */ DISPPARAMS *pDispParams,
  566. /* [out] */ VARIANT *pVarResult,
  567. /* [out] */ EXCEPINFO *pExcepInfo,
  568. /* [out] */ UINT *puArgErr);
  569. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  570. ITPluggableTerminalClassRegistration * This,
  571. /* [retval][out] */ BSTR *pName);
  572. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  573. ITPluggableTerminalClassRegistration * This,
  574. /* [in] */ BSTR bstrName);
  575. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Company )(
  576. ITPluggableTerminalClassRegistration * This,
  577. /* [retval][out] */ BSTR *pCompany);
  578. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Company )(
  579. ITPluggableTerminalClassRegistration * This,
  580. /* [in] */ BSTR bstrCompany);
  581. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  582. ITPluggableTerminalClassRegistration * This,
  583. /* [retval][out] */ BSTR *pVersion);
  584. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Version )(
  585. ITPluggableTerminalClassRegistration * This,
  586. /* [in] */ BSTR bstrVersion);
  587. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalClass )(
  588. ITPluggableTerminalClassRegistration * This,
  589. /* [retval][out] */ BSTR *pTerminalClass);
  590. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_TerminalClass )(
  591. ITPluggableTerminalClassRegistration * This,
  592. /* [in] */ BSTR bstrTerminalClass);
  593. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CLSID )(
  594. ITPluggableTerminalClassRegistration * This,
  595. /* [retval][out] */ BSTR *pCLSID);
  596. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CLSID )(
  597. ITPluggableTerminalClassRegistration * This,
  598. /* [in] */ BSTR bstrCLSID);
  599. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )(
  600. ITPluggableTerminalClassRegistration * This,
  601. /* [retval][out] */ TMGR_DIRECTION *pDirection);
  602. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Direction )(
  603. ITPluggableTerminalClassRegistration * This,
  604. /* [in] */ TMGR_DIRECTION nDirection);
  605. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypes )(
  606. ITPluggableTerminalClassRegistration * This,
  607. /* [retval][out] */ long *pMediaTypes);
  608. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MediaTypes )(
  609. ITPluggableTerminalClassRegistration * This,
  610. /* [in] */ long nMediaTypes);
  611. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  612. ITPluggableTerminalClassRegistration * This,
  613. /* [in] */ BSTR bstrSuperclass);
  614. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  615. ITPluggableTerminalClassRegistration * This,
  616. /* [in] */ BSTR bstrSuperclass);
  617. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTerminalClassInfo )(
  618. ITPluggableTerminalClassRegistration * This,
  619. /* [in] */ BSTR bstrSuperclass);
  620. END_INTERFACE
  621. } ITPluggableTerminalClassRegistrationVtbl;
  622. interface ITPluggableTerminalClassRegistration
  623. {
  624. CONST_VTBL struct ITPluggableTerminalClassRegistrationVtbl *lpVtbl;
  625. };
  626. #ifdef COBJMACROS
  627. #define ITPluggableTerminalClassRegistration_QueryInterface(This,riid,ppvObject) \
  628. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  629. #define ITPluggableTerminalClassRegistration_AddRef(This) \
  630. (This)->lpVtbl -> AddRef(This)
  631. #define ITPluggableTerminalClassRegistration_Release(This) \
  632. (This)->lpVtbl -> Release(This)
  633. #define ITPluggableTerminalClassRegistration_GetTypeInfoCount(This,pctinfo) \
  634. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  635. #define ITPluggableTerminalClassRegistration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  636. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  637. #define ITPluggableTerminalClassRegistration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  638. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  639. #define ITPluggableTerminalClassRegistration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  640. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  641. #define ITPluggableTerminalClassRegistration_get_Name(This,pName) \
  642. (This)->lpVtbl -> get_Name(This,pName)
  643. #define ITPluggableTerminalClassRegistration_put_Name(This,bstrName) \
  644. (This)->lpVtbl -> put_Name(This,bstrName)
  645. #define ITPluggableTerminalClassRegistration_get_Company(This,pCompany) \
  646. (This)->lpVtbl -> get_Company(This,pCompany)
  647. #define ITPluggableTerminalClassRegistration_put_Company(This,bstrCompany) \
  648. (This)->lpVtbl -> put_Company(This,bstrCompany)
  649. #define ITPluggableTerminalClassRegistration_get_Version(This,pVersion) \
  650. (This)->lpVtbl -> get_Version(This,pVersion)
  651. #define ITPluggableTerminalClassRegistration_put_Version(This,bstrVersion) \
  652. (This)->lpVtbl -> put_Version(This,bstrVersion)
  653. #define ITPluggableTerminalClassRegistration_get_TerminalClass(This,pTerminalClass) \
  654. (This)->lpVtbl -> get_TerminalClass(This,pTerminalClass)
  655. #define ITPluggableTerminalClassRegistration_put_TerminalClass(This,bstrTerminalClass) \
  656. (This)->lpVtbl -> put_TerminalClass(This,bstrTerminalClass)
  657. #define ITPluggableTerminalClassRegistration_get_CLSID(This,pCLSID) \
  658. (This)->lpVtbl -> get_CLSID(This,pCLSID)
  659. #define ITPluggableTerminalClassRegistration_put_CLSID(This,bstrCLSID) \
  660. (This)->lpVtbl -> put_CLSID(This,bstrCLSID)
  661. #define ITPluggableTerminalClassRegistration_get_Direction(This,pDirection) \
  662. (This)->lpVtbl -> get_Direction(This,pDirection)
  663. #define ITPluggableTerminalClassRegistration_put_Direction(This,nDirection) \
  664. (This)->lpVtbl -> put_Direction(This,nDirection)
  665. #define ITPluggableTerminalClassRegistration_get_MediaTypes(This,pMediaTypes) \
  666. (This)->lpVtbl -> get_MediaTypes(This,pMediaTypes)
  667. #define ITPluggableTerminalClassRegistration_put_MediaTypes(This,nMediaTypes) \
  668. (This)->lpVtbl -> put_MediaTypes(This,nMediaTypes)
  669. #define ITPluggableTerminalClassRegistration_Add(This,bstrSuperclass) \
  670. (This)->lpVtbl -> Add(This,bstrSuperclass)
  671. #define ITPluggableTerminalClassRegistration_Delete(This,bstrSuperclass) \
  672. (This)->lpVtbl -> Delete(This,bstrSuperclass)
  673. #define ITPluggableTerminalClassRegistration_GetTerminalClassInfo(This,bstrSuperclass) \
  674. (This)->lpVtbl -> GetTerminalClassInfo(This,bstrSuperclass)
  675. #endif /* COBJMACROS */
  676. #endif /* C style interface */
  677. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_Name_Proxy(
  678. ITPluggableTerminalClassRegistration * This,
  679. /* [retval][out] */ BSTR *pName);
  680. void __RPC_STUB ITPluggableTerminalClassRegistration_get_Name_Stub(
  681. IRpcStubBuffer *This,
  682. IRpcChannelBuffer *_pRpcChannelBuffer,
  683. PRPC_MESSAGE _pRpcMessage,
  684. DWORD *_pdwStubPhase);
  685. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_Name_Proxy(
  686. ITPluggableTerminalClassRegistration * This,
  687. /* [in] */ BSTR bstrName);
  688. void __RPC_STUB ITPluggableTerminalClassRegistration_put_Name_Stub(
  689. IRpcStubBuffer *This,
  690. IRpcChannelBuffer *_pRpcChannelBuffer,
  691. PRPC_MESSAGE _pRpcMessage,
  692. DWORD *_pdwStubPhase);
  693. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_Company_Proxy(
  694. ITPluggableTerminalClassRegistration * This,
  695. /* [retval][out] */ BSTR *pCompany);
  696. void __RPC_STUB ITPluggableTerminalClassRegistration_get_Company_Stub(
  697. IRpcStubBuffer *This,
  698. IRpcChannelBuffer *_pRpcChannelBuffer,
  699. PRPC_MESSAGE _pRpcMessage,
  700. DWORD *_pdwStubPhase);
  701. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_Company_Proxy(
  702. ITPluggableTerminalClassRegistration * This,
  703. /* [in] */ BSTR bstrCompany);
  704. void __RPC_STUB ITPluggableTerminalClassRegistration_put_Company_Stub(
  705. IRpcStubBuffer *This,
  706. IRpcChannelBuffer *_pRpcChannelBuffer,
  707. PRPC_MESSAGE _pRpcMessage,
  708. DWORD *_pdwStubPhase);
  709. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_Version_Proxy(
  710. ITPluggableTerminalClassRegistration * This,
  711. /* [retval][out] */ BSTR *pVersion);
  712. void __RPC_STUB ITPluggableTerminalClassRegistration_get_Version_Stub(
  713. IRpcStubBuffer *This,
  714. IRpcChannelBuffer *_pRpcChannelBuffer,
  715. PRPC_MESSAGE _pRpcMessage,
  716. DWORD *_pdwStubPhase);
  717. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_Version_Proxy(
  718. ITPluggableTerminalClassRegistration * This,
  719. /* [in] */ BSTR bstrVersion);
  720. void __RPC_STUB ITPluggableTerminalClassRegistration_put_Version_Stub(
  721. IRpcStubBuffer *This,
  722. IRpcChannelBuffer *_pRpcChannelBuffer,
  723. PRPC_MESSAGE _pRpcMessage,
  724. DWORD *_pdwStubPhase);
  725. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_TerminalClass_Proxy(
  726. ITPluggableTerminalClassRegistration * This,
  727. /* [retval][out] */ BSTR *pTerminalClass);
  728. void __RPC_STUB ITPluggableTerminalClassRegistration_get_TerminalClass_Stub(
  729. IRpcStubBuffer *This,
  730. IRpcChannelBuffer *_pRpcChannelBuffer,
  731. PRPC_MESSAGE _pRpcMessage,
  732. DWORD *_pdwStubPhase);
  733. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_TerminalClass_Proxy(
  734. ITPluggableTerminalClassRegistration * This,
  735. /* [in] */ BSTR bstrTerminalClass);
  736. void __RPC_STUB ITPluggableTerminalClassRegistration_put_TerminalClass_Stub(
  737. IRpcStubBuffer *This,
  738. IRpcChannelBuffer *_pRpcChannelBuffer,
  739. PRPC_MESSAGE _pRpcMessage,
  740. DWORD *_pdwStubPhase);
  741. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_CLSID_Proxy(
  742. ITPluggableTerminalClassRegistration * This,
  743. /* [retval][out] */ BSTR *pCLSID);
  744. void __RPC_STUB ITPluggableTerminalClassRegistration_get_CLSID_Stub(
  745. IRpcStubBuffer *This,
  746. IRpcChannelBuffer *_pRpcChannelBuffer,
  747. PRPC_MESSAGE _pRpcMessage,
  748. DWORD *_pdwStubPhase);
  749. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_CLSID_Proxy(
  750. ITPluggableTerminalClassRegistration * This,
  751. /* [in] */ BSTR bstrCLSID);
  752. void __RPC_STUB ITPluggableTerminalClassRegistration_put_CLSID_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_Direction_Proxy(
  758. ITPluggableTerminalClassRegistration * This,
  759. /* [retval][out] */ TMGR_DIRECTION *pDirection);
  760. void __RPC_STUB ITPluggableTerminalClassRegistration_get_Direction_Stub(
  761. IRpcStubBuffer *This,
  762. IRpcChannelBuffer *_pRpcChannelBuffer,
  763. PRPC_MESSAGE _pRpcMessage,
  764. DWORD *_pdwStubPhase);
  765. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_Direction_Proxy(
  766. ITPluggableTerminalClassRegistration * This,
  767. /* [in] */ TMGR_DIRECTION nDirection);
  768. void __RPC_STUB ITPluggableTerminalClassRegistration_put_Direction_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_get_MediaTypes_Proxy(
  774. ITPluggableTerminalClassRegistration * This,
  775. /* [retval][out] */ long *pMediaTypes);
  776. void __RPC_STUB ITPluggableTerminalClassRegistration_get_MediaTypes_Stub(
  777. IRpcStubBuffer *This,
  778. IRpcChannelBuffer *_pRpcChannelBuffer,
  779. PRPC_MESSAGE _pRpcMessage,
  780. DWORD *_pdwStubPhase);
  781. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_put_MediaTypes_Proxy(
  782. ITPluggableTerminalClassRegistration * This,
  783. /* [in] */ long nMediaTypes);
  784. void __RPC_STUB ITPluggableTerminalClassRegistration_put_MediaTypes_Stub(
  785. IRpcStubBuffer *This,
  786. IRpcChannelBuffer *_pRpcChannelBuffer,
  787. PRPC_MESSAGE _pRpcMessage,
  788. DWORD *_pdwStubPhase);
  789. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_Add_Proxy(
  790. ITPluggableTerminalClassRegistration * This,
  791. /* [in] */ BSTR bstrSuperclass);
  792. void __RPC_STUB ITPluggableTerminalClassRegistration_Add_Stub(
  793. IRpcStubBuffer *This,
  794. IRpcChannelBuffer *_pRpcChannelBuffer,
  795. PRPC_MESSAGE _pRpcMessage,
  796. DWORD *_pdwStubPhase);
  797. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_Delete_Proxy(
  798. ITPluggableTerminalClassRegistration * This,
  799. /* [in] */ BSTR bstrSuperclass);
  800. void __RPC_STUB ITPluggableTerminalClassRegistration_Delete_Stub(
  801. IRpcStubBuffer *This,
  802. IRpcChannelBuffer *_pRpcChannelBuffer,
  803. PRPC_MESSAGE _pRpcMessage,
  804. DWORD *_pdwStubPhase);
  805. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassRegistration_GetTerminalClassInfo_Proxy(
  806. ITPluggableTerminalClassRegistration * This,
  807. /* [in] */ BSTR bstrSuperclass);
  808. void __RPC_STUB ITPluggableTerminalClassRegistration_GetTerminalClassInfo_Stub(
  809. IRpcStubBuffer *This,
  810. IRpcChannelBuffer *_pRpcChannelBuffer,
  811. PRPC_MESSAGE _pRpcMessage,
  812. DWORD *_pdwStubPhase);
  813. #endif /* __ITPluggableTerminalClassRegistration_INTERFACE_DEFINED__ */
  814. #ifndef __ITPluggableTerminalSuperclassRegistration_INTERFACE_DEFINED__
  815. #define __ITPluggableTerminalSuperclassRegistration_INTERFACE_DEFINED__
  816. /* interface ITPluggableTerminalSuperclassRegistration */
  817. /* [unique][helpstring][dual][uuid][object] */
  818. EXTERN_C const IID IID_ITPluggableTerminalSuperclassRegistration;
  819. #if defined(__cplusplus) && !defined(CINTERFACE)
  820. MIDL_INTERFACE("60D3C08A-C13E-4195-9AB0-8DE768090F25")
  821. ITPluggableTerminalSuperclassRegistration : public IDispatch
  822. {
  823. public:
  824. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  825. /* [retval][out] */ BSTR *pName) = 0;
  826. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_Name(
  827. /* [in] */ BSTR bstrName) = 0;
  828. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CLSID(
  829. /* [retval][out] */ BSTR *pCLSID) = 0;
  830. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_CLSID(
  831. /* [in] */ BSTR bstrCLSID) = 0;
  832. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add( void) = 0;
  833. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Delete( void) = 0;
  834. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetTerminalSuperclassInfo( void) = 0;
  835. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TerminalClasses(
  836. /* [retval][out] */ VARIANT *pTerminals) = 0;
  837. virtual /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminalClasses(
  838. /* [retval][out] */ IEnumTerminalClass **ppTerminals) = 0;
  839. };
  840. #else /* C style interface */
  841. typedef struct ITPluggableTerminalSuperclassRegistrationVtbl
  842. {
  843. BEGIN_INTERFACE
  844. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  845. ITPluggableTerminalSuperclassRegistration * This,
  846. /* [in] */ REFIID riid,
  847. /* [iid_is][out] */ void **ppvObject);
  848. ULONG ( STDMETHODCALLTYPE *AddRef )(
  849. ITPluggableTerminalSuperclassRegistration * This);
  850. ULONG ( STDMETHODCALLTYPE *Release )(
  851. ITPluggableTerminalSuperclassRegistration * This);
  852. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  853. ITPluggableTerminalSuperclassRegistration * This,
  854. /* [out] */ UINT *pctinfo);
  855. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  856. ITPluggableTerminalSuperclassRegistration * This,
  857. /* [in] */ UINT iTInfo,
  858. /* [in] */ LCID lcid,
  859. /* [out] */ ITypeInfo **ppTInfo);
  860. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  861. ITPluggableTerminalSuperclassRegistration * This,
  862. /* [in] */ REFIID riid,
  863. /* [size_is][in] */ LPOLESTR *rgszNames,
  864. /* [in] */ UINT cNames,
  865. /* [in] */ LCID lcid,
  866. /* [size_is][out] */ DISPID *rgDispId);
  867. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  868. ITPluggableTerminalSuperclassRegistration * This,
  869. /* [in] */ DISPID dispIdMember,
  870. /* [in] */ REFIID riid,
  871. /* [in] */ LCID lcid,
  872. /* [in] */ WORD wFlags,
  873. /* [out][in] */ DISPPARAMS *pDispParams,
  874. /* [out] */ VARIANT *pVarResult,
  875. /* [out] */ EXCEPINFO *pExcepInfo,
  876. /* [out] */ UINT *puArgErr);
  877. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  878. ITPluggableTerminalSuperclassRegistration * This,
  879. /* [retval][out] */ BSTR *pName);
  880. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  881. ITPluggableTerminalSuperclassRegistration * This,
  882. /* [in] */ BSTR bstrName);
  883. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CLSID )(
  884. ITPluggableTerminalSuperclassRegistration * This,
  885. /* [retval][out] */ BSTR *pCLSID);
  886. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_CLSID )(
  887. ITPluggableTerminalSuperclassRegistration * This,
  888. /* [in] */ BSTR bstrCLSID);
  889. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  890. ITPluggableTerminalSuperclassRegistration * This);
  891. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Delete )(
  892. ITPluggableTerminalSuperclassRegistration * This);
  893. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTerminalSuperclassInfo )(
  894. ITPluggableTerminalSuperclassRegistration * This);
  895. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalClasses )(
  896. ITPluggableTerminalSuperclassRegistration * This,
  897. /* [retval][out] */ VARIANT *pTerminals);
  898. /* [hidden][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminalClasses )(
  899. ITPluggableTerminalSuperclassRegistration * This,
  900. /* [retval][out] */ IEnumTerminalClass **ppTerminals);
  901. END_INTERFACE
  902. } ITPluggableTerminalSuperclassRegistrationVtbl;
  903. interface ITPluggableTerminalSuperclassRegistration
  904. {
  905. CONST_VTBL struct ITPluggableTerminalSuperclassRegistrationVtbl *lpVtbl;
  906. };
  907. #ifdef COBJMACROS
  908. #define ITPluggableTerminalSuperclassRegistration_QueryInterface(This,riid,ppvObject) \
  909. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  910. #define ITPluggableTerminalSuperclassRegistration_AddRef(This) \
  911. (This)->lpVtbl -> AddRef(This)
  912. #define ITPluggableTerminalSuperclassRegistration_Release(This) \
  913. (This)->lpVtbl -> Release(This)
  914. #define ITPluggableTerminalSuperclassRegistration_GetTypeInfoCount(This,pctinfo) \
  915. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  916. #define ITPluggableTerminalSuperclassRegistration_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  917. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  918. #define ITPluggableTerminalSuperclassRegistration_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  919. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  920. #define ITPluggableTerminalSuperclassRegistration_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  921. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  922. #define ITPluggableTerminalSuperclassRegistration_get_Name(This,pName) \
  923. (This)->lpVtbl -> get_Name(This,pName)
  924. #define ITPluggableTerminalSuperclassRegistration_put_Name(This,bstrName) \
  925. (This)->lpVtbl -> put_Name(This,bstrName)
  926. #define ITPluggableTerminalSuperclassRegistration_get_CLSID(This,pCLSID) \
  927. (This)->lpVtbl -> get_CLSID(This,pCLSID)
  928. #define ITPluggableTerminalSuperclassRegistration_put_CLSID(This,bstrCLSID) \
  929. (This)->lpVtbl -> put_CLSID(This,bstrCLSID)
  930. #define ITPluggableTerminalSuperclassRegistration_Add(This) \
  931. (This)->lpVtbl -> Add(This)
  932. #define ITPluggableTerminalSuperclassRegistration_Delete(This) \
  933. (This)->lpVtbl -> Delete(This)
  934. #define ITPluggableTerminalSuperclassRegistration_GetTerminalSuperclassInfo(This) \
  935. (This)->lpVtbl -> GetTerminalSuperclassInfo(This)
  936. #define ITPluggableTerminalSuperclassRegistration_get_TerminalClasses(This,pTerminals) \
  937. (This)->lpVtbl -> get_TerminalClasses(This,pTerminals)
  938. #define ITPluggableTerminalSuperclassRegistration_EnumerateTerminalClasses(This,ppTerminals) \
  939. (This)->lpVtbl -> EnumerateTerminalClasses(This,ppTerminals)
  940. #endif /* COBJMACROS */
  941. #endif /* C style interface */
  942. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_get_Name_Proxy(
  943. ITPluggableTerminalSuperclassRegistration * This,
  944. /* [retval][out] */ BSTR *pName);
  945. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_get_Name_Stub(
  946. IRpcStubBuffer *This,
  947. IRpcChannelBuffer *_pRpcChannelBuffer,
  948. PRPC_MESSAGE _pRpcMessage,
  949. DWORD *_pdwStubPhase);
  950. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_put_Name_Proxy(
  951. ITPluggableTerminalSuperclassRegistration * This,
  952. /* [in] */ BSTR bstrName);
  953. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_put_Name_Stub(
  954. IRpcStubBuffer *This,
  955. IRpcChannelBuffer *_pRpcChannelBuffer,
  956. PRPC_MESSAGE _pRpcMessage,
  957. DWORD *_pdwStubPhase);
  958. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_get_CLSID_Proxy(
  959. ITPluggableTerminalSuperclassRegistration * This,
  960. /* [retval][out] */ BSTR *pCLSID);
  961. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_get_CLSID_Stub(
  962. IRpcStubBuffer *This,
  963. IRpcChannelBuffer *_pRpcChannelBuffer,
  964. PRPC_MESSAGE _pRpcMessage,
  965. DWORD *_pdwStubPhase);
  966. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_put_CLSID_Proxy(
  967. ITPluggableTerminalSuperclassRegistration * This,
  968. /* [in] */ BSTR bstrCLSID);
  969. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_put_CLSID_Stub(
  970. IRpcStubBuffer *This,
  971. IRpcChannelBuffer *_pRpcChannelBuffer,
  972. PRPC_MESSAGE _pRpcMessage,
  973. DWORD *_pdwStubPhase);
  974. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_Add_Proxy(
  975. ITPluggableTerminalSuperclassRegistration * This);
  976. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_Add_Stub(
  977. IRpcStubBuffer *This,
  978. IRpcChannelBuffer *_pRpcChannelBuffer,
  979. PRPC_MESSAGE _pRpcMessage,
  980. DWORD *_pdwStubPhase);
  981. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_Delete_Proxy(
  982. ITPluggableTerminalSuperclassRegistration * This);
  983. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_Delete_Stub(
  984. IRpcStubBuffer *This,
  985. IRpcChannelBuffer *_pRpcChannelBuffer,
  986. PRPC_MESSAGE _pRpcMessage,
  987. DWORD *_pdwStubPhase);
  988. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_GetTerminalSuperclassInfo_Proxy(
  989. ITPluggableTerminalSuperclassRegistration * This);
  990. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_GetTerminalSuperclassInfo_Stub(
  991. IRpcStubBuffer *This,
  992. IRpcChannelBuffer *_pRpcChannelBuffer,
  993. PRPC_MESSAGE _pRpcMessage,
  994. DWORD *_pdwStubPhase);
  995. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_get_TerminalClasses_Proxy(
  996. ITPluggableTerminalSuperclassRegistration * This,
  997. /* [retval][out] */ VARIANT *pTerminals);
  998. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_get_TerminalClasses_Stub(
  999. IRpcStubBuffer *This,
  1000. IRpcChannelBuffer *_pRpcChannelBuffer,
  1001. PRPC_MESSAGE _pRpcMessage,
  1002. DWORD *_pdwStubPhase);
  1003. /* [hidden][helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassRegistration_EnumerateTerminalClasses_Proxy(
  1004. ITPluggableTerminalSuperclassRegistration * This,
  1005. /* [retval][out] */ IEnumTerminalClass **ppTerminals);
  1006. void __RPC_STUB ITPluggableTerminalSuperclassRegistration_EnumerateTerminalClasses_Stub(
  1007. IRpcStubBuffer *This,
  1008. IRpcChannelBuffer *_pRpcChannelBuffer,
  1009. PRPC_MESSAGE _pRpcMessage,
  1010. DWORD *_pdwStubPhase);
  1011. #endif /* __ITPluggableTerminalSuperclassRegistration_INTERFACE_DEFINED__ */
  1012. #ifndef __TERMMGRLib_LIBRARY_DEFINED__
  1013. #define __TERMMGRLib_LIBRARY_DEFINED__
  1014. /* library TERMMGRLib */
  1015. /* [helpstring][version][uuid] */
  1016. EXTERN_C const IID LIBID_TERMMGRLib;
  1017. EXTERN_C const CLSID CLSID_TerminalManager;
  1018. #ifdef __cplusplus
  1019. class DECLSPEC_UUID("7170F2E0-9BE3-11D0-A009-00AA00B605A4")
  1020. TerminalManager;
  1021. #endif
  1022. EXTERN_C const CLSID CLSID_PluggableSuperclassRegistration;
  1023. #ifdef __cplusplus
  1024. class DECLSPEC_UUID("BB918E32-2A5C-4986-AB40-1686A034390A")
  1025. PluggableSuperclassRegistration;
  1026. #endif
  1027. EXTERN_C const CLSID CLSID_PluggableTerminalRegistration;
  1028. #ifdef __cplusplus
  1029. class DECLSPEC_UUID("45234E3E-61CC-4311-A3AB-248082554482")
  1030. PluggableTerminalRegistration;
  1031. #endif
  1032. #endif /* __TERMMGRLib_LIBRARY_DEFINED__ */
  1033. /* Additional Prototypes for ALL interfaces */
  1034. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1035. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1036. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1037. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1038. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1039. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1040. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1041. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1042. /* end of Additional Prototypes */
  1043. #ifdef __cplusplus
  1044. }
  1045. #endif
  1046. #endif