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.

21343 lines
710 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 tapi3if.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 __tapi3if_h__
  27. #define __tapi3if_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITTAPI_FWD_DEFINED__
  33. #define __ITTAPI_FWD_DEFINED__
  34. typedef interface ITTAPI ITTAPI;
  35. #endif /* __ITTAPI_FWD_DEFINED__ */
  36. #ifndef __ITTAPI2_FWD_DEFINED__
  37. #define __ITTAPI2_FWD_DEFINED__
  38. typedef interface ITTAPI2 ITTAPI2;
  39. #endif /* __ITTAPI2_FWD_DEFINED__ */
  40. #ifndef __ITMediaSupport_FWD_DEFINED__
  41. #define __ITMediaSupport_FWD_DEFINED__
  42. typedef interface ITMediaSupport ITMediaSupport;
  43. #endif /* __ITMediaSupport_FWD_DEFINED__ */
  44. #ifndef __ITPluggableTerminalClassInfo_FWD_DEFINED__
  45. #define __ITPluggableTerminalClassInfo_FWD_DEFINED__
  46. typedef interface ITPluggableTerminalClassInfo ITPluggableTerminalClassInfo;
  47. #endif /* __ITPluggableTerminalClassInfo_FWD_DEFINED__ */
  48. #ifndef __ITPluggableTerminalSuperclassInfo_FWD_DEFINED__
  49. #define __ITPluggableTerminalSuperclassInfo_FWD_DEFINED__
  50. typedef interface ITPluggableTerminalSuperclassInfo ITPluggableTerminalSuperclassInfo;
  51. #endif /* __ITPluggableTerminalSuperclassInfo_FWD_DEFINED__ */
  52. #ifndef __ITTerminalSupport_FWD_DEFINED__
  53. #define __ITTerminalSupport_FWD_DEFINED__
  54. typedef interface ITTerminalSupport ITTerminalSupport;
  55. #endif /* __ITTerminalSupport_FWD_DEFINED__ */
  56. #ifndef __ITTerminalSupport2_FWD_DEFINED__
  57. #define __ITTerminalSupport2_FWD_DEFINED__
  58. typedef interface ITTerminalSupport2 ITTerminalSupport2;
  59. #endif /* __ITTerminalSupport2_FWD_DEFINED__ */
  60. #ifndef __ITAddress_FWD_DEFINED__
  61. #define __ITAddress_FWD_DEFINED__
  62. typedef interface ITAddress ITAddress;
  63. #endif /* __ITAddress_FWD_DEFINED__ */
  64. #ifndef __ITAddress2_FWD_DEFINED__
  65. #define __ITAddress2_FWD_DEFINED__
  66. typedef interface ITAddress2 ITAddress2;
  67. #endif /* __ITAddress2_FWD_DEFINED__ */
  68. #ifndef __ITAddressCapabilities_FWD_DEFINED__
  69. #define __ITAddressCapabilities_FWD_DEFINED__
  70. typedef interface ITAddressCapabilities ITAddressCapabilities;
  71. #endif /* __ITAddressCapabilities_FWD_DEFINED__ */
  72. #ifndef __ITPhone_FWD_DEFINED__
  73. #define __ITPhone_FWD_DEFINED__
  74. typedef interface ITPhone ITPhone;
  75. #endif /* __ITPhone_FWD_DEFINED__ */
  76. #ifndef __ITAutomatedPhoneControl_FWD_DEFINED__
  77. #define __ITAutomatedPhoneControl_FWD_DEFINED__
  78. typedef interface ITAutomatedPhoneControl ITAutomatedPhoneControl;
  79. #endif /* __ITAutomatedPhoneControl_FWD_DEFINED__ */
  80. #ifndef __ITBasicCallControl_FWD_DEFINED__
  81. #define __ITBasicCallControl_FWD_DEFINED__
  82. typedef interface ITBasicCallControl ITBasicCallControl;
  83. #endif /* __ITBasicCallControl_FWD_DEFINED__ */
  84. #ifndef __ITCallInfo_FWD_DEFINED__
  85. #define __ITCallInfo_FWD_DEFINED__
  86. typedef interface ITCallInfo ITCallInfo;
  87. #endif /* __ITCallInfo_FWD_DEFINED__ */
  88. #ifndef __ITCallInfo2_FWD_DEFINED__
  89. #define __ITCallInfo2_FWD_DEFINED__
  90. typedef interface ITCallInfo2 ITCallInfo2;
  91. #endif /* __ITCallInfo2_FWD_DEFINED__ */
  92. #ifndef __ITTerminal_FWD_DEFINED__
  93. #define __ITTerminal_FWD_DEFINED__
  94. typedef interface ITTerminal ITTerminal;
  95. #endif /* __ITTerminal_FWD_DEFINED__ */
  96. #ifndef __ITMultiTrackTerminal_FWD_DEFINED__
  97. #define __ITMultiTrackTerminal_FWD_DEFINED__
  98. typedef interface ITMultiTrackTerminal ITMultiTrackTerminal;
  99. #endif /* __ITMultiTrackTerminal_FWD_DEFINED__ */
  100. #ifndef __ITFileTrack_FWD_DEFINED__
  101. #define __ITFileTrack_FWD_DEFINED__
  102. typedef interface ITFileTrack ITFileTrack;
  103. #endif /* __ITFileTrack_FWD_DEFINED__ */
  104. #ifndef __ITMediaPlayback_FWD_DEFINED__
  105. #define __ITMediaPlayback_FWD_DEFINED__
  106. typedef interface ITMediaPlayback ITMediaPlayback;
  107. #endif /* __ITMediaPlayback_FWD_DEFINED__ */
  108. #ifndef __ITMediaRecord_FWD_DEFINED__
  109. #define __ITMediaRecord_FWD_DEFINED__
  110. typedef interface ITMediaRecord ITMediaRecord;
  111. #endif /* __ITMediaRecord_FWD_DEFINED__ */
  112. #ifndef __ITMediaControl_FWD_DEFINED__
  113. #define __ITMediaControl_FWD_DEFINED__
  114. typedef interface ITMediaControl ITMediaControl;
  115. #endif /* __ITMediaControl_FWD_DEFINED__ */
  116. #ifndef __ITBasicAudioTerminal_FWD_DEFINED__
  117. #define __ITBasicAudioTerminal_FWD_DEFINED__
  118. typedef interface ITBasicAudioTerminal ITBasicAudioTerminal;
  119. #endif /* __ITBasicAudioTerminal_FWD_DEFINED__ */
  120. #ifndef __ITStaticAudioTerminal_FWD_DEFINED__
  121. #define __ITStaticAudioTerminal_FWD_DEFINED__
  122. typedef interface ITStaticAudioTerminal ITStaticAudioTerminal;
  123. #endif /* __ITStaticAudioTerminal_FWD_DEFINED__ */
  124. #ifndef __ITCallHub_FWD_DEFINED__
  125. #define __ITCallHub_FWD_DEFINED__
  126. typedef interface ITCallHub ITCallHub;
  127. #endif /* __ITCallHub_FWD_DEFINED__ */
  128. #ifndef __ITLegacyAddressMediaControl_FWD_DEFINED__
  129. #define __ITLegacyAddressMediaControl_FWD_DEFINED__
  130. typedef interface ITLegacyAddressMediaControl ITLegacyAddressMediaControl;
  131. #endif /* __ITLegacyAddressMediaControl_FWD_DEFINED__ */
  132. #ifndef __ITPrivateEvent_FWD_DEFINED__
  133. #define __ITPrivateEvent_FWD_DEFINED__
  134. typedef interface ITPrivateEvent ITPrivateEvent;
  135. #endif /* __ITPrivateEvent_FWD_DEFINED__ */
  136. #ifndef __ITLegacyAddressMediaControl2_FWD_DEFINED__
  137. #define __ITLegacyAddressMediaControl2_FWD_DEFINED__
  138. typedef interface ITLegacyAddressMediaControl2 ITLegacyAddressMediaControl2;
  139. #endif /* __ITLegacyAddressMediaControl2_FWD_DEFINED__ */
  140. #ifndef __ITLegacyCallMediaControl_FWD_DEFINED__
  141. #define __ITLegacyCallMediaControl_FWD_DEFINED__
  142. typedef interface ITLegacyCallMediaControl ITLegacyCallMediaControl;
  143. #endif /* __ITLegacyCallMediaControl_FWD_DEFINED__ */
  144. #ifndef __ITLegacyCallMediaControl2_FWD_DEFINED__
  145. #define __ITLegacyCallMediaControl2_FWD_DEFINED__
  146. typedef interface ITLegacyCallMediaControl2 ITLegacyCallMediaControl2;
  147. #endif /* __ITLegacyCallMediaControl2_FWD_DEFINED__ */
  148. #ifndef __ITDetectTone_FWD_DEFINED__
  149. #define __ITDetectTone_FWD_DEFINED__
  150. typedef interface ITDetectTone ITDetectTone;
  151. #endif /* __ITDetectTone_FWD_DEFINED__ */
  152. #ifndef __ITCustomTone_FWD_DEFINED__
  153. #define __ITCustomTone_FWD_DEFINED__
  154. typedef interface ITCustomTone ITCustomTone;
  155. #endif /* __ITCustomTone_FWD_DEFINED__ */
  156. #ifndef __IEnumPhone_FWD_DEFINED__
  157. #define __IEnumPhone_FWD_DEFINED__
  158. typedef interface IEnumPhone IEnumPhone;
  159. #endif /* __IEnumPhone_FWD_DEFINED__ */
  160. #ifndef __IEnumTerminal_FWD_DEFINED__
  161. #define __IEnumTerminal_FWD_DEFINED__
  162. typedef interface IEnumTerminal IEnumTerminal;
  163. #endif /* __IEnumTerminal_FWD_DEFINED__ */
  164. #ifndef __IEnumTerminalClass_FWD_DEFINED__
  165. #define __IEnumTerminalClass_FWD_DEFINED__
  166. typedef interface IEnumTerminalClass IEnumTerminalClass;
  167. #endif /* __IEnumTerminalClass_FWD_DEFINED__ */
  168. #ifndef __IEnumCall_FWD_DEFINED__
  169. #define __IEnumCall_FWD_DEFINED__
  170. typedef interface IEnumCall IEnumCall;
  171. #endif /* __IEnumCall_FWD_DEFINED__ */
  172. #ifndef __IEnumAddress_FWD_DEFINED__
  173. #define __IEnumAddress_FWD_DEFINED__
  174. typedef interface IEnumAddress IEnumAddress;
  175. #endif /* __IEnumAddress_FWD_DEFINED__ */
  176. #ifndef __IEnumCallHub_FWD_DEFINED__
  177. #define __IEnumCallHub_FWD_DEFINED__
  178. typedef interface IEnumCallHub IEnumCallHub;
  179. #endif /* __IEnumCallHub_FWD_DEFINED__ */
  180. #ifndef __IEnumBstr_FWD_DEFINED__
  181. #define __IEnumBstr_FWD_DEFINED__
  182. typedef interface IEnumBstr IEnumBstr;
  183. #endif /* __IEnumBstr_FWD_DEFINED__ */
  184. #ifndef __IEnumPluggableTerminalClassInfo_FWD_DEFINED__
  185. #define __IEnumPluggableTerminalClassInfo_FWD_DEFINED__
  186. typedef interface IEnumPluggableTerminalClassInfo IEnumPluggableTerminalClassInfo;
  187. #endif /* __IEnumPluggableTerminalClassInfo_FWD_DEFINED__ */
  188. #ifndef __IEnumPluggableSuperclassInfo_FWD_DEFINED__
  189. #define __IEnumPluggableSuperclassInfo_FWD_DEFINED__
  190. typedef interface IEnumPluggableSuperclassInfo IEnumPluggableSuperclassInfo;
  191. #endif /* __IEnumPluggableSuperclassInfo_FWD_DEFINED__ */
  192. #ifndef __ITPhoneEvent_FWD_DEFINED__
  193. #define __ITPhoneEvent_FWD_DEFINED__
  194. typedef interface ITPhoneEvent ITPhoneEvent;
  195. #endif /* __ITPhoneEvent_FWD_DEFINED__ */
  196. #ifndef __ITCallStateEvent_FWD_DEFINED__
  197. #define __ITCallStateEvent_FWD_DEFINED__
  198. typedef interface ITCallStateEvent ITCallStateEvent;
  199. #endif /* __ITCallStateEvent_FWD_DEFINED__ */
  200. #ifndef __ITPhoneDeviceSpecificEvent_FWD_DEFINED__
  201. #define __ITPhoneDeviceSpecificEvent_FWD_DEFINED__
  202. typedef interface ITPhoneDeviceSpecificEvent ITPhoneDeviceSpecificEvent;
  203. #endif /* __ITPhoneDeviceSpecificEvent_FWD_DEFINED__ */
  204. #ifndef __ITCallMediaEvent_FWD_DEFINED__
  205. #define __ITCallMediaEvent_FWD_DEFINED__
  206. typedef interface ITCallMediaEvent ITCallMediaEvent;
  207. #endif /* __ITCallMediaEvent_FWD_DEFINED__ */
  208. #ifndef __ITDigitDetectionEvent_FWD_DEFINED__
  209. #define __ITDigitDetectionEvent_FWD_DEFINED__
  210. typedef interface ITDigitDetectionEvent ITDigitDetectionEvent;
  211. #endif /* __ITDigitDetectionEvent_FWD_DEFINED__ */
  212. #ifndef __ITDigitGenerationEvent_FWD_DEFINED__
  213. #define __ITDigitGenerationEvent_FWD_DEFINED__
  214. typedef interface ITDigitGenerationEvent ITDigitGenerationEvent;
  215. #endif /* __ITDigitGenerationEvent_FWD_DEFINED__ */
  216. #ifndef __ITDigitsGatheredEvent_FWD_DEFINED__
  217. #define __ITDigitsGatheredEvent_FWD_DEFINED__
  218. typedef interface ITDigitsGatheredEvent ITDigitsGatheredEvent;
  219. #endif /* __ITDigitsGatheredEvent_FWD_DEFINED__ */
  220. #ifndef __ITToneDetectionEvent_FWD_DEFINED__
  221. #define __ITToneDetectionEvent_FWD_DEFINED__
  222. typedef interface ITToneDetectionEvent ITToneDetectionEvent;
  223. #endif /* __ITToneDetectionEvent_FWD_DEFINED__ */
  224. #ifndef __ITTAPIObjectEvent_FWD_DEFINED__
  225. #define __ITTAPIObjectEvent_FWD_DEFINED__
  226. typedef interface ITTAPIObjectEvent ITTAPIObjectEvent;
  227. #endif /* __ITTAPIObjectEvent_FWD_DEFINED__ */
  228. #ifndef __ITTAPIObjectEvent2_FWD_DEFINED__
  229. #define __ITTAPIObjectEvent2_FWD_DEFINED__
  230. typedef interface ITTAPIObjectEvent2 ITTAPIObjectEvent2;
  231. #endif /* __ITTAPIObjectEvent2_FWD_DEFINED__ */
  232. #ifndef __ITTAPIEventNotification_FWD_DEFINED__
  233. #define __ITTAPIEventNotification_FWD_DEFINED__
  234. typedef interface ITTAPIEventNotification ITTAPIEventNotification;
  235. #endif /* __ITTAPIEventNotification_FWD_DEFINED__ */
  236. #ifndef __ITCallHubEvent_FWD_DEFINED__
  237. #define __ITCallHubEvent_FWD_DEFINED__
  238. typedef interface ITCallHubEvent ITCallHubEvent;
  239. #endif /* __ITCallHubEvent_FWD_DEFINED__ */
  240. #ifndef __ITAddressEvent_FWD_DEFINED__
  241. #define __ITAddressEvent_FWD_DEFINED__
  242. typedef interface ITAddressEvent ITAddressEvent;
  243. #endif /* __ITAddressEvent_FWD_DEFINED__ */
  244. #ifndef __ITAddressDeviceSpecificEvent_FWD_DEFINED__
  245. #define __ITAddressDeviceSpecificEvent_FWD_DEFINED__
  246. typedef interface ITAddressDeviceSpecificEvent ITAddressDeviceSpecificEvent;
  247. #endif /* __ITAddressDeviceSpecificEvent_FWD_DEFINED__ */
  248. #ifndef __ITFileTerminalEvent_FWD_DEFINED__
  249. #define __ITFileTerminalEvent_FWD_DEFINED__
  250. typedef interface ITFileTerminalEvent ITFileTerminalEvent;
  251. #endif /* __ITFileTerminalEvent_FWD_DEFINED__ */
  252. #ifndef __ITTTSTerminalEvent_FWD_DEFINED__
  253. #define __ITTTSTerminalEvent_FWD_DEFINED__
  254. typedef interface ITTTSTerminalEvent ITTTSTerminalEvent;
  255. #endif /* __ITTTSTerminalEvent_FWD_DEFINED__ */
  256. #ifndef __ITASRTerminalEvent_FWD_DEFINED__
  257. #define __ITASRTerminalEvent_FWD_DEFINED__
  258. typedef interface ITASRTerminalEvent ITASRTerminalEvent;
  259. #endif /* __ITASRTerminalEvent_FWD_DEFINED__ */
  260. #ifndef __ITToneTerminalEvent_FWD_DEFINED__
  261. #define __ITToneTerminalEvent_FWD_DEFINED__
  262. typedef interface ITToneTerminalEvent ITToneTerminalEvent;
  263. #endif /* __ITToneTerminalEvent_FWD_DEFINED__ */
  264. #ifndef __ITQOSEvent_FWD_DEFINED__
  265. #define __ITQOSEvent_FWD_DEFINED__
  266. typedef interface ITQOSEvent ITQOSEvent;
  267. #endif /* __ITQOSEvent_FWD_DEFINED__ */
  268. #ifndef __ITCallInfoChangeEvent_FWD_DEFINED__
  269. #define __ITCallInfoChangeEvent_FWD_DEFINED__
  270. typedef interface ITCallInfoChangeEvent ITCallInfoChangeEvent;
  271. #endif /* __ITCallInfoChangeEvent_FWD_DEFINED__ */
  272. #ifndef __ITRequest_FWD_DEFINED__
  273. #define __ITRequest_FWD_DEFINED__
  274. typedef interface ITRequest ITRequest;
  275. #endif /* __ITRequest_FWD_DEFINED__ */
  276. #ifndef __ITRequestEvent_FWD_DEFINED__
  277. #define __ITRequestEvent_FWD_DEFINED__
  278. typedef interface ITRequestEvent ITRequestEvent;
  279. #endif /* __ITRequestEvent_FWD_DEFINED__ */
  280. #ifndef __ITCollection_FWD_DEFINED__
  281. #define __ITCollection_FWD_DEFINED__
  282. typedef interface ITCollection ITCollection;
  283. #endif /* __ITCollection_FWD_DEFINED__ */
  284. #ifndef __ITCollection2_FWD_DEFINED__
  285. #define __ITCollection2_FWD_DEFINED__
  286. typedef interface ITCollection2 ITCollection2;
  287. #endif /* __ITCollection2_FWD_DEFINED__ */
  288. #ifndef __ITForwardInformation_FWD_DEFINED__
  289. #define __ITForwardInformation_FWD_DEFINED__
  290. typedef interface ITForwardInformation ITForwardInformation;
  291. #endif /* __ITForwardInformation_FWD_DEFINED__ */
  292. #ifndef __ITForwardInformation2_FWD_DEFINED__
  293. #define __ITForwardInformation2_FWD_DEFINED__
  294. typedef interface ITForwardInformation2 ITForwardInformation2;
  295. #endif /* __ITForwardInformation2_FWD_DEFINED__ */
  296. #ifndef __ITAddressTranslation_FWD_DEFINED__
  297. #define __ITAddressTranslation_FWD_DEFINED__
  298. typedef interface ITAddressTranslation ITAddressTranslation;
  299. #endif /* __ITAddressTranslation_FWD_DEFINED__ */
  300. #ifndef __ITAddressTranslationInfo_FWD_DEFINED__
  301. #define __ITAddressTranslationInfo_FWD_DEFINED__
  302. typedef interface ITAddressTranslationInfo ITAddressTranslationInfo;
  303. #endif /* __ITAddressTranslationInfo_FWD_DEFINED__ */
  304. #ifndef __ITLocationInfo_FWD_DEFINED__
  305. #define __ITLocationInfo_FWD_DEFINED__
  306. typedef interface ITLocationInfo ITLocationInfo;
  307. #endif /* __ITLocationInfo_FWD_DEFINED__ */
  308. #ifndef __IEnumLocation_FWD_DEFINED__
  309. #define __IEnumLocation_FWD_DEFINED__
  310. typedef interface IEnumLocation IEnumLocation;
  311. #endif /* __IEnumLocation_FWD_DEFINED__ */
  312. #ifndef __ITCallingCard_FWD_DEFINED__
  313. #define __ITCallingCard_FWD_DEFINED__
  314. typedef interface ITCallingCard ITCallingCard;
  315. #endif /* __ITCallingCard_FWD_DEFINED__ */
  316. #ifndef __IEnumCallingCard_FWD_DEFINED__
  317. #define __IEnumCallingCard_FWD_DEFINED__
  318. typedef interface IEnumCallingCard IEnumCallingCard;
  319. #endif /* __IEnumCallingCard_FWD_DEFINED__ */
  320. #ifndef __ITCallNotificationEvent_FWD_DEFINED__
  321. #define __ITCallNotificationEvent_FWD_DEFINED__
  322. typedef interface ITCallNotificationEvent ITCallNotificationEvent;
  323. #endif /* __ITCallNotificationEvent_FWD_DEFINED__ */
  324. #ifndef __ITDispatchMapper_FWD_DEFINED__
  325. #define __ITDispatchMapper_FWD_DEFINED__
  326. typedef interface ITDispatchMapper ITDispatchMapper;
  327. #endif /* __ITDispatchMapper_FWD_DEFINED__ */
  328. #ifndef __ITStreamControl_FWD_DEFINED__
  329. #define __ITStreamControl_FWD_DEFINED__
  330. typedef interface ITStreamControl ITStreamControl;
  331. #endif /* __ITStreamControl_FWD_DEFINED__ */
  332. #ifndef __ITStream_FWD_DEFINED__
  333. #define __ITStream_FWD_DEFINED__
  334. typedef interface ITStream ITStream;
  335. #endif /* __ITStream_FWD_DEFINED__ */
  336. #ifndef __IEnumStream_FWD_DEFINED__
  337. #define __IEnumStream_FWD_DEFINED__
  338. typedef interface IEnumStream IEnumStream;
  339. #endif /* __IEnumStream_FWD_DEFINED__ */
  340. #ifndef __ITSubStreamControl_FWD_DEFINED__
  341. #define __ITSubStreamControl_FWD_DEFINED__
  342. typedef interface ITSubStreamControl ITSubStreamControl;
  343. #endif /* __ITSubStreamControl_FWD_DEFINED__ */
  344. #ifndef __ITSubStream_FWD_DEFINED__
  345. #define __ITSubStream_FWD_DEFINED__
  346. typedef interface ITSubStream ITSubStream;
  347. #endif /* __ITSubStream_FWD_DEFINED__ */
  348. #ifndef __IEnumSubStream_FWD_DEFINED__
  349. #define __IEnumSubStream_FWD_DEFINED__
  350. typedef interface IEnumSubStream IEnumSubStream;
  351. #endif /* __IEnumSubStream_FWD_DEFINED__ */
  352. #ifndef __ITLegacyWaveSupport_FWD_DEFINED__
  353. #define __ITLegacyWaveSupport_FWD_DEFINED__
  354. typedef interface ITLegacyWaveSupport ITLegacyWaveSupport;
  355. #endif /* __ITLegacyWaveSupport_FWD_DEFINED__ */
  356. #ifndef __ITBasicCallControl2_FWD_DEFINED__
  357. #define __ITBasicCallControl2_FWD_DEFINED__
  358. typedef interface ITBasicCallControl2 ITBasicCallControl2;
  359. #endif /* __ITBasicCallControl2_FWD_DEFINED__ */
  360. #ifndef __ITScriptableAudioFormat_FWD_DEFINED__
  361. #define __ITScriptableAudioFormat_FWD_DEFINED__
  362. typedef interface ITScriptableAudioFormat ITScriptableAudioFormat;
  363. #endif /* __ITScriptableAudioFormat_FWD_DEFINED__ */
  364. /* header files for imported files */
  365. #include "oaidl.h"
  366. #include "strmif.h"
  367. #ifdef __cplusplus
  368. extern "C"{
  369. #endif
  370. void * __RPC_USER MIDL_user_allocate(size_t);
  371. void __RPC_USER MIDL_user_free( void * );
  372. /* interface __MIDL_itf_tapi3if_0000 */
  373. /* [local] */
  374. /* Copyright (c) Microsoft Corporation. All rights reserved. */
  375. #if 0
  376. typedef long TAPIHWND;
  377. #endif
  378. #ifdef _X86_
  379. typedef long TAPIHWND;
  380. #else
  381. typedef LONGLONG TAPIHWND;
  382. #endif
  383. typedef long TAPI_DIGITMODE;
  384. typedef
  385. enum TAPI_TONEMODE
  386. { TTM_RINGBACK = 0x2,
  387. TTM_BUSY = 0x4,
  388. TTM_BEEP = 0x8,
  389. TTM_BILLING = 0x10
  390. } TAPI_TONEMODE;
  391. typedef
  392. enum TAPI_GATHERTERM
  393. { TGT_BUFFERFULL = 0x1,
  394. TGT_TERMDIGIT = 0x2,
  395. TGT_FIRSTTIMEOUT = 0x4,
  396. TGT_INTERTIMEOUT = 0x8,
  397. TGT_CANCEL = 0x10
  398. } TAPI_GATHERTERM;
  399. typedef struct TAPI_CUSTOMTONE
  400. {
  401. DWORD dwFrequency;
  402. DWORD dwCadenceOn;
  403. DWORD dwCadenceOff;
  404. DWORD dwVolume;
  405. } TAPI_CUSTOMTONE;
  406. typedef struct TAPI_CUSTOMTONE *LPTAPI_CUSTOMTONE;
  407. typedef struct TAPI_DETECTTONE
  408. {
  409. DWORD dwAppSpecific;
  410. DWORD dwDuration;
  411. DWORD dwFrequency1;
  412. DWORD dwFrequency2;
  413. DWORD dwFrequency3;
  414. } TAPI_DETECTTONE;
  415. typedef struct TAPI_DETECTTONE *LPTAPI_DETECTTONE;
  416. typedef
  417. enum ADDRESS_EVENT
  418. { AE_STATE = 0,
  419. AE_CAPSCHANGE = AE_STATE + 1,
  420. AE_RINGING = AE_CAPSCHANGE + 1,
  421. AE_CONFIGCHANGE = AE_RINGING + 1,
  422. AE_FORWARD = AE_CONFIGCHANGE + 1,
  423. AE_NEWTERMINAL = AE_FORWARD + 1,
  424. AE_REMOVETERMINAL = AE_NEWTERMINAL + 1,
  425. AE_MSGWAITON = AE_REMOVETERMINAL + 1,
  426. AE_MSGWAITOFF = AE_MSGWAITON + 1,
  427. AE_LASTITEM = AE_MSGWAITOFF
  428. } ADDRESS_EVENT;
  429. typedef
  430. enum ADDRESS_STATE
  431. { AS_INSERVICE = 0,
  432. AS_OUTOFSERVICE = AS_INSERVICE + 1
  433. } ADDRESS_STATE;
  434. typedef
  435. enum CALL_STATE
  436. { CS_IDLE = 0,
  437. CS_INPROGRESS = CS_IDLE + 1,
  438. CS_CONNECTED = CS_INPROGRESS + 1,
  439. CS_DISCONNECTED = CS_CONNECTED + 1,
  440. CS_OFFERING = CS_DISCONNECTED + 1,
  441. CS_HOLD = CS_OFFERING + 1,
  442. CS_QUEUED = CS_HOLD + 1,
  443. CS_LASTITEM = CS_QUEUED
  444. } CALL_STATE;
  445. typedef
  446. enum CALL_STATE_EVENT_CAUSE
  447. { CEC_NONE = 0,
  448. CEC_DISCONNECT_NORMAL = CEC_NONE + 1,
  449. CEC_DISCONNECT_BUSY = CEC_DISCONNECT_NORMAL + 1,
  450. CEC_DISCONNECT_BADADDRESS = CEC_DISCONNECT_BUSY + 1,
  451. CEC_DISCONNECT_NOANSWER = CEC_DISCONNECT_BADADDRESS + 1,
  452. CEC_DISCONNECT_CANCELLED = CEC_DISCONNECT_NOANSWER + 1,
  453. CEC_DISCONNECT_REJECTED = CEC_DISCONNECT_CANCELLED + 1,
  454. CEC_DISCONNECT_FAILED = CEC_DISCONNECT_REJECTED + 1,
  455. CEC_DISCONNECT_BLOCKED = CEC_DISCONNECT_FAILED + 1
  456. } CALL_STATE_EVENT_CAUSE;
  457. typedef
  458. enum CALL_MEDIA_EVENT
  459. { CME_NEW_STREAM = 0,
  460. CME_STREAM_FAIL = CME_NEW_STREAM + 1,
  461. CME_TERMINAL_FAIL = CME_STREAM_FAIL + 1,
  462. CME_STREAM_NOT_USED = CME_TERMINAL_FAIL + 1,
  463. CME_STREAM_ACTIVE = CME_STREAM_NOT_USED + 1,
  464. CME_STREAM_INACTIVE = CME_STREAM_ACTIVE + 1,
  465. CME_LASTITEM = CME_STREAM_INACTIVE
  466. } CALL_MEDIA_EVENT;
  467. typedef
  468. enum CALL_MEDIA_EVENT_CAUSE
  469. { CMC_UNKNOWN = 0,
  470. CMC_BAD_DEVICE = CMC_UNKNOWN + 1,
  471. CMC_CONNECT_FAIL = CMC_BAD_DEVICE + 1,
  472. CMC_LOCAL_REQUEST = CMC_CONNECT_FAIL + 1,
  473. CMC_REMOTE_REQUEST = CMC_LOCAL_REQUEST + 1,
  474. CMC_MEDIA_TIMEOUT = CMC_REMOTE_REQUEST + 1,
  475. CMC_MEDIA_RECOVERED = CMC_MEDIA_TIMEOUT + 1,
  476. CMC_QUALITY_OF_SERVICE = CMC_MEDIA_RECOVERED + 1
  477. } CALL_MEDIA_EVENT_CAUSE;
  478. typedef
  479. enum DISCONNECT_CODE
  480. { DC_NORMAL = 0,
  481. DC_NOANSWER = DC_NORMAL + 1,
  482. DC_REJECTED = DC_NOANSWER + 1
  483. } DISCONNECT_CODE;
  484. typedef
  485. enum TERMINAL_STATE
  486. { TS_INUSE = 0,
  487. TS_NOTINUSE = TS_INUSE + 1
  488. } TERMINAL_STATE;
  489. typedef
  490. enum TERMINAL_DIRECTION
  491. { TD_CAPTURE = 0,
  492. TD_RENDER = TD_CAPTURE + 1,
  493. TD_BIDIRECTIONAL = TD_RENDER + 1,
  494. TD_MULTITRACK_MIXED = TD_BIDIRECTIONAL + 1,
  495. TD_NONE = TD_MULTITRACK_MIXED + 1
  496. } TERMINAL_DIRECTION;
  497. typedef
  498. enum TERMINAL_TYPE
  499. { TT_STATIC = 0,
  500. TT_DYNAMIC = TT_STATIC + 1
  501. } TERMINAL_TYPE;
  502. typedef
  503. enum CALL_PRIVILEGE
  504. { CP_OWNER = 0,
  505. CP_MONITOR = CP_OWNER + 1
  506. } CALL_PRIVILEGE;
  507. typedef
  508. enum TAPI_EVENT
  509. { TE_TAPIOBJECT = 0x1,
  510. TE_ADDRESS = 0x2,
  511. TE_CALLNOTIFICATION = 0x4,
  512. TE_CALLSTATE = 0x8,
  513. TE_CALLMEDIA = 0x10,
  514. TE_CALLHUB = 0x20,
  515. TE_CALLINFOCHANGE = 0x40,
  516. TE_PRIVATE = 0x80,
  517. TE_REQUEST = 0x100,
  518. TE_AGENT = 0x200,
  519. TE_AGENTSESSION = 0x400,
  520. TE_QOSEVENT = 0x800,
  521. TE_AGENTHANDLER = 0x1000,
  522. TE_ACDGROUP = 0x2000,
  523. TE_QUEUE = 0x4000,
  524. TE_DIGITEVENT = 0x8000,
  525. TE_GENERATEEVENT = 0x10000,
  526. TE_ASRTERMINAL = 0x20000,
  527. TE_TTSTERMINAL = 0x40000,
  528. TE_FILETERMINAL = 0x80000,
  529. TE_TONETERMINAL = 0x100000,
  530. TE_PHONEEVENT = 0x200000,
  531. TE_TONEEVENT = 0x400000,
  532. TE_GATHERDIGITS = 0x800000,
  533. TE_ADDRESSDEVSPECIFIC = 0x1000000,
  534. TE_PHONEDEVSPECIFIC = 0x2000000
  535. } TAPI_EVENT;
  536. typedef
  537. enum CALL_NOTIFICATION_EVENT
  538. { CNE_OWNER = 0,
  539. CNE_MONITOR = CNE_OWNER + 1,
  540. CNE_LASTITEM = CNE_MONITOR
  541. } CALL_NOTIFICATION_EVENT;
  542. typedef
  543. enum CALLHUB_EVENT
  544. { CHE_CALLJOIN = 0,
  545. CHE_CALLLEAVE = CHE_CALLJOIN + 1,
  546. CHE_CALLHUBNEW = CHE_CALLLEAVE + 1,
  547. CHE_CALLHUBIDLE = CHE_CALLHUBNEW + 1,
  548. CHE_LASTITEM = CHE_CALLHUBIDLE
  549. } CALLHUB_EVENT;
  550. typedef
  551. enum CALLHUB_STATE
  552. { CHS_ACTIVE = 0,
  553. CHS_IDLE = CHS_ACTIVE + 1
  554. } CALLHUB_STATE;
  555. typedef
  556. enum TAPIOBJECT_EVENT
  557. { TE_ADDRESSCREATE = 0,
  558. TE_ADDRESSREMOVE = TE_ADDRESSCREATE + 1,
  559. TE_REINIT = TE_ADDRESSREMOVE + 1,
  560. TE_TRANSLATECHANGE = TE_REINIT + 1,
  561. TE_ADDRESSCLOSE = TE_TRANSLATECHANGE + 1,
  562. TE_PHONECREATE = TE_ADDRESSCLOSE + 1,
  563. TE_PHONEREMOVE = TE_PHONECREATE + 1
  564. } TAPIOBJECT_EVENT;
  565. typedef
  566. enum TAPI_OBJECT_TYPE
  567. { TOT_NONE = 0,
  568. TOT_TAPI = TOT_NONE + 1,
  569. TOT_ADDRESS = TOT_TAPI + 1,
  570. TOT_TERMINAL = TOT_ADDRESS + 1,
  571. TOT_CALL = TOT_TERMINAL + 1,
  572. TOT_CALLHUB = TOT_CALL + 1,
  573. TOT_PHONE = TOT_CALLHUB + 1
  574. } TAPI_OBJECT_TYPE;
  575. typedef
  576. enum QOS_SERVICE_LEVEL
  577. { QSL_NEEDED = 1,
  578. QSL_IF_AVAILABLE = 2,
  579. QSL_BEST_EFFORT = 3
  580. } QOS_SERVICE_LEVEL;
  581. typedef
  582. enum QOS_EVENT
  583. { QE_NOQOS = 1,
  584. QE_ADMISSIONFAILURE = 2,
  585. QE_POLICYFAILURE = 3,
  586. QE_GENERICERROR = 4,
  587. QE_LASTITEM = QE_GENERICERROR
  588. } QOS_EVENT;
  589. typedef
  590. enum CALLINFOCHANGE_CAUSE
  591. { CIC_OTHER = 0,
  592. CIC_DEVSPECIFIC = CIC_OTHER + 1,
  593. CIC_BEARERMODE = CIC_DEVSPECIFIC + 1,
  594. CIC_RATE = CIC_BEARERMODE + 1,
  595. CIC_APPSPECIFIC = CIC_RATE + 1,
  596. CIC_CALLID = CIC_APPSPECIFIC + 1,
  597. CIC_RELATEDCALLID = CIC_CALLID + 1,
  598. CIC_ORIGIN = CIC_RELATEDCALLID + 1,
  599. CIC_REASON = CIC_ORIGIN + 1,
  600. CIC_COMPLETIONID = CIC_REASON + 1,
  601. CIC_NUMOWNERINCR = CIC_COMPLETIONID + 1,
  602. CIC_NUMOWNERDECR = CIC_NUMOWNERINCR + 1,
  603. CIC_NUMMONITORS = CIC_NUMOWNERDECR + 1,
  604. CIC_TRUNK = CIC_NUMMONITORS + 1,
  605. CIC_CALLERID = CIC_TRUNK + 1,
  606. CIC_CALLEDID = CIC_CALLERID + 1,
  607. CIC_CONNECTEDID = CIC_CALLEDID + 1,
  608. CIC_REDIRECTIONID = CIC_CONNECTEDID + 1,
  609. CIC_REDIRECTINGID = CIC_REDIRECTIONID + 1,
  610. CIC_USERUSERINFO = CIC_REDIRECTINGID + 1,
  611. CIC_HIGHLEVELCOMP = CIC_USERUSERINFO + 1,
  612. CIC_LOWLEVELCOMP = CIC_HIGHLEVELCOMP + 1,
  613. CIC_CHARGINGINFO = CIC_LOWLEVELCOMP + 1,
  614. CIC_TREATMENT = CIC_CHARGINGINFO + 1,
  615. CIC_CALLDATA = CIC_TREATMENT + 1,
  616. CIC_PRIVILEGE = CIC_CALLDATA + 1,
  617. CIC_MEDIATYPE = CIC_PRIVILEGE + 1,
  618. CIC_LASTITEM = CIC_MEDIATYPE
  619. } CALLINFOCHANGE_CAUSE;
  620. typedef
  621. enum CALLINFO_LONG
  622. { CIL_MEDIATYPESAVAILABLE = 0,
  623. CIL_BEARERMODE = CIL_MEDIATYPESAVAILABLE + 1,
  624. CIL_CALLERIDADDRESSTYPE = CIL_BEARERMODE + 1,
  625. CIL_CALLEDIDADDRESSTYPE = CIL_CALLERIDADDRESSTYPE + 1,
  626. CIL_CONNECTEDIDADDRESSTYPE = CIL_CALLEDIDADDRESSTYPE + 1,
  627. CIL_REDIRECTIONIDADDRESSTYPE = CIL_CONNECTEDIDADDRESSTYPE + 1,
  628. CIL_REDIRECTINGIDADDRESSTYPE = CIL_REDIRECTIONIDADDRESSTYPE + 1,
  629. CIL_ORIGIN = CIL_REDIRECTINGIDADDRESSTYPE + 1,
  630. CIL_REASON = CIL_ORIGIN + 1,
  631. CIL_APPSPECIFIC = CIL_REASON + 1,
  632. CIL_CALLPARAMSFLAGS = CIL_APPSPECIFIC + 1,
  633. CIL_CALLTREATMENT = CIL_CALLPARAMSFLAGS + 1,
  634. CIL_MINRATE = CIL_CALLTREATMENT + 1,
  635. CIL_MAXRATE = CIL_MINRATE + 1,
  636. CIL_COUNTRYCODE = CIL_MAXRATE + 1,
  637. CIL_CALLID = CIL_COUNTRYCODE + 1,
  638. CIL_RELATEDCALLID = CIL_CALLID + 1,
  639. CIL_COMPLETIONID = CIL_RELATEDCALLID + 1,
  640. CIL_NUMBEROFOWNERS = CIL_COMPLETIONID + 1,
  641. CIL_NUMBEROFMONITORS = CIL_NUMBEROFOWNERS + 1,
  642. CIL_TRUNK = CIL_NUMBEROFMONITORS + 1,
  643. CIL_RATE = CIL_TRUNK + 1,
  644. CIL_GENERATEDIGITDURATION = CIL_RATE + 1,
  645. CIL_MONITORDIGITMODES = CIL_GENERATEDIGITDURATION + 1,
  646. CIL_MONITORMEDIAMODES = CIL_MONITORDIGITMODES + 1
  647. } CALLINFO_LONG;
  648. typedef
  649. enum CALLINFO_STRING
  650. { CIS_CALLERIDNAME = 0,
  651. CIS_CALLERIDNUMBER = CIS_CALLERIDNAME + 1,
  652. CIS_CALLEDIDNAME = CIS_CALLERIDNUMBER + 1,
  653. CIS_CALLEDIDNUMBER = CIS_CALLEDIDNAME + 1,
  654. CIS_CONNECTEDIDNAME = CIS_CALLEDIDNUMBER + 1,
  655. CIS_CONNECTEDIDNUMBER = CIS_CONNECTEDIDNAME + 1,
  656. CIS_REDIRECTIONIDNAME = CIS_CONNECTEDIDNUMBER + 1,
  657. CIS_REDIRECTIONIDNUMBER = CIS_REDIRECTIONIDNAME + 1,
  658. CIS_REDIRECTINGIDNAME = CIS_REDIRECTIONIDNUMBER + 1,
  659. CIS_REDIRECTINGIDNUMBER = CIS_REDIRECTINGIDNAME + 1,
  660. CIS_CALLEDPARTYFRIENDLYNAME = CIS_REDIRECTINGIDNUMBER + 1,
  661. CIS_COMMENT = CIS_CALLEDPARTYFRIENDLYNAME + 1,
  662. CIS_DISPLAYABLEADDRESS = CIS_COMMENT + 1,
  663. CIS_CALLINGPARTYID = CIS_DISPLAYABLEADDRESS + 1
  664. } CALLINFO_STRING;
  665. typedef
  666. enum CALLINFO_BUFFER
  667. { CIB_USERUSERINFO = 0,
  668. CIB_DEVSPECIFICBUFFER = CIB_USERUSERINFO + 1,
  669. CIB_CALLDATABUFFER = CIB_DEVSPECIFICBUFFER + 1,
  670. CIB_CHARGINGINFOBUFFER = CIB_CALLDATABUFFER + 1,
  671. CIB_HIGHLEVELCOMPATIBILITYBUFFER = CIB_CHARGINGINFOBUFFER + 1,
  672. CIB_LOWLEVELCOMPATIBILITYBUFFER = CIB_HIGHLEVELCOMPATIBILITYBUFFER + 1
  673. } CALLINFO_BUFFER;
  674. typedef
  675. enum ADDRESS_CAPABILITY
  676. { AC_ADDRESSTYPES = 0,
  677. AC_BEARERMODES = AC_ADDRESSTYPES + 1,
  678. AC_MAXACTIVECALLS = AC_BEARERMODES + 1,
  679. AC_MAXONHOLDCALLS = AC_MAXACTIVECALLS + 1,
  680. AC_MAXONHOLDPENDINGCALLS = AC_MAXONHOLDCALLS + 1,
  681. AC_MAXNUMCONFERENCE = AC_MAXONHOLDPENDINGCALLS + 1,
  682. AC_MAXNUMTRANSCONF = AC_MAXNUMCONFERENCE + 1,
  683. AC_MONITORDIGITSUPPORT = AC_MAXNUMTRANSCONF + 1,
  684. AC_GENERATEDIGITSUPPORT = AC_MONITORDIGITSUPPORT + 1,
  685. AC_GENERATETONEMODES = AC_GENERATEDIGITSUPPORT + 1,
  686. AC_GENERATETONEMAXNUMFREQ = AC_GENERATETONEMODES + 1,
  687. AC_MONITORTONEMAXNUMFREQ = AC_GENERATETONEMAXNUMFREQ + 1,
  688. AC_MONITORTONEMAXNUMENTRIES = AC_MONITORTONEMAXNUMFREQ + 1,
  689. AC_DEVCAPFLAGS = AC_MONITORTONEMAXNUMENTRIES + 1,
  690. AC_ANSWERMODES = AC_DEVCAPFLAGS + 1,
  691. AC_LINEFEATURES = AC_ANSWERMODES + 1,
  692. AC_SETTABLEDEVSTATUS = AC_LINEFEATURES + 1,
  693. AC_PARKSUPPORT = AC_SETTABLEDEVSTATUS + 1,
  694. AC_CALLERIDSUPPORT = AC_PARKSUPPORT + 1,
  695. AC_CALLEDIDSUPPORT = AC_CALLERIDSUPPORT + 1,
  696. AC_CONNECTEDIDSUPPORT = AC_CALLEDIDSUPPORT + 1,
  697. AC_REDIRECTIONIDSUPPORT = AC_CONNECTEDIDSUPPORT + 1,
  698. AC_REDIRECTINGIDSUPPORT = AC_REDIRECTIONIDSUPPORT + 1,
  699. AC_ADDRESSCAPFLAGS = AC_REDIRECTINGIDSUPPORT + 1,
  700. AC_CALLFEATURES1 = AC_ADDRESSCAPFLAGS + 1,
  701. AC_CALLFEATURES2 = AC_CALLFEATURES1 + 1,
  702. AC_REMOVEFROMCONFCAPS = AC_CALLFEATURES2 + 1,
  703. AC_REMOVEFROMCONFSTATE = AC_REMOVEFROMCONFCAPS + 1,
  704. AC_TRANSFERMODES = AC_REMOVEFROMCONFSTATE + 1,
  705. AC_ADDRESSFEATURES = AC_TRANSFERMODES + 1,
  706. AC_PREDICTIVEAUTOTRANSFERSTATES = AC_ADDRESSFEATURES + 1,
  707. AC_MAXCALLDATASIZE = AC_PREDICTIVEAUTOTRANSFERSTATES + 1,
  708. AC_LINEID = AC_MAXCALLDATASIZE + 1,
  709. AC_ADDRESSID = AC_LINEID + 1,
  710. AC_FORWARDMODES = AC_ADDRESSID + 1,
  711. AC_MAXFORWARDENTRIES = AC_FORWARDMODES + 1,
  712. AC_MAXSPECIFICENTRIES = AC_MAXFORWARDENTRIES + 1,
  713. AC_MINFWDNUMRINGS = AC_MAXSPECIFICENTRIES + 1,
  714. AC_MAXFWDNUMRINGS = AC_MINFWDNUMRINGS + 1,
  715. AC_MAXCALLCOMPLETIONS = AC_MAXFWDNUMRINGS + 1,
  716. AC_CALLCOMPLETIONCONDITIONS = AC_MAXCALLCOMPLETIONS + 1,
  717. AC_CALLCOMPLETIONMODES = AC_CALLCOMPLETIONCONDITIONS + 1,
  718. AC_PERMANENTDEVICEID = AC_CALLCOMPLETIONMODES + 1,
  719. AC_GATHERDIGITSMINTIMEOUT = AC_PERMANENTDEVICEID + 1,
  720. AC_GATHERDIGITSMAXTIMEOUT = AC_GATHERDIGITSMINTIMEOUT + 1,
  721. AC_GENERATEDIGITMINDURATION = AC_GATHERDIGITSMAXTIMEOUT + 1,
  722. AC_GENERATEDIGITMAXDURATION = AC_GENERATEDIGITMINDURATION + 1,
  723. AC_GENERATEDIGITDEFAULTDURATION = AC_GENERATEDIGITMAXDURATION + 1
  724. } ADDRESS_CAPABILITY;
  725. typedef
  726. enum ADDRESS_CAPABILITY_STRING
  727. { ACS_PROTOCOL = 0,
  728. ACS_ADDRESSDEVICESPECIFIC = ACS_PROTOCOL + 1,
  729. ACS_LINEDEVICESPECIFIC = ACS_ADDRESSDEVICESPECIFIC + 1,
  730. ACS_PROVIDERSPECIFIC = ACS_LINEDEVICESPECIFIC + 1,
  731. ACS_SWITCHSPECIFIC = ACS_PROVIDERSPECIFIC + 1,
  732. ACS_PERMANENTDEVICEGUID = ACS_SWITCHSPECIFIC + 1
  733. } ADDRESS_CAPABILITY_STRING;
  734. typedef
  735. enum FULLDUPLEX_SUPPORT
  736. { FDS_SUPPORTED = 0,
  737. FDS_NOTSUPPORTED = FDS_SUPPORTED + 1,
  738. FDS_UNKNOWN = FDS_NOTSUPPORTED + 1
  739. } FULLDUPLEX_SUPPORT;
  740. typedef
  741. enum FINISH_MODE
  742. { FM_ASTRANSFER = 0,
  743. FM_ASCONFERENCE = FM_ASTRANSFER + 1
  744. } FINISH_MODE;
  745. typedef
  746. enum PHONE_PRIVILEGE
  747. { PP_OWNER = 0,
  748. PP_MONITOR = PP_OWNER + 1
  749. } PHONE_PRIVILEGE;
  750. typedef
  751. enum PHONE_HOOK_SWITCH_DEVICE
  752. { PHSD_HANDSET = 0x1,
  753. PHSD_SPEAKERPHONE = 0x2,
  754. PHSD_HEADSET = 0x4
  755. } PHONE_HOOK_SWITCH_DEVICE;
  756. typedef
  757. enum PHONE_HOOK_SWITCH_STATE
  758. { PHSS_ONHOOK = 0x1,
  759. PHSS_OFFHOOK_MIC_ONLY = 0x2,
  760. PHSS_OFFHOOK_SPEAKER_ONLY = 0x4,
  761. PHSS_OFFHOOK = 0x8
  762. } PHONE_HOOK_SWITCH_STATE;
  763. typedef
  764. enum PHONE_LAMP_MODE
  765. { LM_DUMMY = 0x1,
  766. LM_OFF = 0x2,
  767. LM_STEADY = 0x4,
  768. LM_WINK = 0x8,
  769. LM_FLASH = 0x10,
  770. LM_FLUTTER = 0x20,
  771. LM_BROKENFLUTTER = 0x40,
  772. LM_UNKNOWN = 0x80
  773. } PHONE_LAMP_MODE;
  774. typedef
  775. enum PHONECAPS_LONG
  776. { PCL_HOOKSWITCHES = 0,
  777. PCL_HANDSETHOOKSWITCHMODES = PCL_HOOKSWITCHES + 1,
  778. PCL_HEADSETHOOKSWITCHMODES = PCL_HANDSETHOOKSWITCHMODES + 1,
  779. PCL_SPEAKERPHONEHOOKSWITCHMODES = PCL_HEADSETHOOKSWITCHMODES + 1,
  780. PCL_DISPLAYNUMROWS = PCL_SPEAKERPHONEHOOKSWITCHMODES + 1,
  781. PCL_DISPLAYNUMCOLUMNS = PCL_DISPLAYNUMROWS + 1,
  782. PCL_NUMRINGMODES = PCL_DISPLAYNUMCOLUMNS + 1,
  783. PCL_NUMBUTTONLAMPS = PCL_NUMRINGMODES + 1,
  784. PCL_GENERICPHONE = PCL_NUMBUTTONLAMPS + 1
  785. } PHONECAPS_LONG;
  786. typedef
  787. enum PHONECAPS_STRING
  788. { PCS_PHONENAME = 0,
  789. PCS_PHONEINFO = PCS_PHONENAME + 1,
  790. PCS_PROVIDERINFO = PCS_PHONEINFO + 1
  791. } PHONECAPS_STRING;
  792. typedef
  793. enum PHONECAPS_BUFFER
  794. { PCB_DEVSPECIFICBUFFER = 0
  795. } PHONECAPS_BUFFER;
  796. typedef
  797. enum PHONE_BUTTON_STATE
  798. { PBS_UP = 0x1,
  799. PBS_DOWN = 0x2,
  800. PBS_UNKNOWN = 0x4,
  801. PBS_UNAVAIL = 0x8
  802. } PHONE_BUTTON_STATE;
  803. typedef
  804. enum PHONE_BUTTON_MODE
  805. { PBM_DUMMY = 0,
  806. PBM_CALL = PBM_DUMMY + 1,
  807. PBM_FEATURE = PBM_CALL + 1,
  808. PBM_KEYPAD = PBM_FEATURE + 1,
  809. PBM_LOCAL = PBM_KEYPAD + 1,
  810. PBM_DISPLAY = PBM_LOCAL + 1
  811. } PHONE_BUTTON_MODE;
  812. typedef
  813. enum PHONE_BUTTON_FUNCTION
  814. { PBF_UNKNOWN = 0,
  815. PBF_CONFERENCE = PBF_UNKNOWN + 1,
  816. PBF_TRANSFER = PBF_CONFERENCE + 1,
  817. PBF_DROP = PBF_TRANSFER + 1,
  818. PBF_HOLD = PBF_DROP + 1,
  819. PBF_RECALL = PBF_HOLD + 1,
  820. PBF_DISCONNECT = PBF_RECALL + 1,
  821. PBF_CONNECT = PBF_DISCONNECT + 1,
  822. PBF_MSGWAITON = PBF_CONNECT + 1,
  823. PBF_MSGWAITOFF = PBF_MSGWAITON + 1,
  824. PBF_SELECTRING = PBF_MSGWAITOFF + 1,
  825. PBF_ABBREVDIAL = PBF_SELECTRING + 1,
  826. PBF_FORWARD = PBF_ABBREVDIAL + 1,
  827. PBF_PICKUP = PBF_FORWARD + 1,
  828. PBF_RINGAGAIN = PBF_PICKUP + 1,
  829. PBF_PARK = PBF_RINGAGAIN + 1,
  830. PBF_REJECT = PBF_PARK + 1,
  831. PBF_REDIRECT = PBF_REJECT + 1,
  832. PBF_MUTE = PBF_REDIRECT + 1,
  833. PBF_VOLUMEUP = PBF_MUTE + 1,
  834. PBF_VOLUMEDOWN = PBF_VOLUMEUP + 1,
  835. PBF_SPEAKERON = PBF_VOLUMEDOWN + 1,
  836. PBF_SPEAKEROFF = PBF_SPEAKERON + 1,
  837. PBF_FLASH = PBF_SPEAKEROFF + 1,
  838. PBF_DATAON = PBF_FLASH + 1,
  839. PBF_DATAOFF = PBF_DATAON + 1,
  840. PBF_DONOTDISTURB = PBF_DATAOFF + 1,
  841. PBF_INTERCOM = PBF_DONOTDISTURB + 1,
  842. PBF_BRIDGEDAPP = PBF_INTERCOM + 1,
  843. PBF_BUSY = PBF_BRIDGEDAPP + 1,
  844. PBF_CALLAPP = PBF_BUSY + 1,
  845. PBF_DATETIME = PBF_CALLAPP + 1,
  846. PBF_DIRECTORY = PBF_DATETIME + 1,
  847. PBF_COVER = PBF_DIRECTORY + 1,
  848. PBF_CALLID = PBF_COVER + 1,
  849. PBF_LASTNUM = PBF_CALLID + 1,
  850. PBF_NIGHTSRV = PBF_LASTNUM + 1,
  851. PBF_SENDCALLS = PBF_NIGHTSRV + 1,
  852. PBF_MSGINDICATOR = PBF_SENDCALLS + 1,
  853. PBF_REPDIAL = PBF_MSGINDICATOR + 1,
  854. PBF_SETREPDIAL = PBF_REPDIAL + 1,
  855. PBF_SYSTEMSPEED = PBF_SETREPDIAL + 1,
  856. PBF_STATIONSPEED = PBF_SYSTEMSPEED + 1,
  857. PBF_CAMPON = PBF_STATIONSPEED + 1,
  858. PBF_SAVEREPEAT = PBF_CAMPON + 1,
  859. PBF_QUEUECALL = PBF_SAVEREPEAT + 1,
  860. PBF_NONE = PBF_QUEUECALL + 1,
  861. PBF_SEND = PBF_NONE + 1
  862. } PHONE_BUTTON_FUNCTION;
  863. typedef
  864. enum PHONE_TONE
  865. { PT_KEYPADZERO = 0,
  866. PT_KEYPADONE = PT_KEYPADZERO + 1,
  867. PT_KEYPADTWO = PT_KEYPADONE + 1,
  868. PT_KEYPADTHREE = PT_KEYPADTWO + 1,
  869. PT_KEYPADFOUR = PT_KEYPADTHREE + 1,
  870. PT_KEYPADFIVE = PT_KEYPADFOUR + 1,
  871. PT_KEYPADSIX = PT_KEYPADFIVE + 1,
  872. PT_KEYPADSEVEN = PT_KEYPADSIX + 1,
  873. PT_KEYPADEIGHT = PT_KEYPADSEVEN + 1,
  874. PT_KEYPADNINE = PT_KEYPADEIGHT + 1,
  875. PT_KEYPADSTAR = PT_KEYPADNINE + 1,
  876. PT_KEYPADPOUND = PT_KEYPADSTAR + 1,
  877. PT_KEYPADA = PT_KEYPADPOUND + 1,
  878. PT_KEYPADB = PT_KEYPADA + 1,
  879. PT_KEYPADC = PT_KEYPADB + 1,
  880. PT_KEYPADD = PT_KEYPADC + 1,
  881. PT_NORMALDIALTONE = PT_KEYPADD + 1,
  882. PT_EXTERNALDIALTONE = PT_NORMALDIALTONE + 1,
  883. PT_BUSY = PT_EXTERNALDIALTONE + 1,
  884. PT_RINGBACK = PT_BUSY + 1,
  885. PT_ERRORTONE = PT_RINGBACK + 1,
  886. PT_SILENCE = PT_ERRORTONE + 1
  887. } PHONE_TONE;
  888. typedef
  889. enum PHONE_EVENT
  890. { PE_DISPLAY = 0,
  891. PE_LAMPMODE = PE_DISPLAY + 1,
  892. PE_RINGMODE = PE_LAMPMODE + 1,
  893. PE_RINGVOLUME = PE_RINGMODE + 1,
  894. PE_HOOKSWITCH = PE_RINGVOLUME + 1,
  895. PE_CAPSCHANGE = PE_HOOKSWITCH + 1,
  896. PE_BUTTON = PE_CAPSCHANGE + 1,
  897. PE_CLOSE = PE_BUTTON + 1,
  898. PE_NUMBERGATHERED = PE_CLOSE + 1,
  899. PE_DIALING = PE_NUMBERGATHERED + 1,
  900. PE_ANSWER = PE_DIALING + 1,
  901. PE_DISCONNECT = PE_ANSWER + 1,
  902. PE_LASTITEM = PE_DISCONNECT
  903. } PHONE_EVENT;
  904. #define INTERFACEMASK ( 0xff0000 )
  905. #define DISPIDMASK ( 0xffff )
  906. #define IDISPTAPI ( 0x10000 )
  907. #define IDISPTAPICALLCENTER ( 0x20000 )
  908. #define IDISPCALLINFO ( 0x10000 )
  909. #define IDISPBASICCALLCONTROL ( 0x20000 )
  910. #define IDISPLEGACYCALLMEDIACONTROL ( 0x30000 )
  911. #define IDISPAGGREGATEDMSPCALLOBJ ( 0x40000 )
  912. #define IDISPADDRESS ( 0x10000 )
  913. #define IDISPADDRESSCAPABILITIES ( 0x20000 )
  914. #define IDISPMEDIASUPPORT ( 0x30000 )
  915. #define IDISPADDRESSTRANSLATION ( 0x40000 )
  916. #define IDISPLEGACYADDRESSMEDIACONTROL ( 0x50000 )
  917. #define IDISPAGGREGATEDMSPADDRESSOBJ ( 0x60000 )
  918. #define IDISPPHONE ( 0x10000 )
  919. #define IDISPAPC ( 0x20000 )
  920. #define IDISPMULTITRACK ( 0x10000 )
  921. #define IDISPMEDIACONTROL ( 0x20000 )
  922. #define IDISPMEDIARECORD ( 0x30000 )
  923. #define IDISPMEDIAPLAYBACK ( 0x40000 )
  924. #define IDISPFILETRACK ( 0x10000 )
  925. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0000_v0_0_c_ifspec;
  926. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0000_v0_0_s_ifspec;
  927. #ifndef __ITTAPI_INTERFACE_DEFINED__
  928. #define __ITTAPI_INTERFACE_DEFINED__
  929. /* interface ITTAPI */
  930. /* [object][dual][unique][helpstring][uuid] */
  931. EXTERN_C const IID IID_ITTAPI;
  932. #if defined(__cplusplus) && !defined(CINTERFACE)
  933. MIDL_INTERFACE("B1EFC382-9355-11d0-835C-00AA003CCABD")
  934. ITTAPI : public IDispatch
  935. {
  936. public:
  937. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  938. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  939. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Addresses(
  940. /* [retval][out] */ VARIANT *pVariant) = 0;
  941. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAddresses(
  942. /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
  943. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterCallNotifications(
  944. /* [in] */ ITAddress *pAddress,
  945. /* [in] */ VARIANT_BOOL fMonitor,
  946. /* [in] */ VARIANT_BOOL fOwner,
  947. /* [in] */ long lMediaTypes,
  948. /* [in] */ long lCallbackInstance,
  949. /* [retval][out] */ long *plRegister) = 0;
  950. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnregisterNotifications(
  951. /* [in] */ long lRegister) = 0;
  952. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHubs(
  953. /* [retval][out] */ VARIANT *pVariant) = 0;
  954. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCallHubs(
  955. /* [retval][out] */ IEnumCallHub **ppEnumCallHub) = 0;
  956. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetCallHubTracking(
  957. /* [in] */ VARIANT pAddresses,
  958. /* [in] */ VARIANT_BOOL bTracking) = 0;
  959. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePrivateTAPIObjects(
  960. /* [out] */ IEnumUnknown **ppEnumUnknown) = 0;
  961. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PrivateTAPIObjects(
  962. /* [retval][out] */ VARIANT *pVariant) = 0;
  963. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterRequestRecipient(
  964. /* [in] */ long lRegistrationInstance,
  965. /* [in] */ long lRequestMode,
  966. /* [in] */ VARIANT_BOOL fEnable) = 0;
  967. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetAssistedTelephonyPriority(
  968. /* [in] */ BSTR pAppFilename,
  969. /* [in] */ VARIANT_BOOL fPriority) = 0;
  970. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetApplicationPriority(
  971. /* [in] */ BSTR pAppFilename,
  972. /* [in] */ long lMediaType,
  973. /* [in] */ VARIANT_BOOL fPriority) = 0;
  974. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventFilter(
  975. /* [in] */ long lFilterMask) = 0;
  976. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventFilter(
  977. /* [retval][out] */ long *plFilterMask) = 0;
  978. };
  979. #else /* C style interface */
  980. typedef struct ITTAPIVtbl
  981. {
  982. BEGIN_INTERFACE
  983. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  984. ITTAPI * This,
  985. /* [in] */ REFIID riid,
  986. /* [iid_is][out] */ void **ppvObject);
  987. ULONG ( STDMETHODCALLTYPE *AddRef )(
  988. ITTAPI * This);
  989. ULONG ( STDMETHODCALLTYPE *Release )(
  990. ITTAPI * This);
  991. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  992. ITTAPI * This,
  993. /* [out] */ UINT *pctinfo);
  994. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  995. ITTAPI * This,
  996. /* [in] */ UINT iTInfo,
  997. /* [in] */ LCID lcid,
  998. /* [out] */ ITypeInfo **ppTInfo);
  999. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1000. ITTAPI * This,
  1001. /* [in] */ REFIID riid,
  1002. /* [size_is][in] */ LPOLESTR *rgszNames,
  1003. /* [in] */ UINT cNames,
  1004. /* [in] */ LCID lcid,
  1005. /* [size_is][out] */ DISPID *rgDispId);
  1006. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1007. ITTAPI * This,
  1008. /* [in] */ DISPID dispIdMember,
  1009. /* [in] */ REFIID riid,
  1010. /* [in] */ LCID lcid,
  1011. /* [in] */ WORD wFlags,
  1012. /* [out][in] */ DISPPARAMS *pDispParams,
  1013. /* [out] */ VARIANT *pVarResult,
  1014. /* [out] */ EXCEPINFO *pExcepInfo,
  1015. /* [out] */ UINT *puArgErr);
  1016. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  1017. ITTAPI * This);
  1018. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  1019. ITTAPI * This);
  1020. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Addresses )(
  1021. ITTAPI * This,
  1022. /* [retval][out] */ VARIANT *pVariant);
  1023. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAddresses )(
  1024. ITTAPI * This,
  1025. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  1026. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterCallNotifications )(
  1027. ITTAPI * This,
  1028. /* [in] */ ITAddress *pAddress,
  1029. /* [in] */ VARIANT_BOOL fMonitor,
  1030. /* [in] */ VARIANT_BOOL fOwner,
  1031. /* [in] */ long lMediaTypes,
  1032. /* [in] */ long lCallbackInstance,
  1033. /* [retval][out] */ long *plRegister);
  1034. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterNotifications )(
  1035. ITTAPI * This,
  1036. /* [in] */ long lRegister);
  1037. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHubs )(
  1038. ITTAPI * This,
  1039. /* [retval][out] */ VARIANT *pVariant);
  1040. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCallHubs )(
  1041. ITTAPI * This,
  1042. /* [retval][out] */ IEnumCallHub **ppEnumCallHub);
  1043. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetCallHubTracking )(
  1044. ITTAPI * This,
  1045. /* [in] */ VARIANT pAddresses,
  1046. /* [in] */ VARIANT_BOOL bTracking);
  1047. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePrivateTAPIObjects )(
  1048. ITTAPI * This,
  1049. /* [out] */ IEnumUnknown **ppEnumUnknown);
  1050. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrivateTAPIObjects )(
  1051. ITTAPI * This,
  1052. /* [retval][out] */ VARIANT *pVariant);
  1053. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterRequestRecipient )(
  1054. ITTAPI * This,
  1055. /* [in] */ long lRegistrationInstance,
  1056. /* [in] */ long lRequestMode,
  1057. /* [in] */ VARIANT_BOOL fEnable);
  1058. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAssistedTelephonyPriority )(
  1059. ITTAPI * This,
  1060. /* [in] */ BSTR pAppFilename,
  1061. /* [in] */ VARIANT_BOOL fPriority);
  1062. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetApplicationPriority )(
  1063. ITTAPI * This,
  1064. /* [in] */ BSTR pAppFilename,
  1065. /* [in] */ long lMediaType,
  1066. /* [in] */ VARIANT_BOOL fPriority);
  1067. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventFilter )(
  1068. ITTAPI * This,
  1069. /* [in] */ long lFilterMask);
  1070. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventFilter )(
  1071. ITTAPI * This,
  1072. /* [retval][out] */ long *plFilterMask);
  1073. END_INTERFACE
  1074. } ITTAPIVtbl;
  1075. interface ITTAPI
  1076. {
  1077. CONST_VTBL struct ITTAPIVtbl *lpVtbl;
  1078. };
  1079. #ifdef COBJMACROS
  1080. #define ITTAPI_QueryInterface(This,riid,ppvObject) \
  1081. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1082. #define ITTAPI_AddRef(This) \
  1083. (This)->lpVtbl -> AddRef(This)
  1084. #define ITTAPI_Release(This) \
  1085. (This)->lpVtbl -> Release(This)
  1086. #define ITTAPI_GetTypeInfoCount(This,pctinfo) \
  1087. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1088. #define ITTAPI_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1089. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1090. #define ITTAPI_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1091. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1092. #define ITTAPI_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1093. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1094. #define ITTAPI_Initialize(This) \
  1095. (This)->lpVtbl -> Initialize(This)
  1096. #define ITTAPI_Shutdown(This) \
  1097. (This)->lpVtbl -> Shutdown(This)
  1098. #define ITTAPI_get_Addresses(This,pVariant) \
  1099. (This)->lpVtbl -> get_Addresses(This,pVariant)
  1100. #define ITTAPI_EnumerateAddresses(This,ppEnumAddress) \
  1101. (This)->lpVtbl -> EnumerateAddresses(This,ppEnumAddress)
  1102. #define ITTAPI_RegisterCallNotifications(This,pAddress,fMonitor,fOwner,lMediaTypes,lCallbackInstance,plRegister) \
  1103. (This)->lpVtbl -> RegisterCallNotifications(This,pAddress,fMonitor,fOwner,lMediaTypes,lCallbackInstance,plRegister)
  1104. #define ITTAPI_UnregisterNotifications(This,lRegister) \
  1105. (This)->lpVtbl -> UnregisterNotifications(This,lRegister)
  1106. #define ITTAPI_get_CallHubs(This,pVariant) \
  1107. (This)->lpVtbl -> get_CallHubs(This,pVariant)
  1108. #define ITTAPI_EnumerateCallHubs(This,ppEnumCallHub) \
  1109. (This)->lpVtbl -> EnumerateCallHubs(This,ppEnumCallHub)
  1110. #define ITTAPI_SetCallHubTracking(This,pAddresses,bTracking) \
  1111. (This)->lpVtbl -> SetCallHubTracking(This,pAddresses,bTracking)
  1112. #define ITTAPI_EnumeratePrivateTAPIObjects(This,ppEnumUnknown) \
  1113. (This)->lpVtbl -> EnumeratePrivateTAPIObjects(This,ppEnumUnknown)
  1114. #define ITTAPI_get_PrivateTAPIObjects(This,pVariant) \
  1115. (This)->lpVtbl -> get_PrivateTAPIObjects(This,pVariant)
  1116. #define ITTAPI_RegisterRequestRecipient(This,lRegistrationInstance,lRequestMode,fEnable) \
  1117. (This)->lpVtbl -> RegisterRequestRecipient(This,lRegistrationInstance,lRequestMode,fEnable)
  1118. #define ITTAPI_SetAssistedTelephonyPriority(This,pAppFilename,fPriority) \
  1119. (This)->lpVtbl -> SetAssistedTelephonyPriority(This,pAppFilename,fPriority)
  1120. #define ITTAPI_SetApplicationPriority(This,pAppFilename,lMediaType,fPriority) \
  1121. (This)->lpVtbl -> SetApplicationPriority(This,pAppFilename,lMediaType,fPriority)
  1122. #define ITTAPI_put_EventFilter(This,lFilterMask) \
  1123. (This)->lpVtbl -> put_EventFilter(This,lFilterMask)
  1124. #define ITTAPI_get_EventFilter(This,plFilterMask) \
  1125. (This)->lpVtbl -> get_EventFilter(This,plFilterMask)
  1126. #endif /* COBJMACROS */
  1127. #endif /* C style interface */
  1128. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_Initialize_Proxy(
  1129. ITTAPI * This);
  1130. void __RPC_STUB ITTAPI_Initialize_Stub(
  1131. IRpcStubBuffer *This,
  1132. IRpcChannelBuffer *_pRpcChannelBuffer,
  1133. PRPC_MESSAGE _pRpcMessage,
  1134. DWORD *_pdwStubPhase);
  1135. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_Shutdown_Proxy(
  1136. ITTAPI * This);
  1137. void __RPC_STUB ITTAPI_Shutdown_Stub(
  1138. IRpcStubBuffer *This,
  1139. IRpcChannelBuffer *_pRpcChannelBuffer,
  1140. PRPC_MESSAGE _pRpcMessage,
  1141. DWORD *_pdwStubPhase);
  1142. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPI_get_Addresses_Proxy(
  1143. ITTAPI * This,
  1144. /* [retval][out] */ VARIANT *pVariant);
  1145. void __RPC_STUB ITTAPI_get_Addresses_Stub(
  1146. IRpcStubBuffer *This,
  1147. IRpcChannelBuffer *_pRpcChannelBuffer,
  1148. PRPC_MESSAGE _pRpcMessage,
  1149. DWORD *_pdwStubPhase);
  1150. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_EnumerateAddresses_Proxy(
  1151. ITTAPI * This,
  1152. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  1153. void __RPC_STUB ITTAPI_EnumerateAddresses_Stub(
  1154. IRpcStubBuffer *This,
  1155. IRpcChannelBuffer *_pRpcChannelBuffer,
  1156. PRPC_MESSAGE _pRpcMessage,
  1157. DWORD *_pdwStubPhase);
  1158. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_RegisterCallNotifications_Proxy(
  1159. ITTAPI * This,
  1160. /* [in] */ ITAddress *pAddress,
  1161. /* [in] */ VARIANT_BOOL fMonitor,
  1162. /* [in] */ VARIANT_BOOL fOwner,
  1163. /* [in] */ long lMediaTypes,
  1164. /* [in] */ long lCallbackInstance,
  1165. /* [retval][out] */ long *plRegister);
  1166. void __RPC_STUB ITTAPI_RegisterCallNotifications_Stub(
  1167. IRpcStubBuffer *This,
  1168. IRpcChannelBuffer *_pRpcChannelBuffer,
  1169. PRPC_MESSAGE _pRpcMessage,
  1170. DWORD *_pdwStubPhase);
  1171. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_UnregisterNotifications_Proxy(
  1172. ITTAPI * This,
  1173. /* [in] */ long lRegister);
  1174. void __RPC_STUB ITTAPI_UnregisterNotifications_Stub(
  1175. IRpcStubBuffer *This,
  1176. IRpcChannelBuffer *_pRpcChannelBuffer,
  1177. PRPC_MESSAGE _pRpcMessage,
  1178. DWORD *_pdwStubPhase);
  1179. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPI_get_CallHubs_Proxy(
  1180. ITTAPI * This,
  1181. /* [retval][out] */ VARIANT *pVariant);
  1182. void __RPC_STUB ITTAPI_get_CallHubs_Stub(
  1183. IRpcStubBuffer *This,
  1184. IRpcChannelBuffer *_pRpcChannelBuffer,
  1185. PRPC_MESSAGE _pRpcMessage,
  1186. DWORD *_pdwStubPhase);
  1187. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_EnumerateCallHubs_Proxy(
  1188. ITTAPI * This,
  1189. /* [retval][out] */ IEnumCallHub **ppEnumCallHub);
  1190. void __RPC_STUB ITTAPI_EnumerateCallHubs_Stub(
  1191. IRpcStubBuffer *This,
  1192. IRpcChannelBuffer *_pRpcChannelBuffer,
  1193. PRPC_MESSAGE _pRpcMessage,
  1194. DWORD *_pdwStubPhase);
  1195. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_SetCallHubTracking_Proxy(
  1196. ITTAPI * This,
  1197. /* [in] */ VARIANT pAddresses,
  1198. /* [in] */ VARIANT_BOOL bTracking);
  1199. void __RPC_STUB ITTAPI_SetCallHubTracking_Stub(
  1200. IRpcStubBuffer *This,
  1201. IRpcChannelBuffer *_pRpcChannelBuffer,
  1202. PRPC_MESSAGE _pRpcMessage,
  1203. DWORD *_pdwStubPhase);
  1204. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_EnumeratePrivateTAPIObjects_Proxy(
  1205. ITTAPI * This,
  1206. /* [out] */ IEnumUnknown **ppEnumUnknown);
  1207. void __RPC_STUB ITTAPI_EnumeratePrivateTAPIObjects_Stub(
  1208. IRpcStubBuffer *This,
  1209. IRpcChannelBuffer *_pRpcChannelBuffer,
  1210. PRPC_MESSAGE _pRpcMessage,
  1211. DWORD *_pdwStubPhase);
  1212. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPI_get_PrivateTAPIObjects_Proxy(
  1213. ITTAPI * This,
  1214. /* [retval][out] */ VARIANT *pVariant);
  1215. void __RPC_STUB ITTAPI_get_PrivateTAPIObjects_Stub(
  1216. IRpcStubBuffer *This,
  1217. IRpcChannelBuffer *_pRpcChannelBuffer,
  1218. PRPC_MESSAGE _pRpcMessage,
  1219. DWORD *_pdwStubPhase);
  1220. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_RegisterRequestRecipient_Proxy(
  1221. ITTAPI * This,
  1222. /* [in] */ long lRegistrationInstance,
  1223. /* [in] */ long lRequestMode,
  1224. /* [in] */ VARIANT_BOOL fEnable);
  1225. void __RPC_STUB ITTAPI_RegisterRequestRecipient_Stub(
  1226. IRpcStubBuffer *This,
  1227. IRpcChannelBuffer *_pRpcChannelBuffer,
  1228. PRPC_MESSAGE _pRpcMessage,
  1229. DWORD *_pdwStubPhase);
  1230. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_SetAssistedTelephonyPriority_Proxy(
  1231. ITTAPI * This,
  1232. /* [in] */ BSTR pAppFilename,
  1233. /* [in] */ VARIANT_BOOL fPriority);
  1234. void __RPC_STUB ITTAPI_SetAssistedTelephonyPriority_Stub(
  1235. IRpcStubBuffer *This,
  1236. IRpcChannelBuffer *_pRpcChannelBuffer,
  1237. PRPC_MESSAGE _pRpcMessage,
  1238. DWORD *_pdwStubPhase);
  1239. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI_SetApplicationPriority_Proxy(
  1240. ITTAPI * This,
  1241. /* [in] */ BSTR pAppFilename,
  1242. /* [in] */ long lMediaType,
  1243. /* [in] */ VARIANT_BOOL fPriority);
  1244. void __RPC_STUB ITTAPI_SetApplicationPriority_Stub(
  1245. IRpcStubBuffer *This,
  1246. IRpcChannelBuffer *_pRpcChannelBuffer,
  1247. PRPC_MESSAGE _pRpcMessage,
  1248. DWORD *_pdwStubPhase);
  1249. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITTAPI_put_EventFilter_Proxy(
  1250. ITTAPI * This,
  1251. /* [in] */ long lFilterMask);
  1252. void __RPC_STUB ITTAPI_put_EventFilter_Stub(
  1253. IRpcStubBuffer *This,
  1254. IRpcChannelBuffer *_pRpcChannelBuffer,
  1255. PRPC_MESSAGE _pRpcMessage,
  1256. DWORD *_pdwStubPhase);
  1257. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPI_get_EventFilter_Proxy(
  1258. ITTAPI * This,
  1259. /* [retval][out] */ long *plFilterMask);
  1260. void __RPC_STUB ITTAPI_get_EventFilter_Stub(
  1261. IRpcStubBuffer *This,
  1262. IRpcChannelBuffer *_pRpcChannelBuffer,
  1263. PRPC_MESSAGE _pRpcMessage,
  1264. DWORD *_pdwStubPhase);
  1265. #endif /* __ITTAPI_INTERFACE_DEFINED__ */
  1266. #ifndef __ITTAPI2_INTERFACE_DEFINED__
  1267. #define __ITTAPI2_INTERFACE_DEFINED__
  1268. /* interface ITTAPI2 */
  1269. /* [object][dual][helpstring][uuid] */
  1270. EXTERN_C const IID IID_ITTAPI2;
  1271. #if defined(__cplusplus) && !defined(CINTERFACE)
  1272. MIDL_INTERFACE("54FBDC8C-D90F-4dad-9695-B373097F094B")
  1273. ITTAPI2 : public ITTAPI
  1274. {
  1275. public:
  1276. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Phones(
  1277. /* [retval][out] */ VARIANT *pPhones) = 0;
  1278. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePhones(
  1279. /* [retval][out] */ IEnumPhone **ppEnumPhone) = 0;
  1280. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateEmptyCollectionObject(
  1281. /* [retval][out] */ ITCollection2 **ppCollection) = 0;
  1282. };
  1283. #else /* C style interface */
  1284. typedef struct ITTAPI2Vtbl
  1285. {
  1286. BEGIN_INTERFACE
  1287. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1288. ITTAPI2 * This,
  1289. /* [in] */ REFIID riid,
  1290. /* [iid_is][out] */ void **ppvObject);
  1291. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1292. ITTAPI2 * This);
  1293. ULONG ( STDMETHODCALLTYPE *Release )(
  1294. ITTAPI2 * This);
  1295. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1296. ITTAPI2 * This,
  1297. /* [out] */ UINT *pctinfo);
  1298. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1299. ITTAPI2 * This,
  1300. /* [in] */ UINT iTInfo,
  1301. /* [in] */ LCID lcid,
  1302. /* [out] */ ITypeInfo **ppTInfo);
  1303. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1304. ITTAPI2 * This,
  1305. /* [in] */ REFIID riid,
  1306. /* [size_is][in] */ LPOLESTR *rgszNames,
  1307. /* [in] */ UINT cNames,
  1308. /* [in] */ LCID lcid,
  1309. /* [size_is][out] */ DISPID *rgDispId);
  1310. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1311. ITTAPI2 * This,
  1312. /* [in] */ DISPID dispIdMember,
  1313. /* [in] */ REFIID riid,
  1314. /* [in] */ LCID lcid,
  1315. /* [in] */ WORD wFlags,
  1316. /* [out][in] */ DISPPARAMS *pDispParams,
  1317. /* [out] */ VARIANT *pVarResult,
  1318. /* [out] */ EXCEPINFO *pExcepInfo,
  1319. /* [out] */ UINT *puArgErr);
  1320. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  1321. ITTAPI2 * This);
  1322. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  1323. ITTAPI2 * This);
  1324. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Addresses )(
  1325. ITTAPI2 * This,
  1326. /* [retval][out] */ VARIANT *pVariant);
  1327. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAddresses )(
  1328. ITTAPI2 * This,
  1329. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  1330. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterCallNotifications )(
  1331. ITTAPI2 * This,
  1332. /* [in] */ ITAddress *pAddress,
  1333. /* [in] */ VARIANT_BOOL fMonitor,
  1334. /* [in] */ VARIANT_BOOL fOwner,
  1335. /* [in] */ long lMediaTypes,
  1336. /* [in] */ long lCallbackInstance,
  1337. /* [retval][out] */ long *plRegister);
  1338. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnregisterNotifications )(
  1339. ITTAPI2 * This,
  1340. /* [in] */ long lRegister);
  1341. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHubs )(
  1342. ITTAPI2 * This,
  1343. /* [retval][out] */ VARIANT *pVariant);
  1344. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCallHubs )(
  1345. ITTAPI2 * This,
  1346. /* [retval][out] */ IEnumCallHub **ppEnumCallHub);
  1347. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetCallHubTracking )(
  1348. ITTAPI2 * This,
  1349. /* [in] */ VARIANT pAddresses,
  1350. /* [in] */ VARIANT_BOOL bTracking);
  1351. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePrivateTAPIObjects )(
  1352. ITTAPI2 * This,
  1353. /* [out] */ IEnumUnknown **ppEnumUnknown);
  1354. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PrivateTAPIObjects )(
  1355. ITTAPI2 * This,
  1356. /* [retval][out] */ VARIANT *pVariant);
  1357. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterRequestRecipient )(
  1358. ITTAPI2 * This,
  1359. /* [in] */ long lRegistrationInstance,
  1360. /* [in] */ long lRequestMode,
  1361. /* [in] */ VARIANT_BOOL fEnable);
  1362. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetAssistedTelephonyPriority )(
  1363. ITTAPI2 * This,
  1364. /* [in] */ BSTR pAppFilename,
  1365. /* [in] */ VARIANT_BOOL fPriority);
  1366. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetApplicationPriority )(
  1367. ITTAPI2 * This,
  1368. /* [in] */ BSTR pAppFilename,
  1369. /* [in] */ long lMediaType,
  1370. /* [in] */ VARIANT_BOOL fPriority);
  1371. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventFilter )(
  1372. ITTAPI2 * This,
  1373. /* [in] */ long lFilterMask);
  1374. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventFilter )(
  1375. ITTAPI2 * This,
  1376. /* [retval][out] */ long *plFilterMask);
  1377. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Phones )(
  1378. ITTAPI2 * This,
  1379. /* [retval][out] */ VARIANT *pPhones);
  1380. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePhones )(
  1381. ITTAPI2 * This,
  1382. /* [retval][out] */ IEnumPhone **ppEnumPhone);
  1383. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateEmptyCollectionObject )(
  1384. ITTAPI2 * This,
  1385. /* [retval][out] */ ITCollection2 **ppCollection);
  1386. END_INTERFACE
  1387. } ITTAPI2Vtbl;
  1388. interface ITTAPI2
  1389. {
  1390. CONST_VTBL struct ITTAPI2Vtbl *lpVtbl;
  1391. };
  1392. #ifdef COBJMACROS
  1393. #define ITTAPI2_QueryInterface(This,riid,ppvObject) \
  1394. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1395. #define ITTAPI2_AddRef(This) \
  1396. (This)->lpVtbl -> AddRef(This)
  1397. #define ITTAPI2_Release(This) \
  1398. (This)->lpVtbl -> Release(This)
  1399. #define ITTAPI2_GetTypeInfoCount(This,pctinfo) \
  1400. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1401. #define ITTAPI2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1402. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1403. #define ITTAPI2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1404. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1405. #define ITTAPI2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1406. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1407. #define ITTAPI2_Initialize(This) \
  1408. (This)->lpVtbl -> Initialize(This)
  1409. #define ITTAPI2_Shutdown(This) \
  1410. (This)->lpVtbl -> Shutdown(This)
  1411. #define ITTAPI2_get_Addresses(This,pVariant) \
  1412. (This)->lpVtbl -> get_Addresses(This,pVariant)
  1413. #define ITTAPI2_EnumerateAddresses(This,ppEnumAddress) \
  1414. (This)->lpVtbl -> EnumerateAddresses(This,ppEnumAddress)
  1415. #define ITTAPI2_RegisterCallNotifications(This,pAddress,fMonitor,fOwner,lMediaTypes,lCallbackInstance,plRegister) \
  1416. (This)->lpVtbl -> RegisterCallNotifications(This,pAddress,fMonitor,fOwner,lMediaTypes,lCallbackInstance,plRegister)
  1417. #define ITTAPI2_UnregisterNotifications(This,lRegister) \
  1418. (This)->lpVtbl -> UnregisterNotifications(This,lRegister)
  1419. #define ITTAPI2_get_CallHubs(This,pVariant) \
  1420. (This)->lpVtbl -> get_CallHubs(This,pVariant)
  1421. #define ITTAPI2_EnumerateCallHubs(This,ppEnumCallHub) \
  1422. (This)->lpVtbl -> EnumerateCallHubs(This,ppEnumCallHub)
  1423. #define ITTAPI2_SetCallHubTracking(This,pAddresses,bTracking) \
  1424. (This)->lpVtbl -> SetCallHubTracking(This,pAddresses,bTracking)
  1425. #define ITTAPI2_EnumeratePrivateTAPIObjects(This,ppEnumUnknown) \
  1426. (This)->lpVtbl -> EnumeratePrivateTAPIObjects(This,ppEnumUnknown)
  1427. #define ITTAPI2_get_PrivateTAPIObjects(This,pVariant) \
  1428. (This)->lpVtbl -> get_PrivateTAPIObjects(This,pVariant)
  1429. #define ITTAPI2_RegisterRequestRecipient(This,lRegistrationInstance,lRequestMode,fEnable) \
  1430. (This)->lpVtbl -> RegisterRequestRecipient(This,lRegistrationInstance,lRequestMode,fEnable)
  1431. #define ITTAPI2_SetAssistedTelephonyPriority(This,pAppFilename,fPriority) \
  1432. (This)->lpVtbl -> SetAssistedTelephonyPriority(This,pAppFilename,fPriority)
  1433. #define ITTAPI2_SetApplicationPriority(This,pAppFilename,lMediaType,fPriority) \
  1434. (This)->lpVtbl -> SetApplicationPriority(This,pAppFilename,lMediaType,fPriority)
  1435. #define ITTAPI2_put_EventFilter(This,lFilterMask) \
  1436. (This)->lpVtbl -> put_EventFilter(This,lFilterMask)
  1437. #define ITTAPI2_get_EventFilter(This,plFilterMask) \
  1438. (This)->lpVtbl -> get_EventFilter(This,plFilterMask)
  1439. #define ITTAPI2_get_Phones(This,pPhones) \
  1440. (This)->lpVtbl -> get_Phones(This,pPhones)
  1441. #define ITTAPI2_EnumeratePhones(This,ppEnumPhone) \
  1442. (This)->lpVtbl -> EnumeratePhones(This,ppEnumPhone)
  1443. #define ITTAPI2_CreateEmptyCollectionObject(This,ppCollection) \
  1444. (This)->lpVtbl -> CreateEmptyCollectionObject(This,ppCollection)
  1445. #endif /* COBJMACROS */
  1446. #endif /* C style interface */
  1447. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPI2_get_Phones_Proxy(
  1448. ITTAPI2 * This,
  1449. /* [retval][out] */ VARIANT *pPhones);
  1450. void __RPC_STUB ITTAPI2_get_Phones_Stub(
  1451. IRpcStubBuffer *This,
  1452. IRpcChannelBuffer *_pRpcChannelBuffer,
  1453. PRPC_MESSAGE _pRpcMessage,
  1454. DWORD *_pdwStubPhase);
  1455. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTAPI2_EnumeratePhones_Proxy(
  1456. ITTAPI2 * This,
  1457. /* [retval][out] */ IEnumPhone **ppEnumPhone);
  1458. void __RPC_STUB ITTAPI2_EnumeratePhones_Stub(
  1459. IRpcStubBuffer *This,
  1460. IRpcChannelBuffer *_pRpcChannelBuffer,
  1461. PRPC_MESSAGE _pRpcMessage,
  1462. DWORD *_pdwStubPhase);
  1463. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPI2_CreateEmptyCollectionObject_Proxy(
  1464. ITTAPI2 * This,
  1465. /* [retval][out] */ ITCollection2 **ppCollection);
  1466. void __RPC_STUB ITTAPI2_CreateEmptyCollectionObject_Stub(
  1467. IRpcStubBuffer *This,
  1468. IRpcChannelBuffer *_pRpcChannelBuffer,
  1469. PRPC_MESSAGE _pRpcMessage,
  1470. DWORD *_pdwStubPhase);
  1471. #endif /* __ITTAPI2_INTERFACE_DEFINED__ */
  1472. #ifndef __ITMediaSupport_INTERFACE_DEFINED__
  1473. #define __ITMediaSupport_INTERFACE_DEFINED__
  1474. /* interface ITMediaSupport */
  1475. /* [object][dual][helpstring][uuid] */
  1476. EXTERN_C const IID IID_ITMediaSupport;
  1477. #if defined(__cplusplus) && !defined(CINTERFACE)
  1478. MIDL_INTERFACE("B1EFC384-9355-11d0-835C-00AA003CCABD")
  1479. ITMediaSupport : public IDispatch
  1480. {
  1481. public:
  1482. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaTypes(
  1483. /* [retval][out] */ long *plMediaTypes) = 0;
  1484. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryMediaType(
  1485. /* [in] */ long lMediaType,
  1486. /* [retval][out] */ VARIANT_BOOL *pfSupport) = 0;
  1487. };
  1488. #else /* C style interface */
  1489. typedef struct ITMediaSupportVtbl
  1490. {
  1491. BEGIN_INTERFACE
  1492. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1493. ITMediaSupport * This,
  1494. /* [in] */ REFIID riid,
  1495. /* [iid_is][out] */ void **ppvObject);
  1496. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1497. ITMediaSupport * This);
  1498. ULONG ( STDMETHODCALLTYPE *Release )(
  1499. ITMediaSupport * This);
  1500. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1501. ITMediaSupport * This,
  1502. /* [out] */ UINT *pctinfo);
  1503. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1504. ITMediaSupport * This,
  1505. /* [in] */ UINT iTInfo,
  1506. /* [in] */ LCID lcid,
  1507. /* [out] */ ITypeInfo **ppTInfo);
  1508. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1509. ITMediaSupport * This,
  1510. /* [in] */ REFIID riid,
  1511. /* [size_is][in] */ LPOLESTR *rgszNames,
  1512. /* [in] */ UINT cNames,
  1513. /* [in] */ LCID lcid,
  1514. /* [size_is][out] */ DISPID *rgDispId);
  1515. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1516. ITMediaSupport * This,
  1517. /* [in] */ DISPID dispIdMember,
  1518. /* [in] */ REFIID riid,
  1519. /* [in] */ LCID lcid,
  1520. /* [in] */ WORD wFlags,
  1521. /* [out][in] */ DISPPARAMS *pDispParams,
  1522. /* [out] */ VARIANT *pVarResult,
  1523. /* [out] */ EXCEPINFO *pExcepInfo,
  1524. /* [out] */ UINT *puArgErr);
  1525. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypes )(
  1526. ITMediaSupport * This,
  1527. /* [retval][out] */ long *plMediaTypes);
  1528. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryMediaType )(
  1529. ITMediaSupport * This,
  1530. /* [in] */ long lMediaType,
  1531. /* [retval][out] */ VARIANT_BOOL *pfSupport);
  1532. END_INTERFACE
  1533. } ITMediaSupportVtbl;
  1534. interface ITMediaSupport
  1535. {
  1536. CONST_VTBL struct ITMediaSupportVtbl *lpVtbl;
  1537. };
  1538. #ifdef COBJMACROS
  1539. #define ITMediaSupport_QueryInterface(This,riid,ppvObject) \
  1540. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1541. #define ITMediaSupport_AddRef(This) \
  1542. (This)->lpVtbl -> AddRef(This)
  1543. #define ITMediaSupport_Release(This) \
  1544. (This)->lpVtbl -> Release(This)
  1545. #define ITMediaSupport_GetTypeInfoCount(This,pctinfo) \
  1546. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1547. #define ITMediaSupport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1548. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1549. #define ITMediaSupport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1550. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1551. #define ITMediaSupport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1552. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1553. #define ITMediaSupport_get_MediaTypes(This,plMediaTypes) \
  1554. (This)->lpVtbl -> get_MediaTypes(This,plMediaTypes)
  1555. #define ITMediaSupport_QueryMediaType(This,lMediaType,pfSupport) \
  1556. (This)->lpVtbl -> QueryMediaType(This,lMediaType,pfSupport)
  1557. #endif /* COBJMACROS */
  1558. #endif /* C style interface */
  1559. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaSupport_get_MediaTypes_Proxy(
  1560. ITMediaSupport * This,
  1561. /* [retval][out] */ long *plMediaTypes);
  1562. void __RPC_STUB ITMediaSupport_get_MediaTypes_Stub(
  1563. IRpcStubBuffer *This,
  1564. IRpcChannelBuffer *_pRpcChannelBuffer,
  1565. PRPC_MESSAGE _pRpcMessage,
  1566. DWORD *_pdwStubPhase);
  1567. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaSupport_QueryMediaType_Proxy(
  1568. ITMediaSupport * This,
  1569. /* [in] */ long lMediaType,
  1570. /* [retval][out] */ VARIANT_BOOL *pfSupport);
  1571. void __RPC_STUB ITMediaSupport_QueryMediaType_Stub(
  1572. IRpcStubBuffer *This,
  1573. IRpcChannelBuffer *_pRpcChannelBuffer,
  1574. PRPC_MESSAGE _pRpcMessage,
  1575. DWORD *_pdwStubPhase);
  1576. #endif /* __ITMediaSupport_INTERFACE_DEFINED__ */
  1577. #ifndef __ITPluggableTerminalClassInfo_INTERFACE_DEFINED__
  1578. #define __ITPluggableTerminalClassInfo_INTERFACE_DEFINED__
  1579. /* interface ITPluggableTerminalClassInfo */
  1580. /* [object][dual][helpstring][uuid] */
  1581. EXTERN_C const IID IID_ITPluggableTerminalClassInfo;
  1582. #if defined(__cplusplus) && !defined(CINTERFACE)
  1583. MIDL_INTERFACE("41757F4A-CF09-4b34-BC96-0A79D2390076")
  1584. ITPluggableTerminalClassInfo : public IDispatch
  1585. {
  1586. public:
  1587. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1588. /* [retval][out] */ BSTR *pName) = 0;
  1589. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Company(
  1590. /* [retval][out] */ BSTR *pCompany) = 0;
  1591. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Version(
  1592. /* [retval][out] */ BSTR *pVersion) = 0;
  1593. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_TerminalClass(
  1594. /* [retval][out] */ BSTR *pTerminalClass) = 0;
  1595. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CLSID(
  1596. /* [retval][out] */ BSTR *pCLSID) = 0;
  1597. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Direction(
  1598. /* [retval][out] */ TERMINAL_DIRECTION *pDirection) = 0;
  1599. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_MediaTypes(
  1600. /* [retval][out] */ long *pMediaTypes) = 0;
  1601. };
  1602. #else /* C style interface */
  1603. typedef struct ITPluggableTerminalClassInfoVtbl
  1604. {
  1605. BEGIN_INTERFACE
  1606. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1607. ITPluggableTerminalClassInfo * This,
  1608. /* [in] */ REFIID riid,
  1609. /* [iid_is][out] */ void **ppvObject);
  1610. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1611. ITPluggableTerminalClassInfo * This);
  1612. ULONG ( STDMETHODCALLTYPE *Release )(
  1613. ITPluggableTerminalClassInfo * This);
  1614. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1615. ITPluggableTerminalClassInfo * This,
  1616. /* [out] */ UINT *pctinfo);
  1617. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1618. ITPluggableTerminalClassInfo * This,
  1619. /* [in] */ UINT iTInfo,
  1620. /* [in] */ LCID lcid,
  1621. /* [out] */ ITypeInfo **ppTInfo);
  1622. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1623. ITPluggableTerminalClassInfo * This,
  1624. /* [in] */ REFIID riid,
  1625. /* [size_is][in] */ LPOLESTR *rgszNames,
  1626. /* [in] */ UINT cNames,
  1627. /* [in] */ LCID lcid,
  1628. /* [size_is][out] */ DISPID *rgDispId);
  1629. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1630. ITPluggableTerminalClassInfo * This,
  1631. /* [in] */ DISPID dispIdMember,
  1632. /* [in] */ REFIID riid,
  1633. /* [in] */ LCID lcid,
  1634. /* [in] */ WORD wFlags,
  1635. /* [out][in] */ DISPPARAMS *pDispParams,
  1636. /* [out] */ VARIANT *pVarResult,
  1637. /* [out] */ EXCEPINFO *pExcepInfo,
  1638. /* [out] */ UINT *puArgErr);
  1639. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1640. ITPluggableTerminalClassInfo * This,
  1641. /* [retval][out] */ BSTR *pName);
  1642. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Company )(
  1643. ITPluggableTerminalClassInfo * This,
  1644. /* [retval][out] */ BSTR *pCompany);
  1645. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
  1646. ITPluggableTerminalClassInfo * This,
  1647. /* [retval][out] */ BSTR *pVersion);
  1648. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalClass )(
  1649. ITPluggableTerminalClassInfo * This,
  1650. /* [retval][out] */ BSTR *pTerminalClass);
  1651. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CLSID )(
  1652. ITPluggableTerminalClassInfo * This,
  1653. /* [retval][out] */ BSTR *pCLSID);
  1654. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )(
  1655. ITPluggableTerminalClassInfo * This,
  1656. /* [retval][out] */ TERMINAL_DIRECTION *pDirection);
  1657. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypes )(
  1658. ITPluggableTerminalClassInfo * This,
  1659. /* [retval][out] */ long *pMediaTypes);
  1660. END_INTERFACE
  1661. } ITPluggableTerminalClassInfoVtbl;
  1662. interface ITPluggableTerminalClassInfo
  1663. {
  1664. CONST_VTBL struct ITPluggableTerminalClassInfoVtbl *lpVtbl;
  1665. };
  1666. #ifdef COBJMACROS
  1667. #define ITPluggableTerminalClassInfo_QueryInterface(This,riid,ppvObject) \
  1668. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1669. #define ITPluggableTerminalClassInfo_AddRef(This) \
  1670. (This)->lpVtbl -> AddRef(This)
  1671. #define ITPluggableTerminalClassInfo_Release(This) \
  1672. (This)->lpVtbl -> Release(This)
  1673. #define ITPluggableTerminalClassInfo_GetTypeInfoCount(This,pctinfo) \
  1674. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1675. #define ITPluggableTerminalClassInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1676. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1677. #define ITPluggableTerminalClassInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1678. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1679. #define ITPluggableTerminalClassInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1680. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1681. #define ITPluggableTerminalClassInfo_get_Name(This,pName) \
  1682. (This)->lpVtbl -> get_Name(This,pName)
  1683. #define ITPluggableTerminalClassInfo_get_Company(This,pCompany) \
  1684. (This)->lpVtbl -> get_Company(This,pCompany)
  1685. #define ITPluggableTerminalClassInfo_get_Version(This,pVersion) \
  1686. (This)->lpVtbl -> get_Version(This,pVersion)
  1687. #define ITPluggableTerminalClassInfo_get_TerminalClass(This,pTerminalClass) \
  1688. (This)->lpVtbl -> get_TerminalClass(This,pTerminalClass)
  1689. #define ITPluggableTerminalClassInfo_get_CLSID(This,pCLSID) \
  1690. (This)->lpVtbl -> get_CLSID(This,pCLSID)
  1691. #define ITPluggableTerminalClassInfo_get_Direction(This,pDirection) \
  1692. (This)->lpVtbl -> get_Direction(This,pDirection)
  1693. #define ITPluggableTerminalClassInfo_get_MediaTypes(This,pMediaTypes) \
  1694. (This)->lpVtbl -> get_MediaTypes(This,pMediaTypes)
  1695. #endif /* COBJMACROS */
  1696. #endif /* C style interface */
  1697. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_Name_Proxy(
  1698. ITPluggableTerminalClassInfo * This,
  1699. /* [retval][out] */ BSTR *pName);
  1700. void __RPC_STUB ITPluggableTerminalClassInfo_get_Name_Stub(
  1701. IRpcStubBuffer *This,
  1702. IRpcChannelBuffer *_pRpcChannelBuffer,
  1703. PRPC_MESSAGE _pRpcMessage,
  1704. DWORD *_pdwStubPhase);
  1705. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_Company_Proxy(
  1706. ITPluggableTerminalClassInfo * This,
  1707. /* [retval][out] */ BSTR *pCompany);
  1708. void __RPC_STUB ITPluggableTerminalClassInfo_get_Company_Stub(
  1709. IRpcStubBuffer *This,
  1710. IRpcChannelBuffer *_pRpcChannelBuffer,
  1711. PRPC_MESSAGE _pRpcMessage,
  1712. DWORD *_pdwStubPhase);
  1713. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_Version_Proxy(
  1714. ITPluggableTerminalClassInfo * This,
  1715. /* [retval][out] */ BSTR *pVersion);
  1716. void __RPC_STUB ITPluggableTerminalClassInfo_get_Version_Stub(
  1717. IRpcStubBuffer *This,
  1718. IRpcChannelBuffer *_pRpcChannelBuffer,
  1719. PRPC_MESSAGE _pRpcMessage,
  1720. DWORD *_pdwStubPhase);
  1721. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_TerminalClass_Proxy(
  1722. ITPluggableTerminalClassInfo * This,
  1723. /* [retval][out] */ BSTR *pTerminalClass);
  1724. void __RPC_STUB ITPluggableTerminalClassInfo_get_TerminalClass_Stub(
  1725. IRpcStubBuffer *This,
  1726. IRpcChannelBuffer *_pRpcChannelBuffer,
  1727. PRPC_MESSAGE _pRpcMessage,
  1728. DWORD *_pdwStubPhase);
  1729. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_CLSID_Proxy(
  1730. ITPluggableTerminalClassInfo * This,
  1731. /* [retval][out] */ BSTR *pCLSID);
  1732. void __RPC_STUB ITPluggableTerminalClassInfo_get_CLSID_Stub(
  1733. IRpcStubBuffer *This,
  1734. IRpcChannelBuffer *_pRpcChannelBuffer,
  1735. PRPC_MESSAGE _pRpcMessage,
  1736. DWORD *_pdwStubPhase);
  1737. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_Direction_Proxy(
  1738. ITPluggableTerminalClassInfo * This,
  1739. /* [retval][out] */ TERMINAL_DIRECTION *pDirection);
  1740. void __RPC_STUB ITPluggableTerminalClassInfo_get_Direction_Stub(
  1741. IRpcStubBuffer *This,
  1742. IRpcChannelBuffer *_pRpcChannelBuffer,
  1743. PRPC_MESSAGE _pRpcMessage,
  1744. DWORD *_pdwStubPhase);
  1745. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalClassInfo_get_MediaTypes_Proxy(
  1746. ITPluggableTerminalClassInfo * This,
  1747. /* [retval][out] */ long *pMediaTypes);
  1748. void __RPC_STUB ITPluggableTerminalClassInfo_get_MediaTypes_Stub(
  1749. IRpcStubBuffer *This,
  1750. IRpcChannelBuffer *_pRpcChannelBuffer,
  1751. PRPC_MESSAGE _pRpcMessage,
  1752. DWORD *_pdwStubPhase);
  1753. #endif /* __ITPluggableTerminalClassInfo_INTERFACE_DEFINED__ */
  1754. #ifndef __ITPluggableTerminalSuperclassInfo_INTERFACE_DEFINED__
  1755. #define __ITPluggableTerminalSuperclassInfo_INTERFACE_DEFINED__
  1756. /* interface ITPluggableTerminalSuperclassInfo */
  1757. /* [object][dual][helpstring][uuid] */
  1758. EXTERN_C const IID IID_ITPluggableTerminalSuperclassInfo;
  1759. #if defined(__cplusplus) && !defined(CINTERFACE)
  1760. MIDL_INTERFACE("6D54E42C-4625-4359-A6F7-631999107E05")
  1761. ITPluggableTerminalSuperclassInfo : public IDispatch
  1762. {
  1763. public:
  1764. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_Name(
  1765. /* [retval][out] */ BSTR *pName) = 0;
  1766. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_CLSID(
  1767. /* [retval][out] */ BSTR *pCLSID) = 0;
  1768. };
  1769. #else /* C style interface */
  1770. typedef struct ITPluggableTerminalSuperclassInfoVtbl
  1771. {
  1772. BEGIN_INTERFACE
  1773. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1774. ITPluggableTerminalSuperclassInfo * This,
  1775. /* [in] */ REFIID riid,
  1776. /* [iid_is][out] */ void **ppvObject);
  1777. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1778. ITPluggableTerminalSuperclassInfo * This);
  1779. ULONG ( STDMETHODCALLTYPE *Release )(
  1780. ITPluggableTerminalSuperclassInfo * This);
  1781. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1782. ITPluggableTerminalSuperclassInfo * This,
  1783. /* [out] */ UINT *pctinfo);
  1784. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1785. ITPluggableTerminalSuperclassInfo * This,
  1786. /* [in] */ UINT iTInfo,
  1787. /* [in] */ LCID lcid,
  1788. /* [out] */ ITypeInfo **ppTInfo);
  1789. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1790. ITPluggableTerminalSuperclassInfo * This,
  1791. /* [in] */ REFIID riid,
  1792. /* [size_is][in] */ LPOLESTR *rgszNames,
  1793. /* [in] */ UINT cNames,
  1794. /* [in] */ LCID lcid,
  1795. /* [size_is][out] */ DISPID *rgDispId);
  1796. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1797. ITPluggableTerminalSuperclassInfo * This,
  1798. /* [in] */ DISPID dispIdMember,
  1799. /* [in] */ REFIID riid,
  1800. /* [in] */ LCID lcid,
  1801. /* [in] */ WORD wFlags,
  1802. /* [out][in] */ DISPPARAMS *pDispParams,
  1803. /* [out] */ VARIANT *pVarResult,
  1804. /* [out] */ EXCEPINFO *pExcepInfo,
  1805. /* [out] */ UINT *puArgErr);
  1806. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  1807. ITPluggableTerminalSuperclassInfo * This,
  1808. /* [retval][out] */ BSTR *pName);
  1809. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_CLSID )(
  1810. ITPluggableTerminalSuperclassInfo * This,
  1811. /* [retval][out] */ BSTR *pCLSID);
  1812. END_INTERFACE
  1813. } ITPluggableTerminalSuperclassInfoVtbl;
  1814. interface ITPluggableTerminalSuperclassInfo
  1815. {
  1816. CONST_VTBL struct ITPluggableTerminalSuperclassInfoVtbl *lpVtbl;
  1817. };
  1818. #ifdef COBJMACROS
  1819. #define ITPluggableTerminalSuperclassInfo_QueryInterface(This,riid,ppvObject) \
  1820. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1821. #define ITPluggableTerminalSuperclassInfo_AddRef(This) \
  1822. (This)->lpVtbl -> AddRef(This)
  1823. #define ITPluggableTerminalSuperclassInfo_Release(This) \
  1824. (This)->lpVtbl -> Release(This)
  1825. #define ITPluggableTerminalSuperclassInfo_GetTypeInfoCount(This,pctinfo) \
  1826. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1827. #define ITPluggableTerminalSuperclassInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1828. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1829. #define ITPluggableTerminalSuperclassInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1830. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1831. #define ITPluggableTerminalSuperclassInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1832. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1833. #define ITPluggableTerminalSuperclassInfo_get_Name(This,pName) \
  1834. (This)->lpVtbl -> get_Name(This,pName)
  1835. #define ITPluggableTerminalSuperclassInfo_get_CLSID(This,pCLSID) \
  1836. (This)->lpVtbl -> get_CLSID(This,pCLSID)
  1837. #endif /* COBJMACROS */
  1838. #endif /* C style interface */
  1839. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassInfo_get_Name_Proxy(
  1840. ITPluggableTerminalSuperclassInfo * This,
  1841. /* [retval][out] */ BSTR *pName);
  1842. void __RPC_STUB ITPluggableTerminalSuperclassInfo_get_Name_Stub(
  1843. IRpcStubBuffer *This,
  1844. IRpcChannelBuffer *_pRpcChannelBuffer,
  1845. PRPC_MESSAGE _pRpcMessage,
  1846. DWORD *_pdwStubPhase);
  1847. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITPluggableTerminalSuperclassInfo_get_CLSID_Proxy(
  1848. ITPluggableTerminalSuperclassInfo * This,
  1849. /* [retval][out] */ BSTR *pCLSID);
  1850. void __RPC_STUB ITPluggableTerminalSuperclassInfo_get_CLSID_Stub(
  1851. IRpcStubBuffer *This,
  1852. IRpcChannelBuffer *_pRpcChannelBuffer,
  1853. PRPC_MESSAGE _pRpcMessage,
  1854. DWORD *_pdwStubPhase);
  1855. #endif /* __ITPluggableTerminalSuperclassInfo_INTERFACE_DEFINED__ */
  1856. #ifndef __ITTerminalSupport_INTERFACE_DEFINED__
  1857. #define __ITTerminalSupport_INTERFACE_DEFINED__
  1858. /* interface ITTerminalSupport */
  1859. /* [object][dual][helpstring][uuid] */
  1860. EXTERN_C const IID IID_ITTerminalSupport;
  1861. #if defined(__cplusplus) && !defined(CINTERFACE)
  1862. MIDL_INTERFACE("B1EFC385-9355-11d0-835C-00AA003CCABD")
  1863. ITTerminalSupport : public IDispatch
  1864. {
  1865. public:
  1866. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_StaticTerminals(
  1867. /* [retval][out] */ VARIANT *pVariant) = 0;
  1868. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateStaticTerminals(
  1869. /* [retval][out] */ IEnumTerminal **ppTerminalEnumerator) = 0;
  1870. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DynamicTerminalClasses(
  1871. /* [retval][out] */ VARIANT *pVariant) = 0;
  1872. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateDynamicTerminalClasses(
  1873. /* [retval][out] */ IEnumTerminalClass **ppTerminalClassEnumerator) = 0;
  1874. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateTerminal(
  1875. /* [in] */ BSTR pTerminalClass,
  1876. /* [in] */ long lMediaType,
  1877. /* [in] */ TERMINAL_DIRECTION Direction,
  1878. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  1879. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDefaultStaticTerminal(
  1880. /* [in] */ long lMediaType,
  1881. /* [in] */ TERMINAL_DIRECTION Direction,
  1882. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  1883. };
  1884. #else /* C style interface */
  1885. typedef struct ITTerminalSupportVtbl
  1886. {
  1887. BEGIN_INTERFACE
  1888. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1889. ITTerminalSupport * This,
  1890. /* [in] */ REFIID riid,
  1891. /* [iid_is][out] */ void **ppvObject);
  1892. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1893. ITTerminalSupport * This);
  1894. ULONG ( STDMETHODCALLTYPE *Release )(
  1895. ITTerminalSupport * This);
  1896. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  1897. ITTerminalSupport * This,
  1898. /* [out] */ UINT *pctinfo);
  1899. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  1900. ITTerminalSupport * This,
  1901. /* [in] */ UINT iTInfo,
  1902. /* [in] */ LCID lcid,
  1903. /* [out] */ ITypeInfo **ppTInfo);
  1904. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1905. ITTerminalSupport * This,
  1906. /* [in] */ REFIID riid,
  1907. /* [size_is][in] */ LPOLESTR *rgszNames,
  1908. /* [in] */ UINT cNames,
  1909. /* [in] */ LCID lcid,
  1910. /* [size_is][out] */ DISPID *rgDispId);
  1911. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1912. ITTerminalSupport * This,
  1913. /* [in] */ DISPID dispIdMember,
  1914. /* [in] */ REFIID riid,
  1915. /* [in] */ LCID lcid,
  1916. /* [in] */ WORD wFlags,
  1917. /* [out][in] */ DISPPARAMS *pDispParams,
  1918. /* [out] */ VARIANT *pVarResult,
  1919. /* [out] */ EXCEPINFO *pExcepInfo,
  1920. /* [out] */ UINT *puArgErr);
  1921. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StaticTerminals )(
  1922. ITTerminalSupport * This,
  1923. /* [retval][out] */ VARIANT *pVariant);
  1924. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateStaticTerminals )(
  1925. ITTerminalSupport * This,
  1926. /* [retval][out] */ IEnumTerminal **ppTerminalEnumerator);
  1927. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DynamicTerminalClasses )(
  1928. ITTerminalSupport * This,
  1929. /* [retval][out] */ VARIANT *pVariant);
  1930. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateDynamicTerminalClasses )(
  1931. ITTerminalSupport * This,
  1932. /* [retval][out] */ IEnumTerminalClass **ppTerminalClassEnumerator);
  1933. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateTerminal )(
  1934. ITTerminalSupport * This,
  1935. /* [in] */ BSTR pTerminalClass,
  1936. /* [in] */ long lMediaType,
  1937. /* [in] */ TERMINAL_DIRECTION Direction,
  1938. /* [retval][out] */ ITTerminal **ppTerminal);
  1939. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultStaticTerminal )(
  1940. ITTerminalSupport * This,
  1941. /* [in] */ long lMediaType,
  1942. /* [in] */ TERMINAL_DIRECTION Direction,
  1943. /* [retval][out] */ ITTerminal **ppTerminal);
  1944. END_INTERFACE
  1945. } ITTerminalSupportVtbl;
  1946. interface ITTerminalSupport
  1947. {
  1948. CONST_VTBL struct ITTerminalSupportVtbl *lpVtbl;
  1949. };
  1950. #ifdef COBJMACROS
  1951. #define ITTerminalSupport_QueryInterface(This,riid,ppvObject) \
  1952. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1953. #define ITTerminalSupport_AddRef(This) \
  1954. (This)->lpVtbl -> AddRef(This)
  1955. #define ITTerminalSupport_Release(This) \
  1956. (This)->lpVtbl -> Release(This)
  1957. #define ITTerminalSupport_GetTypeInfoCount(This,pctinfo) \
  1958. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1959. #define ITTerminalSupport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1960. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1961. #define ITTerminalSupport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1962. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1963. #define ITTerminalSupport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1964. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1965. #define ITTerminalSupport_get_StaticTerminals(This,pVariant) \
  1966. (This)->lpVtbl -> get_StaticTerminals(This,pVariant)
  1967. #define ITTerminalSupport_EnumerateStaticTerminals(This,ppTerminalEnumerator) \
  1968. (This)->lpVtbl -> EnumerateStaticTerminals(This,ppTerminalEnumerator)
  1969. #define ITTerminalSupport_get_DynamicTerminalClasses(This,pVariant) \
  1970. (This)->lpVtbl -> get_DynamicTerminalClasses(This,pVariant)
  1971. #define ITTerminalSupport_EnumerateDynamicTerminalClasses(This,ppTerminalClassEnumerator) \
  1972. (This)->lpVtbl -> EnumerateDynamicTerminalClasses(This,ppTerminalClassEnumerator)
  1973. #define ITTerminalSupport_CreateTerminal(This,pTerminalClass,lMediaType,Direction,ppTerminal) \
  1974. (This)->lpVtbl -> CreateTerminal(This,pTerminalClass,lMediaType,Direction,ppTerminal)
  1975. #define ITTerminalSupport_GetDefaultStaticTerminal(This,lMediaType,Direction,ppTerminal) \
  1976. (This)->lpVtbl -> GetDefaultStaticTerminal(This,lMediaType,Direction,ppTerminal)
  1977. #endif /* COBJMACROS */
  1978. #endif /* C style interface */
  1979. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport_get_StaticTerminals_Proxy(
  1980. ITTerminalSupport * This,
  1981. /* [retval][out] */ VARIANT *pVariant);
  1982. void __RPC_STUB ITTerminalSupport_get_StaticTerminals_Stub(
  1983. IRpcStubBuffer *This,
  1984. IRpcChannelBuffer *_pRpcChannelBuffer,
  1985. PRPC_MESSAGE _pRpcMessage,
  1986. DWORD *_pdwStubPhase);
  1987. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport_EnumerateStaticTerminals_Proxy(
  1988. ITTerminalSupport * This,
  1989. /* [retval][out] */ IEnumTerminal **ppTerminalEnumerator);
  1990. void __RPC_STUB ITTerminalSupport_EnumerateStaticTerminals_Stub(
  1991. IRpcStubBuffer *This,
  1992. IRpcChannelBuffer *_pRpcChannelBuffer,
  1993. PRPC_MESSAGE _pRpcMessage,
  1994. DWORD *_pdwStubPhase);
  1995. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport_get_DynamicTerminalClasses_Proxy(
  1996. ITTerminalSupport * This,
  1997. /* [retval][out] */ VARIANT *pVariant);
  1998. void __RPC_STUB ITTerminalSupport_get_DynamicTerminalClasses_Stub(
  1999. IRpcStubBuffer *This,
  2000. IRpcChannelBuffer *_pRpcChannelBuffer,
  2001. PRPC_MESSAGE _pRpcMessage,
  2002. DWORD *_pdwStubPhase);
  2003. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport_EnumerateDynamicTerminalClasses_Proxy(
  2004. ITTerminalSupport * This,
  2005. /* [retval][out] */ IEnumTerminalClass **ppTerminalClassEnumerator);
  2006. void __RPC_STUB ITTerminalSupport_EnumerateDynamicTerminalClasses_Stub(
  2007. IRpcStubBuffer *This,
  2008. IRpcChannelBuffer *_pRpcChannelBuffer,
  2009. PRPC_MESSAGE _pRpcMessage,
  2010. DWORD *_pdwStubPhase);
  2011. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport_CreateTerminal_Proxy(
  2012. ITTerminalSupport * This,
  2013. /* [in] */ BSTR pTerminalClass,
  2014. /* [in] */ long lMediaType,
  2015. /* [in] */ TERMINAL_DIRECTION Direction,
  2016. /* [retval][out] */ ITTerminal **ppTerminal);
  2017. void __RPC_STUB ITTerminalSupport_CreateTerminal_Stub(
  2018. IRpcStubBuffer *This,
  2019. IRpcChannelBuffer *_pRpcChannelBuffer,
  2020. PRPC_MESSAGE _pRpcMessage,
  2021. DWORD *_pdwStubPhase);
  2022. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport_GetDefaultStaticTerminal_Proxy(
  2023. ITTerminalSupport * This,
  2024. /* [in] */ long lMediaType,
  2025. /* [in] */ TERMINAL_DIRECTION Direction,
  2026. /* [retval][out] */ ITTerminal **ppTerminal);
  2027. void __RPC_STUB ITTerminalSupport_GetDefaultStaticTerminal_Stub(
  2028. IRpcStubBuffer *This,
  2029. IRpcChannelBuffer *_pRpcChannelBuffer,
  2030. PRPC_MESSAGE _pRpcMessage,
  2031. DWORD *_pdwStubPhase);
  2032. #endif /* __ITTerminalSupport_INTERFACE_DEFINED__ */
  2033. #ifndef __ITTerminalSupport2_INTERFACE_DEFINED__
  2034. #define __ITTerminalSupport2_INTERFACE_DEFINED__
  2035. /* interface ITTerminalSupport2 */
  2036. /* [object][dual][helpstring][uuid] */
  2037. EXTERN_C const IID IID_ITTerminalSupport2;
  2038. #if defined(__cplusplus) && !defined(CINTERFACE)
  2039. MIDL_INTERFACE("F3EB39BC-1B1F-4e99-A0C0-56305C4DD591")
  2040. ITTerminalSupport2 : public ITTerminalSupport
  2041. {
  2042. public:
  2043. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PluggableSuperclasses(
  2044. /* [retval][out] */ VARIANT *pVariant) = 0;
  2045. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePluggableSuperclasses(
  2046. /* [retval][out] */ IEnumPluggableSuperclassInfo **ppSuperclassEnumerator) = 0;
  2047. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PluggableTerminalClasses(
  2048. /* [in] */ BSTR bstrTerminalSuperclass,
  2049. /* [in] */ long lMediaType,
  2050. /* [retval][out] */ VARIANT *pVariant) = 0;
  2051. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePluggableTerminalClasses(
  2052. /* [in] */ CLSID iidTerminalSuperclass,
  2053. /* [in] */ long lMediaType,
  2054. /* [retval][out] */ IEnumPluggableTerminalClassInfo **ppClassEnumerator) = 0;
  2055. };
  2056. #else /* C style interface */
  2057. typedef struct ITTerminalSupport2Vtbl
  2058. {
  2059. BEGIN_INTERFACE
  2060. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2061. ITTerminalSupport2 * This,
  2062. /* [in] */ REFIID riid,
  2063. /* [iid_is][out] */ void **ppvObject);
  2064. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2065. ITTerminalSupport2 * This);
  2066. ULONG ( STDMETHODCALLTYPE *Release )(
  2067. ITTerminalSupport2 * This);
  2068. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2069. ITTerminalSupport2 * This,
  2070. /* [out] */ UINT *pctinfo);
  2071. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2072. ITTerminalSupport2 * This,
  2073. /* [in] */ UINT iTInfo,
  2074. /* [in] */ LCID lcid,
  2075. /* [out] */ ITypeInfo **ppTInfo);
  2076. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2077. ITTerminalSupport2 * This,
  2078. /* [in] */ REFIID riid,
  2079. /* [size_is][in] */ LPOLESTR *rgszNames,
  2080. /* [in] */ UINT cNames,
  2081. /* [in] */ LCID lcid,
  2082. /* [size_is][out] */ DISPID *rgDispId);
  2083. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2084. ITTerminalSupport2 * This,
  2085. /* [in] */ DISPID dispIdMember,
  2086. /* [in] */ REFIID riid,
  2087. /* [in] */ LCID lcid,
  2088. /* [in] */ WORD wFlags,
  2089. /* [out][in] */ DISPPARAMS *pDispParams,
  2090. /* [out] */ VARIANT *pVarResult,
  2091. /* [out] */ EXCEPINFO *pExcepInfo,
  2092. /* [out] */ UINT *puArgErr);
  2093. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_StaticTerminals )(
  2094. ITTerminalSupport2 * This,
  2095. /* [retval][out] */ VARIANT *pVariant);
  2096. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateStaticTerminals )(
  2097. ITTerminalSupport2 * This,
  2098. /* [retval][out] */ IEnumTerminal **ppTerminalEnumerator);
  2099. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DynamicTerminalClasses )(
  2100. ITTerminalSupport2 * This,
  2101. /* [retval][out] */ VARIANT *pVariant);
  2102. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateDynamicTerminalClasses )(
  2103. ITTerminalSupport2 * This,
  2104. /* [retval][out] */ IEnumTerminalClass **ppTerminalClassEnumerator);
  2105. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateTerminal )(
  2106. ITTerminalSupport2 * This,
  2107. /* [in] */ BSTR pTerminalClass,
  2108. /* [in] */ long lMediaType,
  2109. /* [in] */ TERMINAL_DIRECTION Direction,
  2110. /* [retval][out] */ ITTerminal **ppTerminal);
  2111. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetDefaultStaticTerminal )(
  2112. ITTerminalSupport2 * This,
  2113. /* [in] */ long lMediaType,
  2114. /* [in] */ TERMINAL_DIRECTION Direction,
  2115. /* [retval][out] */ ITTerminal **ppTerminal);
  2116. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PluggableSuperclasses )(
  2117. ITTerminalSupport2 * This,
  2118. /* [retval][out] */ VARIANT *pVariant);
  2119. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePluggableSuperclasses )(
  2120. ITTerminalSupport2 * This,
  2121. /* [retval][out] */ IEnumPluggableSuperclassInfo **ppSuperclassEnumerator);
  2122. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PluggableTerminalClasses )(
  2123. ITTerminalSupport2 * This,
  2124. /* [in] */ BSTR bstrTerminalSuperclass,
  2125. /* [in] */ long lMediaType,
  2126. /* [retval][out] */ VARIANT *pVariant);
  2127. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePluggableTerminalClasses )(
  2128. ITTerminalSupport2 * This,
  2129. /* [in] */ CLSID iidTerminalSuperclass,
  2130. /* [in] */ long lMediaType,
  2131. /* [retval][out] */ IEnumPluggableTerminalClassInfo **ppClassEnumerator);
  2132. END_INTERFACE
  2133. } ITTerminalSupport2Vtbl;
  2134. interface ITTerminalSupport2
  2135. {
  2136. CONST_VTBL struct ITTerminalSupport2Vtbl *lpVtbl;
  2137. };
  2138. #ifdef COBJMACROS
  2139. #define ITTerminalSupport2_QueryInterface(This,riid,ppvObject) \
  2140. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2141. #define ITTerminalSupport2_AddRef(This) \
  2142. (This)->lpVtbl -> AddRef(This)
  2143. #define ITTerminalSupport2_Release(This) \
  2144. (This)->lpVtbl -> Release(This)
  2145. #define ITTerminalSupport2_GetTypeInfoCount(This,pctinfo) \
  2146. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2147. #define ITTerminalSupport2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2148. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2149. #define ITTerminalSupport2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2150. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2151. #define ITTerminalSupport2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2152. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2153. #define ITTerminalSupport2_get_StaticTerminals(This,pVariant) \
  2154. (This)->lpVtbl -> get_StaticTerminals(This,pVariant)
  2155. #define ITTerminalSupport2_EnumerateStaticTerminals(This,ppTerminalEnumerator) \
  2156. (This)->lpVtbl -> EnumerateStaticTerminals(This,ppTerminalEnumerator)
  2157. #define ITTerminalSupport2_get_DynamicTerminalClasses(This,pVariant) \
  2158. (This)->lpVtbl -> get_DynamicTerminalClasses(This,pVariant)
  2159. #define ITTerminalSupport2_EnumerateDynamicTerminalClasses(This,ppTerminalClassEnumerator) \
  2160. (This)->lpVtbl -> EnumerateDynamicTerminalClasses(This,ppTerminalClassEnumerator)
  2161. #define ITTerminalSupport2_CreateTerminal(This,pTerminalClass,lMediaType,Direction,ppTerminal) \
  2162. (This)->lpVtbl -> CreateTerminal(This,pTerminalClass,lMediaType,Direction,ppTerminal)
  2163. #define ITTerminalSupport2_GetDefaultStaticTerminal(This,lMediaType,Direction,ppTerminal) \
  2164. (This)->lpVtbl -> GetDefaultStaticTerminal(This,lMediaType,Direction,ppTerminal)
  2165. #define ITTerminalSupport2_get_PluggableSuperclasses(This,pVariant) \
  2166. (This)->lpVtbl -> get_PluggableSuperclasses(This,pVariant)
  2167. #define ITTerminalSupport2_EnumeratePluggableSuperclasses(This,ppSuperclassEnumerator) \
  2168. (This)->lpVtbl -> EnumeratePluggableSuperclasses(This,ppSuperclassEnumerator)
  2169. #define ITTerminalSupport2_get_PluggableTerminalClasses(This,bstrTerminalSuperclass,lMediaType,pVariant) \
  2170. (This)->lpVtbl -> get_PluggableTerminalClasses(This,bstrTerminalSuperclass,lMediaType,pVariant)
  2171. #define ITTerminalSupport2_EnumeratePluggableTerminalClasses(This,iidTerminalSuperclass,lMediaType,ppClassEnumerator) \
  2172. (This)->lpVtbl -> EnumeratePluggableTerminalClasses(This,iidTerminalSuperclass,lMediaType,ppClassEnumerator)
  2173. #endif /* COBJMACROS */
  2174. #endif /* C style interface */
  2175. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport2_get_PluggableSuperclasses_Proxy(
  2176. ITTerminalSupport2 * This,
  2177. /* [retval][out] */ VARIANT *pVariant);
  2178. void __RPC_STUB ITTerminalSupport2_get_PluggableSuperclasses_Stub(
  2179. IRpcStubBuffer *This,
  2180. IRpcChannelBuffer *_pRpcChannelBuffer,
  2181. PRPC_MESSAGE _pRpcMessage,
  2182. DWORD *_pdwStubPhase);
  2183. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport2_EnumeratePluggableSuperclasses_Proxy(
  2184. ITTerminalSupport2 * This,
  2185. /* [retval][out] */ IEnumPluggableSuperclassInfo **ppSuperclassEnumerator);
  2186. void __RPC_STUB ITTerminalSupport2_EnumeratePluggableSuperclasses_Stub(
  2187. IRpcStubBuffer *This,
  2188. IRpcChannelBuffer *_pRpcChannelBuffer,
  2189. PRPC_MESSAGE _pRpcMessage,
  2190. DWORD *_pdwStubPhase);
  2191. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport2_get_PluggableTerminalClasses_Proxy(
  2192. ITTerminalSupport2 * This,
  2193. /* [in] */ BSTR bstrTerminalSuperclass,
  2194. /* [in] */ long lMediaType,
  2195. /* [retval][out] */ VARIANT *pVariant);
  2196. void __RPC_STUB ITTerminalSupport2_get_PluggableTerminalClasses_Stub(
  2197. IRpcStubBuffer *This,
  2198. IRpcChannelBuffer *_pRpcChannelBuffer,
  2199. PRPC_MESSAGE _pRpcMessage,
  2200. DWORD *_pdwStubPhase);
  2201. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITTerminalSupport2_EnumeratePluggableTerminalClasses_Proxy(
  2202. ITTerminalSupport2 * This,
  2203. /* [in] */ CLSID iidTerminalSuperclass,
  2204. /* [in] */ long lMediaType,
  2205. /* [retval][out] */ IEnumPluggableTerminalClassInfo **ppClassEnumerator);
  2206. void __RPC_STUB ITTerminalSupport2_EnumeratePluggableTerminalClasses_Stub(
  2207. IRpcStubBuffer *This,
  2208. IRpcChannelBuffer *_pRpcChannelBuffer,
  2209. PRPC_MESSAGE _pRpcMessage,
  2210. DWORD *_pdwStubPhase);
  2211. #endif /* __ITTerminalSupport2_INTERFACE_DEFINED__ */
  2212. #ifndef __ITAddress_INTERFACE_DEFINED__
  2213. #define __ITAddress_INTERFACE_DEFINED__
  2214. /* interface ITAddress */
  2215. /* [object][dual][helpstring][uuid] */
  2216. EXTERN_C const IID IID_ITAddress;
  2217. #if defined(__cplusplus) && !defined(CINTERFACE)
  2218. MIDL_INTERFACE("B1EFC386-9355-11d0-835C-00AA003CCABD")
  2219. ITAddress : public IDispatch
  2220. {
  2221. public:
  2222. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  2223. /* [retval][out] */ ADDRESS_STATE *pAddressState) = 0;
  2224. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddressName(
  2225. /* [retval][out] */ BSTR *ppName) = 0;
  2226. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ServiceProviderName(
  2227. /* [retval][out] */ BSTR *ppName) = 0;
  2228. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TAPIObject(
  2229. /* [retval][out] */ ITTAPI **ppTapiObject) = 0;
  2230. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateCall(
  2231. /* [in] */ BSTR pDestAddress,
  2232. /* [in] */ long lAddressType,
  2233. /* [in] */ long lMediaTypes,
  2234. /* [retval][out] */ ITBasicCallControl **ppCall) = 0;
  2235. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Calls(
  2236. /* [retval][out] */ VARIANT *pVariant) = 0;
  2237. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCalls(
  2238. /* [retval][out] */ IEnumCall **ppCallEnum) = 0;
  2239. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DialableAddress(
  2240. /* [retval][out] */ BSTR *pDialableAddress) = 0;
  2241. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateForwardInfoObject(
  2242. /* [retval][out] */ ITForwardInformation **ppForwardInfo) = 0;
  2243. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Forward(
  2244. /* [in] */ ITForwardInformation *pForwardInfo,
  2245. /* [in] */ ITBasicCallControl *pCall) = 0;
  2246. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentForwardInfo(
  2247. /* [retval][out] */ ITForwardInformation **ppForwardInfo) = 0;
  2248. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_MessageWaiting(
  2249. /* [in] */ VARIANT_BOOL fMessageWaiting) = 0;
  2250. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MessageWaiting(
  2251. /* [retval][out] */ VARIANT_BOOL *pfMessageWaiting) = 0;
  2252. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DoNotDisturb(
  2253. /* [in] */ VARIANT_BOOL fDoNotDisturb) = 0;
  2254. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DoNotDisturb(
  2255. /* [retval][out] */ VARIANT_BOOL *pfDoNotDisturb) = 0;
  2256. };
  2257. #else /* C style interface */
  2258. typedef struct ITAddressVtbl
  2259. {
  2260. BEGIN_INTERFACE
  2261. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2262. ITAddress * This,
  2263. /* [in] */ REFIID riid,
  2264. /* [iid_is][out] */ void **ppvObject);
  2265. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2266. ITAddress * This);
  2267. ULONG ( STDMETHODCALLTYPE *Release )(
  2268. ITAddress * This);
  2269. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2270. ITAddress * This,
  2271. /* [out] */ UINT *pctinfo);
  2272. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2273. ITAddress * This,
  2274. /* [in] */ UINT iTInfo,
  2275. /* [in] */ LCID lcid,
  2276. /* [out] */ ITypeInfo **ppTInfo);
  2277. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2278. ITAddress * This,
  2279. /* [in] */ REFIID riid,
  2280. /* [size_is][in] */ LPOLESTR *rgszNames,
  2281. /* [in] */ UINT cNames,
  2282. /* [in] */ LCID lcid,
  2283. /* [size_is][out] */ DISPID *rgDispId);
  2284. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2285. ITAddress * This,
  2286. /* [in] */ DISPID dispIdMember,
  2287. /* [in] */ REFIID riid,
  2288. /* [in] */ LCID lcid,
  2289. /* [in] */ WORD wFlags,
  2290. /* [out][in] */ DISPPARAMS *pDispParams,
  2291. /* [out] */ VARIANT *pVarResult,
  2292. /* [out] */ EXCEPINFO *pExcepInfo,
  2293. /* [out] */ UINT *puArgErr);
  2294. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  2295. ITAddress * This,
  2296. /* [retval][out] */ ADDRESS_STATE *pAddressState);
  2297. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressName )(
  2298. ITAddress * This,
  2299. /* [retval][out] */ BSTR *ppName);
  2300. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServiceProviderName )(
  2301. ITAddress * This,
  2302. /* [retval][out] */ BSTR *ppName);
  2303. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TAPIObject )(
  2304. ITAddress * This,
  2305. /* [retval][out] */ ITTAPI **ppTapiObject);
  2306. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCall )(
  2307. ITAddress * This,
  2308. /* [in] */ BSTR pDestAddress,
  2309. /* [in] */ long lAddressType,
  2310. /* [in] */ long lMediaTypes,
  2311. /* [retval][out] */ ITBasicCallControl **ppCall);
  2312. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Calls )(
  2313. ITAddress * This,
  2314. /* [retval][out] */ VARIANT *pVariant);
  2315. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCalls )(
  2316. ITAddress * This,
  2317. /* [retval][out] */ IEnumCall **ppCallEnum);
  2318. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DialableAddress )(
  2319. ITAddress * This,
  2320. /* [retval][out] */ BSTR *pDialableAddress);
  2321. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateForwardInfoObject )(
  2322. ITAddress * This,
  2323. /* [retval][out] */ ITForwardInformation **ppForwardInfo);
  2324. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Forward )(
  2325. ITAddress * This,
  2326. /* [in] */ ITForwardInformation *pForwardInfo,
  2327. /* [in] */ ITBasicCallControl *pCall);
  2328. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentForwardInfo )(
  2329. ITAddress * This,
  2330. /* [retval][out] */ ITForwardInformation **ppForwardInfo);
  2331. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageWaiting )(
  2332. ITAddress * This,
  2333. /* [in] */ VARIANT_BOOL fMessageWaiting);
  2334. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageWaiting )(
  2335. ITAddress * This,
  2336. /* [retval][out] */ VARIANT_BOOL *pfMessageWaiting);
  2337. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DoNotDisturb )(
  2338. ITAddress * This,
  2339. /* [in] */ VARIANT_BOOL fDoNotDisturb);
  2340. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DoNotDisturb )(
  2341. ITAddress * This,
  2342. /* [retval][out] */ VARIANT_BOOL *pfDoNotDisturb);
  2343. END_INTERFACE
  2344. } ITAddressVtbl;
  2345. interface ITAddress
  2346. {
  2347. CONST_VTBL struct ITAddressVtbl *lpVtbl;
  2348. };
  2349. #ifdef COBJMACROS
  2350. #define ITAddress_QueryInterface(This,riid,ppvObject) \
  2351. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2352. #define ITAddress_AddRef(This) \
  2353. (This)->lpVtbl -> AddRef(This)
  2354. #define ITAddress_Release(This) \
  2355. (This)->lpVtbl -> Release(This)
  2356. #define ITAddress_GetTypeInfoCount(This,pctinfo) \
  2357. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2358. #define ITAddress_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2359. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2360. #define ITAddress_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2361. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2362. #define ITAddress_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2363. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2364. #define ITAddress_get_State(This,pAddressState) \
  2365. (This)->lpVtbl -> get_State(This,pAddressState)
  2366. #define ITAddress_get_AddressName(This,ppName) \
  2367. (This)->lpVtbl -> get_AddressName(This,ppName)
  2368. #define ITAddress_get_ServiceProviderName(This,ppName) \
  2369. (This)->lpVtbl -> get_ServiceProviderName(This,ppName)
  2370. #define ITAddress_get_TAPIObject(This,ppTapiObject) \
  2371. (This)->lpVtbl -> get_TAPIObject(This,ppTapiObject)
  2372. #define ITAddress_CreateCall(This,pDestAddress,lAddressType,lMediaTypes,ppCall) \
  2373. (This)->lpVtbl -> CreateCall(This,pDestAddress,lAddressType,lMediaTypes,ppCall)
  2374. #define ITAddress_get_Calls(This,pVariant) \
  2375. (This)->lpVtbl -> get_Calls(This,pVariant)
  2376. #define ITAddress_EnumerateCalls(This,ppCallEnum) \
  2377. (This)->lpVtbl -> EnumerateCalls(This,ppCallEnum)
  2378. #define ITAddress_get_DialableAddress(This,pDialableAddress) \
  2379. (This)->lpVtbl -> get_DialableAddress(This,pDialableAddress)
  2380. #define ITAddress_CreateForwardInfoObject(This,ppForwardInfo) \
  2381. (This)->lpVtbl -> CreateForwardInfoObject(This,ppForwardInfo)
  2382. #define ITAddress_Forward(This,pForwardInfo,pCall) \
  2383. (This)->lpVtbl -> Forward(This,pForwardInfo,pCall)
  2384. #define ITAddress_get_CurrentForwardInfo(This,ppForwardInfo) \
  2385. (This)->lpVtbl -> get_CurrentForwardInfo(This,ppForwardInfo)
  2386. #define ITAddress_put_MessageWaiting(This,fMessageWaiting) \
  2387. (This)->lpVtbl -> put_MessageWaiting(This,fMessageWaiting)
  2388. #define ITAddress_get_MessageWaiting(This,pfMessageWaiting) \
  2389. (This)->lpVtbl -> get_MessageWaiting(This,pfMessageWaiting)
  2390. #define ITAddress_put_DoNotDisturb(This,fDoNotDisturb) \
  2391. (This)->lpVtbl -> put_DoNotDisturb(This,fDoNotDisturb)
  2392. #define ITAddress_get_DoNotDisturb(This,pfDoNotDisturb) \
  2393. (This)->lpVtbl -> get_DoNotDisturb(This,pfDoNotDisturb)
  2394. #endif /* COBJMACROS */
  2395. #endif /* C style interface */
  2396. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_State_Proxy(
  2397. ITAddress * This,
  2398. /* [retval][out] */ ADDRESS_STATE *pAddressState);
  2399. void __RPC_STUB ITAddress_get_State_Stub(
  2400. IRpcStubBuffer *This,
  2401. IRpcChannelBuffer *_pRpcChannelBuffer,
  2402. PRPC_MESSAGE _pRpcMessage,
  2403. DWORD *_pdwStubPhase);
  2404. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_AddressName_Proxy(
  2405. ITAddress * This,
  2406. /* [retval][out] */ BSTR *ppName);
  2407. void __RPC_STUB ITAddress_get_AddressName_Stub(
  2408. IRpcStubBuffer *This,
  2409. IRpcChannelBuffer *_pRpcChannelBuffer,
  2410. PRPC_MESSAGE _pRpcMessage,
  2411. DWORD *_pdwStubPhase);
  2412. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_ServiceProviderName_Proxy(
  2413. ITAddress * This,
  2414. /* [retval][out] */ BSTR *ppName);
  2415. void __RPC_STUB ITAddress_get_ServiceProviderName_Stub(
  2416. IRpcStubBuffer *This,
  2417. IRpcChannelBuffer *_pRpcChannelBuffer,
  2418. PRPC_MESSAGE _pRpcMessage,
  2419. DWORD *_pdwStubPhase);
  2420. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_TAPIObject_Proxy(
  2421. ITAddress * This,
  2422. /* [retval][out] */ ITTAPI **ppTapiObject);
  2423. void __RPC_STUB ITAddress_get_TAPIObject_Stub(
  2424. IRpcStubBuffer *This,
  2425. IRpcChannelBuffer *_pRpcChannelBuffer,
  2426. PRPC_MESSAGE _pRpcMessage,
  2427. DWORD *_pdwStubPhase);
  2428. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress_CreateCall_Proxy(
  2429. ITAddress * This,
  2430. /* [in] */ BSTR pDestAddress,
  2431. /* [in] */ long lAddressType,
  2432. /* [in] */ long lMediaTypes,
  2433. /* [retval][out] */ ITBasicCallControl **ppCall);
  2434. void __RPC_STUB ITAddress_CreateCall_Stub(
  2435. IRpcStubBuffer *This,
  2436. IRpcChannelBuffer *_pRpcChannelBuffer,
  2437. PRPC_MESSAGE _pRpcMessage,
  2438. DWORD *_pdwStubPhase);
  2439. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_Calls_Proxy(
  2440. ITAddress * This,
  2441. /* [retval][out] */ VARIANT *pVariant);
  2442. void __RPC_STUB ITAddress_get_Calls_Stub(
  2443. IRpcStubBuffer *This,
  2444. IRpcChannelBuffer *_pRpcChannelBuffer,
  2445. PRPC_MESSAGE _pRpcMessage,
  2446. DWORD *_pdwStubPhase);
  2447. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress_EnumerateCalls_Proxy(
  2448. ITAddress * This,
  2449. /* [retval][out] */ IEnumCall **ppCallEnum);
  2450. void __RPC_STUB ITAddress_EnumerateCalls_Stub(
  2451. IRpcStubBuffer *This,
  2452. IRpcChannelBuffer *_pRpcChannelBuffer,
  2453. PRPC_MESSAGE _pRpcMessage,
  2454. DWORD *_pdwStubPhase);
  2455. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_DialableAddress_Proxy(
  2456. ITAddress * This,
  2457. /* [retval][out] */ BSTR *pDialableAddress);
  2458. void __RPC_STUB ITAddress_get_DialableAddress_Stub(
  2459. IRpcStubBuffer *This,
  2460. IRpcChannelBuffer *_pRpcChannelBuffer,
  2461. PRPC_MESSAGE _pRpcMessage,
  2462. DWORD *_pdwStubPhase);
  2463. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress_CreateForwardInfoObject_Proxy(
  2464. ITAddress * This,
  2465. /* [retval][out] */ ITForwardInformation **ppForwardInfo);
  2466. void __RPC_STUB ITAddress_CreateForwardInfoObject_Stub(
  2467. IRpcStubBuffer *This,
  2468. IRpcChannelBuffer *_pRpcChannelBuffer,
  2469. PRPC_MESSAGE _pRpcMessage,
  2470. DWORD *_pdwStubPhase);
  2471. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress_Forward_Proxy(
  2472. ITAddress * This,
  2473. /* [in] */ ITForwardInformation *pForwardInfo,
  2474. /* [in] */ ITBasicCallControl *pCall);
  2475. void __RPC_STUB ITAddress_Forward_Stub(
  2476. IRpcStubBuffer *This,
  2477. IRpcChannelBuffer *_pRpcChannelBuffer,
  2478. PRPC_MESSAGE _pRpcMessage,
  2479. DWORD *_pdwStubPhase);
  2480. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_CurrentForwardInfo_Proxy(
  2481. ITAddress * This,
  2482. /* [retval][out] */ ITForwardInformation **ppForwardInfo);
  2483. void __RPC_STUB ITAddress_get_CurrentForwardInfo_Stub(
  2484. IRpcStubBuffer *This,
  2485. IRpcChannelBuffer *_pRpcChannelBuffer,
  2486. PRPC_MESSAGE _pRpcMessage,
  2487. DWORD *_pdwStubPhase);
  2488. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAddress_put_MessageWaiting_Proxy(
  2489. ITAddress * This,
  2490. /* [in] */ VARIANT_BOOL fMessageWaiting);
  2491. void __RPC_STUB ITAddress_put_MessageWaiting_Stub(
  2492. IRpcStubBuffer *This,
  2493. IRpcChannelBuffer *_pRpcChannelBuffer,
  2494. PRPC_MESSAGE _pRpcMessage,
  2495. DWORD *_pdwStubPhase);
  2496. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_MessageWaiting_Proxy(
  2497. ITAddress * This,
  2498. /* [retval][out] */ VARIANT_BOOL *pfMessageWaiting);
  2499. void __RPC_STUB ITAddress_get_MessageWaiting_Stub(
  2500. IRpcStubBuffer *This,
  2501. IRpcChannelBuffer *_pRpcChannelBuffer,
  2502. PRPC_MESSAGE _pRpcMessage,
  2503. DWORD *_pdwStubPhase);
  2504. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAddress_put_DoNotDisturb_Proxy(
  2505. ITAddress * This,
  2506. /* [in] */ VARIANT_BOOL fDoNotDisturb);
  2507. void __RPC_STUB ITAddress_put_DoNotDisturb_Stub(
  2508. IRpcStubBuffer *This,
  2509. IRpcChannelBuffer *_pRpcChannelBuffer,
  2510. PRPC_MESSAGE _pRpcMessage,
  2511. DWORD *_pdwStubPhase);
  2512. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress_get_DoNotDisturb_Proxy(
  2513. ITAddress * This,
  2514. /* [retval][out] */ VARIANT_BOOL *pfDoNotDisturb);
  2515. void __RPC_STUB ITAddress_get_DoNotDisturb_Stub(
  2516. IRpcStubBuffer *This,
  2517. IRpcChannelBuffer *_pRpcChannelBuffer,
  2518. PRPC_MESSAGE _pRpcMessage,
  2519. DWORD *_pdwStubPhase);
  2520. #endif /* __ITAddress_INTERFACE_DEFINED__ */
  2521. #ifndef __ITAddress2_INTERFACE_DEFINED__
  2522. #define __ITAddress2_INTERFACE_DEFINED__
  2523. /* interface ITAddress2 */
  2524. /* [object][dual][helpstring][uuid] */
  2525. EXTERN_C const IID IID_ITAddress2;
  2526. #if defined(__cplusplus) && !defined(CINTERFACE)
  2527. MIDL_INTERFACE("B0AE5D9B-BE51-46c9-B0F7-DFA8A22A8BC4")
  2528. ITAddress2 : public ITAddress
  2529. {
  2530. public:
  2531. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Phones(
  2532. /* [retval][out] */ VARIANT *pPhones) = 0;
  2533. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePhones(
  2534. /* [retval][out] */ IEnumPhone **ppEnumPhone) = 0;
  2535. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPhoneFromTerminal(
  2536. /* [in] */ ITTerminal *pTerminal,
  2537. /* [retval][out] */ ITPhone **ppPhone) = 0;
  2538. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PreferredPhones(
  2539. /* [retval][out] */ VARIANT *pPhones) = 0;
  2540. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePreferredPhones(
  2541. /* [retval][out] */ IEnumPhone **ppEnumPhone) = 0;
  2542. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventFilter(
  2543. /* [in] */ TAPI_EVENT TapiEvent,
  2544. /* [in] */ long lSubEvent,
  2545. /* [retval][out] */ VARIANT_BOOL *pEnable) = 0;
  2546. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventFilter(
  2547. /* [in] */ TAPI_EVENT TapiEvent,
  2548. /* [in] */ long lSubEvent,
  2549. /* [in] */ VARIANT_BOOL bEnable) = 0;
  2550. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecific(
  2551. /* [in] */ ITCallInfo *pCall,
  2552. /* [in] */ BYTE *pParams,
  2553. /* [in] */ DWORD dwSize) = 0;
  2554. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecificVariant(
  2555. /* [in] */ ITCallInfo *pCall,
  2556. /* [in] */ VARIANT varDevSpecificByteArray) = 0;
  2557. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NegotiateExtVersion(
  2558. /* [in] */ long lLowVersion,
  2559. /* [in] */ long lHighVersion,
  2560. /* [retval][out] */ long *plExtVersion) = 0;
  2561. };
  2562. #else /* C style interface */
  2563. typedef struct ITAddress2Vtbl
  2564. {
  2565. BEGIN_INTERFACE
  2566. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2567. ITAddress2 * This,
  2568. /* [in] */ REFIID riid,
  2569. /* [iid_is][out] */ void **ppvObject);
  2570. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2571. ITAddress2 * This);
  2572. ULONG ( STDMETHODCALLTYPE *Release )(
  2573. ITAddress2 * This);
  2574. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2575. ITAddress2 * This,
  2576. /* [out] */ UINT *pctinfo);
  2577. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2578. ITAddress2 * This,
  2579. /* [in] */ UINT iTInfo,
  2580. /* [in] */ LCID lcid,
  2581. /* [out] */ ITypeInfo **ppTInfo);
  2582. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2583. ITAddress2 * This,
  2584. /* [in] */ REFIID riid,
  2585. /* [size_is][in] */ LPOLESTR *rgszNames,
  2586. /* [in] */ UINT cNames,
  2587. /* [in] */ LCID lcid,
  2588. /* [size_is][out] */ DISPID *rgDispId);
  2589. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2590. ITAddress2 * This,
  2591. /* [in] */ DISPID dispIdMember,
  2592. /* [in] */ REFIID riid,
  2593. /* [in] */ LCID lcid,
  2594. /* [in] */ WORD wFlags,
  2595. /* [out][in] */ DISPPARAMS *pDispParams,
  2596. /* [out] */ VARIANT *pVarResult,
  2597. /* [out] */ EXCEPINFO *pExcepInfo,
  2598. /* [out] */ UINT *puArgErr);
  2599. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  2600. ITAddress2 * This,
  2601. /* [retval][out] */ ADDRESS_STATE *pAddressState);
  2602. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressName )(
  2603. ITAddress2 * This,
  2604. /* [retval][out] */ BSTR *ppName);
  2605. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServiceProviderName )(
  2606. ITAddress2 * This,
  2607. /* [retval][out] */ BSTR *ppName);
  2608. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TAPIObject )(
  2609. ITAddress2 * This,
  2610. /* [retval][out] */ ITTAPI **ppTapiObject);
  2611. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCall )(
  2612. ITAddress2 * This,
  2613. /* [in] */ BSTR pDestAddress,
  2614. /* [in] */ long lAddressType,
  2615. /* [in] */ long lMediaTypes,
  2616. /* [retval][out] */ ITBasicCallControl **ppCall);
  2617. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Calls )(
  2618. ITAddress2 * This,
  2619. /* [retval][out] */ VARIANT *pVariant);
  2620. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCalls )(
  2621. ITAddress2 * This,
  2622. /* [retval][out] */ IEnumCall **ppCallEnum);
  2623. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DialableAddress )(
  2624. ITAddress2 * This,
  2625. /* [retval][out] */ BSTR *pDialableAddress);
  2626. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateForwardInfoObject )(
  2627. ITAddress2 * This,
  2628. /* [retval][out] */ ITForwardInformation **ppForwardInfo);
  2629. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Forward )(
  2630. ITAddress2 * This,
  2631. /* [in] */ ITForwardInformation *pForwardInfo,
  2632. /* [in] */ ITBasicCallControl *pCall);
  2633. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentForwardInfo )(
  2634. ITAddress2 * This,
  2635. /* [retval][out] */ ITForwardInformation **ppForwardInfo);
  2636. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_MessageWaiting )(
  2637. ITAddress2 * This,
  2638. /* [in] */ VARIANT_BOOL fMessageWaiting);
  2639. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MessageWaiting )(
  2640. ITAddress2 * This,
  2641. /* [retval][out] */ VARIANT_BOOL *pfMessageWaiting);
  2642. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DoNotDisturb )(
  2643. ITAddress2 * This,
  2644. /* [in] */ VARIANT_BOOL fDoNotDisturb);
  2645. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DoNotDisturb )(
  2646. ITAddress2 * This,
  2647. /* [retval][out] */ VARIANT_BOOL *pfDoNotDisturb);
  2648. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Phones )(
  2649. ITAddress2 * This,
  2650. /* [retval][out] */ VARIANT *pPhones);
  2651. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePhones )(
  2652. ITAddress2 * This,
  2653. /* [retval][out] */ IEnumPhone **ppEnumPhone);
  2654. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetPhoneFromTerminal )(
  2655. ITAddress2 * This,
  2656. /* [in] */ ITTerminal *pTerminal,
  2657. /* [retval][out] */ ITPhone **ppPhone);
  2658. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PreferredPhones )(
  2659. ITAddress2 * This,
  2660. /* [retval][out] */ VARIANT *pPhones);
  2661. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePreferredPhones )(
  2662. ITAddress2 * This,
  2663. /* [retval][out] */ IEnumPhone **ppEnumPhone);
  2664. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventFilter )(
  2665. ITAddress2 * This,
  2666. /* [in] */ TAPI_EVENT TapiEvent,
  2667. /* [in] */ long lSubEvent,
  2668. /* [retval][out] */ VARIANT_BOOL *pEnable);
  2669. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventFilter )(
  2670. ITAddress2 * This,
  2671. /* [in] */ TAPI_EVENT TapiEvent,
  2672. /* [in] */ long lSubEvent,
  2673. /* [in] */ VARIANT_BOOL bEnable);
  2674. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecific )(
  2675. ITAddress2 * This,
  2676. /* [in] */ ITCallInfo *pCall,
  2677. /* [in] */ BYTE *pParams,
  2678. /* [in] */ DWORD dwSize);
  2679. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecificVariant )(
  2680. ITAddress2 * This,
  2681. /* [in] */ ITCallInfo *pCall,
  2682. /* [in] */ VARIANT varDevSpecificByteArray);
  2683. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NegotiateExtVersion )(
  2684. ITAddress2 * This,
  2685. /* [in] */ long lLowVersion,
  2686. /* [in] */ long lHighVersion,
  2687. /* [retval][out] */ long *plExtVersion);
  2688. END_INTERFACE
  2689. } ITAddress2Vtbl;
  2690. interface ITAddress2
  2691. {
  2692. CONST_VTBL struct ITAddress2Vtbl *lpVtbl;
  2693. };
  2694. #ifdef COBJMACROS
  2695. #define ITAddress2_QueryInterface(This,riid,ppvObject) \
  2696. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2697. #define ITAddress2_AddRef(This) \
  2698. (This)->lpVtbl -> AddRef(This)
  2699. #define ITAddress2_Release(This) \
  2700. (This)->lpVtbl -> Release(This)
  2701. #define ITAddress2_GetTypeInfoCount(This,pctinfo) \
  2702. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2703. #define ITAddress2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2704. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2705. #define ITAddress2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2706. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2707. #define ITAddress2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2708. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2709. #define ITAddress2_get_State(This,pAddressState) \
  2710. (This)->lpVtbl -> get_State(This,pAddressState)
  2711. #define ITAddress2_get_AddressName(This,ppName) \
  2712. (This)->lpVtbl -> get_AddressName(This,ppName)
  2713. #define ITAddress2_get_ServiceProviderName(This,ppName) \
  2714. (This)->lpVtbl -> get_ServiceProviderName(This,ppName)
  2715. #define ITAddress2_get_TAPIObject(This,ppTapiObject) \
  2716. (This)->lpVtbl -> get_TAPIObject(This,ppTapiObject)
  2717. #define ITAddress2_CreateCall(This,pDestAddress,lAddressType,lMediaTypes,ppCall) \
  2718. (This)->lpVtbl -> CreateCall(This,pDestAddress,lAddressType,lMediaTypes,ppCall)
  2719. #define ITAddress2_get_Calls(This,pVariant) \
  2720. (This)->lpVtbl -> get_Calls(This,pVariant)
  2721. #define ITAddress2_EnumerateCalls(This,ppCallEnum) \
  2722. (This)->lpVtbl -> EnumerateCalls(This,ppCallEnum)
  2723. #define ITAddress2_get_DialableAddress(This,pDialableAddress) \
  2724. (This)->lpVtbl -> get_DialableAddress(This,pDialableAddress)
  2725. #define ITAddress2_CreateForwardInfoObject(This,ppForwardInfo) \
  2726. (This)->lpVtbl -> CreateForwardInfoObject(This,ppForwardInfo)
  2727. #define ITAddress2_Forward(This,pForwardInfo,pCall) \
  2728. (This)->lpVtbl -> Forward(This,pForwardInfo,pCall)
  2729. #define ITAddress2_get_CurrentForwardInfo(This,ppForwardInfo) \
  2730. (This)->lpVtbl -> get_CurrentForwardInfo(This,ppForwardInfo)
  2731. #define ITAddress2_put_MessageWaiting(This,fMessageWaiting) \
  2732. (This)->lpVtbl -> put_MessageWaiting(This,fMessageWaiting)
  2733. #define ITAddress2_get_MessageWaiting(This,pfMessageWaiting) \
  2734. (This)->lpVtbl -> get_MessageWaiting(This,pfMessageWaiting)
  2735. #define ITAddress2_put_DoNotDisturb(This,fDoNotDisturb) \
  2736. (This)->lpVtbl -> put_DoNotDisturb(This,fDoNotDisturb)
  2737. #define ITAddress2_get_DoNotDisturb(This,pfDoNotDisturb) \
  2738. (This)->lpVtbl -> get_DoNotDisturb(This,pfDoNotDisturb)
  2739. #define ITAddress2_get_Phones(This,pPhones) \
  2740. (This)->lpVtbl -> get_Phones(This,pPhones)
  2741. #define ITAddress2_EnumeratePhones(This,ppEnumPhone) \
  2742. (This)->lpVtbl -> EnumeratePhones(This,ppEnumPhone)
  2743. #define ITAddress2_GetPhoneFromTerminal(This,pTerminal,ppPhone) \
  2744. (This)->lpVtbl -> GetPhoneFromTerminal(This,pTerminal,ppPhone)
  2745. #define ITAddress2_get_PreferredPhones(This,pPhones) \
  2746. (This)->lpVtbl -> get_PreferredPhones(This,pPhones)
  2747. #define ITAddress2_EnumeratePreferredPhones(This,ppEnumPhone) \
  2748. (This)->lpVtbl -> EnumeratePreferredPhones(This,ppEnumPhone)
  2749. #define ITAddress2_get_EventFilter(This,TapiEvent,lSubEvent,pEnable) \
  2750. (This)->lpVtbl -> get_EventFilter(This,TapiEvent,lSubEvent,pEnable)
  2751. #define ITAddress2_put_EventFilter(This,TapiEvent,lSubEvent,bEnable) \
  2752. (This)->lpVtbl -> put_EventFilter(This,TapiEvent,lSubEvent,bEnable)
  2753. #define ITAddress2_DeviceSpecific(This,pCall,pParams,dwSize) \
  2754. (This)->lpVtbl -> DeviceSpecific(This,pCall,pParams,dwSize)
  2755. #define ITAddress2_DeviceSpecificVariant(This,pCall,varDevSpecificByteArray) \
  2756. (This)->lpVtbl -> DeviceSpecificVariant(This,pCall,varDevSpecificByteArray)
  2757. #define ITAddress2_NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion) \
  2758. (This)->lpVtbl -> NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion)
  2759. #endif /* COBJMACROS */
  2760. #endif /* C style interface */
  2761. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress2_get_Phones_Proxy(
  2762. ITAddress2 * This,
  2763. /* [retval][out] */ VARIANT *pPhones);
  2764. void __RPC_STUB ITAddress2_get_Phones_Stub(
  2765. IRpcStubBuffer *This,
  2766. IRpcChannelBuffer *_pRpcChannelBuffer,
  2767. PRPC_MESSAGE _pRpcMessage,
  2768. DWORD *_pdwStubPhase);
  2769. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_EnumeratePhones_Proxy(
  2770. ITAddress2 * This,
  2771. /* [retval][out] */ IEnumPhone **ppEnumPhone);
  2772. void __RPC_STUB ITAddress2_EnumeratePhones_Stub(
  2773. IRpcStubBuffer *This,
  2774. IRpcChannelBuffer *_pRpcChannelBuffer,
  2775. PRPC_MESSAGE _pRpcMessage,
  2776. DWORD *_pdwStubPhase);
  2777. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_GetPhoneFromTerminal_Proxy(
  2778. ITAddress2 * This,
  2779. /* [in] */ ITTerminal *pTerminal,
  2780. /* [retval][out] */ ITPhone **ppPhone);
  2781. void __RPC_STUB ITAddress2_GetPhoneFromTerminal_Stub(
  2782. IRpcStubBuffer *This,
  2783. IRpcChannelBuffer *_pRpcChannelBuffer,
  2784. PRPC_MESSAGE _pRpcMessage,
  2785. DWORD *_pdwStubPhase);
  2786. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress2_get_PreferredPhones_Proxy(
  2787. ITAddress2 * This,
  2788. /* [retval][out] */ VARIANT *pPhones);
  2789. void __RPC_STUB ITAddress2_get_PreferredPhones_Stub(
  2790. IRpcStubBuffer *This,
  2791. IRpcChannelBuffer *_pRpcChannelBuffer,
  2792. PRPC_MESSAGE _pRpcMessage,
  2793. DWORD *_pdwStubPhase);
  2794. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_EnumeratePreferredPhones_Proxy(
  2795. ITAddress2 * This,
  2796. /* [retval][out] */ IEnumPhone **ppEnumPhone);
  2797. void __RPC_STUB ITAddress2_EnumeratePreferredPhones_Stub(
  2798. IRpcStubBuffer *This,
  2799. IRpcChannelBuffer *_pRpcChannelBuffer,
  2800. PRPC_MESSAGE _pRpcMessage,
  2801. DWORD *_pdwStubPhase);
  2802. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddress2_get_EventFilter_Proxy(
  2803. ITAddress2 * This,
  2804. /* [in] */ TAPI_EVENT TapiEvent,
  2805. /* [in] */ long lSubEvent,
  2806. /* [retval][out] */ VARIANT_BOOL *pEnable);
  2807. void __RPC_STUB ITAddress2_get_EventFilter_Stub(
  2808. IRpcStubBuffer *This,
  2809. IRpcChannelBuffer *_pRpcChannelBuffer,
  2810. PRPC_MESSAGE _pRpcMessage,
  2811. DWORD *_pdwStubPhase);
  2812. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAddress2_put_EventFilter_Proxy(
  2813. ITAddress2 * This,
  2814. /* [in] */ TAPI_EVENT TapiEvent,
  2815. /* [in] */ long lSubEvent,
  2816. /* [in] */ VARIANT_BOOL bEnable);
  2817. void __RPC_STUB ITAddress2_put_EventFilter_Stub(
  2818. IRpcStubBuffer *This,
  2819. IRpcChannelBuffer *_pRpcChannelBuffer,
  2820. PRPC_MESSAGE _pRpcMessage,
  2821. DWORD *_pdwStubPhase);
  2822. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_DeviceSpecific_Proxy(
  2823. ITAddress2 * This,
  2824. /* [in] */ ITCallInfo *pCall,
  2825. /* [in] */ BYTE *pParams,
  2826. /* [in] */ DWORD dwSize);
  2827. void __RPC_STUB ITAddress2_DeviceSpecific_Stub(
  2828. IRpcStubBuffer *This,
  2829. IRpcChannelBuffer *_pRpcChannelBuffer,
  2830. PRPC_MESSAGE _pRpcMessage,
  2831. DWORD *_pdwStubPhase);
  2832. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_DeviceSpecificVariant_Proxy(
  2833. ITAddress2 * This,
  2834. /* [in] */ ITCallInfo *pCall,
  2835. /* [in] */ VARIANT varDevSpecificByteArray);
  2836. void __RPC_STUB ITAddress2_DeviceSpecificVariant_Stub(
  2837. IRpcStubBuffer *This,
  2838. IRpcChannelBuffer *_pRpcChannelBuffer,
  2839. PRPC_MESSAGE _pRpcMessage,
  2840. DWORD *_pdwStubPhase);
  2841. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddress2_NegotiateExtVersion_Proxy(
  2842. ITAddress2 * This,
  2843. /* [in] */ long lLowVersion,
  2844. /* [in] */ long lHighVersion,
  2845. /* [retval][out] */ long *plExtVersion);
  2846. void __RPC_STUB ITAddress2_NegotiateExtVersion_Stub(
  2847. IRpcStubBuffer *This,
  2848. IRpcChannelBuffer *_pRpcChannelBuffer,
  2849. PRPC_MESSAGE _pRpcMessage,
  2850. DWORD *_pdwStubPhase);
  2851. #endif /* __ITAddress2_INTERFACE_DEFINED__ */
  2852. #ifndef __ITAddressCapabilities_INTERFACE_DEFINED__
  2853. #define __ITAddressCapabilities_INTERFACE_DEFINED__
  2854. /* interface ITAddressCapabilities */
  2855. /* [object][dual][helpstring][uuid] */
  2856. EXTERN_C const IID IID_ITAddressCapabilities;
  2857. #if defined(__cplusplus) && !defined(CINTERFACE)
  2858. MIDL_INTERFACE("8DF232F5-821B-11d1-BB5C-00C04FB6809F")
  2859. ITAddressCapabilities : public IDispatch
  2860. {
  2861. public:
  2862. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddressCapability(
  2863. /* [in] */ ADDRESS_CAPABILITY AddressCap,
  2864. /* [retval][out] */ long *plCapability) = 0;
  2865. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AddressCapabilityString(
  2866. /* [in] */ ADDRESS_CAPABILITY_STRING AddressCapString,
  2867. /* [retval][out] */ BSTR *ppCapabilityString) = 0;
  2868. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallTreatments(
  2869. /* [retval][out] */ VARIANT *pVariant) = 0;
  2870. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCallTreatments(
  2871. /* [retval][out] */ IEnumBstr **ppEnumCallTreatment) = 0;
  2872. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CompletionMessages(
  2873. /* [retval][out] */ VARIANT *pVariant) = 0;
  2874. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCompletionMessages(
  2875. /* [retval][out] */ IEnumBstr **ppEnumCompletionMessage) = 0;
  2876. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DeviceClasses(
  2877. /* [retval][out] */ VARIANT *pVariant) = 0;
  2878. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateDeviceClasses(
  2879. /* [retval][out] */ IEnumBstr **ppEnumDeviceClass) = 0;
  2880. };
  2881. #else /* C style interface */
  2882. typedef struct ITAddressCapabilitiesVtbl
  2883. {
  2884. BEGIN_INTERFACE
  2885. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2886. ITAddressCapabilities * This,
  2887. /* [in] */ REFIID riid,
  2888. /* [iid_is][out] */ void **ppvObject);
  2889. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2890. ITAddressCapabilities * This);
  2891. ULONG ( STDMETHODCALLTYPE *Release )(
  2892. ITAddressCapabilities * This);
  2893. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  2894. ITAddressCapabilities * This,
  2895. /* [out] */ UINT *pctinfo);
  2896. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  2897. ITAddressCapabilities * This,
  2898. /* [in] */ UINT iTInfo,
  2899. /* [in] */ LCID lcid,
  2900. /* [out] */ ITypeInfo **ppTInfo);
  2901. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  2902. ITAddressCapabilities * This,
  2903. /* [in] */ REFIID riid,
  2904. /* [size_is][in] */ LPOLESTR *rgszNames,
  2905. /* [in] */ UINT cNames,
  2906. /* [in] */ LCID lcid,
  2907. /* [size_is][out] */ DISPID *rgDispId);
  2908. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  2909. ITAddressCapabilities * This,
  2910. /* [in] */ DISPID dispIdMember,
  2911. /* [in] */ REFIID riid,
  2912. /* [in] */ LCID lcid,
  2913. /* [in] */ WORD wFlags,
  2914. /* [out][in] */ DISPPARAMS *pDispParams,
  2915. /* [out] */ VARIANT *pVarResult,
  2916. /* [out] */ EXCEPINFO *pExcepInfo,
  2917. /* [out] */ UINT *puArgErr);
  2918. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressCapability )(
  2919. ITAddressCapabilities * This,
  2920. /* [in] */ ADDRESS_CAPABILITY AddressCap,
  2921. /* [retval][out] */ long *plCapability);
  2922. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AddressCapabilityString )(
  2923. ITAddressCapabilities * This,
  2924. /* [in] */ ADDRESS_CAPABILITY_STRING AddressCapString,
  2925. /* [retval][out] */ BSTR *ppCapabilityString);
  2926. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallTreatments )(
  2927. ITAddressCapabilities * This,
  2928. /* [retval][out] */ VARIANT *pVariant);
  2929. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCallTreatments )(
  2930. ITAddressCapabilities * This,
  2931. /* [retval][out] */ IEnumBstr **ppEnumCallTreatment);
  2932. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CompletionMessages )(
  2933. ITAddressCapabilities * This,
  2934. /* [retval][out] */ VARIANT *pVariant);
  2935. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCompletionMessages )(
  2936. ITAddressCapabilities * This,
  2937. /* [retval][out] */ IEnumBstr **ppEnumCompletionMessage);
  2938. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DeviceClasses )(
  2939. ITAddressCapabilities * This,
  2940. /* [retval][out] */ VARIANT *pVariant);
  2941. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateDeviceClasses )(
  2942. ITAddressCapabilities * This,
  2943. /* [retval][out] */ IEnumBstr **ppEnumDeviceClass);
  2944. END_INTERFACE
  2945. } ITAddressCapabilitiesVtbl;
  2946. interface ITAddressCapabilities
  2947. {
  2948. CONST_VTBL struct ITAddressCapabilitiesVtbl *lpVtbl;
  2949. };
  2950. #ifdef COBJMACROS
  2951. #define ITAddressCapabilities_QueryInterface(This,riid,ppvObject) \
  2952. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2953. #define ITAddressCapabilities_AddRef(This) \
  2954. (This)->lpVtbl -> AddRef(This)
  2955. #define ITAddressCapabilities_Release(This) \
  2956. (This)->lpVtbl -> Release(This)
  2957. #define ITAddressCapabilities_GetTypeInfoCount(This,pctinfo) \
  2958. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2959. #define ITAddressCapabilities_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2960. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2961. #define ITAddressCapabilities_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2962. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2963. #define ITAddressCapabilities_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2964. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2965. #define ITAddressCapabilities_get_AddressCapability(This,AddressCap,plCapability) \
  2966. (This)->lpVtbl -> get_AddressCapability(This,AddressCap,plCapability)
  2967. #define ITAddressCapabilities_get_AddressCapabilityString(This,AddressCapString,ppCapabilityString) \
  2968. (This)->lpVtbl -> get_AddressCapabilityString(This,AddressCapString,ppCapabilityString)
  2969. #define ITAddressCapabilities_get_CallTreatments(This,pVariant) \
  2970. (This)->lpVtbl -> get_CallTreatments(This,pVariant)
  2971. #define ITAddressCapabilities_EnumerateCallTreatments(This,ppEnumCallTreatment) \
  2972. (This)->lpVtbl -> EnumerateCallTreatments(This,ppEnumCallTreatment)
  2973. #define ITAddressCapabilities_get_CompletionMessages(This,pVariant) \
  2974. (This)->lpVtbl -> get_CompletionMessages(This,pVariant)
  2975. #define ITAddressCapabilities_EnumerateCompletionMessages(This,ppEnumCompletionMessage) \
  2976. (This)->lpVtbl -> EnumerateCompletionMessages(This,ppEnumCompletionMessage)
  2977. #define ITAddressCapabilities_get_DeviceClasses(This,pVariant) \
  2978. (This)->lpVtbl -> get_DeviceClasses(This,pVariant)
  2979. #define ITAddressCapabilities_EnumerateDeviceClasses(This,ppEnumDeviceClass) \
  2980. (This)->lpVtbl -> EnumerateDeviceClasses(This,ppEnumDeviceClass)
  2981. #endif /* COBJMACROS */
  2982. #endif /* C style interface */
  2983. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_AddressCapability_Proxy(
  2984. ITAddressCapabilities * This,
  2985. /* [in] */ ADDRESS_CAPABILITY AddressCap,
  2986. /* [retval][out] */ long *plCapability);
  2987. void __RPC_STUB ITAddressCapabilities_get_AddressCapability_Stub(
  2988. IRpcStubBuffer *This,
  2989. IRpcChannelBuffer *_pRpcChannelBuffer,
  2990. PRPC_MESSAGE _pRpcMessage,
  2991. DWORD *_pdwStubPhase);
  2992. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_AddressCapabilityString_Proxy(
  2993. ITAddressCapabilities * This,
  2994. /* [in] */ ADDRESS_CAPABILITY_STRING AddressCapString,
  2995. /* [retval][out] */ BSTR *ppCapabilityString);
  2996. void __RPC_STUB ITAddressCapabilities_get_AddressCapabilityString_Stub(
  2997. IRpcStubBuffer *This,
  2998. IRpcChannelBuffer *_pRpcChannelBuffer,
  2999. PRPC_MESSAGE _pRpcMessage,
  3000. DWORD *_pdwStubPhase);
  3001. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_CallTreatments_Proxy(
  3002. ITAddressCapabilities * This,
  3003. /* [retval][out] */ VARIANT *pVariant);
  3004. void __RPC_STUB ITAddressCapabilities_get_CallTreatments_Stub(
  3005. IRpcStubBuffer *This,
  3006. IRpcChannelBuffer *_pRpcChannelBuffer,
  3007. PRPC_MESSAGE _pRpcMessage,
  3008. DWORD *_pdwStubPhase);
  3009. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_EnumerateCallTreatments_Proxy(
  3010. ITAddressCapabilities * This,
  3011. /* [retval][out] */ IEnumBstr **ppEnumCallTreatment);
  3012. void __RPC_STUB ITAddressCapabilities_EnumerateCallTreatments_Stub(
  3013. IRpcStubBuffer *This,
  3014. IRpcChannelBuffer *_pRpcChannelBuffer,
  3015. PRPC_MESSAGE _pRpcMessage,
  3016. DWORD *_pdwStubPhase);
  3017. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_CompletionMessages_Proxy(
  3018. ITAddressCapabilities * This,
  3019. /* [retval][out] */ VARIANT *pVariant);
  3020. void __RPC_STUB ITAddressCapabilities_get_CompletionMessages_Stub(
  3021. IRpcStubBuffer *This,
  3022. IRpcChannelBuffer *_pRpcChannelBuffer,
  3023. PRPC_MESSAGE _pRpcMessage,
  3024. DWORD *_pdwStubPhase);
  3025. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_EnumerateCompletionMessages_Proxy(
  3026. ITAddressCapabilities * This,
  3027. /* [retval][out] */ IEnumBstr **ppEnumCompletionMessage);
  3028. void __RPC_STUB ITAddressCapabilities_EnumerateCompletionMessages_Stub(
  3029. IRpcStubBuffer *This,
  3030. IRpcChannelBuffer *_pRpcChannelBuffer,
  3031. PRPC_MESSAGE _pRpcMessage,
  3032. DWORD *_pdwStubPhase);
  3033. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_get_DeviceClasses_Proxy(
  3034. ITAddressCapabilities * This,
  3035. /* [retval][out] */ VARIANT *pVariant);
  3036. void __RPC_STUB ITAddressCapabilities_get_DeviceClasses_Stub(
  3037. IRpcStubBuffer *This,
  3038. IRpcChannelBuffer *_pRpcChannelBuffer,
  3039. PRPC_MESSAGE _pRpcMessage,
  3040. DWORD *_pdwStubPhase);
  3041. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressCapabilities_EnumerateDeviceClasses_Proxy(
  3042. ITAddressCapabilities * This,
  3043. /* [retval][out] */ IEnumBstr **ppEnumDeviceClass);
  3044. void __RPC_STUB ITAddressCapabilities_EnumerateDeviceClasses_Stub(
  3045. IRpcStubBuffer *This,
  3046. IRpcChannelBuffer *_pRpcChannelBuffer,
  3047. PRPC_MESSAGE _pRpcMessage,
  3048. DWORD *_pdwStubPhase);
  3049. #endif /* __ITAddressCapabilities_INTERFACE_DEFINED__ */
  3050. #ifndef __ITPhone_INTERFACE_DEFINED__
  3051. #define __ITPhone_INTERFACE_DEFINED__
  3052. /* interface ITPhone */
  3053. /* [object][dual][helpstring][uuid] */
  3054. EXTERN_C const IID IID_ITPhone;
  3055. #if defined(__cplusplus) && !defined(CINTERFACE)
  3056. MIDL_INTERFACE("09D48DB4-10CC-4388-9DE7-A8465618975A")
  3057. ITPhone : public IDispatch
  3058. {
  3059. public:
  3060. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Open(
  3061. /* [in] */ PHONE_PRIVILEGE Privilege) = 0;
  3062. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  3063. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Addresses(
  3064. /* [retval][out] */ VARIANT *pAddresses) = 0;
  3065. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateAddresses(
  3066. /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
  3067. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneCapsLong(
  3068. /* [in] */ PHONECAPS_LONG pclCap,
  3069. /* [retval][out] */ long *plCapability) = 0;
  3070. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneCapsString(
  3071. /* [in] */ PHONECAPS_STRING pcsCap,
  3072. /* [retval][out] */ BSTR *ppCapability) = 0;
  3073. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminals(
  3074. /* [in] */ ITAddress *pAddress,
  3075. /* [retval][out] */ VARIANT *pTerminals) = 0;
  3076. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminals(
  3077. /* [in] */ ITAddress *pAddress,
  3078. /* [retval][out] */ IEnumTerminal **ppEnumTerminal) = 0;
  3079. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonMode(
  3080. /* [in] */ long lButtonID,
  3081. /* [retval][out] */ PHONE_BUTTON_MODE *pButtonMode) = 0;
  3082. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ButtonMode(
  3083. /* [in] */ long lButtonID,
  3084. /* [in] */ PHONE_BUTTON_MODE ButtonMode) = 0;
  3085. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonFunction(
  3086. /* [in] */ long lButtonID,
  3087. /* [retval][out] */ PHONE_BUTTON_FUNCTION *pButtonFunction) = 0;
  3088. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ButtonFunction(
  3089. /* [in] */ long lButtonID,
  3090. /* [in] */ PHONE_BUTTON_FUNCTION ButtonFunction) = 0;
  3091. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonText(
  3092. /* [in] */ long lButtonID,
  3093. /* [retval][out] */ BSTR *ppButtonText) = 0;
  3094. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ButtonText(
  3095. /* [in] */ long lButtonID,
  3096. /* [in] */ BSTR bstrButtonText) = 0;
  3097. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonState(
  3098. /* [in] */ long lButtonID,
  3099. /* [retval][out] */ PHONE_BUTTON_STATE *pButtonState) = 0;
  3100. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HookSwitchState(
  3101. /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
  3102. /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pHookSwitchState) = 0;
  3103. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_HookSwitchState(
  3104. /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
  3105. /* [in] */ PHONE_HOOK_SWITCH_STATE HookSwitchState) = 0;
  3106. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RingMode(
  3107. /* [in] */ long lRingMode) = 0;
  3108. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingMode(
  3109. /* [retval][out] */ long *plRingMode) = 0;
  3110. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_RingVolume(
  3111. /* [in] */ long lRingVolume) = 0;
  3112. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingVolume(
  3113. /* [retval][out] */ long *plRingVolume) = 0;
  3114. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Privilege(
  3115. /* [retval][out] */ PHONE_PRIVILEGE *pPrivilege) = 0;
  3116. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE GetPhoneCapsBuffer(
  3117. /* [in] */ PHONECAPS_BUFFER pcbCaps,
  3118. /* [out] */ DWORD *pdwSize,
  3119. /* [out] */ BYTE **ppPhoneCapsBuffer) = 0;
  3120. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneCapsBuffer(
  3121. /* [in] */ PHONECAPS_BUFFER pcbCaps,
  3122. /* [retval][out] */ VARIANT *pVarBuffer) = 0;
  3123. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LampMode(
  3124. /* [in] */ long lLampID,
  3125. /* [retval][out] */ PHONE_LAMP_MODE *pLampMode) = 0;
  3126. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LampMode(
  3127. /* [in] */ long lLampID,
  3128. /* [in] */ PHONE_LAMP_MODE LampMode) = 0;
  3129. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Display(
  3130. /* [retval][out] */ BSTR *pbstrDisplay) = 0;
  3131. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetDisplay(
  3132. /* [in] */ long lRow,
  3133. /* [in] */ long lColumn,
  3134. /* [in] */ BSTR bstrDisplay) = 0;
  3135. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PreferredAddresses(
  3136. /* [retval][out] */ VARIANT *pAddresses) = 0;
  3137. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumeratePreferredAddresses(
  3138. /* [retval][out] */ IEnumAddress **ppEnumAddress) = 0;
  3139. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecific(
  3140. /* [in] */ BYTE *pParams,
  3141. /* [in] */ DWORD dwSize) = 0;
  3142. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DeviceSpecificVariant(
  3143. /* [in] */ VARIANT varDevSpecificByteArray) = 0;
  3144. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE NegotiateExtVersion(
  3145. /* [in] */ long lLowVersion,
  3146. /* [in] */ long lHighVersion,
  3147. /* [retval][out] */ long *plExtVersion) = 0;
  3148. };
  3149. #else /* C style interface */
  3150. typedef struct ITPhoneVtbl
  3151. {
  3152. BEGIN_INTERFACE
  3153. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3154. ITPhone * This,
  3155. /* [in] */ REFIID riid,
  3156. /* [iid_is][out] */ void **ppvObject);
  3157. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3158. ITPhone * This);
  3159. ULONG ( STDMETHODCALLTYPE *Release )(
  3160. ITPhone * This);
  3161. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3162. ITPhone * This,
  3163. /* [out] */ UINT *pctinfo);
  3164. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3165. ITPhone * This,
  3166. /* [in] */ UINT iTInfo,
  3167. /* [in] */ LCID lcid,
  3168. /* [out] */ ITypeInfo **ppTInfo);
  3169. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3170. ITPhone * This,
  3171. /* [in] */ REFIID riid,
  3172. /* [size_is][in] */ LPOLESTR *rgszNames,
  3173. /* [in] */ UINT cNames,
  3174. /* [in] */ LCID lcid,
  3175. /* [size_is][out] */ DISPID *rgDispId);
  3176. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3177. ITPhone * This,
  3178. /* [in] */ DISPID dispIdMember,
  3179. /* [in] */ REFIID riid,
  3180. /* [in] */ LCID lcid,
  3181. /* [in] */ WORD wFlags,
  3182. /* [out][in] */ DISPPARAMS *pDispParams,
  3183. /* [out] */ VARIANT *pVarResult,
  3184. /* [out] */ EXCEPINFO *pExcepInfo,
  3185. /* [out] */ UINT *puArgErr);
  3186. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Open )(
  3187. ITPhone * This,
  3188. /* [in] */ PHONE_PRIVILEGE Privilege);
  3189. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  3190. ITPhone * This);
  3191. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Addresses )(
  3192. ITPhone * This,
  3193. /* [retval][out] */ VARIANT *pAddresses);
  3194. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateAddresses )(
  3195. ITPhone * This,
  3196. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  3197. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneCapsLong )(
  3198. ITPhone * This,
  3199. /* [in] */ PHONECAPS_LONG pclCap,
  3200. /* [retval][out] */ long *plCapability);
  3201. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneCapsString )(
  3202. ITPhone * This,
  3203. /* [in] */ PHONECAPS_STRING pcsCap,
  3204. /* [retval][out] */ BSTR *ppCapability);
  3205. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminals )(
  3206. ITPhone * This,
  3207. /* [in] */ ITAddress *pAddress,
  3208. /* [retval][out] */ VARIANT *pTerminals);
  3209. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminals )(
  3210. ITPhone * This,
  3211. /* [in] */ ITAddress *pAddress,
  3212. /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
  3213. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonMode )(
  3214. ITPhone * This,
  3215. /* [in] */ long lButtonID,
  3216. /* [retval][out] */ PHONE_BUTTON_MODE *pButtonMode);
  3217. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ButtonMode )(
  3218. ITPhone * This,
  3219. /* [in] */ long lButtonID,
  3220. /* [in] */ PHONE_BUTTON_MODE ButtonMode);
  3221. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonFunction )(
  3222. ITPhone * This,
  3223. /* [in] */ long lButtonID,
  3224. /* [retval][out] */ PHONE_BUTTON_FUNCTION *pButtonFunction);
  3225. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ButtonFunction )(
  3226. ITPhone * This,
  3227. /* [in] */ long lButtonID,
  3228. /* [in] */ PHONE_BUTTON_FUNCTION ButtonFunction);
  3229. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonText )(
  3230. ITPhone * This,
  3231. /* [in] */ long lButtonID,
  3232. /* [retval][out] */ BSTR *ppButtonText);
  3233. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_ButtonText )(
  3234. ITPhone * This,
  3235. /* [in] */ long lButtonID,
  3236. /* [in] */ BSTR bstrButtonText);
  3237. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonState )(
  3238. ITPhone * This,
  3239. /* [in] */ long lButtonID,
  3240. /* [retval][out] */ PHONE_BUTTON_STATE *pButtonState);
  3241. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HookSwitchState )(
  3242. ITPhone * This,
  3243. /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
  3244. /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pHookSwitchState);
  3245. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HookSwitchState )(
  3246. ITPhone * This,
  3247. /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
  3248. /* [in] */ PHONE_HOOK_SWITCH_STATE HookSwitchState);
  3249. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RingMode )(
  3250. ITPhone * This,
  3251. /* [in] */ long lRingMode);
  3252. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingMode )(
  3253. ITPhone * This,
  3254. /* [retval][out] */ long *plRingMode);
  3255. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_RingVolume )(
  3256. ITPhone * This,
  3257. /* [in] */ long lRingVolume);
  3258. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingVolume )(
  3259. ITPhone * This,
  3260. /* [retval][out] */ long *plRingVolume);
  3261. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Privilege )(
  3262. ITPhone * This,
  3263. /* [retval][out] */ PHONE_PRIVILEGE *pPrivilege);
  3264. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetPhoneCapsBuffer )(
  3265. ITPhone * This,
  3266. /* [in] */ PHONECAPS_BUFFER pcbCaps,
  3267. /* [out] */ DWORD *pdwSize,
  3268. /* [out] */ BYTE **ppPhoneCapsBuffer);
  3269. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneCapsBuffer )(
  3270. ITPhone * This,
  3271. /* [in] */ PHONECAPS_BUFFER pcbCaps,
  3272. /* [retval][out] */ VARIANT *pVarBuffer);
  3273. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LampMode )(
  3274. ITPhone * This,
  3275. /* [in] */ long lLampID,
  3276. /* [retval][out] */ PHONE_LAMP_MODE *pLampMode);
  3277. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_LampMode )(
  3278. ITPhone * This,
  3279. /* [in] */ long lLampID,
  3280. /* [in] */ PHONE_LAMP_MODE LampMode);
  3281. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Display )(
  3282. ITPhone * This,
  3283. /* [retval][out] */ BSTR *pbstrDisplay);
  3284. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetDisplay )(
  3285. ITPhone * This,
  3286. /* [in] */ long lRow,
  3287. /* [in] */ long lColumn,
  3288. /* [in] */ BSTR bstrDisplay);
  3289. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PreferredAddresses )(
  3290. ITPhone * This,
  3291. /* [retval][out] */ VARIANT *pAddresses);
  3292. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumeratePreferredAddresses )(
  3293. ITPhone * This,
  3294. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  3295. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecific )(
  3296. ITPhone * This,
  3297. /* [in] */ BYTE *pParams,
  3298. /* [in] */ DWORD dwSize);
  3299. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeviceSpecificVariant )(
  3300. ITPhone * This,
  3301. /* [in] */ VARIANT varDevSpecificByteArray);
  3302. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NegotiateExtVersion )(
  3303. ITPhone * This,
  3304. /* [in] */ long lLowVersion,
  3305. /* [in] */ long lHighVersion,
  3306. /* [retval][out] */ long *plExtVersion);
  3307. END_INTERFACE
  3308. } ITPhoneVtbl;
  3309. interface ITPhone
  3310. {
  3311. CONST_VTBL struct ITPhoneVtbl *lpVtbl;
  3312. };
  3313. #ifdef COBJMACROS
  3314. #define ITPhone_QueryInterface(This,riid,ppvObject) \
  3315. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3316. #define ITPhone_AddRef(This) \
  3317. (This)->lpVtbl -> AddRef(This)
  3318. #define ITPhone_Release(This) \
  3319. (This)->lpVtbl -> Release(This)
  3320. #define ITPhone_GetTypeInfoCount(This,pctinfo) \
  3321. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3322. #define ITPhone_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3323. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3324. #define ITPhone_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3325. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3326. #define ITPhone_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3327. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3328. #define ITPhone_Open(This,Privilege) \
  3329. (This)->lpVtbl -> Open(This,Privilege)
  3330. #define ITPhone_Close(This) \
  3331. (This)->lpVtbl -> Close(This)
  3332. #define ITPhone_get_Addresses(This,pAddresses) \
  3333. (This)->lpVtbl -> get_Addresses(This,pAddresses)
  3334. #define ITPhone_EnumerateAddresses(This,ppEnumAddress) \
  3335. (This)->lpVtbl -> EnumerateAddresses(This,ppEnumAddress)
  3336. #define ITPhone_get_PhoneCapsLong(This,pclCap,plCapability) \
  3337. (This)->lpVtbl -> get_PhoneCapsLong(This,pclCap,plCapability)
  3338. #define ITPhone_get_PhoneCapsString(This,pcsCap,ppCapability) \
  3339. (This)->lpVtbl -> get_PhoneCapsString(This,pcsCap,ppCapability)
  3340. #define ITPhone_get_Terminals(This,pAddress,pTerminals) \
  3341. (This)->lpVtbl -> get_Terminals(This,pAddress,pTerminals)
  3342. #define ITPhone_EnumerateTerminals(This,pAddress,ppEnumTerminal) \
  3343. (This)->lpVtbl -> EnumerateTerminals(This,pAddress,ppEnumTerminal)
  3344. #define ITPhone_get_ButtonMode(This,lButtonID,pButtonMode) \
  3345. (This)->lpVtbl -> get_ButtonMode(This,lButtonID,pButtonMode)
  3346. #define ITPhone_put_ButtonMode(This,lButtonID,ButtonMode) \
  3347. (This)->lpVtbl -> put_ButtonMode(This,lButtonID,ButtonMode)
  3348. #define ITPhone_get_ButtonFunction(This,lButtonID,pButtonFunction) \
  3349. (This)->lpVtbl -> get_ButtonFunction(This,lButtonID,pButtonFunction)
  3350. #define ITPhone_put_ButtonFunction(This,lButtonID,ButtonFunction) \
  3351. (This)->lpVtbl -> put_ButtonFunction(This,lButtonID,ButtonFunction)
  3352. #define ITPhone_get_ButtonText(This,lButtonID,ppButtonText) \
  3353. (This)->lpVtbl -> get_ButtonText(This,lButtonID,ppButtonText)
  3354. #define ITPhone_put_ButtonText(This,lButtonID,bstrButtonText) \
  3355. (This)->lpVtbl -> put_ButtonText(This,lButtonID,bstrButtonText)
  3356. #define ITPhone_get_ButtonState(This,lButtonID,pButtonState) \
  3357. (This)->lpVtbl -> get_ButtonState(This,lButtonID,pButtonState)
  3358. #define ITPhone_get_HookSwitchState(This,HookSwitchDevice,pHookSwitchState) \
  3359. (This)->lpVtbl -> get_HookSwitchState(This,HookSwitchDevice,pHookSwitchState)
  3360. #define ITPhone_put_HookSwitchState(This,HookSwitchDevice,HookSwitchState) \
  3361. (This)->lpVtbl -> put_HookSwitchState(This,HookSwitchDevice,HookSwitchState)
  3362. #define ITPhone_put_RingMode(This,lRingMode) \
  3363. (This)->lpVtbl -> put_RingMode(This,lRingMode)
  3364. #define ITPhone_get_RingMode(This,plRingMode) \
  3365. (This)->lpVtbl -> get_RingMode(This,plRingMode)
  3366. #define ITPhone_put_RingVolume(This,lRingVolume) \
  3367. (This)->lpVtbl -> put_RingVolume(This,lRingVolume)
  3368. #define ITPhone_get_RingVolume(This,plRingVolume) \
  3369. (This)->lpVtbl -> get_RingVolume(This,plRingVolume)
  3370. #define ITPhone_get_Privilege(This,pPrivilege) \
  3371. (This)->lpVtbl -> get_Privilege(This,pPrivilege)
  3372. #define ITPhone_GetPhoneCapsBuffer(This,pcbCaps,pdwSize,ppPhoneCapsBuffer) \
  3373. (This)->lpVtbl -> GetPhoneCapsBuffer(This,pcbCaps,pdwSize,ppPhoneCapsBuffer)
  3374. #define ITPhone_get_PhoneCapsBuffer(This,pcbCaps,pVarBuffer) \
  3375. (This)->lpVtbl -> get_PhoneCapsBuffer(This,pcbCaps,pVarBuffer)
  3376. #define ITPhone_get_LampMode(This,lLampID,pLampMode) \
  3377. (This)->lpVtbl -> get_LampMode(This,lLampID,pLampMode)
  3378. #define ITPhone_put_LampMode(This,lLampID,LampMode) \
  3379. (This)->lpVtbl -> put_LampMode(This,lLampID,LampMode)
  3380. #define ITPhone_get_Display(This,pbstrDisplay) \
  3381. (This)->lpVtbl -> get_Display(This,pbstrDisplay)
  3382. #define ITPhone_SetDisplay(This,lRow,lColumn,bstrDisplay) \
  3383. (This)->lpVtbl -> SetDisplay(This,lRow,lColumn,bstrDisplay)
  3384. #define ITPhone_get_PreferredAddresses(This,pAddresses) \
  3385. (This)->lpVtbl -> get_PreferredAddresses(This,pAddresses)
  3386. #define ITPhone_EnumeratePreferredAddresses(This,ppEnumAddress) \
  3387. (This)->lpVtbl -> EnumeratePreferredAddresses(This,ppEnumAddress)
  3388. #define ITPhone_DeviceSpecific(This,pParams,dwSize) \
  3389. (This)->lpVtbl -> DeviceSpecific(This,pParams,dwSize)
  3390. #define ITPhone_DeviceSpecificVariant(This,varDevSpecificByteArray) \
  3391. (This)->lpVtbl -> DeviceSpecificVariant(This,varDevSpecificByteArray)
  3392. #define ITPhone_NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion) \
  3393. (This)->lpVtbl -> NegotiateExtVersion(This,lLowVersion,lHighVersion,plExtVersion)
  3394. #endif /* COBJMACROS */
  3395. #endif /* C style interface */
  3396. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_Open_Proxy(
  3397. ITPhone * This,
  3398. /* [in] */ PHONE_PRIVILEGE Privilege);
  3399. void __RPC_STUB ITPhone_Open_Stub(
  3400. IRpcStubBuffer *This,
  3401. IRpcChannelBuffer *_pRpcChannelBuffer,
  3402. PRPC_MESSAGE _pRpcMessage,
  3403. DWORD *_pdwStubPhase);
  3404. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_Close_Proxy(
  3405. ITPhone * This);
  3406. void __RPC_STUB ITPhone_Close_Stub(
  3407. IRpcStubBuffer *This,
  3408. IRpcChannelBuffer *_pRpcChannelBuffer,
  3409. PRPC_MESSAGE _pRpcMessage,
  3410. DWORD *_pdwStubPhase);
  3411. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Addresses_Proxy(
  3412. ITPhone * This,
  3413. /* [retval][out] */ VARIANT *pAddresses);
  3414. void __RPC_STUB ITPhone_get_Addresses_Stub(
  3415. IRpcStubBuffer *This,
  3416. IRpcChannelBuffer *_pRpcChannelBuffer,
  3417. PRPC_MESSAGE _pRpcMessage,
  3418. DWORD *_pdwStubPhase);
  3419. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_EnumerateAddresses_Proxy(
  3420. ITPhone * This,
  3421. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  3422. void __RPC_STUB ITPhone_EnumerateAddresses_Stub(
  3423. IRpcStubBuffer *This,
  3424. IRpcChannelBuffer *_pRpcChannelBuffer,
  3425. PRPC_MESSAGE _pRpcMessage,
  3426. DWORD *_pdwStubPhase);
  3427. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PhoneCapsLong_Proxy(
  3428. ITPhone * This,
  3429. /* [in] */ PHONECAPS_LONG pclCap,
  3430. /* [retval][out] */ long *plCapability);
  3431. void __RPC_STUB ITPhone_get_PhoneCapsLong_Stub(
  3432. IRpcStubBuffer *This,
  3433. IRpcChannelBuffer *_pRpcChannelBuffer,
  3434. PRPC_MESSAGE _pRpcMessage,
  3435. DWORD *_pdwStubPhase);
  3436. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PhoneCapsString_Proxy(
  3437. ITPhone * This,
  3438. /* [in] */ PHONECAPS_STRING pcsCap,
  3439. /* [retval][out] */ BSTR *ppCapability);
  3440. void __RPC_STUB ITPhone_get_PhoneCapsString_Stub(
  3441. IRpcStubBuffer *This,
  3442. IRpcChannelBuffer *_pRpcChannelBuffer,
  3443. PRPC_MESSAGE _pRpcMessage,
  3444. DWORD *_pdwStubPhase);
  3445. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Terminals_Proxy(
  3446. ITPhone * This,
  3447. /* [in] */ ITAddress *pAddress,
  3448. /* [retval][out] */ VARIANT *pTerminals);
  3449. void __RPC_STUB ITPhone_get_Terminals_Stub(
  3450. IRpcStubBuffer *This,
  3451. IRpcChannelBuffer *_pRpcChannelBuffer,
  3452. PRPC_MESSAGE _pRpcMessage,
  3453. DWORD *_pdwStubPhase);
  3454. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_EnumerateTerminals_Proxy(
  3455. ITPhone * This,
  3456. /* [in] */ ITAddress *pAddress,
  3457. /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
  3458. void __RPC_STUB ITPhone_EnumerateTerminals_Stub(
  3459. IRpcStubBuffer *This,
  3460. IRpcChannelBuffer *_pRpcChannelBuffer,
  3461. PRPC_MESSAGE _pRpcMessage,
  3462. DWORD *_pdwStubPhase);
  3463. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonMode_Proxy(
  3464. ITPhone * This,
  3465. /* [in] */ long lButtonID,
  3466. /* [retval][out] */ PHONE_BUTTON_MODE *pButtonMode);
  3467. void __RPC_STUB ITPhone_get_ButtonMode_Stub(
  3468. IRpcStubBuffer *This,
  3469. IRpcChannelBuffer *_pRpcChannelBuffer,
  3470. PRPC_MESSAGE _pRpcMessage,
  3471. DWORD *_pdwStubPhase);
  3472. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_ButtonMode_Proxy(
  3473. ITPhone * This,
  3474. /* [in] */ long lButtonID,
  3475. /* [in] */ PHONE_BUTTON_MODE ButtonMode);
  3476. void __RPC_STUB ITPhone_put_ButtonMode_Stub(
  3477. IRpcStubBuffer *This,
  3478. IRpcChannelBuffer *_pRpcChannelBuffer,
  3479. PRPC_MESSAGE _pRpcMessage,
  3480. DWORD *_pdwStubPhase);
  3481. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonFunction_Proxy(
  3482. ITPhone * This,
  3483. /* [in] */ long lButtonID,
  3484. /* [retval][out] */ PHONE_BUTTON_FUNCTION *pButtonFunction);
  3485. void __RPC_STUB ITPhone_get_ButtonFunction_Stub(
  3486. IRpcStubBuffer *This,
  3487. IRpcChannelBuffer *_pRpcChannelBuffer,
  3488. PRPC_MESSAGE _pRpcMessage,
  3489. DWORD *_pdwStubPhase);
  3490. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_ButtonFunction_Proxy(
  3491. ITPhone * This,
  3492. /* [in] */ long lButtonID,
  3493. /* [in] */ PHONE_BUTTON_FUNCTION ButtonFunction);
  3494. void __RPC_STUB ITPhone_put_ButtonFunction_Stub(
  3495. IRpcStubBuffer *This,
  3496. IRpcChannelBuffer *_pRpcChannelBuffer,
  3497. PRPC_MESSAGE _pRpcMessage,
  3498. DWORD *_pdwStubPhase);
  3499. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonText_Proxy(
  3500. ITPhone * This,
  3501. /* [in] */ long lButtonID,
  3502. /* [retval][out] */ BSTR *ppButtonText);
  3503. void __RPC_STUB ITPhone_get_ButtonText_Stub(
  3504. IRpcStubBuffer *This,
  3505. IRpcChannelBuffer *_pRpcChannelBuffer,
  3506. PRPC_MESSAGE _pRpcMessage,
  3507. DWORD *_pdwStubPhase);
  3508. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_ButtonText_Proxy(
  3509. ITPhone * This,
  3510. /* [in] */ long lButtonID,
  3511. /* [in] */ BSTR bstrButtonText);
  3512. void __RPC_STUB ITPhone_put_ButtonText_Stub(
  3513. IRpcStubBuffer *This,
  3514. IRpcChannelBuffer *_pRpcChannelBuffer,
  3515. PRPC_MESSAGE _pRpcMessage,
  3516. DWORD *_pdwStubPhase);
  3517. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_ButtonState_Proxy(
  3518. ITPhone * This,
  3519. /* [in] */ long lButtonID,
  3520. /* [retval][out] */ PHONE_BUTTON_STATE *pButtonState);
  3521. void __RPC_STUB ITPhone_get_ButtonState_Stub(
  3522. IRpcStubBuffer *This,
  3523. IRpcChannelBuffer *_pRpcChannelBuffer,
  3524. PRPC_MESSAGE _pRpcMessage,
  3525. DWORD *_pdwStubPhase);
  3526. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_HookSwitchState_Proxy(
  3527. ITPhone * This,
  3528. /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
  3529. /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pHookSwitchState);
  3530. void __RPC_STUB ITPhone_get_HookSwitchState_Stub(
  3531. IRpcStubBuffer *This,
  3532. IRpcChannelBuffer *_pRpcChannelBuffer,
  3533. PRPC_MESSAGE _pRpcMessage,
  3534. DWORD *_pdwStubPhase);
  3535. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_HookSwitchState_Proxy(
  3536. ITPhone * This,
  3537. /* [in] */ PHONE_HOOK_SWITCH_DEVICE HookSwitchDevice,
  3538. /* [in] */ PHONE_HOOK_SWITCH_STATE HookSwitchState);
  3539. void __RPC_STUB ITPhone_put_HookSwitchState_Stub(
  3540. IRpcStubBuffer *This,
  3541. IRpcChannelBuffer *_pRpcChannelBuffer,
  3542. PRPC_MESSAGE _pRpcMessage,
  3543. DWORD *_pdwStubPhase);
  3544. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_RingMode_Proxy(
  3545. ITPhone * This,
  3546. /* [in] */ long lRingMode);
  3547. void __RPC_STUB ITPhone_put_RingMode_Stub(
  3548. IRpcStubBuffer *This,
  3549. IRpcChannelBuffer *_pRpcChannelBuffer,
  3550. PRPC_MESSAGE _pRpcMessage,
  3551. DWORD *_pdwStubPhase);
  3552. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_RingMode_Proxy(
  3553. ITPhone * This,
  3554. /* [retval][out] */ long *plRingMode);
  3555. void __RPC_STUB ITPhone_get_RingMode_Stub(
  3556. IRpcStubBuffer *This,
  3557. IRpcChannelBuffer *_pRpcChannelBuffer,
  3558. PRPC_MESSAGE _pRpcMessage,
  3559. DWORD *_pdwStubPhase);
  3560. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_RingVolume_Proxy(
  3561. ITPhone * This,
  3562. /* [in] */ long lRingVolume);
  3563. void __RPC_STUB ITPhone_put_RingVolume_Stub(
  3564. IRpcStubBuffer *This,
  3565. IRpcChannelBuffer *_pRpcChannelBuffer,
  3566. PRPC_MESSAGE _pRpcMessage,
  3567. DWORD *_pdwStubPhase);
  3568. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_RingVolume_Proxy(
  3569. ITPhone * This,
  3570. /* [retval][out] */ long *plRingVolume);
  3571. void __RPC_STUB ITPhone_get_RingVolume_Stub(
  3572. IRpcStubBuffer *This,
  3573. IRpcChannelBuffer *_pRpcChannelBuffer,
  3574. PRPC_MESSAGE _pRpcMessage,
  3575. DWORD *_pdwStubPhase);
  3576. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Privilege_Proxy(
  3577. ITPhone * This,
  3578. /* [retval][out] */ PHONE_PRIVILEGE *pPrivilege);
  3579. void __RPC_STUB ITPhone_get_Privilege_Stub(
  3580. IRpcStubBuffer *This,
  3581. IRpcChannelBuffer *_pRpcChannelBuffer,
  3582. PRPC_MESSAGE _pRpcMessage,
  3583. DWORD *_pdwStubPhase);
  3584. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_GetPhoneCapsBuffer_Proxy(
  3585. ITPhone * This,
  3586. /* [in] */ PHONECAPS_BUFFER pcbCaps,
  3587. /* [out] */ DWORD *pdwSize,
  3588. /* [out] */ BYTE **ppPhoneCapsBuffer);
  3589. void __RPC_STUB ITPhone_GetPhoneCapsBuffer_Stub(
  3590. IRpcStubBuffer *This,
  3591. IRpcChannelBuffer *_pRpcChannelBuffer,
  3592. PRPC_MESSAGE _pRpcMessage,
  3593. DWORD *_pdwStubPhase);
  3594. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PhoneCapsBuffer_Proxy(
  3595. ITPhone * This,
  3596. /* [in] */ PHONECAPS_BUFFER pcbCaps,
  3597. /* [retval][out] */ VARIANT *pVarBuffer);
  3598. void __RPC_STUB ITPhone_get_PhoneCapsBuffer_Stub(
  3599. IRpcStubBuffer *This,
  3600. IRpcChannelBuffer *_pRpcChannelBuffer,
  3601. PRPC_MESSAGE _pRpcMessage,
  3602. DWORD *_pdwStubPhase);
  3603. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_LampMode_Proxy(
  3604. ITPhone * This,
  3605. /* [in] */ long lLampID,
  3606. /* [retval][out] */ PHONE_LAMP_MODE *pLampMode);
  3607. void __RPC_STUB ITPhone_get_LampMode_Stub(
  3608. IRpcStubBuffer *This,
  3609. IRpcChannelBuffer *_pRpcChannelBuffer,
  3610. PRPC_MESSAGE _pRpcMessage,
  3611. DWORD *_pdwStubPhase);
  3612. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITPhone_put_LampMode_Proxy(
  3613. ITPhone * This,
  3614. /* [in] */ long lLampID,
  3615. /* [in] */ PHONE_LAMP_MODE LampMode);
  3616. void __RPC_STUB ITPhone_put_LampMode_Stub(
  3617. IRpcStubBuffer *This,
  3618. IRpcChannelBuffer *_pRpcChannelBuffer,
  3619. PRPC_MESSAGE _pRpcMessage,
  3620. DWORD *_pdwStubPhase);
  3621. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_Display_Proxy(
  3622. ITPhone * This,
  3623. /* [retval][out] */ BSTR *pbstrDisplay);
  3624. void __RPC_STUB ITPhone_get_Display_Stub(
  3625. IRpcStubBuffer *This,
  3626. IRpcChannelBuffer *_pRpcChannelBuffer,
  3627. PRPC_MESSAGE _pRpcMessage,
  3628. DWORD *_pdwStubPhase);
  3629. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_SetDisplay_Proxy(
  3630. ITPhone * This,
  3631. /* [in] */ long lRow,
  3632. /* [in] */ long lColumn,
  3633. /* [in] */ BSTR bstrDisplay);
  3634. void __RPC_STUB ITPhone_SetDisplay_Stub(
  3635. IRpcStubBuffer *This,
  3636. IRpcChannelBuffer *_pRpcChannelBuffer,
  3637. PRPC_MESSAGE _pRpcMessage,
  3638. DWORD *_pdwStubPhase);
  3639. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhone_get_PreferredAddresses_Proxy(
  3640. ITPhone * This,
  3641. /* [retval][out] */ VARIANT *pAddresses);
  3642. void __RPC_STUB ITPhone_get_PreferredAddresses_Stub(
  3643. IRpcStubBuffer *This,
  3644. IRpcChannelBuffer *_pRpcChannelBuffer,
  3645. PRPC_MESSAGE _pRpcMessage,
  3646. DWORD *_pdwStubPhase);
  3647. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_EnumeratePreferredAddresses_Proxy(
  3648. ITPhone * This,
  3649. /* [retval][out] */ IEnumAddress **ppEnumAddress);
  3650. void __RPC_STUB ITPhone_EnumeratePreferredAddresses_Stub(
  3651. IRpcStubBuffer *This,
  3652. IRpcChannelBuffer *_pRpcChannelBuffer,
  3653. PRPC_MESSAGE _pRpcMessage,
  3654. DWORD *_pdwStubPhase);
  3655. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITPhone_DeviceSpecific_Proxy(
  3656. ITPhone * This,
  3657. /* [in] */ BYTE *pParams,
  3658. /* [in] */ DWORD dwSize);
  3659. void __RPC_STUB ITPhone_DeviceSpecific_Stub(
  3660. IRpcStubBuffer *This,
  3661. IRpcChannelBuffer *_pRpcChannelBuffer,
  3662. PRPC_MESSAGE _pRpcMessage,
  3663. DWORD *_pdwStubPhase);
  3664. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_DeviceSpecificVariant_Proxy(
  3665. ITPhone * This,
  3666. /* [in] */ VARIANT varDevSpecificByteArray);
  3667. void __RPC_STUB ITPhone_DeviceSpecificVariant_Stub(
  3668. IRpcStubBuffer *This,
  3669. IRpcChannelBuffer *_pRpcChannelBuffer,
  3670. PRPC_MESSAGE _pRpcMessage,
  3671. DWORD *_pdwStubPhase);
  3672. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITPhone_NegotiateExtVersion_Proxy(
  3673. ITPhone * This,
  3674. /* [in] */ long lLowVersion,
  3675. /* [in] */ long lHighVersion,
  3676. /* [retval][out] */ long *plExtVersion);
  3677. void __RPC_STUB ITPhone_NegotiateExtVersion_Stub(
  3678. IRpcStubBuffer *This,
  3679. IRpcChannelBuffer *_pRpcChannelBuffer,
  3680. PRPC_MESSAGE _pRpcMessage,
  3681. DWORD *_pdwStubPhase);
  3682. #endif /* __ITPhone_INTERFACE_DEFINED__ */
  3683. #ifndef __ITAutomatedPhoneControl_INTERFACE_DEFINED__
  3684. #define __ITAutomatedPhoneControl_INTERFACE_DEFINED__
  3685. /* interface ITAutomatedPhoneControl */
  3686. /* [object][dual][helpstring][uuid] */
  3687. EXTERN_C const IID IID_ITAutomatedPhoneControl;
  3688. #if defined(__cplusplus) && !defined(CINTERFACE)
  3689. MIDL_INTERFACE("1EE1AF0E-6159-4a61-B79B-6A4BA3FC9DFC")
  3690. ITAutomatedPhoneControl : public IDispatch
  3691. {
  3692. public:
  3693. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartTone(
  3694. /* [in] */ PHONE_TONE Tone,
  3695. /* [in] */ long lDuration) = 0;
  3696. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopTone( void) = 0;
  3697. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Tone(
  3698. /* [retval][out] */ PHONE_TONE *pTone) = 0;
  3699. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartRinger(
  3700. /* [in] */ long lRingMode,
  3701. /* [in] */ long lDuration) = 0;
  3702. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopRinger( void) = 0;
  3703. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Ringer(
  3704. /* [retval][out] */ VARIANT_BOOL *pfRinging) = 0;
  3705. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PhoneHandlingEnabled(
  3706. /* [in] */ VARIANT_BOOL fEnabled) = 0;
  3707. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PhoneHandlingEnabled(
  3708. /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
  3709. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoEndOfNumberTimeout(
  3710. /* [in] */ long lTimeout) = 0;
  3711. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoEndOfNumberTimeout(
  3712. /* [retval][out] */ long *plTimeout) = 0;
  3713. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoDialtone(
  3714. /* [in] */ VARIANT_BOOL fEnabled) = 0;
  3715. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoDialtone(
  3716. /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
  3717. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoStopTonesOnOnHook(
  3718. /* [in] */ VARIANT_BOOL fEnabled) = 0;
  3719. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoStopTonesOnOnHook(
  3720. /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
  3721. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoStopRingOnOffHook(
  3722. /* [in] */ VARIANT_BOOL fEnabled) = 0;
  3723. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoStopRingOnOffHook(
  3724. /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
  3725. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoKeypadTones(
  3726. /* [in] */ VARIANT_BOOL fEnabled) = 0;
  3727. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoKeypadTones(
  3728. /* [retval][out] */ VARIANT_BOOL *pfEnabled) = 0;
  3729. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoKeypadTonesMinimumDuration(
  3730. /* [in] */ long lDuration) = 0;
  3731. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoKeypadTonesMinimumDuration(
  3732. /* [retval][out] */ long *plDuration) = 0;
  3733. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControl(
  3734. /* [in] */ VARIANT_BOOL fEnabled) = 0;
  3735. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControl(
  3736. /* [retval][out] */ VARIANT_BOOL *fEnabled) = 0;
  3737. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControlStep(
  3738. /* [in] */ long lStepSize) = 0;
  3739. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControlStep(
  3740. /* [retval][out] */ long *plStepSize) = 0;
  3741. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControlRepeatDelay(
  3742. /* [in] */ long lDelay) = 0;
  3743. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControlRepeatDelay(
  3744. /* [retval][out] */ long *plDelay) = 0;
  3745. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AutoVolumeControlRepeatPeriod(
  3746. /* [in] */ long lPeriod) = 0;
  3747. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AutoVolumeControlRepeatPeriod(
  3748. /* [retval][out] */ long *plPeriod) = 0;
  3749. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectCall(
  3750. /* [in] */ ITCallInfo *pCall,
  3751. /* [in] */ VARIANT_BOOL fSelectDefaultTerminals) = 0;
  3752. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectCall(
  3753. /* [in] */ ITCallInfo *pCall) = 0;
  3754. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateSelectedCalls(
  3755. /* [retval][out] */ IEnumCall **ppCallEnum) = 0;
  3756. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SelectedCalls(
  3757. /* [retval][out] */ VARIANT *pVariant) = 0;
  3758. };
  3759. #else /* C style interface */
  3760. typedef struct ITAutomatedPhoneControlVtbl
  3761. {
  3762. BEGIN_INTERFACE
  3763. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3764. ITAutomatedPhoneControl * This,
  3765. /* [in] */ REFIID riid,
  3766. /* [iid_is][out] */ void **ppvObject);
  3767. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3768. ITAutomatedPhoneControl * This);
  3769. ULONG ( STDMETHODCALLTYPE *Release )(
  3770. ITAutomatedPhoneControl * This);
  3771. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  3772. ITAutomatedPhoneControl * This,
  3773. /* [out] */ UINT *pctinfo);
  3774. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  3775. ITAutomatedPhoneControl * This,
  3776. /* [in] */ UINT iTInfo,
  3777. /* [in] */ LCID lcid,
  3778. /* [out] */ ITypeInfo **ppTInfo);
  3779. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  3780. ITAutomatedPhoneControl * This,
  3781. /* [in] */ REFIID riid,
  3782. /* [size_is][in] */ LPOLESTR *rgszNames,
  3783. /* [in] */ UINT cNames,
  3784. /* [in] */ LCID lcid,
  3785. /* [size_is][out] */ DISPID *rgDispId);
  3786. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  3787. ITAutomatedPhoneControl * This,
  3788. /* [in] */ DISPID dispIdMember,
  3789. /* [in] */ REFIID riid,
  3790. /* [in] */ LCID lcid,
  3791. /* [in] */ WORD wFlags,
  3792. /* [out][in] */ DISPPARAMS *pDispParams,
  3793. /* [out] */ VARIANT *pVarResult,
  3794. /* [out] */ EXCEPINFO *pExcepInfo,
  3795. /* [out] */ UINT *puArgErr);
  3796. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartTone )(
  3797. ITAutomatedPhoneControl * This,
  3798. /* [in] */ PHONE_TONE Tone,
  3799. /* [in] */ long lDuration);
  3800. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopTone )(
  3801. ITAutomatedPhoneControl * This);
  3802. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Tone )(
  3803. ITAutomatedPhoneControl * This,
  3804. /* [retval][out] */ PHONE_TONE *pTone);
  3805. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartRinger )(
  3806. ITAutomatedPhoneControl * This,
  3807. /* [in] */ long lRingMode,
  3808. /* [in] */ long lDuration);
  3809. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopRinger )(
  3810. ITAutomatedPhoneControl * This);
  3811. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Ringer )(
  3812. ITAutomatedPhoneControl * This,
  3813. /* [retval][out] */ VARIANT_BOOL *pfRinging);
  3814. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PhoneHandlingEnabled )(
  3815. ITAutomatedPhoneControl * This,
  3816. /* [in] */ VARIANT_BOOL fEnabled);
  3817. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PhoneHandlingEnabled )(
  3818. ITAutomatedPhoneControl * This,
  3819. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  3820. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoEndOfNumberTimeout )(
  3821. ITAutomatedPhoneControl * This,
  3822. /* [in] */ long lTimeout);
  3823. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoEndOfNumberTimeout )(
  3824. ITAutomatedPhoneControl * This,
  3825. /* [retval][out] */ long *plTimeout);
  3826. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoDialtone )(
  3827. ITAutomatedPhoneControl * This,
  3828. /* [in] */ VARIANT_BOOL fEnabled);
  3829. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoDialtone )(
  3830. ITAutomatedPhoneControl * This,
  3831. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  3832. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoStopTonesOnOnHook )(
  3833. ITAutomatedPhoneControl * This,
  3834. /* [in] */ VARIANT_BOOL fEnabled);
  3835. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoStopTonesOnOnHook )(
  3836. ITAutomatedPhoneControl * This,
  3837. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  3838. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoStopRingOnOffHook )(
  3839. ITAutomatedPhoneControl * This,
  3840. /* [in] */ VARIANT_BOOL fEnabled);
  3841. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoStopRingOnOffHook )(
  3842. ITAutomatedPhoneControl * This,
  3843. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  3844. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoKeypadTones )(
  3845. ITAutomatedPhoneControl * This,
  3846. /* [in] */ VARIANT_BOOL fEnabled);
  3847. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoKeypadTones )(
  3848. ITAutomatedPhoneControl * This,
  3849. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  3850. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoKeypadTonesMinimumDuration )(
  3851. ITAutomatedPhoneControl * This,
  3852. /* [in] */ long lDuration);
  3853. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoKeypadTonesMinimumDuration )(
  3854. ITAutomatedPhoneControl * This,
  3855. /* [retval][out] */ long *plDuration);
  3856. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControl )(
  3857. ITAutomatedPhoneControl * This,
  3858. /* [in] */ VARIANT_BOOL fEnabled);
  3859. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControl )(
  3860. ITAutomatedPhoneControl * This,
  3861. /* [retval][out] */ VARIANT_BOOL *fEnabled);
  3862. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControlStep )(
  3863. ITAutomatedPhoneControl * This,
  3864. /* [in] */ long lStepSize);
  3865. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControlStep )(
  3866. ITAutomatedPhoneControl * This,
  3867. /* [retval][out] */ long *plStepSize);
  3868. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControlRepeatDelay )(
  3869. ITAutomatedPhoneControl * This,
  3870. /* [in] */ long lDelay);
  3871. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControlRepeatDelay )(
  3872. ITAutomatedPhoneControl * This,
  3873. /* [retval][out] */ long *plDelay);
  3874. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AutoVolumeControlRepeatPeriod )(
  3875. ITAutomatedPhoneControl * This,
  3876. /* [in] */ long lPeriod);
  3877. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AutoVolumeControlRepeatPeriod )(
  3878. ITAutomatedPhoneControl * This,
  3879. /* [retval][out] */ long *plPeriod);
  3880. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectCall )(
  3881. ITAutomatedPhoneControl * This,
  3882. /* [in] */ ITCallInfo *pCall,
  3883. /* [in] */ VARIANT_BOOL fSelectDefaultTerminals);
  3884. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectCall )(
  3885. ITAutomatedPhoneControl * This,
  3886. /* [in] */ ITCallInfo *pCall);
  3887. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateSelectedCalls )(
  3888. ITAutomatedPhoneControl * This,
  3889. /* [retval][out] */ IEnumCall **ppCallEnum);
  3890. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SelectedCalls )(
  3891. ITAutomatedPhoneControl * This,
  3892. /* [retval][out] */ VARIANT *pVariant);
  3893. END_INTERFACE
  3894. } ITAutomatedPhoneControlVtbl;
  3895. interface ITAutomatedPhoneControl
  3896. {
  3897. CONST_VTBL struct ITAutomatedPhoneControlVtbl *lpVtbl;
  3898. };
  3899. #ifdef COBJMACROS
  3900. #define ITAutomatedPhoneControl_QueryInterface(This,riid,ppvObject) \
  3901. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3902. #define ITAutomatedPhoneControl_AddRef(This) \
  3903. (This)->lpVtbl -> AddRef(This)
  3904. #define ITAutomatedPhoneControl_Release(This) \
  3905. (This)->lpVtbl -> Release(This)
  3906. #define ITAutomatedPhoneControl_GetTypeInfoCount(This,pctinfo) \
  3907. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3908. #define ITAutomatedPhoneControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3909. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3910. #define ITAutomatedPhoneControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3911. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3912. #define ITAutomatedPhoneControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3913. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3914. #define ITAutomatedPhoneControl_StartTone(This,Tone,lDuration) \
  3915. (This)->lpVtbl -> StartTone(This,Tone,lDuration)
  3916. #define ITAutomatedPhoneControl_StopTone(This) \
  3917. (This)->lpVtbl -> StopTone(This)
  3918. #define ITAutomatedPhoneControl_get_Tone(This,pTone) \
  3919. (This)->lpVtbl -> get_Tone(This,pTone)
  3920. #define ITAutomatedPhoneControl_StartRinger(This,lRingMode,lDuration) \
  3921. (This)->lpVtbl -> StartRinger(This,lRingMode,lDuration)
  3922. #define ITAutomatedPhoneControl_StopRinger(This) \
  3923. (This)->lpVtbl -> StopRinger(This)
  3924. #define ITAutomatedPhoneControl_get_Ringer(This,pfRinging) \
  3925. (This)->lpVtbl -> get_Ringer(This,pfRinging)
  3926. #define ITAutomatedPhoneControl_put_PhoneHandlingEnabled(This,fEnabled) \
  3927. (This)->lpVtbl -> put_PhoneHandlingEnabled(This,fEnabled)
  3928. #define ITAutomatedPhoneControl_get_PhoneHandlingEnabled(This,pfEnabled) \
  3929. (This)->lpVtbl -> get_PhoneHandlingEnabled(This,pfEnabled)
  3930. #define ITAutomatedPhoneControl_put_AutoEndOfNumberTimeout(This,lTimeout) \
  3931. (This)->lpVtbl -> put_AutoEndOfNumberTimeout(This,lTimeout)
  3932. #define ITAutomatedPhoneControl_get_AutoEndOfNumberTimeout(This,plTimeout) \
  3933. (This)->lpVtbl -> get_AutoEndOfNumberTimeout(This,plTimeout)
  3934. #define ITAutomatedPhoneControl_put_AutoDialtone(This,fEnabled) \
  3935. (This)->lpVtbl -> put_AutoDialtone(This,fEnabled)
  3936. #define ITAutomatedPhoneControl_get_AutoDialtone(This,pfEnabled) \
  3937. (This)->lpVtbl -> get_AutoDialtone(This,pfEnabled)
  3938. #define ITAutomatedPhoneControl_put_AutoStopTonesOnOnHook(This,fEnabled) \
  3939. (This)->lpVtbl -> put_AutoStopTonesOnOnHook(This,fEnabled)
  3940. #define ITAutomatedPhoneControl_get_AutoStopTonesOnOnHook(This,pfEnabled) \
  3941. (This)->lpVtbl -> get_AutoStopTonesOnOnHook(This,pfEnabled)
  3942. #define ITAutomatedPhoneControl_put_AutoStopRingOnOffHook(This,fEnabled) \
  3943. (This)->lpVtbl -> put_AutoStopRingOnOffHook(This,fEnabled)
  3944. #define ITAutomatedPhoneControl_get_AutoStopRingOnOffHook(This,pfEnabled) \
  3945. (This)->lpVtbl -> get_AutoStopRingOnOffHook(This,pfEnabled)
  3946. #define ITAutomatedPhoneControl_put_AutoKeypadTones(This,fEnabled) \
  3947. (This)->lpVtbl -> put_AutoKeypadTones(This,fEnabled)
  3948. #define ITAutomatedPhoneControl_get_AutoKeypadTones(This,pfEnabled) \
  3949. (This)->lpVtbl -> get_AutoKeypadTones(This,pfEnabled)
  3950. #define ITAutomatedPhoneControl_put_AutoKeypadTonesMinimumDuration(This,lDuration) \
  3951. (This)->lpVtbl -> put_AutoKeypadTonesMinimumDuration(This,lDuration)
  3952. #define ITAutomatedPhoneControl_get_AutoKeypadTonesMinimumDuration(This,plDuration) \
  3953. (This)->lpVtbl -> get_AutoKeypadTonesMinimumDuration(This,plDuration)
  3954. #define ITAutomatedPhoneControl_put_AutoVolumeControl(This,fEnabled) \
  3955. (This)->lpVtbl -> put_AutoVolumeControl(This,fEnabled)
  3956. #define ITAutomatedPhoneControl_get_AutoVolumeControl(This,fEnabled) \
  3957. (This)->lpVtbl -> get_AutoVolumeControl(This,fEnabled)
  3958. #define ITAutomatedPhoneControl_put_AutoVolumeControlStep(This,lStepSize) \
  3959. (This)->lpVtbl -> put_AutoVolumeControlStep(This,lStepSize)
  3960. #define ITAutomatedPhoneControl_get_AutoVolumeControlStep(This,plStepSize) \
  3961. (This)->lpVtbl -> get_AutoVolumeControlStep(This,plStepSize)
  3962. #define ITAutomatedPhoneControl_put_AutoVolumeControlRepeatDelay(This,lDelay) \
  3963. (This)->lpVtbl -> put_AutoVolumeControlRepeatDelay(This,lDelay)
  3964. #define ITAutomatedPhoneControl_get_AutoVolumeControlRepeatDelay(This,plDelay) \
  3965. (This)->lpVtbl -> get_AutoVolumeControlRepeatDelay(This,plDelay)
  3966. #define ITAutomatedPhoneControl_put_AutoVolumeControlRepeatPeriod(This,lPeriod) \
  3967. (This)->lpVtbl -> put_AutoVolumeControlRepeatPeriod(This,lPeriod)
  3968. #define ITAutomatedPhoneControl_get_AutoVolumeControlRepeatPeriod(This,plPeriod) \
  3969. (This)->lpVtbl -> get_AutoVolumeControlRepeatPeriod(This,plPeriod)
  3970. #define ITAutomatedPhoneControl_SelectCall(This,pCall,fSelectDefaultTerminals) \
  3971. (This)->lpVtbl -> SelectCall(This,pCall,fSelectDefaultTerminals)
  3972. #define ITAutomatedPhoneControl_UnselectCall(This,pCall) \
  3973. (This)->lpVtbl -> UnselectCall(This,pCall)
  3974. #define ITAutomatedPhoneControl_EnumerateSelectedCalls(This,ppCallEnum) \
  3975. (This)->lpVtbl -> EnumerateSelectedCalls(This,ppCallEnum)
  3976. #define ITAutomatedPhoneControl_get_SelectedCalls(This,pVariant) \
  3977. (This)->lpVtbl -> get_SelectedCalls(This,pVariant)
  3978. #endif /* COBJMACROS */
  3979. #endif /* C style interface */
  3980. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StartTone_Proxy(
  3981. ITAutomatedPhoneControl * This,
  3982. /* [in] */ PHONE_TONE Tone,
  3983. /* [in] */ long lDuration);
  3984. void __RPC_STUB ITAutomatedPhoneControl_StartTone_Stub(
  3985. IRpcStubBuffer *This,
  3986. IRpcChannelBuffer *_pRpcChannelBuffer,
  3987. PRPC_MESSAGE _pRpcMessage,
  3988. DWORD *_pdwStubPhase);
  3989. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StopTone_Proxy(
  3990. ITAutomatedPhoneControl * This);
  3991. void __RPC_STUB ITAutomatedPhoneControl_StopTone_Stub(
  3992. IRpcStubBuffer *This,
  3993. IRpcChannelBuffer *_pRpcChannelBuffer,
  3994. PRPC_MESSAGE _pRpcMessage,
  3995. DWORD *_pdwStubPhase);
  3996. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_Tone_Proxy(
  3997. ITAutomatedPhoneControl * This,
  3998. /* [retval][out] */ PHONE_TONE *pTone);
  3999. void __RPC_STUB ITAutomatedPhoneControl_get_Tone_Stub(
  4000. IRpcStubBuffer *This,
  4001. IRpcChannelBuffer *_pRpcChannelBuffer,
  4002. PRPC_MESSAGE _pRpcMessage,
  4003. DWORD *_pdwStubPhase);
  4004. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StartRinger_Proxy(
  4005. ITAutomatedPhoneControl * This,
  4006. /* [in] */ long lRingMode,
  4007. /* [in] */ long lDuration);
  4008. void __RPC_STUB ITAutomatedPhoneControl_StartRinger_Stub(
  4009. IRpcStubBuffer *This,
  4010. IRpcChannelBuffer *_pRpcChannelBuffer,
  4011. PRPC_MESSAGE _pRpcMessage,
  4012. DWORD *_pdwStubPhase);
  4013. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_StopRinger_Proxy(
  4014. ITAutomatedPhoneControl * This);
  4015. void __RPC_STUB ITAutomatedPhoneControl_StopRinger_Stub(
  4016. IRpcStubBuffer *This,
  4017. IRpcChannelBuffer *_pRpcChannelBuffer,
  4018. PRPC_MESSAGE _pRpcMessage,
  4019. DWORD *_pdwStubPhase);
  4020. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_Ringer_Proxy(
  4021. ITAutomatedPhoneControl * This,
  4022. /* [retval][out] */ VARIANT_BOOL *pfRinging);
  4023. void __RPC_STUB ITAutomatedPhoneControl_get_Ringer_Stub(
  4024. IRpcStubBuffer *This,
  4025. IRpcChannelBuffer *_pRpcChannelBuffer,
  4026. PRPC_MESSAGE _pRpcMessage,
  4027. DWORD *_pdwStubPhase);
  4028. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_PhoneHandlingEnabled_Proxy(
  4029. ITAutomatedPhoneControl * This,
  4030. /* [in] */ VARIANT_BOOL fEnabled);
  4031. void __RPC_STUB ITAutomatedPhoneControl_put_PhoneHandlingEnabled_Stub(
  4032. IRpcStubBuffer *This,
  4033. IRpcChannelBuffer *_pRpcChannelBuffer,
  4034. PRPC_MESSAGE _pRpcMessage,
  4035. DWORD *_pdwStubPhase);
  4036. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_PhoneHandlingEnabled_Proxy(
  4037. ITAutomatedPhoneControl * This,
  4038. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  4039. void __RPC_STUB ITAutomatedPhoneControl_get_PhoneHandlingEnabled_Stub(
  4040. IRpcStubBuffer *This,
  4041. IRpcChannelBuffer *_pRpcChannelBuffer,
  4042. PRPC_MESSAGE _pRpcMessage,
  4043. DWORD *_pdwStubPhase);
  4044. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoEndOfNumberTimeout_Proxy(
  4045. ITAutomatedPhoneControl * This,
  4046. /* [in] */ long lTimeout);
  4047. void __RPC_STUB ITAutomatedPhoneControl_put_AutoEndOfNumberTimeout_Stub(
  4048. IRpcStubBuffer *This,
  4049. IRpcChannelBuffer *_pRpcChannelBuffer,
  4050. PRPC_MESSAGE _pRpcMessage,
  4051. DWORD *_pdwStubPhase);
  4052. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoEndOfNumberTimeout_Proxy(
  4053. ITAutomatedPhoneControl * This,
  4054. /* [retval][out] */ long *plTimeout);
  4055. void __RPC_STUB ITAutomatedPhoneControl_get_AutoEndOfNumberTimeout_Stub(
  4056. IRpcStubBuffer *This,
  4057. IRpcChannelBuffer *_pRpcChannelBuffer,
  4058. PRPC_MESSAGE _pRpcMessage,
  4059. DWORD *_pdwStubPhase);
  4060. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoDialtone_Proxy(
  4061. ITAutomatedPhoneControl * This,
  4062. /* [in] */ VARIANT_BOOL fEnabled);
  4063. void __RPC_STUB ITAutomatedPhoneControl_put_AutoDialtone_Stub(
  4064. IRpcStubBuffer *This,
  4065. IRpcChannelBuffer *_pRpcChannelBuffer,
  4066. PRPC_MESSAGE _pRpcMessage,
  4067. DWORD *_pdwStubPhase);
  4068. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoDialtone_Proxy(
  4069. ITAutomatedPhoneControl * This,
  4070. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  4071. void __RPC_STUB ITAutomatedPhoneControl_get_AutoDialtone_Stub(
  4072. IRpcStubBuffer *This,
  4073. IRpcChannelBuffer *_pRpcChannelBuffer,
  4074. PRPC_MESSAGE _pRpcMessage,
  4075. DWORD *_pdwStubPhase);
  4076. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoStopTonesOnOnHook_Proxy(
  4077. ITAutomatedPhoneControl * This,
  4078. /* [in] */ VARIANT_BOOL fEnabled);
  4079. void __RPC_STUB ITAutomatedPhoneControl_put_AutoStopTonesOnOnHook_Stub(
  4080. IRpcStubBuffer *This,
  4081. IRpcChannelBuffer *_pRpcChannelBuffer,
  4082. PRPC_MESSAGE _pRpcMessage,
  4083. DWORD *_pdwStubPhase);
  4084. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoStopTonesOnOnHook_Proxy(
  4085. ITAutomatedPhoneControl * This,
  4086. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  4087. void __RPC_STUB ITAutomatedPhoneControl_get_AutoStopTonesOnOnHook_Stub(
  4088. IRpcStubBuffer *This,
  4089. IRpcChannelBuffer *_pRpcChannelBuffer,
  4090. PRPC_MESSAGE _pRpcMessage,
  4091. DWORD *_pdwStubPhase);
  4092. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoStopRingOnOffHook_Proxy(
  4093. ITAutomatedPhoneControl * This,
  4094. /* [in] */ VARIANT_BOOL fEnabled);
  4095. void __RPC_STUB ITAutomatedPhoneControl_put_AutoStopRingOnOffHook_Stub(
  4096. IRpcStubBuffer *This,
  4097. IRpcChannelBuffer *_pRpcChannelBuffer,
  4098. PRPC_MESSAGE _pRpcMessage,
  4099. DWORD *_pdwStubPhase);
  4100. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoStopRingOnOffHook_Proxy(
  4101. ITAutomatedPhoneControl * This,
  4102. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  4103. void __RPC_STUB ITAutomatedPhoneControl_get_AutoStopRingOnOffHook_Stub(
  4104. IRpcStubBuffer *This,
  4105. IRpcChannelBuffer *_pRpcChannelBuffer,
  4106. PRPC_MESSAGE _pRpcMessage,
  4107. DWORD *_pdwStubPhase);
  4108. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoKeypadTones_Proxy(
  4109. ITAutomatedPhoneControl * This,
  4110. /* [in] */ VARIANT_BOOL fEnabled);
  4111. void __RPC_STUB ITAutomatedPhoneControl_put_AutoKeypadTones_Stub(
  4112. IRpcStubBuffer *This,
  4113. IRpcChannelBuffer *_pRpcChannelBuffer,
  4114. PRPC_MESSAGE _pRpcMessage,
  4115. DWORD *_pdwStubPhase);
  4116. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoKeypadTones_Proxy(
  4117. ITAutomatedPhoneControl * This,
  4118. /* [retval][out] */ VARIANT_BOOL *pfEnabled);
  4119. void __RPC_STUB ITAutomatedPhoneControl_get_AutoKeypadTones_Stub(
  4120. IRpcStubBuffer *This,
  4121. IRpcChannelBuffer *_pRpcChannelBuffer,
  4122. PRPC_MESSAGE _pRpcMessage,
  4123. DWORD *_pdwStubPhase);
  4124. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoKeypadTonesMinimumDuration_Proxy(
  4125. ITAutomatedPhoneControl * This,
  4126. /* [in] */ long lDuration);
  4127. void __RPC_STUB ITAutomatedPhoneControl_put_AutoKeypadTonesMinimumDuration_Stub(
  4128. IRpcStubBuffer *This,
  4129. IRpcChannelBuffer *_pRpcChannelBuffer,
  4130. PRPC_MESSAGE _pRpcMessage,
  4131. DWORD *_pdwStubPhase);
  4132. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoKeypadTonesMinimumDuration_Proxy(
  4133. ITAutomatedPhoneControl * This,
  4134. /* [retval][out] */ long *plDuration);
  4135. void __RPC_STUB ITAutomatedPhoneControl_get_AutoKeypadTonesMinimumDuration_Stub(
  4136. IRpcStubBuffer *This,
  4137. IRpcChannelBuffer *_pRpcChannelBuffer,
  4138. PRPC_MESSAGE _pRpcMessage,
  4139. DWORD *_pdwStubPhase);
  4140. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControl_Proxy(
  4141. ITAutomatedPhoneControl * This,
  4142. /* [in] */ VARIANT_BOOL fEnabled);
  4143. void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControl_Stub(
  4144. IRpcStubBuffer *This,
  4145. IRpcChannelBuffer *_pRpcChannelBuffer,
  4146. PRPC_MESSAGE _pRpcMessage,
  4147. DWORD *_pdwStubPhase);
  4148. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControl_Proxy(
  4149. ITAutomatedPhoneControl * This,
  4150. /* [retval][out] */ VARIANT_BOOL *fEnabled);
  4151. void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControl_Stub(
  4152. IRpcStubBuffer *This,
  4153. IRpcChannelBuffer *_pRpcChannelBuffer,
  4154. PRPC_MESSAGE _pRpcMessage,
  4155. DWORD *_pdwStubPhase);
  4156. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControlStep_Proxy(
  4157. ITAutomatedPhoneControl * This,
  4158. /* [in] */ long lStepSize);
  4159. void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControlStep_Stub(
  4160. IRpcStubBuffer *This,
  4161. IRpcChannelBuffer *_pRpcChannelBuffer,
  4162. PRPC_MESSAGE _pRpcMessage,
  4163. DWORD *_pdwStubPhase);
  4164. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControlStep_Proxy(
  4165. ITAutomatedPhoneControl * This,
  4166. /* [retval][out] */ long *plStepSize);
  4167. void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControlStep_Stub(
  4168. IRpcStubBuffer *This,
  4169. IRpcChannelBuffer *_pRpcChannelBuffer,
  4170. PRPC_MESSAGE _pRpcMessage,
  4171. DWORD *_pdwStubPhase);
  4172. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControlRepeatDelay_Proxy(
  4173. ITAutomatedPhoneControl * This,
  4174. /* [in] */ long lDelay);
  4175. void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControlRepeatDelay_Stub(
  4176. IRpcStubBuffer *This,
  4177. IRpcChannelBuffer *_pRpcChannelBuffer,
  4178. PRPC_MESSAGE _pRpcMessage,
  4179. DWORD *_pdwStubPhase);
  4180. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControlRepeatDelay_Proxy(
  4181. ITAutomatedPhoneControl * This,
  4182. /* [retval][out] */ long *plDelay);
  4183. void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControlRepeatDelay_Stub(
  4184. IRpcStubBuffer *This,
  4185. IRpcChannelBuffer *_pRpcChannelBuffer,
  4186. PRPC_MESSAGE _pRpcMessage,
  4187. DWORD *_pdwStubPhase);
  4188. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_put_AutoVolumeControlRepeatPeriod_Proxy(
  4189. ITAutomatedPhoneControl * This,
  4190. /* [in] */ long lPeriod);
  4191. void __RPC_STUB ITAutomatedPhoneControl_put_AutoVolumeControlRepeatPeriod_Stub(
  4192. IRpcStubBuffer *This,
  4193. IRpcChannelBuffer *_pRpcChannelBuffer,
  4194. PRPC_MESSAGE _pRpcMessage,
  4195. DWORD *_pdwStubPhase);
  4196. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_AutoVolumeControlRepeatPeriod_Proxy(
  4197. ITAutomatedPhoneControl * This,
  4198. /* [retval][out] */ long *plPeriod);
  4199. void __RPC_STUB ITAutomatedPhoneControl_get_AutoVolumeControlRepeatPeriod_Stub(
  4200. IRpcStubBuffer *This,
  4201. IRpcChannelBuffer *_pRpcChannelBuffer,
  4202. PRPC_MESSAGE _pRpcMessage,
  4203. DWORD *_pdwStubPhase);
  4204. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_SelectCall_Proxy(
  4205. ITAutomatedPhoneControl * This,
  4206. /* [in] */ ITCallInfo *pCall,
  4207. /* [in] */ VARIANT_BOOL fSelectDefaultTerminals);
  4208. void __RPC_STUB ITAutomatedPhoneControl_SelectCall_Stub(
  4209. IRpcStubBuffer *This,
  4210. IRpcChannelBuffer *_pRpcChannelBuffer,
  4211. PRPC_MESSAGE _pRpcMessage,
  4212. DWORD *_pdwStubPhase);
  4213. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_UnselectCall_Proxy(
  4214. ITAutomatedPhoneControl * This,
  4215. /* [in] */ ITCallInfo *pCall);
  4216. void __RPC_STUB ITAutomatedPhoneControl_UnselectCall_Stub(
  4217. IRpcStubBuffer *This,
  4218. IRpcChannelBuffer *_pRpcChannelBuffer,
  4219. PRPC_MESSAGE _pRpcMessage,
  4220. DWORD *_pdwStubPhase);
  4221. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_EnumerateSelectedCalls_Proxy(
  4222. ITAutomatedPhoneControl * This,
  4223. /* [retval][out] */ IEnumCall **ppCallEnum);
  4224. void __RPC_STUB ITAutomatedPhoneControl_EnumerateSelectedCalls_Stub(
  4225. IRpcStubBuffer *This,
  4226. IRpcChannelBuffer *_pRpcChannelBuffer,
  4227. PRPC_MESSAGE _pRpcMessage,
  4228. DWORD *_pdwStubPhase);
  4229. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAutomatedPhoneControl_get_SelectedCalls_Proxy(
  4230. ITAutomatedPhoneControl * This,
  4231. /* [retval][out] */ VARIANT *pVariant);
  4232. void __RPC_STUB ITAutomatedPhoneControl_get_SelectedCalls_Stub(
  4233. IRpcStubBuffer *This,
  4234. IRpcChannelBuffer *_pRpcChannelBuffer,
  4235. PRPC_MESSAGE _pRpcMessage,
  4236. DWORD *_pdwStubPhase);
  4237. #endif /* __ITAutomatedPhoneControl_INTERFACE_DEFINED__ */
  4238. #ifndef __ITBasicCallControl_INTERFACE_DEFINED__
  4239. #define __ITBasicCallControl_INTERFACE_DEFINED__
  4240. /* interface ITBasicCallControl */
  4241. /* [object][dual][helpstring][uuid] */
  4242. EXTERN_C const IID IID_ITBasicCallControl;
  4243. #if defined(__cplusplus) && !defined(CINTERFACE)
  4244. MIDL_INTERFACE("B1EFC389-9355-11d0-835C-00AA003CCABD")
  4245. ITBasicCallControl : public IDispatch
  4246. {
  4247. public:
  4248. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Connect(
  4249. /* [in] */ VARIANT_BOOL fSync) = 0;
  4250. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Answer( void) = 0;
  4251. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Disconnect(
  4252. /* [in] */ DISCONNECT_CODE code) = 0;
  4253. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Hold(
  4254. /* [in] */ VARIANT_BOOL fHold) = 0;
  4255. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HandoffDirect(
  4256. /* [in] */ BSTR pApplicationName) = 0;
  4257. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HandoffIndirect(
  4258. /* [in] */ long lMediaType) = 0;
  4259. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Conference(
  4260. /* [in] */ ITBasicCallControl *pCall,
  4261. /* [in] */ VARIANT_BOOL fSync) = 0;
  4262. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Transfer(
  4263. /* [in] */ ITBasicCallControl *pCall,
  4264. /* [in] */ VARIANT_BOOL fSync) = 0;
  4265. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE BlindTransfer(
  4266. /* [in] */ BSTR pDestAddress) = 0;
  4267. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SwapHold(
  4268. /* [in] */ ITBasicCallControl *pCall) = 0;
  4269. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ParkDirect(
  4270. /* [in] */ BSTR pParkAddress) = 0;
  4271. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ParkIndirect(
  4272. /* [retval][out] */ BSTR *ppNonDirAddress) = 0;
  4273. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Unpark( void) = 0;
  4274. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetQOS(
  4275. /* [in] */ long lMediaType,
  4276. /* [in] */ QOS_SERVICE_LEVEL ServiceLevel) = 0;
  4277. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pickup(
  4278. /* [in] */ BSTR pGroupID) = 0;
  4279. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Dial(
  4280. /* [in] */ BSTR pDestAddress) = 0;
  4281. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Finish(
  4282. /* [in] */ FINISH_MODE finishMode) = 0;
  4283. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveFromConference( void) = 0;
  4284. };
  4285. #else /* C style interface */
  4286. typedef struct ITBasicCallControlVtbl
  4287. {
  4288. BEGIN_INTERFACE
  4289. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4290. ITBasicCallControl * This,
  4291. /* [in] */ REFIID riid,
  4292. /* [iid_is][out] */ void **ppvObject);
  4293. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4294. ITBasicCallControl * This);
  4295. ULONG ( STDMETHODCALLTYPE *Release )(
  4296. ITBasicCallControl * This);
  4297. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4298. ITBasicCallControl * This,
  4299. /* [out] */ UINT *pctinfo);
  4300. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4301. ITBasicCallControl * This,
  4302. /* [in] */ UINT iTInfo,
  4303. /* [in] */ LCID lcid,
  4304. /* [out] */ ITypeInfo **ppTInfo);
  4305. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4306. ITBasicCallControl * This,
  4307. /* [in] */ REFIID riid,
  4308. /* [size_is][in] */ LPOLESTR *rgszNames,
  4309. /* [in] */ UINT cNames,
  4310. /* [in] */ LCID lcid,
  4311. /* [size_is][out] */ DISPID *rgDispId);
  4312. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4313. ITBasicCallControl * This,
  4314. /* [in] */ DISPID dispIdMember,
  4315. /* [in] */ REFIID riid,
  4316. /* [in] */ LCID lcid,
  4317. /* [in] */ WORD wFlags,
  4318. /* [out][in] */ DISPPARAMS *pDispParams,
  4319. /* [out] */ VARIANT *pVarResult,
  4320. /* [out] */ EXCEPINFO *pExcepInfo,
  4321. /* [out] */ UINT *puArgErr);
  4322. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
  4323. ITBasicCallControl * This,
  4324. /* [in] */ VARIANT_BOOL fSync);
  4325. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Answer )(
  4326. ITBasicCallControl * This);
  4327. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  4328. ITBasicCallControl * This,
  4329. /* [in] */ DISCONNECT_CODE code);
  4330. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hold )(
  4331. ITBasicCallControl * This,
  4332. /* [in] */ VARIANT_BOOL fHold);
  4333. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffDirect )(
  4334. ITBasicCallControl * This,
  4335. /* [in] */ BSTR pApplicationName);
  4336. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffIndirect )(
  4337. ITBasicCallControl * This,
  4338. /* [in] */ long lMediaType);
  4339. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Conference )(
  4340. ITBasicCallControl * This,
  4341. /* [in] */ ITBasicCallControl *pCall,
  4342. /* [in] */ VARIANT_BOOL fSync);
  4343. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Transfer )(
  4344. ITBasicCallControl * This,
  4345. /* [in] */ ITBasicCallControl *pCall,
  4346. /* [in] */ VARIANT_BOOL fSync);
  4347. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BlindTransfer )(
  4348. ITBasicCallControl * This,
  4349. /* [in] */ BSTR pDestAddress);
  4350. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SwapHold )(
  4351. ITBasicCallControl * This,
  4352. /* [in] */ ITBasicCallControl *pCall);
  4353. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkDirect )(
  4354. ITBasicCallControl * This,
  4355. /* [in] */ BSTR pParkAddress);
  4356. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkIndirect )(
  4357. ITBasicCallControl * This,
  4358. /* [retval][out] */ BSTR *ppNonDirAddress);
  4359. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Unpark )(
  4360. ITBasicCallControl * This);
  4361. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetQOS )(
  4362. ITBasicCallControl * This,
  4363. /* [in] */ long lMediaType,
  4364. /* [in] */ QOS_SERVICE_LEVEL ServiceLevel);
  4365. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pickup )(
  4366. ITBasicCallControl * This,
  4367. /* [in] */ BSTR pGroupID);
  4368. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Dial )(
  4369. ITBasicCallControl * This,
  4370. /* [in] */ BSTR pDestAddress);
  4371. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Finish )(
  4372. ITBasicCallControl * This,
  4373. /* [in] */ FINISH_MODE finishMode);
  4374. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveFromConference )(
  4375. ITBasicCallControl * This);
  4376. END_INTERFACE
  4377. } ITBasicCallControlVtbl;
  4378. interface ITBasicCallControl
  4379. {
  4380. CONST_VTBL struct ITBasicCallControlVtbl *lpVtbl;
  4381. };
  4382. #ifdef COBJMACROS
  4383. #define ITBasicCallControl_QueryInterface(This,riid,ppvObject) \
  4384. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4385. #define ITBasicCallControl_AddRef(This) \
  4386. (This)->lpVtbl -> AddRef(This)
  4387. #define ITBasicCallControl_Release(This) \
  4388. (This)->lpVtbl -> Release(This)
  4389. #define ITBasicCallControl_GetTypeInfoCount(This,pctinfo) \
  4390. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4391. #define ITBasicCallControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4392. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4393. #define ITBasicCallControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4394. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4395. #define ITBasicCallControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4396. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4397. #define ITBasicCallControl_Connect(This,fSync) \
  4398. (This)->lpVtbl -> Connect(This,fSync)
  4399. #define ITBasicCallControl_Answer(This) \
  4400. (This)->lpVtbl -> Answer(This)
  4401. #define ITBasicCallControl_Disconnect(This,code) \
  4402. (This)->lpVtbl -> Disconnect(This,code)
  4403. #define ITBasicCallControl_Hold(This,fHold) \
  4404. (This)->lpVtbl -> Hold(This,fHold)
  4405. #define ITBasicCallControl_HandoffDirect(This,pApplicationName) \
  4406. (This)->lpVtbl -> HandoffDirect(This,pApplicationName)
  4407. #define ITBasicCallControl_HandoffIndirect(This,lMediaType) \
  4408. (This)->lpVtbl -> HandoffIndirect(This,lMediaType)
  4409. #define ITBasicCallControl_Conference(This,pCall,fSync) \
  4410. (This)->lpVtbl -> Conference(This,pCall,fSync)
  4411. #define ITBasicCallControl_Transfer(This,pCall,fSync) \
  4412. (This)->lpVtbl -> Transfer(This,pCall,fSync)
  4413. #define ITBasicCallControl_BlindTransfer(This,pDestAddress) \
  4414. (This)->lpVtbl -> BlindTransfer(This,pDestAddress)
  4415. #define ITBasicCallControl_SwapHold(This,pCall) \
  4416. (This)->lpVtbl -> SwapHold(This,pCall)
  4417. #define ITBasicCallControl_ParkDirect(This,pParkAddress) \
  4418. (This)->lpVtbl -> ParkDirect(This,pParkAddress)
  4419. #define ITBasicCallControl_ParkIndirect(This,ppNonDirAddress) \
  4420. (This)->lpVtbl -> ParkIndirect(This,ppNonDirAddress)
  4421. #define ITBasicCallControl_Unpark(This) \
  4422. (This)->lpVtbl -> Unpark(This)
  4423. #define ITBasicCallControl_SetQOS(This,lMediaType,ServiceLevel) \
  4424. (This)->lpVtbl -> SetQOS(This,lMediaType,ServiceLevel)
  4425. #define ITBasicCallControl_Pickup(This,pGroupID) \
  4426. (This)->lpVtbl -> Pickup(This,pGroupID)
  4427. #define ITBasicCallControl_Dial(This,pDestAddress) \
  4428. (This)->lpVtbl -> Dial(This,pDestAddress)
  4429. #define ITBasicCallControl_Finish(This,finishMode) \
  4430. (This)->lpVtbl -> Finish(This,finishMode)
  4431. #define ITBasicCallControl_RemoveFromConference(This) \
  4432. (This)->lpVtbl -> RemoveFromConference(This)
  4433. #endif /* COBJMACROS */
  4434. #endif /* C style interface */
  4435. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Connect_Proxy(
  4436. ITBasicCallControl * This,
  4437. /* [in] */ VARIANT_BOOL fSync);
  4438. void __RPC_STUB ITBasicCallControl_Connect_Stub(
  4439. IRpcStubBuffer *This,
  4440. IRpcChannelBuffer *_pRpcChannelBuffer,
  4441. PRPC_MESSAGE _pRpcMessage,
  4442. DWORD *_pdwStubPhase);
  4443. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Answer_Proxy(
  4444. ITBasicCallControl * This);
  4445. void __RPC_STUB ITBasicCallControl_Answer_Stub(
  4446. IRpcStubBuffer *This,
  4447. IRpcChannelBuffer *_pRpcChannelBuffer,
  4448. PRPC_MESSAGE _pRpcMessage,
  4449. DWORD *_pdwStubPhase);
  4450. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Disconnect_Proxy(
  4451. ITBasicCallControl * This,
  4452. /* [in] */ DISCONNECT_CODE code);
  4453. void __RPC_STUB ITBasicCallControl_Disconnect_Stub(
  4454. IRpcStubBuffer *This,
  4455. IRpcChannelBuffer *_pRpcChannelBuffer,
  4456. PRPC_MESSAGE _pRpcMessage,
  4457. DWORD *_pdwStubPhase);
  4458. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Hold_Proxy(
  4459. ITBasicCallControl * This,
  4460. /* [in] */ VARIANT_BOOL fHold);
  4461. void __RPC_STUB ITBasicCallControl_Hold_Stub(
  4462. IRpcStubBuffer *This,
  4463. IRpcChannelBuffer *_pRpcChannelBuffer,
  4464. PRPC_MESSAGE _pRpcMessage,
  4465. DWORD *_pdwStubPhase);
  4466. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_HandoffDirect_Proxy(
  4467. ITBasicCallControl * This,
  4468. /* [in] */ BSTR pApplicationName);
  4469. void __RPC_STUB ITBasicCallControl_HandoffDirect_Stub(
  4470. IRpcStubBuffer *This,
  4471. IRpcChannelBuffer *_pRpcChannelBuffer,
  4472. PRPC_MESSAGE _pRpcMessage,
  4473. DWORD *_pdwStubPhase);
  4474. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_HandoffIndirect_Proxy(
  4475. ITBasicCallControl * This,
  4476. /* [in] */ long lMediaType);
  4477. void __RPC_STUB ITBasicCallControl_HandoffIndirect_Stub(
  4478. IRpcStubBuffer *This,
  4479. IRpcChannelBuffer *_pRpcChannelBuffer,
  4480. PRPC_MESSAGE _pRpcMessage,
  4481. DWORD *_pdwStubPhase);
  4482. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Conference_Proxy(
  4483. ITBasicCallControl * This,
  4484. /* [in] */ ITBasicCallControl *pCall,
  4485. /* [in] */ VARIANT_BOOL fSync);
  4486. void __RPC_STUB ITBasicCallControl_Conference_Stub(
  4487. IRpcStubBuffer *This,
  4488. IRpcChannelBuffer *_pRpcChannelBuffer,
  4489. PRPC_MESSAGE _pRpcMessage,
  4490. DWORD *_pdwStubPhase);
  4491. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Transfer_Proxy(
  4492. ITBasicCallControl * This,
  4493. /* [in] */ ITBasicCallControl *pCall,
  4494. /* [in] */ VARIANT_BOOL fSync);
  4495. void __RPC_STUB ITBasicCallControl_Transfer_Stub(
  4496. IRpcStubBuffer *This,
  4497. IRpcChannelBuffer *_pRpcChannelBuffer,
  4498. PRPC_MESSAGE _pRpcMessage,
  4499. DWORD *_pdwStubPhase);
  4500. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_BlindTransfer_Proxy(
  4501. ITBasicCallControl * This,
  4502. /* [in] */ BSTR pDestAddress);
  4503. void __RPC_STUB ITBasicCallControl_BlindTransfer_Stub(
  4504. IRpcStubBuffer *This,
  4505. IRpcChannelBuffer *_pRpcChannelBuffer,
  4506. PRPC_MESSAGE _pRpcMessage,
  4507. DWORD *_pdwStubPhase);
  4508. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_SwapHold_Proxy(
  4509. ITBasicCallControl * This,
  4510. /* [in] */ ITBasicCallControl *pCall);
  4511. void __RPC_STUB ITBasicCallControl_SwapHold_Stub(
  4512. IRpcStubBuffer *This,
  4513. IRpcChannelBuffer *_pRpcChannelBuffer,
  4514. PRPC_MESSAGE _pRpcMessage,
  4515. DWORD *_pdwStubPhase);
  4516. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_ParkDirect_Proxy(
  4517. ITBasicCallControl * This,
  4518. /* [in] */ BSTR pParkAddress);
  4519. void __RPC_STUB ITBasicCallControl_ParkDirect_Stub(
  4520. IRpcStubBuffer *This,
  4521. IRpcChannelBuffer *_pRpcChannelBuffer,
  4522. PRPC_MESSAGE _pRpcMessage,
  4523. DWORD *_pdwStubPhase);
  4524. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_ParkIndirect_Proxy(
  4525. ITBasicCallControl * This,
  4526. /* [retval][out] */ BSTR *ppNonDirAddress);
  4527. void __RPC_STUB ITBasicCallControl_ParkIndirect_Stub(
  4528. IRpcStubBuffer *This,
  4529. IRpcChannelBuffer *_pRpcChannelBuffer,
  4530. PRPC_MESSAGE _pRpcMessage,
  4531. DWORD *_pdwStubPhase);
  4532. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Unpark_Proxy(
  4533. ITBasicCallControl * This);
  4534. void __RPC_STUB ITBasicCallControl_Unpark_Stub(
  4535. IRpcStubBuffer *This,
  4536. IRpcChannelBuffer *_pRpcChannelBuffer,
  4537. PRPC_MESSAGE _pRpcMessage,
  4538. DWORD *_pdwStubPhase);
  4539. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_SetQOS_Proxy(
  4540. ITBasicCallControl * This,
  4541. /* [in] */ long lMediaType,
  4542. /* [in] */ QOS_SERVICE_LEVEL ServiceLevel);
  4543. void __RPC_STUB ITBasicCallControl_SetQOS_Stub(
  4544. IRpcStubBuffer *This,
  4545. IRpcChannelBuffer *_pRpcChannelBuffer,
  4546. PRPC_MESSAGE _pRpcMessage,
  4547. DWORD *_pdwStubPhase);
  4548. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Pickup_Proxy(
  4549. ITBasicCallControl * This,
  4550. /* [in] */ BSTR pGroupID);
  4551. void __RPC_STUB ITBasicCallControl_Pickup_Stub(
  4552. IRpcStubBuffer *This,
  4553. IRpcChannelBuffer *_pRpcChannelBuffer,
  4554. PRPC_MESSAGE _pRpcMessage,
  4555. DWORD *_pdwStubPhase);
  4556. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Dial_Proxy(
  4557. ITBasicCallControl * This,
  4558. /* [in] */ BSTR pDestAddress);
  4559. void __RPC_STUB ITBasicCallControl_Dial_Stub(
  4560. IRpcStubBuffer *This,
  4561. IRpcChannelBuffer *_pRpcChannelBuffer,
  4562. PRPC_MESSAGE _pRpcMessage,
  4563. DWORD *_pdwStubPhase);
  4564. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_Finish_Proxy(
  4565. ITBasicCallControl * This,
  4566. /* [in] */ FINISH_MODE finishMode);
  4567. void __RPC_STUB ITBasicCallControl_Finish_Stub(
  4568. IRpcStubBuffer *This,
  4569. IRpcChannelBuffer *_pRpcChannelBuffer,
  4570. PRPC_MESSAGE _pRpcMessage,
  4571. DWORD *_pdwStubPhase);
  4572. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl_RemoveFromConference_Proxy(
  4573. ITBasicCallControl * This);
  4574. void __RPC_STUB ITBasicCallControl_RemoveFromConference_Stub(
  4575. IRpcStubBuffer *This,
  4576. IRpcChannelBuffer *_pRpcChannelBuffer,
  4577. PRPC_MESSAGE _pRpcMessage,
  4578. DWORD *_pdwStubPhase);
  4579. #endif /* __ITBasicCallControl_INTERFACE_DEFINED__ */
  4580. #ifndef __ITCallInfo_INTERFACE_DEFINED__
  4581. #define __ITCallInfo_INTERFACE_DEFINED__
  4582. /* interface ITCallInfo */
  4583. /* [object][dual][helpstring][uuid] */
  4584. EXTERN_C const IID IID_ITCallInfo;
  4585. #if defined(__cplusplus) && !defined(CINTERFACE)
  4586. MIDL_INTERFACE("350F85D1-1227-11D3-83D4-00C04FB6809F")
  4587. ITCallInfo : public IDispatch
  4588. {
  4589. public:
  4590. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
  4591. /* [retval][out] */ ITAddress **ppAddress) = 0;
  4592. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallState(
  4593. /* [retval][out] */ CALL_STATE *pCallState) = 0;
  4594. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Privilege(
  4595. /* [retval][out] */ CALL_PRIVILEGE *pPrivilege) = 0;
  4596. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHub(
  4597. /* [retval][out] */ ITCallHub **ppCallHub) = 0;
  4598. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallInfoLong(
  4599. /* [in] */ CALLINFO_LONG CallInfoLong,
  4600. /* [retval][out] */ long *plCallInfoLongVal) = 0;
  4601. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallInfoLong(
  4602. /* [in] */ CALLINFO_LONG CallInfoLong,
  4603. /* [in] */ long lCallInfoLongVal) = 0;
  4604. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallInfoString(
  4605. /* [in] */ CALLINFO_STRING CallInfoString,
  4606. /* [retval][out] */ BSTR *ppCallInfoString) = 0;
  4607. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallInfoString(
  4608. /* [in] */ CALLINFO_STRING CallInfoString,
  4609. /* [in] */ BSTR pCallInfoString) = 0;
  4610. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallInfoBuffer(
  4611. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4612. /* [retval][out] */ VARIANT *ppCallInfoBuffer) = 0;
  4613. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CallInfoBuffer(
  4614. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4615. /* [in] */ VARIANT pCallInfoBuffer) = 0;
  4616. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetCallInfoBuffer(
  4617. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4618. /* [out] */ DWORD *pdwSize,
  4619. /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer) = 0;
  4620. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE SetCallInfoBuffer(
  4621. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4622. /* [in] */ DWORD dwSize,
  4623. /* [size_is][in] */ BYTE *pCallInfoBuffer) = 0;
  4624. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReleaseUserUserInfo( void) = 0;
  4625. };
  4626. #else /* C style interface */
  4627. typedef struct ITCallInfoVtbl
  4628. {
  4629. BEGIN_INTERFACE
  4630. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4631. ITCallInfo * This,
  4632. /* [in] */ REFIID riid,
  4633. /* [iid_is][out] */ void **ppvObject);
  4634. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4635. ITCallInfo * This);
  4636. ULONG ( STDMETHODCALLTYPE *Release )(
  4637. ITCallInfo * This);
  4638. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4639. ITCallInfo * This,
  4640. /* [out] */ UINT *pctinfo);
  4641. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4642. ITCallInfo * This,
  4643. /* [in] */ UINT iTInfo,
  4644. /* [in] */ LCID lcid,
  4645. /* [out] */ ITypeInfo **ppTInfo);
  4646. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4647. ITCallInfo * This,
  4648. /* [in] */ REFIID riid,
  4649. /* [size_is][in] */ LPOLESTR *rgszNames,
  4650. /* [in] */ UINT cNames,
  4651. /* [in] */ LCID lcid,
  4652. /* [size_is][out] */ DISPID *rgDispId);
  4653. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4654. ITCallInfo * This,
  4655. /* [in] */ DISPID dispIdMember,
  4656. /* [in] */ REFIID riid,
  4657. /* [in] */ LCID lcid,
  4658. /* [in] */ WORD wFlags,
  4659. /* [out][in] */ DISPPARAMS *pDispParams,
  4660. /* [out] */ VARIANT *pVarResult,
  4661. /* [out] */ EXCEPINFO *pExcepInfo,
  4662. /* [out] */ UINT *puArgErr);
  4663. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  4664. ITCallInfo * This,
  4665. /* [retval][out] */ ITAddress **ppAddress);
  4666. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallState )(
  4667. ITCallInfo * This,
  4668. /* [retval][out] */ CALL_STATE *pCallState);
  4669. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Privilege )(
  4670. ITCallInfo * This,
  4671. /* [retval][out] */ CALL_PRIVILEGE *pPrivilege);
  4672. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )(
  4673. ITCallInfo * This,
  4674. /* [retval][out] */ ITCallHub **ppCallHub);
  4675. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoLong )(
  4676. ITCallInfo * This,
  4677. /* [in] */ CALLINFO_LONG CallInfoLong,
  4678. /* [retval][out] */ long *plCallInfoLongVal);
  4679. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoLong )(
  4680. ITCallInfo * This,
  4681. /* [in] */ CALLINFO_LONG CallInfoLong,
  4682. /* [in] */ long lCallInfoLongVal);
  4683. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoString )(
  4684. ITCallInfo * This,
  4685. /* [in] */ CALLINFO_STRING CallInfoString,
  4686. /* [retval][out] */ BSTR *ppCallInfoString);
  4687. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoString )(
  4688. ITCallInfo * This,
  4689. /* [in] */ CALLINFO_STRING CallInfoString,
  4690. /* [in] */ BSTR pCallInfoString);
  4691. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoBuffer )(
  4692. ITCallInfo * This,
  4693. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4694. /* [retval][out] */ VARIANT *ppCallInfoBuffer);
  4695. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoBuffer )(
  4696. ITCallInfo * This,
  4697. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4698. /* [in] */ VARIANT pCallInfoBuffer);
  4699. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetCallInfoBuffer )(
  4700. ITCallInfo * This,
  4701. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4702. /* [out] */ DWORD *pdwSize,
  4703. /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer);
  4704. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetCallInfoBuffer )(
  4705. ITCallInfo * This,
  4706. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4707. /* [in] */ DWORD dwSize,
  4708. /* [size_is][in] */ BYTE *pCallInfoBuffer);
  4709. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReleaseUserUserInfo )(
  4710. ITCallInfo * This);
  4711. END_INTERFACE
  4712. } ITCallInfoVtbl;
  4713. interface ITCallInfo
  4714. {
  4715. CONST_VTBL struct ITCallInfoVtbl *lpVtbl;
  4716. };
  4717. #ifdef COBJMACROS
  4718. #define ITCallInfo_QueryInterface(This,riid,ppvObject) \
  4719. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4720. #define ITCallInfo_AddRef(This) \
  4721. (This)->lpVtbl -> AddRef(This)
  4722. #define ITCallInfo_Release(This) \
  4723. (This)->lpVtbl -> Release(This)
  4724. #define ITCallInfo_GetTypeInfoCount(This,pctinfo) \
  4725. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4726. #define ITCallInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4727. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4728. #define ITCallInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4729. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4730. #define ITCallInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4731. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4732. #define ITCallInfo_get_Address(This,ppAddress) \
  4733. (This)->lpVtbl -> get_Address(This,ppAddress)
  4734. #define ITCallInfo_get_CallState(This,pCallState) \
  4735. (This)->lpVtbl -> get_CallState(This,pCallState)
  4736. #define ITCallInfo_get_Privilege(This,pPrivilege) \
  4737. (This)->lpVtbl -> get_Privilege(This,pPrivilege)
  4738. #define ITCallInfo_get_CallHub(This,ppCallHub) \
  4739. (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  4740. #define ITCallInfo_get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal) \
  4741. (This)->lpVtbl -> get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal)
  4742. #define ITCallInfo_put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal) \
  4743. (This)->lpVtbl -> put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal)
  4744. #define ITCallInfo_get_CallInfoString(This,CallInfoString,ppCallInfoString) \
  4745. (This)->lpVtbl -> get_CallInfoString(This,CallInfoString,ppCallInfoString)
  4746. #define ITCallInfo_put_CallInfoString(This,CallInfoString,pCallInfoString) \
  4747. (This)->lpVtbl -> put_CallInfoString(This,CallInfoString,pCallInfoString)
  4748. #define ITCallInfo_get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer) \
  4749. (This)->lpVtbl -> get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer)
  4750. #define ITCallInfo_put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer) \
  4751. (This)->lpVtbl -> put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer)
  4752. #define ITCallInfo_GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer) \
  4753. (This)->lpVtbl -> GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer)
  4754. #define ITCallInfo_SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer) \
  4755. (This)->lpVtbl -> SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer)
  4756. #define ITCallInfo_ReleaseUserUserInfo(This) \
  4757. (This)->lpVtbl -> ReleaseUserUserInfo(This)
  4758. #endif /* COBJMACROS */
  4759. #endif /* C style interface */
  4760. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_Address_Proxy(
  4761. ITCallInfo * This,
  4762. /* [retval][out] */ ITAddress **ppAddress);
  4763. void __RPC_STUB ITCallInfo_get_Address_Stub(
  4764. IRpcStubBuffer *This,
  4765. IRpcChannelBuffer *_pRpcChannelBuffer,
  4766. PRPC_MESSAGE _pRpcMessage,
  4767. DWORD *_pdwStubPhase);
  4768. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallState_Proxy(
  4769. ITCallInfo * This,
  4770. /* [retval][out] */ CALL_STATE *pCallState);
  4771. void __RPC_STUB ITCallInfo_get_CallState_Stub(
  4772. IRpcStubBuffer *This,
  4773. IRpcChannelBuffer *_pRpcChannelBuffer,
  4774. PRPC_MESSAGE _pRpcMessage,
  4775. DWORD *_pdwStubPhase);
  4776. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_Privilege_Proxy(
  4777. ITCallInfo * This,
  4778. /* [retval][out] */ CALL_PRIVILEGE *pPrivilege);
  4779. void __RPC_STUB ITCallInfo_get_Privilege_Stub(
  4780. IRpcStubBuffer *This,
  4781. IRpcChannelBuffer *_pRpcChannelBuffer,
  4782. PRPC_MESSAGE _pRpcMessage,
  4783. DWORD *_pdwStubPhase);
  4784. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallHub_Proxy(
  4785. ITCallInfo * This,
  4786. /* [retval][out] */ ITCallHub **ppCallHub);
  4787. void __RPC_STUB ITCallInfo_get_CallHub_Stub(
  4788. IRpcStubBuffer *This,
  4789. IRpcChannelBuffer *_pRpcChannelBuffer,
  4790. PRPC_MESSAGE _pRpcMessage,
  4791. DWORD *_pdwStubPhase);
  4792. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallInfoLong_Proxy(
  4793. ITCallInfo * This,
  4794. /* [in] */ CALLINFO_LONG CallInfoLong,
  4795. /* [retval][out] */ long *plCallInfoLongVal);
  4796. void __RPC_STUB ITCallInfo_get_CallInfoLong_Stub(
  4797. IRpcStubBuffer *This,
  4798. IRpcChannelBuffer *_pRpcChannelBuffer,
  4799. PRPC_MESSAGE _pRpcMessage,
  4800. DWORD *_pdwStubPhase);
  4801. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo_put_CallInfoLong_Proxy(
  4802. ITCallInfo * This,
  4803. /* [in] */ CALLINFO_LONG CallInfoLong,
  4804. /* [in] */ long lCallInfoLongVal);
  4805. void __RPC_STUB ITCallInfo_put_CallInfoLong_Stub(
  4806. IRpcStubBuffer *This,
  4807. IRpcChannelBuffer *_pRpcChannelBuffer,
  4808. PRPC_MESSAGE _pRpcMessage,
  4809. DWORD *_pdwStubPhase);
  4810. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallInfoString_Proxy(
  4811. ITCallInfo * This,
  4812. /* [in] */ CALLINFO_STRING CallInfoString,
  4813. /* [retval][out] */ BSTR *ppCallInfoString);
  4814. void __RPC_STUB ITCallInfo_get_CallInfoString_Stub(
  4815. IRpcStubBuffer *This,
  4816. IRpcChannelBuffer *_pRpcChannelBuffer,
  4817. PRPC_MESSAGE _pRpcMessage,
  4818. DWORD *_pdwStubPhase);
  4819. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo_put_CallInfoString_Proxy(
  4820. ITCallInfo * This,
  4821. /* [in] */ CALLINFO_STRING CallInfoString,
  4822. /* [in] */ BSTR pCallInfoString);
  4823. void __RPC_STUB ITCallInfo_put_CallInfoString_Stub(
  4824. IRpcStubBuffer *This,
  4825. IRpcChannelBuffer *_pRpcChannelBuffer,
  4826. PRPC_MESSAGE _pRpcMessage,
  4827. DWORD *_pdwStubPhase);
  4828. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo_get_CallInfoBuffer_Proxy(
  4829. ITCallInfo * This,
  4830. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4831. /* [retval][out] */ VARIANT *ppCallInfoBuffer);
  4832. void __RPC_STUB ITCallInfo_get_CallInfoBuffer_Stub(
  4833. IRpcStubBuffer *This,
  4834. IRpcChannelBuffer *_pRpcChannelBuffer,
  4835. PRPC_MESSAGE _pRpcMessage,
  4836. DWORD *_pdwStubPhase);
  4837. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo_put_CallInfoBuffer_Proxy(
  4838. ITCallInfo * This,
  4839. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4840. /* [in] */ VARIANT pCallInfoBuffer);
  4841. void __RPC_STUB ITCallInfo_put_CallInfoBuffer_Stub(
  4842. IRpcStubBuffer *This,
  4843. IRpcChannelBuffer *_pRpcChannelBuffer,
  4844. PRPC_MESSAGE _pRpcMessage,
  4845. DWORD *_pdwStubPhase);
  4846. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITCallInfo_GetCallInfoBuffer_Proxy(
  4847. ITCallInfo * This,
  4848. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4849. /* [out] */ DWORD *pdwSize,
  4850. /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer);
  4851. void __RPC_STUB ITCallInfo_GetCallInfoBuffer_Stub(
  4852. IRpcStubBuffer *This,
  4853. IRpcChannelBuffer *_pRpcChannelBuffer,
  4854. PRPC_MESSAGE _pRpcMessage,
  4855. DWORD *_pdwStubPhase);
  4856. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITCallInfo_SetCallInfoBuffer_Proxy(
  4857. ITCallInfo * This,
  4858. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4859. /* [in] */ DWORD dwSize,
  4860. /* [size_is][in] */ BYTE *pCallInfoBuffer);
  4861. void __RPC_STUB ITCallInfo_SetCallInfoBuffer_Stub(
  4862. IRpcStubBuffer *This,
  4863. IRpcChannelBuffer *_pRpcChannelBuffer,
  4864. PRPC_MESSAGE _pRpcMessage,
  4865. DWORD *_pdwStubPhase);
  4866. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCallInfo_ReleaseUserUserInfo_Proxy(
  4867. ITCallInfo * This);
  4868. void __RPC_STUB ITCallInfo_ReleaseUserUserInfo_Stub(
  4869. IRpcStubBuffer *This,
  4870. IRpcChannelBuffer *_pRpcChannelBuffer,
  4871. PRPC_MESSAGE _pRpcMessage,
  4872. DWORD *_pdwStubPhase);
  4873. #endif /* __ITCallInfo_INTERFACE_DEFINED__ */
  4874. #ifndef __ITCallInfo2_INTERFACE_DEFINED__
  4875. #define __ITCallInfo2_INTERFACE_DEFINED__
  4876. /* interface ITCallInfo2 */
  4877. /* [object][dual][helpstring][uuid] */
  4878. EXTERN_C const IID IID_ITCallInfo2;
  4879. #if defined(__cplusplus) && !defined(CINTERFACE)
  4880. MIDL_INTERFACE("94D70CA6-7AB0-4daa-81CA-B8F8643FAEC1")
  4881. ITCallInfo2 : public ITCallInfo
  4882. {
  4883. public:
  4884. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventFilter(
  4885. /* [in] */ TAPI_EVENT TapiEvent,
  4886. /* [in] */ long lSubEvent,
  4887. /* [retval][out] */ VARIANT_BOOL *pEnable) = 0;
  4888. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_EventFilter(
  4889. /* [in] */ TAPI_EVENT TapiEvent,
  4890. /* [in] */ long lSubEvent,
  4891. /* [in] */ VARIANT_BOOL bEnable) = 0;
  4892. };
  4893. #else /* C style interface */
  4894. typedef struct ITCallInfo2Vtbl
  4895. {
  4896. BEGIN_INTERFACE
  4897. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4898. ITCallInfo2 * This,
  4899. /* [in] */ REFIID riid,
  4900. /* [iid_is][out] */ void **ppvObject);
  4901. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4902. ITCallInfo2 * This);
  4903. ULONG ( STDMETHODCALLTYPE *Release )(
  4904. ITCallInfo2 * This);
  4905. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  4906. ITCallInfo2 * This,
  4907. /* [out] */ UINT *pctinfo);
  4908. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  4909. ITCallInfo2 * This,
  4910. /* [in] */ UINT iTInfo,
  4911. /* [in] */ LCID lcid,
  4912. /* [out] */ ITypeInfo **ppTInfo);
  4913. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  4914. ITCallInfo2 * This,
  4915. /* [in] */ REFIID riid,
  4916. /* [size_is][in] */ LPOLESTR *rgszNames,
  4917. /* [in] */ UINT cNames,
  4918. /* [in] */ LCID lcid,
  4919. /* [size_is][out] */ DISPID *rgDispId);
  4920. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  4921. ITCallInfo2 * This,
  4922. /* [in] */ DISPID dispIdMember,
  4923. /* [in] */ REFIID riid,
  4924. /* [in] */ LCID lcid,
  4925. /* [in] */ WORD wFlags,
  4926. /* [out][in] */ DISPPARAMS *pDispParams,
  4927. /* [out] */ VARIANT *pVarResult,
  4928. /* [out] */ EXCEPINFO *pExcepInfo,
  4929. /* [out] */ UINT *puArgErr);
  4930. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  4931. ITCallInfo2 * This,
  4932. /* [retval][out] */ ITAddress **ppAddress);
  4933. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallState )(
  4934. ITCallInfo2 * This,
  4935. /* [retval][out] */ CALL_STATE *pCallState);
  4936. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Privilege )(
  4937. ITCallInfo2 * This,
  4938. /* [retval][out] */ CALL_PRIVILEGE *pPrivilege);
  4939. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )(
  4940. ITCallInfo2 * This,
  4941. /* [retval][out] */ ITCallHub **ppCallHub);
  4942. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoLong )(
  4943. ITCallInfo2 * This,
  4944. /* [in] */ CALLINFO_LONG CallInfoLong,
  4945. /* [retval][out] */ long *plCallInfoLongVal);
  4946. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoLong )(
  4947. ITCallInfo2 * This,
  4948. /* [in] */ CALLINFO_LONG CallInfoLong,
  4949. /* [in] */ long lCallInfoLongVal);
  4950. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoString )(
  4951. ITCallInfo2 * This,
  4952. /* [in] */ CALLINFO_STRING CallInfoString,
  4953. /* [retval][out] */ BSTR *ppCallInfoString);
  4954. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoString )(
  4955. ITCallInfo2 * This,
  4956. /* [in] */ CALLINFO_STRING CallInfoString,
  4957. /* [in] */ BSTR pCallInfoString);
  4958. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallInfoBuffer )(
  4959. ITCallInfo2 * This,
  4960. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4961. /* [retval][out] */ VARIANT *ppCallInfoBuffer);
  4962. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CallInfoBuffer )(
  4963. ITCallInfo2 * This,
  4964. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4965. /* [in] */ VARIANT pCallInfoBuffer);
  4966. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetCallInfoBuffer )(
  4967. ITCallInfo2 * This,
  4968. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4969. /* [out] */ DWORD *pdwSize,
  4970. /* [size_is][size_is][out] */ BYTE **ppCallInfoBuffer);
  4971. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetCallInfoBuffer )(
  4972. ITCallInfo2 * This,
  4973. /* [in] */ CALLINFO_BUFFER CallInfoBuffer,
  4974. /* [in] */ DWORD dwSize,
  4975. /* [size_is][in] */ BYTE *pCallInfoBuffer);
  4976. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ReleaseUserUserInfo )(
  4977. ITCallInfo2 * This);
  4978. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventFilter )(
  4979. ITCallInfo2 * This,
  4980. /* [in] */ TAPI_EVENT TapiEvent,
  4981. /* [in] */ long lSubEvent,
  4982. /* [retval][out] */ VARIANT_BOOL *pEnable);
  4983. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_EventFilter )(
  4984. ITCallInfo2 * This,
  4985. /* [in] */ TAPI_EVENT TapiEvent,
  4986. /* [in] */ long lSubEvent,
  4987. /* [in] */ VARIANT_BOOL bEnable);
  4988. END_INTERFACE
  4989. } ITCallInfo2Vtbl;
  4990. interface ITCallInfo2
  4991. {
  4992. CONST_VTBL struct ITCallInfo2Vtbl *lpVtbl;
  4993. };
  4994. #ifdef COBJMACROS
  4995. #define ITCallInfo2_QueryInterface(This,riid,ppvObject) \
  4996. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4997. #define ITCallInfo2_AddRef(This) \
  4998. (This)->lpVtbl -> AddRef(This)
  4999. #define ITCallInfo2_Release(This) \
  5000. (This)->lpVtbl -> Release(This)
  5001. #define ITCallInfo2_GetTypeInfoCount(This,pctinfo) \
  5002. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5003. #define ITCallInfo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5004. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5005. #define ITCallInfo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5006. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5007. #define ITCallInfo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5008. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5009. #define ITCallInfo2_get_Address(This,ppAddress) \
  5010. (This)->lpVtbl -> get_Address(This,ppAddress)
  5011. #define ITCallInfo2_get_CallState(This,pCallState) \
  5012. (This)->lpVtbl -> get_CallState(This,pCallState)
  5013. #define ITCallInfo2_get_Privilege(This,pPrivilege) \
  5014. (This)->lpVtbl -> get_Privilege(This,pPrivilege)
  5015. #define ITCallInfo2_get_CallHub(This,ppCallHub) \
  5016. (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  5017. #define ITCallInfo2_get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal) \
  5018. (This)->lpVtbl -> get_CallInfoLong(This,CallInfoLong,plCallInfoLongVal)
  5019. #define ITCallInfo2_put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal) \
  5020. (This)->lpVtbl -> put_CallInfoLong(This,CallInfoLong,lCallInfoLongVal)
  5021. #define ITCallInfo2_get_CallInfoString(This,CallInfoString,ppCallInfoString) \
  5022. (This)->lpVtbl -> get_CallInfoString(This,CallInfoString,ppCallInfoString)
  5023. #define ITCallInfo2_put_CallInfoString(This,CallInfoString,pCallInfoString) \
  5024. (This)->lpVtbl -> put_CallInfoString(This,CallInfoString,pCallInfoString)
  5025. #define ITCallInfo2_get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer) \
  5026. (This)->lpVtbl -> get_CallInfoBuffer(This,CallInfoBuffer,ppCallInfoBuffer)
  5027. #define ITCallInfo2_put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer) \
  5028. (This)->lpVtbl -> put_CallInfoBuffer(This,CallInfoBuffer,pCallInfoBuffer)
  5029. #define ITCallInfo2_GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer) \
  5030. (This)->lpVtbl -> GetCallInfoBuffer(This,CallInfoBuffer,pdwSize,ppCallInfoBuffer)
  5031. #define ITCallInfo2_SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer) \
  5032. (This)->lpVtbl -> SetCallInfoBuffer(This,CallInfoBuffer,dwSize,pCallInfoBuffer)
  5033. #define ITCallInfo2_ReleaseUserUserInfo(This) \
  5034. (This)->lpVtbl -> ReleaseUserUserInfo(This)
  5035. #define ITCallInfo2_get_EventFilter(This,TapiEvent,lSubEvent,pEnable) \
  5036. (This)->lpVtbl -> get_EventFilter(This,TapiEvent,lSubEvent,pEnable)
  5037. #define ITCallInfo2_put_EventFilter(This,TapiEvent,lSubEvent,bEnable) \
  5038. (This)->lpVtbl -> put_EventFilter(This,TapiEvent,lSubEvent,bEnable)
  5039. #endif /* COBJMACROS */
  5040. #endif /* C style interface */
  5041. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfo2_get_EventFilter_Proxy(
  5042. ITCallInfo2 * This,
  5043. /* [in] */ TAPI_EVENT TapiEvent,
  5044. /* [in] */ long lSubEvent,
  5045. /* [retval][out] */ VARIANT_BOOL *pEnable);
  5046. void __RPC_STUB ITCallInfo2_get_EventFilter_Stub(
  5047. IRpcStubBuffer *This,
  5048. IRpcChannelBuffer *_pRpcChannelBuffer,
  5049. PRPC_MESSAGE _pRpcMessage,
  5050. DWORD *_pdwStubPhase);
  5051. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCallInfo2_put_EventFilter_Proxy(
  5052. ITCallInfo2 * This,
  5053. /* [in] */ TAPI_EVENT TapiEvent,
  5054. /* [in] */ long lSubEvent,
  5055. /* [in] */ VARIANT_BOOL bEnable);
  5056. void __RPC_STUB ITCallInfo2_put_EventFilter_Stub(
  5057. IRpcStubBuffer *This,
  5058. IRpcChannelBuffer *_pRpcChannelBuffer,
  5059. PRPC_MESSAGE _pRpcMessage,
  5060. DWORD *_pdwStubPhase);
  5061. #endif /* __ITCallInfo2_INTERFACE_DEFINED__ */
  5062. #ifndef __ITTerminal_INTERFACE_DEFINED__
  5063. #define __ITTerminal_INTERFACE_DEFINED__
  5064. /* interface ITTerminal */
  5065. /* [object][dual][helpstring][uuid] */
  5066. EXTERN_C const IID IID_ITTerminal;
  5067. #if defined(__cplusplus) && !defined(CINTERFACE)
  5068. MIDL_INTERFACE("B1EFC38A-9355-11d0-835C-00AA003CCABD")
  5069. ITTerminal : public IDispatch
  5070. {
  5071. public:
  5072. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  5073. /* [retval][out] */ BSTR *ppName) = 0;
  5074. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  5075. /* [retval][out] */ TERMINAL_STATE *pTerminalState) = 0;
  5076. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TerminalType(
  5077. /* [retval][out] */ TERMINAL_TYPE *pType) = 0;
  5078. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TerminalClass(
  5079. /* [retval][out] */ BSTR *ppTerminalClass) = 0;
  5080. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType(
  5081. /* [retval][out] */ long *plMediaType) = 0;
  5082. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Direction(
  5083. /* [retval][out] */ TERMINAL_DIRECTION *pDirection) = 0;
  5084. };
  5085. #else /* C style interface */
  5086. typedef struct ITTerminalVtbl
  5087. {
  5088. BEGIN_INTERFACE
  5089. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5090. ITTerminal * This,
  5091. /* [in] */ REFIID riid,
  5092. /* [iid_is][out] */ void **ppvObject);
  5093. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5094. ITTerminal * This);
  5095. ULONG ( STDMETHODCALLTYPE *Release )(
  5096. ITTerminal * This);
  5097. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5098. ITTerminal * This,
  5099. /* [out] */ UINT *pctinfo);
  5100. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5101. ITTerminal * This,
  5102. /* [in] */ UINT iTInfo,
  5103. /* [in] */ LCID lcid,
  5104. /* [out] */ ITypeInfo **ppTInfo);
  5105. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5106. ITTerminal * This,
  5107. /* [in] */ REFIID riid,
  5108. /* [size_is][in] */ LPOLESTR *rgszNames,
  5109. /* [in] */ UINT cNames,
  5110. /* [in] */ LCID lcid,
  5111. /* [size_is][out] */ DISPID *rgDispId);
  5112. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5113. ITTerminal * This,
  5114. /* [in] */ DISPID dispIdMember,
  5115. /* [in] */ REFIID riid,
  5116. /* [in] */ LCID lcid,
  5117. /* [in] */ WORD wFlags,
  5118. /* [out][in] */ DISPPARAMS *pDispParams,
  5119. /* [out] */ VARIANT *pVarResult,
  5120. /* [out] */ EXCEPINFO *pExcepInfo,
  5121. /* [out] */ UINT *puArgErr);
  5122. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  5123. ITTerminal * This,
  5124. /* [retval][out] */ BSTR *ppName);
  5125. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  5126. ITTerminal * This,
  5127. /* [retval][out] */ TERMINAL_STATE *pTerminalState);
  5128. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalType )(
  5129. ITTerminal * This,
  5130. /* [retval][out] */ TERMINAL_TYPE *pType);
  5131. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TerminalClass )(
  5132. ITTerminal * This,
  5133. /* [retval][out] */ BSTR *ppTerminalClass);
  5134. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )(
  5135. ITTerminal * This,
  5136. /* [retval][out] */ long *plMediaType);
  5137. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )(
  5138. ITTerminal * This,
  5139. /* [retval][out] */ TERMINAL_DIRECTION *pDirection);
  5140. END_INTERFACE
  5141. } ITTerminalVtbl;
  5142. interface ITTerminal
  5143. {
  5144. CONST_VTBL struct ITTerminalVtbl *lpVtbl;
  5145. };
  5146. #ifdef COBJMACROS
  5147. #define ITTerminal_QueryInterface(This,riid,ppvObject) \
  5148. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5149. #define ITTerminal_AddRef(This) \
  5150. (This)->lpVtbl -> AddRef(This)
  5151. #define ITTerminal_Release(This) \
  5152. (This)->lpVtbl -> Release(This)
  5153. #define ITTerminal_GetTypeInfoCount(This,pctinfo) \
  5154. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5155. #define ITTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5156. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5157. #define ITTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5158. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5159. #define ITTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5160. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5161. #define ITTerminal_get_Name(This,ppName) \
  5162. (This)->lpVtbl -> get_Name(This,ppName)
  5163. #define ITTerminal_get_State(This,pTerminalState) \
  5164. (This)->lpVtbl -> get_State(This,pTerminalState)
  5165. #define ITTerminal_get_TerminalType(This,pType) \
  5166. (This)->lpVtbl -> get_TerminalType(This,pType)
  5167. #define ITTerminal_get_TerminalClass(This,ppTerminalClass) \
  5168. (This)->lpVtbl -> get_TerminalClass(This,ppTerminalClass)
  5169. #define ITTerminal_get_MediaType(This,plMediaType) \
  5170. (This)->lpVtbl -> get_MediaType(This,plMediaType)
  5171. #define ITTerminal_get_Direction(This,pDirection) \
  5172. (This)->lpVtbl -> get_Direction(This,pDirection)
  5173. #endif /* COBJMACROS */
  5174. #endif /* C style interface */
  5175. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_Name_Proxy(
  5176. ITTerminal * This,
  5177. /* [retval][out] */ BSTR *ppName);
  5178. void __RPC_STUB ITTerminal_get_Name_Stub(
  5179. IRpcStubBuffer *This,
  5180. IRpcChannelBuffer *_pRpcChannelBuffer,
  5181. PRPC_MESSAGE _pRpcMessage,
  5182. DWORD *_pdwStubPhase);
  5183. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_State_Proxy(
  5184. ITTerminal * This,
  5185. /* [retval][out] */ TERMINAL_STATE *pTerminalState);
  5186. void __RPC_STUB ITTerminal_get_State_Stub(
  5187. IRpcStubBuffer *This,
  5188. IRpcChannelBuffer *_pRpcChannelBuffer,
  5189. PRPC_MESSAGE _pRpcMessage,
  5190. DWORD *_pdwStubPhase);
  5191. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_TerminalType_Proxy(
  5192. ITTerminal * This,
  5193. /* [retval][out] */ TERMINAL_TYPE *pType);
  5194. void __RPC_STUB ITTerminal_get_TerminalType_Stub(
  5195. IRpcStubBuffer *This,
  5196. IRpcChannelBuffer *_pRpcChannelBuffer,
  5197. PRPC_MESSAGE _pRpcMessage,
  5198. DWORD *_pdwStubPhase);
  5199. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_TerminalClass_Proxy(
  5200. ITTerminal * This,
  5201. /* [retval][out] */ BSTR *ppTerminalClass);
  5202. void __RPC_STUB ITTerminal_get_TerminalClass_Stub(
  5203. IRpcStubBuffer *This,
  5204. IRpcChannelBuffer *_pRpcChannelBuffer,
  5205. PRPC_MESSAGE _pRpcMessage,
  5206. DWORD *_pdwStubPhase);
  5207. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_MediaType_Proxy(
  5208. ITTerminal * This,
  5209. /* [retval][out] */ long *plMediaType);
  5210. void __RPC_STUB ITTerminal_get_MediaType_Stub(
  5211. IRpcStubBuffer *This,
  5212. IRpcChannelBuffer *_pRpcChannelBuffer,
  5213. PRPC_MESSAGE _pRpcMessage,
  5214. DWORD *_pdwStubPhase);
  5215. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTerminal_get_Direction_Proxy(
  5216. ITTerminal * This,
  5217. /* [retval][out] */ TERMINAL_DIRECTION *pDirection);
  5218. void __RPC_STUB ITTerminal_get_Direction_Stub(
  5219. IRpcStubBuffer *This,
  5220. IRpcChannelBuffer *_pRpcChannelBuffer,
  5221. PRPC_MESSAGE _pRpcMessage,
  5222. DWORD *_pdwStubPhase);
  5223. #endif /* __ITTerminal_INTERFACE_DEFINED__ */
  5224. #ifndef __ITMultiTrackTerminal_INTERFACE_DEFINED__
  5225. #define __ITMultiTrackTerminal_INTERFACE_DEFINED__
  5226. /* interface ITMultiTrackTerminal */
  5227. /* [helpstring][dual][uuid][object] */
  5228. EXTERN_C const IID IID_ITMultiTrackTerminal;
  5229. #if defined(__cplusplus) && !defined(CINTERFACE)
  5230. MIDL_INTERFACE("FE040091-ADE8-4072-95C9-BF7DE8C54B44")
  5231. ITMultiTrackTerminal : public IDispatch
  5232. {
  5233. public:
  5234. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TrackTerminals(
  5235. /* [retval][out] */ VARIANT *pVariant) = 0;
  5236. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTrackTerminals(
  5237. /* [retval][out] */ IEnumTerminal **ppEnumTerminal) = 0;
  5238. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateTrackTerminal(
  5239. /* [in] */ long MediaType,
  5240. /* [in] */ TERMINAL_DIRECTION TerminalDirection,
  5241. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  5242. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaTypesInUse(
  5243. /* [retval][out] */ long *plMediaTypesInUse) = 0;
  5244. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DirectionsInUse(
  5245. /* [retval][out] */ TERMINAL_DIRECTION *plDirectionsInUsed) = 0;
  5246. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveTrackTerminal(
  5247. /* [in] */ ITTerminal *pTrackTerminalToRemove) = 0;
  5248. };
  5249. #else /* C style interface */
  5250. typedef struct ITMultiTrackTerminalVtbl
  5251. {
  5252. BEGIN_INTERFACE
  5253. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5254. ITMultiTrackTerminal * This,
  5255. /* [in] */ REFIID riid,
  5256. /* [iid_is][out] */ void **ppvObject);
  5257. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5258. ITMultiTrackTerminal * This);
  5259. ULONG ( STDMETHODCALLTYPE *Release )(
  5260. ITMultiTrackTerminal * This);
  5261. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5262. ITMultiTrackTerminal * This,
  5263. /* [out] */ UINT *pctinfo);
  5264. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5265. ITMultiTrackTerminal * This,
  5266. /* [in] */ UINT iTInfo,
  5267. /* [in] */ LCID lcid,
  5268. /* [out] */ ITypeInfo **ppTInfo);
  5269. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5270. ITMultiTrackTerminal * This,
  5271. /* [in] */ REFIID riid,
  5272. /* [size_is][in] */ LPOLESTR *rgszNames,
  5273. /* [in] */ UINT cNames,
  5274. /* [in] */ LCID lcid,
  5275. /* [size_is][out] */ DISPID *rgDispId);
  5276. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5277. ITMultiTrackTerminal * This,
  5278. /* [in] */ DISPID dispIdMember,
  5279. /* [in] */ REFIID riid,
  5280. /* [in] */ LCID lcid,
  5281. /* [in] */ WORD wFlags,
  5282. /* [out][in] */ DISPPARAMS *pDispParams,
  5283. /* [out] */ VARIANT *pVarResult,
  5284. /* [out] */ EXCEPINFO *pExcepInfo,
  5285. /* [out] */ UINT *puArgErr);
  5286. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TrackTerminals )(
  5287. ITMultiTrackTerminal * This,
  5288. /* [retval][out] */ VARIANT *pVariant);
  5289. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTrackTerminals )(
  5290. ITMultiTrackTerminal * This,
  5291. /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
  5292. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateTrackTerminal )(
  5293. ITMultiTrackTerminal * This,
  5294. /* [in] */ long MediaType,
  5295. /* [in] */ TERMINAL_DIRECTION TerminalDirection,
  5296. /* [retval][out] */ ITTerminal **ppTerminal);
  5297. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypesInUse )(
  5298. ITMultiTrackTerminal * This,
  5299. /* [retval][out] */ long *plMediaTypesInUse);
  5300. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DirectionsInUse )(
  5301. ITMultiTrackTerminal * This,
  5302. /* [retval][out] */ TERMINAL_DIRECTION *plDirectionsInUsed);
  5303. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveTrackTerminal )(
  5304. ITMultiTrackTerminal * This,
  5305. /* [in] */ ITTerminal *pTrackTerminalToRemove);
  5306. END_INTERFACE
  5307. } ITMultiTrackTerminalVtbl;
  5308. interface ITMultiTrackTerminal
  5309. {
  5310. CONST_VTBL struct ITMultiTrackTerminalVtbl *lpVtbl;
  5311. };
  5312. #ifdef COBJMACROS
  5313. #define ITMultiTrackTerminal_QueryInterface(This,riid,ppvObject) \
  5314. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5315. #define ITMultiTrackTerminal_AddRef(This) \
  5316. (This)->lpVtbl -> AddRef(This)
  5317. #define ITMultiTrackTerminal_Release(This) \
  5318. (This)->lpVtbl -> Release(This)
  5319. #define ITMultiTrackTerminal_GetTypeInfoCount(This,pctinfo) \
  5320. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5321. #define ITMultiTrackTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5322. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5323. #define ITMultiTrackTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5324. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5325. #define ITMultiTrackTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5326. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5327. #define ITMultiTrackTerminal_get_TrackTerminals(This,pVariant) \
  5328. (This)->lpVtbl -> get_TrackTerminals(This,pVariant)
  5329. #define ITMultiTrackTerminal_EnumerateTrackTerminals(This,ppEnumTerminal) \
  5330. (This)->lpVtbl -> EnumerateTrackTerminals(This,ppEnumTerminal)
  5331. #define ITMultiTrackTerminal_CreateTrackTerminal(This,MediaType,TerminalDirection,ppTerminal) \
  5332. (This)->lpVtbl -> CreateTrackTerminal(This,MediaType,TerminalDirection,ppTerminal)
  5333. #define ITMultiTrackTerminal_get_MediaTypesInUse(This,plMediaTypesInUse) \
  5334. (This)->lpVtbl -> get_MediaTypesInUse(This,plMediaTypesInUse)
  5335. #define ITMultiTrackTerminal_get_DirectionsInUse(This,plDirectionsInUsed) \
  5336. (This)->lpVtbl -> get_DirectionsInUse(This,plDirectionsInUsed)
  5337. #define ITMultiTrackTerminal_RemoveTrackTerminal(This,pTrackTerminalToRemove) \
  5338. (This)->lpVtbl -> RemoveTrackTerminal(This,pTrackTerminalToRemove)
  5339. #endif /* COBJMACROS */
  5340. #endif /* C style interface */
  5341. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_get_TrackTerminals_Proxy(
  5342. ITMultiTrackTerminal * This,
  5343. /* [retval][out] */ VARIANT *pVariant);
  5344. void __RPC_STUB ITMultiTrackTerminal_get_TrackTerminals_Stub(
  5345. IRpcStubBuffer *This,
  5346. IRpcChannelBuffer *_pRpcChannelBuffer,
  5347. PRPC_MESSAGE _pRpcMessage,
  5348. DWORD *_pdwStubPhase);
  5349. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_EnumerateTrackTerminals_Proxy(
  5350. ITMultiTrackTerminal * This,
  5351. /* [retval][out] */ IEnumTerminal **ppEnumTerminal);
  5352. void __RPC_STUB ITMultiTrackTerminal_EnumerateTrackTerminals_Stub(
  5353. IRpcStubBuffer *This,
  5354. IRpcChannelBuffer *_pRpcChannelBuffer,
  5355. PRPC_MESSAGE _pRpcMessage,
  5356. DWORD *_pdwStubPhase);
  5357. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_CreateTrackTerminal_Proxy(
  5358. ITMultiTrackTerminal * This,
  5359. /* [in] */ long MediaType,
  5360. /* [in] */ TERMINAL_DIRECTION TerminalDirection,
  5361. /* [retval][out] */ ITTerminal **ppTerminal);
  5362. void __RPC_STUB ITMultiTrackTerminal_CreateTrackTerminal_Stub(
  5363. IRpcStubBuffer *This,
  5364. IRpcChannelBuffer *_pRpcChannelBuffer,
  5365. PRPC_MESSAGE _pRpcMessage,
  5366. DWORD *_pdwStubPhase);
  5367. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_get_MediaTypesInUse_Proxy(
  5368. ITMultiTrackTerminal * This,
  5369. /* [retval][out] */ long *plMediaTypesInUse);
  5370. void __RPC_STUB ITMultiTrackTerminal_get_MediaTypesInUse_Stub(
  5371. IRpcStubBuffer *This,
  5372. IRpcChannelBuffer *_pRpcChannelBuffer,
  5373. PRPC_MESSAGE _pRpcMessage,
  5374. DWORD *_pdwStubPhase);
  5375. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_get_DirectionsInUse_Proxy(
  5376. ITMultiTrackTerminal * This,
  5377. /* [retval][out] */ TERMINAL_DIRECTION *plDirectionsInUsed);
  5378. void __RPC_STUB ITMultiTrackTerminal_get_DirectionsInUse_Stub(
  5379. IRpcStubBuffer *This,
  5380. IRpcChannelBuffer *_pRpcChannelBuffer,
  5381. PRPC_MESSAGE _pRpcMessage,
  5382. DWORD *_pdwStubPhase);
  5383. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMultiTrackTerminal_RemoveTrackTerminal_Proxy(
  5384. ITMultiTrackTerminal * This,
  5385. /* [in] */ ITTerminal *pTrackTerminalToRemove);
  5386. void __RPC_STUB ITMultiTrackTerminal_RemoveTrackTerminal_Stub(
  5387. IRpcStubBuffer *This,
  5388. IRpcChannelBuffer *_pRpcChannelBuffer,
  5389. PRPC_MESSAGE _pRpcMessage,
  5390. DWORD *_pdwStubPhase);
  5391. #endif /* __ITMultiTrackTerminal_INTERFACE_DEFINED__ */
  5392. /* interface __MIDL_itf_tapi3if_0426 */
  5393. /* [local] */
  5394. typedef
  5395. enum TERMINAL_MEDIA_STATE
  5396. { TMS_IDLE = 0,
  5397. TMS_ACTIVE = TMS_IDLE + 1,
  5398. TMS_PAUSED = TMS_ACTIVE + 1,
  5399. TMS_LASTITEM = TMS_PAUSED
  5400. } TERMINAL_MEDIA_STATE;
  5401. typedef
  5402. enum FT_STATE_EVENT_CAUSE
  5403. { FTEC_NORMAL = 0,
  5404. FTEC_END_OF_FILE = FTEC_NORMAL + 1,
  5405. FTEC_READ_ERROR = FTEC_END_OF_FILE + 1,
  5406. FTEC_WRITE_ERROR = FTEC_READ_ERROR + 1
  5407. } FT_STATE_EVENT_CAUSE;
  5408. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0426_v0_0_c_ifspec;
  5409. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0426_v0_0_s_ifspec;
  5410. #ifndef __ITFileTrack_INTERFACE_DEFINED__
  5411. #define __ITFileTrack_INTERFACE_DEFINED__
  5412. /* interface ITFileTrack */
  5413. /* [unique][helpstring][dual][uuid][object] */
  5414. EXTERN_C const IID IID_ITFileTrack;
  5415. #if defined(__cplusplus) && !defined(CINTERFACE)
  5416. MIDL_INTERFACE("31CA6EA9-C08A-4bea-8811-8E9C1BA3EA3A")
  5417. ITFileTrack : public IDispatch
  5418. {
  5419. public:
  5420. virtual /* [helpstring][hidden][id][propget] */ HRESULT STDMETHODCALLTYPE get_Format(
  5421. /* [retval][out] */ AM_MEDIA_TYPE **ppmt) = 0;
  5422. virtual /* [helpstring][hidden][id][propput] */ HRESULT STDMETHODCALLTYPE put_Format(
  5423. /* [in] */ const AM_MEDIA_TYPE *pmt) = 0;
  5424. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ControllingTerminal(
  5425. /* [retval][out] */ ITTerminal **ppControllingTerminal) = 0;
  5426. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AudioFormatForScripting(
  5427. /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat) = 0;
  5428. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AudioFormatForScripting(
  5429. /* [in] */ ITScriptableAudioFormat *pAudioFormat) = 0;
  5430. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EmptyAudioFormatForScripting(
  5431. /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat) = 0;
  5432. };
  5433. #else /* C style interface */
  5434. typedef struct ITFileTrackVtbl
  5435. {
  5436. BEGIN_INTERFACE
  5437. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5438. ITFileTrack * This,
  5439. /* [in] */ REFIID riid,
  5440. /* [iid_is][out] */ void **ppvObject);
  5441. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5442. ITFileTrack * This);
  5443. ULONG ( STDMETHODCALLTYPE *Release )(
  5444. ITFileTrack * This);
  5445. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5446. ITFileTrack * This,
  5447. /* [out] */ UINT *pctinfo);
  5448. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5449. ITFileTrack * This,
  5450. /* [in] */ UINT iTInfo,
  5451. /* [in] */ LCID lcid,
  5452. /* [out] */ ITypeInfo **ppTInfo);
  5453. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5454. ITFileTrack * This,
  5455. /* [in] */ REFIID riid,
  5456. /* [size_is][in] */ LPOLESTR *rgszNames,
  5457. /* [in] */ UINT cNames,
  5458. /* [in] */ LCID lcid,
  5459. /* [size_is][out] */ DISPID *rgDispId);
  5460. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5461. ITFileTrack * This,
  5462. /* [in] */ DISPID dispIdMember,
  5463. /* [in] */ REFIID riid,
  5464. /* [in] */ LCID lcid,
  5465. /* [in] */ WORD wFlags,
  5466. /* [out][in] */ DISPPARAMS *pDispParams,
  5467. /* [out] */ VARIANT *pVarResult,
  5468. /* [out] */ EXCEPINFO *pExcepInfo,
  5469. /* [out] */ UINT *puArgErr);
  5470. /* [helpstring][hidden][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Format )(
  5471. ITFileTrack * This,
  5472. /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  5473. /* [helpstring][hidden][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Format )(
  5474. ITFileTrack * This,
  5475. /* [in] */ const AM_MEDIA_TYPE *pmt);
  5476. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ControllingTerminal )(
  5477. ITFileTrack * This,
  5478. /* [retval][out] */ ITTerminal **ppControllingTerminal);
  5479. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AudioFormatForScripting )(
  5480. ITFileTrack * This,
  5481. /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  5482. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AudioFormatForScripting )(
  5483. ITFileTrack * This,
  5484. /* [in] */ ITScriptableAudioFormat *pAudioFormat);
  5485. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EmptyAudioFormatForScripting )(
  5486. ITFileTrack * This,
  5487. /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  5488. END_INTERFACE
  5489. } ITFileTrackVtbl;
  5490. interface ITFileTrack
  5491. {
  5492. CONST_VTBL struct ITFileTrackVtbl *lpVtbl;
  5493. };
  5494. #ifdef COBJMACROS
  5495. #define ITFileTrack_QueryInterface(This,riid,ppvObject) \
  5496. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5497. #define ITFileTrack_AddRef(This) \
  5498. (This)->lpVtbl -> AddRef(This)
  5499. #define ITFileTrack_Release(This) \
  5500. (This)->lpVtbl -> Release(This)
  5501. #define ITFileTrack_GetTypeInfoCount(This,pctinfo) \
  5502. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5503. #define ITFileTrack_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5504. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5505. #define ITFileTrack_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5506. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5507. #define ITFileTrack_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5508. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5509. #define ITFileTrack_get_Format(This,ppmt) \
  5510. (This)->lpVtbl -> get_Format(This,ppmt)
  5511. #define ITFileTrack_put_Format(This,pmt) \
  5512. (This)->lpVtbl -> put_Format(This,pmt)
  5513. #define ITFileTrack_get_ControllingTerminal(This,ppControllingTerminal) \
  5514. (This)->lpVtbl -> get_ControllingTerminal(This,ppControllingTerminal)
  5515. #define ITFileTrack_get_AudioFormatForScripting(This,ppAudioFormat) \
  5516. (This)->lpVtbl -> get_AudioFormatForScripting(This,ppAudioFormat)
  5517. #define ITFileTrack_put_AudioFormatForScripting(This,pAudioFormat) \
  5518. (This)->lpVtbl -> put_AudioFormatForScripting(This,pAudioFormat)
  5519. #define ITFileTrack_get_EmptyAudioFormatForScripting(This,ppAudioFormat) \
  5520. (This)->lpVtbl -> get_EmptyAudioFormatForScripting(This,ppAudioFormat)
  5521. #endif /* COBJMACROS */
  5522. #endif /* C style interface */
  5523. /* [helpstring][hidden][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_Format_Proxy(
  5524. ITFileTrack * This,
  5525. /* [retval][out] */ AM_MEDIA_TYPE **ppmt);
  5526. void __RPC_STUB ITFileTrack_get_Format_Stub(
  5527. IRpcStubBuffer *This,
  5528. IRpcChannelBuffer *_pRpcChannelBuffer,
  5529. PRPC_MESSAGE _pRpcMessage,
  5530. DWORD *_pdwStubPhase);
  5531. /* [helpstring][hidden][id][propput] */ HRESULT STDMETHODCALLTYPE ITFileTrack_put_Format_Proxy(
  5532. ITFileTrack * This,
  5533. /* [in] */ const AM_MEDIA_TYPE *pmt);
  5534. void __RPC_STUB ITFileTrack_put_Format_Stub(
  5535. IRpcStubBuffer *This,
  5536. IRpcChannelBuffer *_pRpcChannelBuffer,
  5537. PRPC_MESSAGE _pRpcMessage,
  5538. DWORD *_pdwStubPhase);
  5539. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_ControllingTerminal_Proxy(
  5540. ITFileTrack * This,
  5541. /* [retval][out] */ ITTerminal **ppControllingTerminal);
  5542. void __RPC_STUB ITFileTrack_get_ControllingTerminal_Stub(
  5543. IRpcStubBuffer *This,
  5544. IRpcChannelBuffer *_pRpcChannelBuffer,
  5545. PRPC_MESSAGE _pRpcMessage,
  5546. DWORD *_pdwStubPhase);
  5547. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_AudioFormatForScripting_Proxy(
  5548. ITFileTrack * This,
  5549. /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  5550. void __RPC_STUB ITFileTrack_get_AudioFormatForScripting_Stub(
  5551. IRpcStubBuffer *This,
  5552. IRpcChannelBuffer *_pRpcChannelBuffer,
  5553. PRPC_MESSAGE _pRpcMessage,
  5554. DWORD *_pdwStubPhase);
  5555. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITFileTrack_put_AudioFormatForScripting_Proxy(
  5556. ITFileTrack * This,
  5557. /* [in] */ ITScriptableAudioFormat *pAudioFormat);
  5558. void __RPC_STUB ITFileTrack_put_AudioFormatForScripting_Stub(
  5559. IRpcStubBuffer *This,
  5560. IRpcChannelBuffer *_pRpcChannelBuffer,
  5561. PRPC_MESSAGE _pRpcMessage,
  5562. DWORD *_pdwStubPhase);
  5563. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTrack_get_EmptyAudioFormatForScripting_Proxy(
  5564. ITFileTrack * This,
  5565. /* [retval][out] */ ITScriptableAudioFormat **ppAudioFormat);
  5566. void __RPC_STUB ITFileTrack_get_EmptyAudioFormatForScripting_Stub(
  5567. IRpcStubBuffer *This,
  5568. IRpcChannelBuffer *_pRpcChannelBuffer,
  5569. PRPC_MESSAGE _pRpcMessage,
  5570. DWORD *_pdwStubPhase);
  5571. #endif /* __ITFileTrack_INTERFACE_DEFINED__ */
  5572. #ifndef __ITMediaPlayback_INTERFACE_DEFINED__
  5573. #define __ITMediaPlayback_INTERFACE_DEFINED__
  5574. /* interface ITMediaPlayback */
  5575. /* [unique][helpstring][dual][uuid][object] */
  5576. EXTERN_C const IID IID_ITMediaPlayback;
  5577. #if defined(__cplusplus) && !defined(CINTERFACE)
  5578. MIDL_INTERFACE("627E8AE6-AE4C-4a69-BB63-2AD625404B77")
  5579. ITMediaPlayback : public IDispatch
  5580. {
  5581. public:
  5582. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PlayList(
  5583. /* [in] */ VARIANTARG PlayListVariant) = 0;
  5584. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PlayList(
  5585. /* [retval][out] */ VARIANTARG *pPlayListVariant) = 0;
  5586. };
  5587. #else /* C style interface */
  5588. typedef struct ITMediaPlaybackVtbl
  5589. {
  5590. BEGIN_INTERFACE
  5591. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5592. ITMediaPlayback * This,
  5593. /* [in] */ REFIID riid,
  5594. /* [iid_is][out] */ void **ppvObject);
  5595. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5596. ITMediaPlayback * This);
  5597. ULONG ( STDMETHODCALLTYPE *Release )(
  5598. ITMediaPlayback * This);
  5599. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5600. ITMediaPlayback * This,
  5601. /* [out] */ UINT *pctinfo);
  5602. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5603. ITMediaPlayback * This,
  5604. /* [in] */ UINT iTInfo,
  5605. /* [in] */ LCID lcid,
  5606. /* [out] */ ITypeInfo **ppTInfo);
  5607. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5608. ITMediaPlayback * This,
  5609. /* [in] */ REFIID riid,
  5610. /* [size_is][in] */ LPOLESTR *rgszNames,
  5611. /* [in] */ UINT cNames,
  5612. /* [in] */ LCID lcid,
  5613. /* [size_is][out] */ DISPID *rgDispId);
  5614. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5615. ITMediaPlayback * This,
  5616. /* [in] */ DISPID dispIdMember,
  5617. /* [in] */ REFIID riid,
  5618. /* [in] */ LCID lcid,
  5619. /* [in] */ WORD wFlags,
  5620. /* [out][in] */ DISPPARAMS *pDispParams,
  5621. /* [out] */ VARIANT *pVarResult,
  5622. /* [out] */ EXCEPINFO *pExcepInfo,
  5623. /* [out] */ UINT *puArgErr);
  5624. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_PlayList )(
  5625. ITMediaPlayback * This,
  5626. /* [in] */ VARIANTARG PlayListVariant);
  5627. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PlayList )(
  5628. ITMediaPlayback * This,
  5629. /* [retval][out] */ VARIANTARG *pPlayListVariant);
  5630. END_INTERFACE
  5631. } ITMediaPlaybackVtbl;
  5632. interface ITMediaPlayback
  5633. {
  5634. CONST_VTBL struct ITMediaPlaybackVtbl *lpVtbl;
  5635. };
  5636. #ifdef COBJMACROS
  5637. #define ITMediaPlayback_QueryInterface(This,riid,ppvObject) \
  5638. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5639. #define ITMediaPlayback_AddRef(This) \
  5640. (This)->lpVtbl -> AddRef(This)
  5641. #define ITMediaPlayback_Release(This) \
  5642. (This)->lpVtbl -> Release(This)
  5643. #define ITMediaPlayback_GetTypeInfoCount(This,pctinfo) \
  5644. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5645. #define ITMediaPlayback_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5646. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5647. #define ITMediaPlayback_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5648. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5649. #define ITMediaPlayback_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5650. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5651. #define ITMediaPlayback_put_PlayList(This,PlayListVariant) \
  5652. (This)->lpVtbl -> put_PlayList(This,PlayListVariant)
  5653. #define ITMediaPlayback_get_PlayList(This,pPlayListVariant) \
  5654. (This)->lpVtbl -> get_PlayList(This,pPlayListVariant)
  5655. #endif /* COBJMACROS */
  5656. #endif /* C style interface */
  5657. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITMediaPlayback_put_PlayList_Proxy(
  5658. ITMediaPlayback * This,
  5659. /* [in] */ VARIANTARG PlayListVariant);
  5660. void __RPC_STUB ITMediaPlayback_put_PlayList_Stub(
  5661. IRpcStubBuffer *This,
  5662. IRpcChannelBuffer *_pRpcChannelBuffer,
  5663. PRPC_MESSAGE _pRpcMessage,
  5664. DWORD *_pdwStubPhase);
  5665. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaPlayback_get_PlayList_Proxy(
  5666. ITMediaPlayback * This,
  5667. /* [retval][out] */ VARIANTARG *pPlayListVariant);
  5668. void __RPC_STUB ITMediaPlayback_get_PlayList_Stub(
  5669. IRpcStubBuffer *This,
  5670. IRpcChannelBuffer *_pRpcChannelBuffer,
  5671. PRPC_MESSAGE _pRpcMessage,
  5672. DWORD *_pdwStubPhase);
  5673. #endif /* __ITMediaPlayback_INTERFACE_DEFINED__ */
  5674. #ifndef __ITMediaRecord_INTERFACE_DEFINED__
  5675. #define __ITMediaRecord_INTERFACE_DEFINED__
  5676. /* interface ITMediaRecord */
  5677. /* [unique][helpstring][dual][uuid][object] */
  5678. EXTERN_C const IID IID_ITMediaRecord;
  5679. #if defined(__cplusplus) && !defined(CINTERFACE)
  5680. MIDL_INTERFACE("F5DD4592-5476-4cc1-9D4D-FAD3EEFE7DB2")
  5681. ITMediaRecord : public IDispatch
  5682. {
  5683. public:
  5684. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FileName(
  5685. /* [in] */ BSTR bstrFileName) = 0;
  5686. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FileName(
  5687. /* [retval][out] */ BSTR *pbstrFileName) = 0;
  5688. };
  5689. #else /* C style interface */
  5690. typedef struct ITMediaRecordVtbl
  5691. {
  5692. BEGIN_INTERFACE
  5693. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5694. ITMediaRecord * This,
  5695. /* [in] */ REFIID riid,
  5696. /* [iid_is][out] */ void **ppvObject);
  5697. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5698. ITMediaRecord * This);
  5699. ULONG ( STDMETHODCALLTYPE *Release )(
  5700. ITMediaRecord * This);
  5701. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5702. ITMediaRecord * This,
  5703. /* [out] */ UINT *pctinfo);
  5704. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5705. ITMediaRecord * This,
  5706. /* [in] */ UINT iTInfo,
  5707. /* [in] */ LCID lcid,
  5708. /* [out] */ ITypeInfo **ppTInfo);
  5709. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5710. ITMediaRecord * This,
  5711. /* [in] */ REFIID riid,
  5712. /* [size_is][in] */ LPOLESTR *rgszNames,
  5713. /* [in] */ UINT cNames,
  5714. /* [in] */ LCID lcid,
  5715. /* [size_is][out] */ DISPID *rgDispId);
  5716. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5717. ITMediaRecord * This,
  5718. /* [in] */ DISPID dispIdMember,
  5719. /* [in] */ REFIID riid,
  5720. /* [in] */ LCID lcid,
  5721. /* [in] */ WORD wFlags,
  5722. /* [out][in] */ DISPPARAMS *pDispParams,
  5723. /* [out] */ VARIANT *pVarResult,
  5724. /* [out] */ EXCEPINFO *pExcepInfo,
  5725. /* [out] */ UINT *puArgErr);
  5726. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FileName )(
  5727. ITMediaRecord * This,
  5728. /* [in] */ BSTR bstrFileName);
  5729. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FileName )(
  5730. ITMediaRecord * This,
  5731. /* [retval][out] */ BSTR *pbstrFileName);
  5732. END_INTERFACE
  5733. } ITMediaRecordVtbl;
  5734. interface ITMediaRecord
  5735. {
  5736. CONST_VTBL struct ITMediaRecordVtbl *lpVtbl;
  5737. };
  5738. #ifdef COBJMACROS
  5739. #define ITMediaRecord_QueryInterface(This,riid,ppvObject) \
  5740. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5741. #define ITMediaRecord_AddRef(This) \
  5742. (This)->lpVtbl -> AddRef(This)
  5743. #define ITMediaRecord_Release(This) \
  5744. (This)->lpVtbl -> Release(This)
  5745. #define ITMediaRecord_GetTypeInfoCount(This,pctinfo) \
  5746. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5747. #define ITMediaRecord_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5748. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5749. #define ITMediaRecord_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5750. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5751. #define ITMediaRecord_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5752. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5753. #define ITMediaRecord_put_FileName(This,bstrFileName) \
  5754. (This)->lpVtbl -> put_FileName(This,bstrFileName)
  5755. #define ITMediaRecord_get_FileName(This,pbstrFileName) \
  5756. (This)->lpVtbl -> get_FileName(This,pbstrFileName)
  5757. #endif /* COBJMACROS */
  5758. #endif /* C style interface */
  5759. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITMediaRecord_put_FileName_Proxy(
  5760. ITMediaRecord * This,
  5761. /* [in] */ BSTR bstrFileName);
  5762. void __RPC_STUB ITMediaRecord_put_FileName_Stub(
  5763. IRpcStubBuffer *This,
  5764. IRpcChannelBuffer *_pRpcChannelBuffer,
  5765. PRPC_MESSAGE _pRpcMessage,
  5766. DWORD *_pdwStubPhase);
  5767. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaRecord_get_FileName_Proxy(
  5768. ITMediaRecord * This,
  5769. /* [retval][out] */ BSTR *pbstrFileName);
  5770. void __RPC_STUB ITMediaRecord_get_FileName_Stub(
  5771. IRpcStubBuffer *This,
  5772. IRpcChannelBuffer *_pRpcChannelBuffer,
  5773. PRPC_MESSAGE _pRpcMessage,
  5774. DWORD *_pdwStubPhase);
  5775. #endif /* __ITMediaRecord_INTERFACE_DEFINED__ */
  5776. #ifndef __ITMediaControl_INTERFACE_DEFINED__
  5777. #define __ITMediaControl_INTERFACE_DEFINED__
  5778. /* interface ITMediaControl */
  5779. /* [unique][helpstring][dual][uuid][object] */
  5780. EXTERN_C const IID IID_ITMediaControl;
  5781. #if defined(__cplusplus) && !defined(CINTERFACE)
  5782. MIDL_INTERFACE("C445DDE8-5199-4bc7-9807-5FFB92E42E09")
  5783. ITMediaControl : public IDispatch
  5784. {
  5785. public:
  5786. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Start( void) = 0;
  5787. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  5788. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Pause( void) = 0;
  5789. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaState(
  5790. /* [retval][out] */ TERMINAL_MEDIA_STATE *pTerminalMediaState) = 0;
  5791. };
  5792. #else /* C style interface */
  5793. typedef struct ITMediaControlVtbl
  5794. {
  5795. BEGIN_INTERFACE
  5796. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5797. ITMediaControl * This,
  5798. /* [in] */ REFIID riid,
  5799. /* [iid_is][out] */ void **ppvObject);
  5800. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5801. ITMediaControl * This);
  5802. ULONG ( STDMETHODCALLTYPE *Release )(
  5803. ITMediaControl * This);
  5804. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5805. ITMediaControl * This,
  5806. /* [out] */ UINT *pctinfo);
  5807. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5808. ITMediaControl * This,
  5809. /* [in] */ UINT iTInfo,
  5810. /* [in] */ LCID lcid,
  5811. /* [out] */ ITypeInfo **ppTInfo);
  5812. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5813. ITMediaControl * This,
  5814. /* [in] */ REFIID riid,
  5815. /* [size_is][in] */ LPOLESTR *rgszNames,
  5816. /* [in] */ UINT cNames,
  5817. /* [in] */ LCID lcid,
  5818. /* [size_is][out] */ DISPID *rgDispId);
  5819. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5820. ITMediaControl * This,
  5821. /* [in] */ DISPID dispIdMember,
  5822. /* [in] */ REFIID riid,
  5823. /* [in] */ LCID lcid,
  5824. /* [in] */ WORD wFlags,
  5825. /* [out][in] */ DISPPARAMS *pDispParams,
  5826. /* [out] */ VARIANT *pVarResult,
  5827. /* [out] */ EXCEPINFO *pExcepInfo,
  5828. /* [out] */ UINT *puArgErr);
  5829. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Start )(
  5830. ITMediaControl * This);
  5831. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )(
  5832. ITMediaControl * This);
  5833. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pause )(
  5834. ITMediaControl * This);
  5835. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaState )(
  5836. ITMediaControl * This,
  5837. /* [retval][out] */ TERMINAL_MEDIA_STATE *pTerminalMediaState);
  5838. END_INTERFACE
  5839. } ITMediaControlVtbl;
  5840. interface ITMediaControl
  5841. {
  5842. CONST_VTBL struct ITMediaControlVtbl *lpVtbl;
  5843. };
  5844. #ifdef COBJMACROS
  5845. #define ITMediaControl_QueryInterface(This,riid,ppvObject) \
  5846. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5847. #define ITMediaControl_AddRef(This) \
  5848. (This)->lpVtbl -> AddRef(This)
  5849. #define ITMediaControl_Release(This) \
  5850. (This)->lpVtbl -> Release(This)
  5851. #define ITMediaControl_GetTypeInfoCount(This,pctinfo) \
  5852. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5853. #define ITMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5854. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5855. #define ITMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5856. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5857. #define ITMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5858. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5859. #define ITMediaControl_Start(This) \
  5860. (This)->lpVtbl -> Start(This)
  5861. #define ITMediaControl_Stop(This) \
  5862. (This)->lpVtbl -> Stop(This)
  5863. #define ITMediaControl_Pause(This) \
  5864. (This)->lpVtbl -> Pause(This)
  5865. #define ITMediaControl_get_MediaState(This,pTerminalMediaState) \
  5866. (This)->lpVtbl -> get_MediaState(This,pTerminalMediaState)
  5867. #endif /* COBJMACROS */
  5868. #endif /* C style interface */
  5869. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaControl_Start_Proxy(
  5870. ITMediaControl * This);
  5871. void __RPC_STUB ITMediaControl_Start_Stub(
  5872. IRpcStubBuffer *This,
  5873. IRpcChannelBuffer *_pRpcChannelBuffer,
  5874. PRPC_MESSAGE _pRpcMessage,
  5875. DWORD *_pdwStubPhase);
  5876. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaControl_Stop_Proxy(
  5877. ITMediaControl * This);
  5878. void __RPC_STUB ITMediaControl_Stop_Stub(
  5879. IRpcStubBuffer *This,
  5880. IRpcChannelBuffer *_pRpcChannelBuffer,
  5881. PRPC_MESSAGE _pRpcMessage,
  5882. DWORD *_pdwStubPhase);
  5883. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITMediaControl_Pause_Proxy(
  5884. ITMediaControl * This);
  5885. void __RPC_STUB ITMediaControl_Pause_Stub(
  5886. IRpcStubBuffer *This,
  5887. IRpcChannelBuffer *_pRpcChannelBuffer,
  5888. PRPC_MESSAGE _pRpcMessage,
  5889. DWORD *_pdwStubPhase);
  5890. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITMediaControl_get_MediaState_Proxy(
  5891. ITMediaControl * This,
  5892. /* [retval][out] */ TERMINAL_MEDIA_STATE *pTerminalMediaState);
  5893. void __RPC_STUB ITMediaControl_get_MediaState_Stub(
  5894. IRpcStubBuffer *This,
  5895. IRpcChannelBuffer *_pRpcChannelBuffer,
  5896. PRPC_MESSAGE _pRpcMessage,
  5897. DWORD *_pdwStubPhase);
  5898. #endif /* __ITMediaControl_INTERFACE_DEFINED__ */
  5899. #ifndef __ITBasicAudioTerminal_INTERFACE_DEFINED__
  5900. #define __ITBasicAudioTerminal_INTERFACE_DEFINED__
  5901. /* interface ITBasicAudioTerminal */
  5902. /* [object][dual][helpstring][uuid] */
  5903. EXTERN_C const IID IID_ITBasicAudioTerminal;
  5904. #if defined(__cplusplus) && !defined(CINTERFACE)
  5905. MIDL_INTERFACE("B1EFC38D-9355-11d0-835C-00AA003CCABD")
  5906. ITBasicAudioTerminal : public IDispatch
  5907. {
  5908. public:
  5909. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Volume(
  5910. /* [in] */ long lVolume) = 0;
  5911. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Volume(
  5912. /* [retval][out] */ long *plVolume) = 0;
  5913. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Balance(
  5914. /* [in] */ long lBalance) = 0;
  5915. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Balance(
  5916. /* [retval][out] */ long *plBalance) = 0;
  5917. };
  5918. #else /* C style interface */
  5919. typedef struct ITBasicAudioTerminalVtbl
  5920. {
  5921. BEGIN_INTERFACE
  5922. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  5923. ITBasicAudioTerminal * This,
  5924. /* [in] */ REFIID riid,
  5925. /* [iid_is][out] */ void **ppvObject);
  5926. ULONG ( STDMETHODCALLTYPE *AddRef )(
  5927. ITBasicAudioTerminal * This);
  5928. ULONG ( STDMETHODCALLTYPE *Release )(
  5929. ITBasicAudioTerminal * This);
  5930. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  5931. ITBasicAudioTerminal * This,
  5932. /* [out] */ UINT *pctinfo);
  5933. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  5934. ITBasicAudioTerminal * This,
  5935. /* [in] */ UINT iTInfo,
  5936. /* [in] */ LCID lcid,
  5937. /* [out] */ ITypeInfo **ppTInfo);
  5938. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  5939. ITBasicAudioTerminal * This,
  5940. /* [in] */ REFIID riid,
  5941. /* [size_is][in] */ LPOLESTR *rgszNames,
  5942. /* [in] */ UINT cNames,
  5943. /* [in] */ LCID lcid,
  5944. /* [size_is][out] */ DISPID *rgDispId);
  5945. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  5946. ITBasicAudioTerminal * This,
  5947. /* [in] */ DISPID dispIdMember,
  5948. /* [in] */ REFIID riid,
  5949. /* [in] */ LCID lcid,
  5950. /* [in] */ WORD wFlags,
  5951. /* [out][in] */ DISPPARAMS *pDispParams,
  5952. /* [out] */ VARIANT *pVarResult,
  5953. /* [out] */ EXCEPINFO *pExcepInfo,
  5954. /* [out] */ UINT *puArgErr);
  5955. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )(
  5956. ITBasicAudioTerminal * This,
  5957. /* [in] */ long lVolume);
  5958. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )(
  5959. ITBasicAudioTerminal * This,
  5960. /* [retval][out] */ long *plVolume);
  5961. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Balance )(
  5962. ITBasicAudioTerminal * This,
  5963. /* [in] */ long lBalance);
  5964. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Balance )(
  5965. ITBasicAudioTerminal * This,
  5966. /* [retval][out] */ long *plBalance);
  5967. END_INTERFACE
  5968. } ITBasicAudioTerminalVtbl;
  5969. interface ITBasicAudioTerminal
  5970. {
  5971. CONST_VTBL struct ITBasicAudioTerminalVtbl *lpVtbl;
  5972. };
  5973. #ifdef COBJMACROS
  5974. #define ITBasicAudioTerminal_QueryInterface(This,riid,ppvObject) \
  5975. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5976. #define ITBasicAudioTerminal_AddRef(This) \
  5977. (This)->lpVtbl -> AddRef(This)
  5978. #define ITBasicAudioTerminal_Release(This) \
  5979. (This)->lpVtbl -> Release(This)
  5980. #define ITBasicAudioTerminal_GetTypeInfoCount(This,pctinfo) \
  5981. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5982. #define ITBasicAudioTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5983. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5984. #define ITBasicAudioTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5985. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5986. #define ITBasicAudioTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5987. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5988. #define ITBasicAudioTerminal_put_Volume(This,lVolume) \
  5989. (This)->lpVtbl -> put_Volume(This,lVolume)
  5990. #define ITBasicAudioTerminal_get_Volume(This,plVolume) \
  5991. (This)->lpVtbl -> get_Volume(This,plVolume)
  5992. #define ITBasicAudioTerminal_put_Balance(This,lBalance) \
  5993. (This)->lpVtbl -> put_Balance(This,lBalance)
  5994. #define ITBasicAudioTerminal_get_Balance(This,plBalance) \
  5995. (This)->lpVtbl -> get_Balance(This,plBalance)
  5996. #endif /* COBJMACROS */
  5997. #endif /* C style interface */
  5998. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_put_Volume_Proxy(
  5999. ITBasicAudioTerminal * This,
  6000. /* [in] */ long lVolume);
  6001. void __RPC_STUB ITBasicAudioTerminal_put_Volume_Stub(
  6002. IRpcStubBuffer *This,
  6003. IRpcChannelBuffer *_pRpcChannelBuffer,
  6004. PRPC_MESSAGE _pRpcMessage,
  6005. DWORD *_pdwStubPhase);
  6006. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_get_Volume_Proxy(
  6007. ITBasicAudioTerminal * This,
  6008. /* [retval][out] */ long *plVolume);
  6009. void __RPC_STUB ITBasicAudioTerminal_get_Volume_Stub(
  6010. IRpcStubBuffer *This,
  6011. IRpcChannelBuffer *_pRpcChannelBuffer,
  6012. PRPC_MESSAGE _pRpcMessage,
  6013. DWORD *_pdwStubPhase);
  6014. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_put_Balance_Proxy(
  6015. ITBasicAudioTerminal * This,
  6016. /* [in] */ long lBalance);
  6017. void __RPC_STUB ITBasicAudioTerminal_put_Balance_Stub(
  6018. IRpcStubBuffer *This,
  6019. IRpcChannelBuffer *_pRpcChannelBuffer,
  6020. PRPC_MESSAGE _pRpcMessage,
  6021. DWORD *_pdwStubPhase);
  6022. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITBasicAudioTerminal_get_Balance_Proxy(
  6023. ITBasicAudioTerminal * This,
  6024. /* [retval][out] */ long *plBalance);
  6025. void __RPC_STUB ITBasicAudioTerminal_get_Balance_Stub(
  6026. IRpcStubBuffer *This,
  6027. IRpcChannelBuffer *_pRpcChannelBuffer,
  6028. PRPC_MESSAGE _pRpcMessage,
  6029. DWORD *_pdwStubPhase);
  6030. #endif /* __ITBasicAudioTerminal_INTERFACE_DEFINED__ */
  6031. #ifndef __ITStaticAudioTerminal_INTERFACE_DEFINED__
  6032. #define __ITStaticAudioTerminal_INTERFACE_DEFINED__
  6033. /* interface ITStaticAudioTerminal */
  6034. /* [object][dual][helpstring][uuid] */
  6035. EXTERN_C const IID IID_ITStaticAudioTerminal;
  6036. #if defined(__cplusplus) && !defined(CINTERFACE)
  6037. MIDL_INTERFACE("A86B7871-D14C-48e6-922E-A8D15F984800")
  6038. ITStaticAudioTerminal : public IDispatch
  6039. {
  6040. public:
  6041. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_WaveId(
  6042. /* [retval][out] */ long *plWaveId) = 0;
  6043. };
  6044. #else /* C style interface */
  6045. typedef struct ITStaticAudioTerminalVtbl
  6046. {
  6047. BEGIN_INTERFACE
  6048. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6049. ITStaticAudioTerminal * This,
  6050. /* [in] */ REFIID riid,
  6051. /* [iid_is][out] */ void **ppvObject);
  6052. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6053. ITStaticAudioTerminal * This);
  6054. ULONG ( STDMETHODCALLTYPE *Release )(
  6055. ITStaticAudioTerminal * This);
  6056. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6057. ITStaticAudioTerminal * This,
  6058. /* [out] */ UINT *pctinfo);
  6059. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6060. ITStaticAudioTerminal * This,
  6061. /* [in] */ UINT iTInfo,
  6062. /* [in] */ LCID lcid,
  6063. /* [out] */ ITypeInfo **ppTInfo);
  6064. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6065. ITStaticAudioTerminal * This,
  6066. /* [in] */ REFIID riid,
  6067. /* [size_is][in] */ LPOLESTR *rgszNames,
  6068. /* [in] */ UINT cNames,
  6069. /* [in] */ LCID lcid,
  6070. /* [size_is][out] */ DISPID *rgDispId);
  6071. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6072. ITStaticAudioTerminal * This,
  6073. /* [in] */ DISPID dispIdMember,
  6074. /* [in] */ REFIID riid,
  6075. /* [in] */ LCID lcid,
  6076. /* [in] */ WORD wFlags,
  6077. /* [out][in] */ DISPPARAMS *pDispParams,
  6078. /* [out] */ VARIANT *pVarResult,
  6079. /* [out] */ EXCEPINFO *pExcepInfo,
  6080. /* [out] */ UINT *puArgErr);
  6081. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_WaveId )(
  6082. ITStaticAudioTerminal * This,
  6083. /* [retval][out] */ long *plWaveId);
  6084. END_INTERFACE
  6085. } ITStaticAudioTerminalVtbl;
  6086. interface ITStaticAudioTerminal
  6087. {
  6088. CONST_VTBL struct ITStaticAudioTerminalVtbl *lpVtbl;
  6089. };
  6090. #ifdef COBJMACROS
  6091. #define ITStaticAudioTerminal_QueryInterface(This,riid,ppvObject) \
  6092. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6093. #define ITStaticAudioTerminal_AddRef(This) \
  6094. (This)->lpVtbl -> AddRef(This)
  6095. #define ITStaticAudioTerminal_Release(This) \
  6096. (This)->lpVtbl -> Release(This)
  6097. #define ITStaticAudioTerminal_GetTypeInfoCount(This,pctinfo) \
  6098. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6099. #define ITStaticAudioTerminal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6100. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6101. #define ITStaticAudioTerminal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6102. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6103. #define ITStaticAudioTerminal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6104. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6105. #define ITStaticAudioTerminal_get_WaveId(This,plWaveId) \
  6106. (This)->lpVtbl -> get_WaveId(This,plWaveId)
  6107. #endif /* COBJMACROS */
  6108. #endif /* C style interface */
  6109. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStaticAudioTerminal_get_WaveId_Proxy(
  6110. ITStaticAudioTerminal * This,
  6111. /* [retval][out] */ long *plWaveId);
  6112. void __RPC_STUB ITStaticAudioTerminal_get_WaveId_Stub(
  6113. IRpcStubBuffer *This,
  6114. IRpcChannelBuffer *_pRpcChannelBuffer,
  6115. PRPC_MESSAGE _pRpcMessage,
  6116. DWORD *_pdwStubPhase);
  6117. #endif /* __ITStaticAudioTerminal_INTERFACE_DEFINED__ */
  6118. #ifndef __ITCallHub_INTERFACE_DEFINED__
  6119. #define __ITCallHub_INTERFACE_DEFINED__
  6120. /* interface ITCallHub */
  6121. /* [object][dual][helpstring][uuid] */
  6122. EXTERN_C const IID IID_ITCallHub;
  6123. #if defined(__cplusplus) && !defined(CINTERFACE)
  6124. MIDL_INTERFACE("A3C1544E-5B92-11d1-8F4E-00C04FB6809F")
  6125. ITCallHub : public IDispatch
  6126. {
  6127. public:
  6128. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  6129. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCalls(
  6130. /* [retval][out] */ IEnumCall **ppEnumCall) = 0;
  6131. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Calls(
  6132. /* [retval][out] */ VARIANT *pCalls) = 0;
  6133. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumCalls(
  6134. /* [retval][out] */ long *plCalls) = 0;
  6135. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  6136. /* [retval][out] */ CALLHUB_STATE *pState) = 0;
  6137. };
  6138. #else /* C style interface */
  6139. typedef struct ITCallHubVtbl
  6140. {
  6141. BEGIN_INTERFACE
  6142. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6143. ITCallHub * This,
  6144. /* [in] */ REFIID riid,
  6145. /* [iid_is][out] */ void **ppvObject);
  6146. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6147. ITCallHub * This);
  6148. ULONG ( STDMETHODCALLTYPE *Release )(
  6149. ITCallHub * This);
  6150. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6151. ITCallHub * This,
  6152. /* [out] */ UINT *pctinfo);
  6153. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6154. ITCallHub * This,
  6155. /* [in] */ UINT iTInfo,
  6156. /* [in] */ LCID lcid,
  6157. /* [out] */ ITypeInfo **ppTInfo);
  6158. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6159. ITCallHub * This,
  6160. /* [in] */ REFIID riid,
  6161. /* [size_is][in] */ LPOLESTR *rgszNames,
  6162. /* [in] */ UINT cNames,
  6163. /* [in] */ LCID lcid,
  6164. /* [size_is][out] */ DISPID *rgDispId);
  6165. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6166. ITCallHub * This,
  6167. /* [in] */ DISPID dispIdMember,
  6168. /* [in] */ REFIID riid,
  6169. /* [in] */ LCID lcid,
  6170. /* [in] */ WORD wFlags,
  6171. /* [out][in] */ DISPPARAMS *pDispParams,
  6172. /* [out] */ VARIANT *pVarResult,
  6173. /* [out] */ EXCEPINFO *pExcepInfo,
  6174. /* [out] */ UINT *puArgErr);
  6175. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  6176. ITCallHub * This);
  6177. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCalls )(
  6178. ITCallHub * This,
  6179. /* [retval][out] */ IEnumCall **ppEnumCall);
  6180. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Calls )(
  6181. ITCallHub * This,
  6182. /* [retval][out] */ VARIANT *pCalls);
  6183. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumCalls )(
  6184. ITCallHub * This,
  6185. /* [retval][out] */ long *plCalls);
  6186. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  6187. ITCallHub * This,
  6188. /* [retval][out] */ CALLHUB_STATE *pState);
  6189. END_INTERFACE
  6190. } ITCallHubVtbl;
  6191. interface ITCallHub
  6192. {
  6193. CONST_VTBL struct ITCallHubVtbl *lpVtbl;
  6194. };
  6195. #ifdef COBJMACROS
  6196. #define ITCallHub_QueryInterface(This,riid,ppvObject) \
  6197. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6198. #define ITCallHub_AddRef(This) \
  6199. (This)->lpVtbl -> AddRef(This)
  6200. #define ITCallHub_Release(This) \
  6201. (This)->lpVtbl -> Release(This)
  6202. #define ITCallHub_GetTypeInfoCount(This,pctinfo) \
  6203. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6204. #define ITCallHub_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6205. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6206. #define ITCallHub_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6207. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6208. #define ITCallHub_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6209. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6210. #define ITCallHub_Clear(This) \
  6211. (This)->lpVtbl -> Clear(This)
  6212. #define ITCallHub_EnumerateCalls(This,ppEnumCall) \
  6213. (This)->lpVtbl -> EnumerateCalls(This,ppEnumCall)
  6214. #define ITCallHub_get_Calls(This,pCalls) \
  6215. (This)->lpVtbl -> get_Calls(This,pCalls)
  6216. #define ITCallHub_get_NumCalls(This,plCalls) \
  6217. (This)->lpVtbl -> get_NumCalls(This,plCalls)
  6218. #define ITCallHub_get_State(This,pState) \
  6219. (This)->lpVtbl -> get_State(This,pState)
  6220. #endif /* COBJMACROS */
  6221. #endif /* C style interface */
  6222. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCallHub_Clear_Proxy(
  6223. ITCallHub * This);
  6224. void __RPC_STUB ITCallHub_Clear_Stub(
  6225. IRpcStubBuffer *This,
  6226. IRpcChannelBuffer *_pRpcChannelBuffer,
  6227. PRPC_MESSAGE _pRpcMessage,
  6228. DWORD *_pdwStubPhase);
  6229. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITCallHub_EnumerateCalls_Proxy(
  6230. ITCallHub * This,
  6231. /* [retval][out] */ IEnumCall **ppEnumCall);
  6232. void __RPC_STUB ITCallHub_EnumerateCalls_Stub(
  6233. IRpcStubBuffer *This,
  6234. IRpcChannelBuffer *_pRpcChannelBuffer,
  6235. PRPC_MESSAGE _pRpcMessage,
  6236. DWORD *_pdwStubPhase);
  6237. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHub_get_Calls_Proxy(
  6238. ITCallHub * This,
  6239. /* [retval][out] */ VARIANT *pCalls);
  6240. void __RPC_STUB ITCallHub_get_Calls_Stub(
  6241. IRpcStubBuffer *This,
  6242. IRpcChannelBuffer *_pRpcChannelBuffer,
  6243. PRPC_MESSAGE _pRpcMessage,
  6244. DWORD *_pdwStubPhase);
  6245. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHub_get_NumCalls_Proxy(
  6246. ITCallHub * This,
  6247. /* [retval][out] */ long *plCalls);
  6248. void __RPC_STUB ITCallHub_get_NumCalls_Stub(
  6249. IRpcStubBuffer *This,
  6250. IRpcChannelBuffer *_pRpcChannelBuffer,
  6251. PRPC_MESSAGE _pRpcMessage,
  6252. DWORD *_pdwStubPhase);
  6253. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHub_get_State_Proxy(
  6254. ITCallHub * This,
  6255. /* [retval][out] */ CALLHUB_STATE *pState);
  6256. void __RPC_STUB ITCallHub_get_State_Stub(
  6257. IRpcStubBuffer *This,
  6258. IRpcChannelBuffer *_pRpcChannelBuffer,
  6259. PRPC_MESSAGE _pRpcMessage,
  6260. DWORD *_pdwStubPhase);
  6261. #endif /* __ITCallHub_INTERFACE_DEFINED__ */
  6262. #ifndef __ITLegacyAddressMediaControl_INTERFACE_DEFINED__
  6263. #define __ITLegacyAddressMediaControl_INTERFACE_DEFINED__
  6264. /* interface ITLegacyAddressMediaControl */
  6265. /* [object][unique][hidden][helpstring][uuid] */
  6266. EXTERN_C const IID IID_ITLegacyAddressMediaControl;
  6267. #if defined(__cplusplus) && !defined(CINTERFACE)
  6268. MIDL_INTERFACE("AB493640-4C0B-11D2-A046-00C04FB6809F")
  6269. ITLegacyAddressMediaControl : public IUnknown
  6270. {
  6271. public:
  6272. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetID(
  6273. /* [in] */ BSTR pDeviceClass,
  6274. /* [out] */ DWORD *pdwSize,
  6275. /* [size_is][size_is][out] */ BYTE **ppDeviceID) = 0;
  6276. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetDevConfig(
  6277. /* [in] */ BSTR pDeviceClass,
  6278. /* [out] */ DWORD *pdwSize,
  6279. /* [size_is][size_is][out] */ BYTE **ppDeviceConfig) = 0;
  6280. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE SetDevConfig(
  6281. /* [in] */ BSTR pDeviceClass,
  6282. /* [in] */ DWORD dwSize,
  6283. /* [size_is][in] */ BYTE *pDeviceConfig) = 0;
  6284. };
  6285. #else /* C style interface */
  6286. typedef struct ITLegacyAddressMediaControlVtbl
  6287. {
  6288. BEGIN_INTERFACE
  6289. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6290. ITLegacyAddressMediaControl * This,
  6291. /* [in] */ REFIID riid,
  6292. /* [iid_is][out] */ void **ppvObject);
  6293. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6294. ITLegacyAddressMediaControl * This);
  6295. ULONG ( STDMETHODCALLTYPE *Release )(
  6296. ITLegacyAddressMediaControl * This);
  6297. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )(
  6298. ITLegacyAddressMediaControl * This,
  6299. /* [in] */ BSTR pDeviceClass,
  6300. /* [out] */ DWORD *pdwSize,
  6301. /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  6302. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetDevConfig )(
  6303. ITLegacyAddressMediaControl * This,
  6304. /* [in] */ BSTR pDeviceClass,
  6305. /* [out] */ DWORD *pdwSize,
  6306. /* [size_is][size_is][out] */ BYTE **ppDeviceConfig);
  6307. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetDevConfig )(
  6308. ITLegacyAddressMediaControl * This,
  6309. /* [in] */ BSTR pDeviceClass,
  6310. /* [in] */ DWORD dwSize,
  6311. /* [size_is][in] */ BYTE *pDeviceConfig);
  6312. END_INTERFACE
  6313. } ITLegacyAddressMediaControlVtbl;
  6314. interface ITLegacyAddressMediaControl
  6315. {
  6316. CONST_VTBL struct ITLegacyAddressMediaControlVtbl *lpVtbl;
  6317. };
  6318. #ifdef COBJMACROS
  6319. #define ITLegacyAddressMediaControl_QueryInterface(This,riid,ppvObject) \
  6320. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6321. #define ITLegacyAddressMediaControl_AddRef(This) \
  6322. (This)->lpVtbl -> AddRef(This)
  6323. #define ITLegacyAddressMediaControl_Release(This) \
  6324. (This)->lpVtbl -> Release(This)
  6325. #define ITLegacyAddressMediaControl_GetID(This,pDeviceClass,pdwSize,ppDeviceID) \
  6326. (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  6327. #define ITLegacyAddressMediaControl_GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig) \
  6328. (This)->lpVtbl -> GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig)
  6329. #define ITLegacyAddressMediaControl_SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig) \
  6330. (This)->lpVtbl -> SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig)
  6331. #endif /* COBJMACROS */
  6332. #endif /* C style interface */
  6333. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl_GetID_Proxy(
  6334. ITLegacyAddressMediaControl * This,
  6335. /* [in] */ BSTR pDeviceClass,
  6336. /* [out] */ DWORD *pdwSize,
  6337. /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  6338. void __RPC_STUB ITLegacyAddressMediaControl_GetID_Stub(
  6339. IRpcStubBuffer *This,
  6340. IRpcChannelBuffer *_pRpcChannelBuffer,
  6341. PRPC_MESSAGE _pRpcMessage,
  6342. DWORD *_pdwStubPhase);
  6343. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl_GetDevConfig_Proxy(
  6344. ITLegacyAddressMediaControl * This,
  6345. /* [in] */ BSTR pDeviceClass,
  6346. /* [out] */ DWORD *pdwSize,
  6347. /* [size_is][size_is][out] */ BYTE **ppDeviceConfig);
  6348. void __RPC_STUB ITLegacyAddressMediaControl_GetDevConfig_Stub(
  6349. IRpcStubBuffer *This,
  6350. IRpcChannelBuffer *_pRpcChannelBuffer,
  6351. PRPC_MESSAGE _pRpcMessage,
  6352. DWORD *_pdwStubPhase);
  6353. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl_SetDevConfig_Proxy(
  6354. ITLegacyAddressMediaControl * This,
  6355. /* [in] */ BSTR pDeviceClass,
  6356. /* [in] */ DWORD dwSize,
  6357. /* [size_is][in] */ BYTE *pDeviceConfig);
  6358. void __RPC_STUB ITLegacyAddressMediaControl_SetDevConfig_Stub(
  6359. IRpcStubBuffer *This,
  6360. IRpcChannelBuffer *_pRpcChannelBuffer,
  6361. PRPC_MESSAGE _pRpcMessage,
  6362. DWORD *_pdwStubPhase);
  6363. #endif /* __ITLegacyAddressMediaControl_INTERFACE_DEFINED__ */
  6364. #ifndef __ITPrivateEvent_INTERFACE_DEFINED__
  6365. #define __ITPrivateEvent_INTERFACE_DEFINED__
  6366. /* interface ITPrivateEvent */
  6367. /* [object][dual][helpstring][uuid] */
  6368. EXTERN_C const IID IID_ITPrivateEvent;
  6369. #if defined(__cplusplus) && !defined(CINTERFACE)
  6370. MIDL_INTERFACE("0e269cd0-10d4-4121-9c22-9c85d625650d")
  6371. ITPrivateEvent : public IDispatch
  6372. {
  6373. public:
  6374. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
  6375. /* [retval][out] */ ITAddress **ppAddress) = 0;
  6376. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  6377. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  6378. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHub(
  6379. /* [retval][out] */ ITCallHub **ppCallHub) = 0;
  6380. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventCode(
  6381. /* [retval][out] */ long *plEventCode) = 0;
  6382. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_EventInterface(
  6383. /* [retval][out] */ IDispatch **pEventInterface) = 0;
  6384. };
  6385. #else /* C style interface */
  6386. typedef struct ITPrivateEventVtbl
  6387. {
  6388. BEGIN_INTERFACE
  6389. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6390. ITPrivateEvent * This,
  6391. /* [in] */ REFIID riid,
  6392. /* [iid_is][out] */ void **ppvObject);
  6393. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6394. ITPrivateEvent * This);
  6395. ULONG ( STDMETHODCALLTYPE *Release )(
  6396. ITPrivateEvent * This);
  6397. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6398. ITPrivateEvent * This,
  6399. /* [out] */ UINT *pctinfo);
  6400. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6401. ITPrivateEvent * This,
  6402. /* [in] */ UINT iTInfo,
  6403. /* [in] */ LCID lcid,
  6404. /* [out] */ ITypeInfo **ppTInfo);
  6405. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6406. ITPrivateEvent * This,
  6407. /* [in] */ REFIID riid,
  6408. /* [size_is][in] */ LPOLESTR *rgszNames,
  6409. /* [in] */ UINT cNames,
  6410. /* [in] */ LCID lcid,
  6411. /* [size_is][out] */ DISPID *rgDispId);
  6412. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6413. ITPrivateEvent * This,
  6414. /* [in] */ DISPID dispIdMember,
  6415. /* [in] */ REFIID riid,
  6416. /* [in] */ LCID lcid,
  6417. /* [in] */ WORD wFlags,
  6418. /* [out][in] */ DISPPARAMS *pDispParams,
  6419. /* [out] */ VARIANT *pVarResult,
  6420. /* [out] */ EXCEPINFO *pExcepInfo,
  6421. /* [out] */ UINT *puArgErr);
  6422. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  6423. ITPrivateEvent * This,
  6424. /* [retval][out] */ ITAddress **ppAddress);
  6425. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  6426. ITPrivateEvent * This,
  6427. /* [retval][out] */ ITCallInfo **ppCallInfo);
  6428. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )(
  6429. ITPrivateEvent * This,
  6430. /* [retval][out] */ ITCallHub **ppCallHub);
  6431. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventCode )(
  6432. ITPrivateEvent * This,
  6433. /* [retval][out] */ long *plEventCode);
  6434. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EventInterface )(
  6435. ITPrivateEvent * This,
  6436. /* [retval][out] */ IDispatch **pEventInterface);
  6437. END_INTERFACE
  6438. } ITPrivateEventVtbl;
  6439. interface ITPrivateEvent
  6440. {
  6441. CONST_VTBL struct ITPrivateEventVtbl *lpVtbl;
  6442. };
  6443. #ifdef COBJMACROS
  6444. #define ITPrivateEvent_QueryInterface(This,riid,ppvObject) \
  6445. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6446. #define ITPrivateEvent_AddRef(This) \
  6447. (This)->lpVtbl -> AddRef(This)
  6448. #define ITPrivateEvent_Release(This) \
  6449. (This)->lpVtbl -> Release(This)
  6450. #define ITPrivateEvent_GetTypeInfoCount(This,pctinfo) \
  6451. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6452. #define ITPrivateEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6453. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6454. #define ITPrivateEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6455. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6456. #define ITPrivateEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6457. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6458. #define ITPrivateEvent_get_Address(This,ppAddress) \
  6459. (This)->lpVtbl -> get_Address(This,ppAddress)
  6460. #define ITPrivateEvent_get_Call(This,ppCallInfo) \
  6461. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  6462. #define ITPrivateEvent_get_CallHub(This,ppCallHub) \
  6463. (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  6464. #define ITPrivateEvent_get_EventCode(This,plEventCode) \
  6465. (This)->lpVtbl -> get_EventCode(This,plEventCode)
  6466. #define ITPrivateEvent_get_EventInterface(This,pEventInterface) \
  6467. (This)->lpVtbl -> get_EventInterface(This,pEventInterface)
  6468. #endif /* COBJMACROS */
  6469. #endif /* C style interface */
  6470. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_Address_Proxy(
  6471. ITPrivateEvent * This,
  6472. /* [retval][out] */ ITAddress **ppAddress);
  6473. void __RPC_STUB ITPrivateEvent_get_Address_Stub(
  6474. IRpcStubBuffer *This,
  6475. IRpcChannelBuffer *_pRpcChannelBuffer,
  6476. PRPC_MESSAGE _pRpcMessage,
  6477. DWORD *_pdwStubPhase);
  6478. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_Call_Proxy(
  6479. ITPrivateEvent * This,
  6480. /* [retval][out] */ ITCallInfo **ppCallInfo);
  6481. void __RPC_STUB ITPrivateEvent_get_Call_Stub(
  6482. IRpcStubBuffer *This,
  6483. IRpcChannelBuffer *_pRpcChannelBuffer,
  6484. PRPC_MESSAGE _pRpcMessage,
  6485. DWORD *_pdwStubPhase);
  6486. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_CallHub_Proxy(
  6487. ITPrivateEvent * This,
  6488. /* [retval][out] */ ITCallHub **ppCallHub);
  6489. void __RPC_STUB ITPrivateEvent_get_CallHub_Stub(
  6490. IRpcStubBuffer *This,
  6491. IRpcChannelBuffer *_pRpcChannelBuffer,
  6492. PRPC_MESSAGE _pRpcMessage,
  6493. DWORD *_pdwStubPhase);
  6494. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_EventCode_Proxy(
  6495. ITPrivateEvent * This,
  6496. /* [retval][out] */ long *plEventCode);
  6497. void __RPC_STUB ITPrivateEvent_get_EventCode_Stub(
  6498. IRpcStubBuffer *This,
  6499. IRpcChannelBuffer *_pRpcChannelBuffer,
  6500. PRPC_MESSAGE _pRpcMessage,
  6501. DWORD *_pdwStubPhase);
  6502. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPrivateEvent_get_EventInterface_Proxy(
  6503. ITPrivateEvent * This,
  6504. /* [retval][out] */ IDispatch **pEventInterface);
  6505. void __RPC_STUB ITPrivateEvent_get_EventInterface_Stub(
  6506. IRpcStubBuffer *This,
  6507. IRpcChannelBuffer *_pRpcChannelBuffer,
  6508. PRPC_MESSAGE _pRpcMessage,
  6509. DWORD *_pdwStubPhase);
  6510. #endif /* __ITPrivateEvent_INTERFACE_DEFINED__ */
  6511. #ifndef __ITLegacyAddressMediaControl2_INTERFACE_DEFINED__
  6512. #define __ITLegacyAddressMediaControl2_INTERFACE_DEFINED__
  6513. /* interface ITLegacyAddressMediaControl2 */
  6514. /* [object][unique][hidden][helpstring][uuid] */
  6515. EXTERN_C const IID IID_ITLegacyAddressMediaControl2;
  6516. #if defined(__cplusplus) && !defined(CINTERFACE)
  6517. MIDL_INTERFACE("B0EE512B-A531-409e-9DD9-4099FE86C738")
  6518. ITLegacyAddressMediaControl2 : public ITLegacyAddressMediaControl
  6519. {
  6520. public:
  6521. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ConfigDialog(
  6522. /* [in] */ HWND hwndOwner,
  6523. /* [in] */ BSTR pDeviceClass) = 0;
  6524. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ConfigDialogEdit(
  6525. /* [in] */ HWND hwndOwner,
  6526. /* [in] */ BSTR pDeviceClass,
  6527. /* [in] */ DWORD dwSizeIn,
  6528. /* [size_is][in] */ BYTE *pDeviceConfigIn,
  6529. /* [out] */ DWORD *pdwSizeOut,
  6530. /* [size_is][size_is][out] */ BYTE **ppDeviceConfigOut) = 0;
  6531. };
  6532. #else /* C style interface */
  6533. typedef struct ITLegacyAddressMediaControl2Vtbl
  6534. {
  6535. BEGIN_INTERFACE
  6536. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6537. ITLegacyAddressMediaControl2 * This,
  6538. /* [in] */ REFIID riid,
  6539. /* [iid_is][out] */ void **ppvObject);
  6540. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6541. ITLegacyAddressMediaControl2 * This);
  6542. ULONG ( STDMETHODCALLTYPE *Release )(
  6543. ITLegacyAddressMediaControl2 * This);
  6544. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )(
  6545. ITLegacyAddressMediaControl2 * This,
  6546. /* [in] */ BSTR pDeviceClass,
  6547. /* [out] */ DWORD *pdwSize,
  6548. /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  6549. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetDevConfig )(
  6550. ITLegacyAddressMediaControl2 * This,
  6551. /* [in] */ BSTR pDeviceClass,
  6552. /* [out] */ DWORD *pdwSize,
  6553. /* [size_is][size_is][out] */ BYTE **ppDeviceConfig);
  6554. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *SetDevConfig )(
  6555. ITLegacyAddressMediaControl2 * This,
  6556. /* [in] */ BSTR pDeviceClass,
  6557. /* [in] */ DWORD dwSize,
  6558. /* [size_is][in] */ BYTE *pDeviceConfig);
  6559. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *ConfigDialog )(
  6560. ITLegacyAddressMediaControl2 * This,
  6561. /* [in] */ HWND hwndOwner,
  6562. /* [in] */ BSTR pDeviceClass);
  6563. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *ConfigDialogEdit )(
  6564. ITLegacyAddressMediaControl2 * This,
  6565. /* [in] */ HWND hwndOwner,
  6566. /* [in] */ BSTR pDeviceClass,
  6567. /* [in] */ DWORD dwSizeIn,
  6568. /* [size_is][in] */ BYTE *pDeviceConfigIn,
  6569. /* [out] */ DWORD *pdwSizeOut,
  6570. /* [size_is][size_is][out] */ BYTE **ppDeviceConfigOut);
  6571. END_INTERFACE
  6572. } ITLegacyAddressMediaControl2Vtbl;
  6573. interface ITLegacyAddressMediaControl2
  6574. {
  6575. CONST_VTBL struct ITLegacyAddressMediaControl2Vtbl *lpVtbl;
  6576. };
  6577. #ifdef COBJMACROS
  6578. #define ITLegacyAddressMediaControl2_QueryInterface(This,riid,ppvObject) \
  6579. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6580. #define ITLegacyAddressMediaControl2_AddRef(This) \
  6581. (This)->lpVtbl -> AddRef(This)
  6582. #define ITLegacyAddressMediaControl2_Release(This) \
  6583. (This)->lpVtbl -> Release(This)
  6584. #define ITLegacyAddressMediaControl2_GetID(This,pDeviceClass,pdwSize,ppDeviceID) \
  6585. (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  6586. #define ITLegacyAddressMediaControl2_GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig) \
  6587. (This)->lpVtbl -> GetDevConfig(This,pDeviceClass,pdwSize,ppDeviceConfig)
  6588. #define ITLegacyAddressMediaControl2_SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig) \
  6589. (This)->lpVtbl -> SetDevConfig(This,pDeviceClass,dwSize,pDeviceConfig)
  6590. #define ITLegacyAddressMediaControl2_ConfigDialog(This,hwndOwner,pDeviceClass) \
  6591. (This)->lpVtbl -> ConfigDialog(This,hwndOwner,pDeviceClass)
  6592. #define ITLegacyAddressMediaControl2_ConfigDialogEdit(This,hwndOwner,pDeviceClass,dwSizeIn,pDeviceConfigIn,pdwSizeOut,ppDeviceConfigOut) \
  6593. (This)->lpVtbl -> ConfigDialogEdit(This,hwndOwner,pDeviceClass,dwSizeIn,pDeviceConfigIn,pdwSizeOut,ppDeviceConfigOut)
  6594. #endif /* COBJMACROS */
  6595. #endif /* C style interface */
  6596. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl2_ConfigDialog_Proxy(
  6597. ITLegacyAddressMediaControl2 * This,
  6598. /* [in] */ HWND hwndOwner,
  6599. /* [in] */ BSTR pDeviceClass);
  6600. void __RPC_STUB ITLegacyAddressMediaControl2_ConfigDialog_Stub(
  6601. IRpcStubBuffer *This,
  6602. IRpcChannelBuffer *_pRpcChannelBuffer,
  6603. PRPC_MESSAGE _pRpcMessage,
  6604. DWORD *_pdwStubPhase);
  6605. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyAddressMediaControl2_ConfigDialogEdit_Proxy(
  6606. ITLegacyAddressMediaControl2 * This,
  6607. /* [in] */ HWND hwndOwner,
  6608. /* [in] */ BSTR pDeviceClass,
  6609. /* [in] */ DWORD dwSizeIn,
  6610. /* [size_is][in] */ BYTE *pDeviceConfigIn,
  6611. /* [out] */ DWORD *pdwSizeOut,
  6612. /* [size_is][size_is][out] */ BYTE **ppDeviceConfigOut);
  6613. void __RPC_STUB ITLegacyAddressMediaControl2_ConfigDialogEdit_Stub(
  6614. IRpcStubBuffer *This,
  6615. IRpcChannelBuffer *_pRpcChannelBuffer,
  6616. PRPC_MESSAGE _pRpcMessage,
  6617. DWORD *_pdwStubPhase);
  6618. #endif /* __ITLegacyAddressMediaControl2_INTERFACE_DEFINED__ */
  6619. #ifndef __ITLegacyCallMediaControl_INTERFACE_DEFINED__
  6620. #define __ITLegacyCallMediaControl_INTERFACE_DEFINED__
  6621. /* interface ITLegacyCallMediaControl */
  6622. /* [object][unique][dual][helpstring][uuid] */
  6623. EXTERN_C const IID IID_ITLegacyCallMediaControl;
  6624. #if defined(__cplusplus) && !defined(CINTERFACE)
  6625. MIDL_INTERFACE("d624582f-cc23-4436-b8a5-47c625c8045d")
  6626. ITLegacyCallMediaControl : public IDispatch
  6627. {
  6628. public:
  6629. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DetectDigits(
  6630. /* [in] */ TAPI_DIGITMODE DigitMode) = 0;
  6631. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateDigits(
  6632. /* [in] */ BSTR pDigits,
  6633. /* [in] */ TAPI_DIGITMODE DigitMode) = 0;
  6634. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetID(
  6635. /* [in] */ BSTR pDeviceClass,
  6636. /* [out] */ DWORD *pdwSize,
  6637. /* [size_is][size_is][out] */ BYTE **ppDeviceID) = 0;
  6638. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetMediaType(
  6639. /* [in] */ long lMediaType) = 0;
  6640. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MonitorMedia(
  6641. /* [in] */ long lMediaType) = 0;
  6642. };
  6643. #else /* C style interface */
  6644. typedef struct ITLegacyCallMediaControlVtbl
  6645. {
  6646. BEGIN_INTERFACE
  6647. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6648. ITLegacyCallMediaControl * This,
  6649. /* [in] */ REFIID riid,
  6650. /* [iid_is][out] */ void **ppvObject);
  6651. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6652. ITLegacyCallMediaControl * This);
  6653. ULONG ( STDMETHODCALLTYPE *Release )(
  6654. ITLegacyCallMediaControl * This);
  6655. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6656. ITLegacyCallMediaControl * This,
  6657. /* [out] */ UINT *pctinfo);
  6658. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6659. ITLegacyCallMediaControl * This,
  6660. /* [in] */ UINT iTInfo,
  6661. /* [in] */ LCID lcid,
  6662. /* [out] */ ITypeInfo **ppTInfo);
  6663. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6664. ITLegacyCallMediaControl * This,
  6665. /* [in] */ REFIID riid,
  6666. /* [size_is][in] */ LPOLESTR *rgszNames,
  6667. /* [in] */ UINT cNames,
  6668. /* [in] */ LCID lcid,
  6669. /* [size_is][out] */ DISPID *rgDispId);
  6670. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6671. ITLegacyCallMediaControl * This,
  6672. /* [in] */ DISPID dispIdMember,
  6673. /* [in] */ REFIID riid,
  6674. /* [in] */ LCID lcid,
  6675. /* [in] */ WORD wFlags,
  6676. /* [out][in] */ DISPPARAMS *pDispParams,
  6677. /* [out] */ VARIANT *pVarResult,
  6678. /* [out] */ EXCEPINFO *pExcepInfo,
  6679. /* [out] */ UINT *puArgErr);
  6680. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DetectDigits )(
  6681. ITLegacyCallMediaControl * This,
  6682. /* [in] */ TAPI_DIGITMODE DigitMode);
  6683. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateDigits )(
  6684. ITLegacyCallMediaControl * This,
  6685. /* [in] */ BSTR pDigits,
  6686. /* [in] */ TAPI_DIGITMODE DigitMode);
  6687. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )(
  6688. ITLegacyCallMediaControl * This,
  6689. /* [in] */ BSTR pDeviceClass,
  6690. /* [out] */ DWORD *pdwSize,
  6691. /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  6692. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMediaType )(
  6693. ITLegacyCallMediaControl * This,
  6694. /* [in] */ long lMediaType);
  6695. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MonitorMedia )(
  6696. ITLegacyCallMediaControl * This,
  6697. /* [in] */ long lMediaType);
  6698. END_INTERFACE
  6699. } ITLegacyCallMediaControlVtbl;
  6700. interface ITLegacyCallMediaControl
  6701. {
  6702. CONST_VTBL struct ITLegacyCallMediaControlVtbl *lpVtbl;
  6703. };
  6704. #ifdef COBJMACROS
  6705. #define ITLegacyCallMediaControl_QueryInterface(This,riid,ppvObject) \
  6706. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6707. #define ITLegacyCallMediaControl_AddRef(This) \
  6708. (This)->lpVtbl -> AddRef(This)
  6709. #define ITLegacyCallMediaControl_Release(This) \
  6710. (This)->lpVtbl -> Release(This)
  6711. #define ITLegacyCallMediaControl_GetTypeInfoCount(This,pctinfo) \
  6712. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6713. #define ITLegacyCallMediaControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6714. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6715. #define ITLegacyCallMediaControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6716. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6717. #define ITLegacyCallMediaControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6718. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6719. #define ITLegacyCallMediaControl_DetectDigits(This,DigitMode) \
  6720. (This)->lpVtbl -> DetectDigits(This,DigitMode)
  6721. #define ITLegacyCallMediaControl_GenerateDigits(This,pDigits,DigitMode) \
  6722. (This)->lpVtbl -> GenerateDigits(This,pDigits,DigitMode)
  6723. #define ITLegacyCallMediaControl_GetID(This,pDeviceClass,pdwSize,ppDeviceID) \
  6724. (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  6725. #define ITLegacyCallMediaControl_SetMediaType(This,lMediaType) \
  6726. (This)->lpVtbl -> SetMediaType(This,lMediaType)
  6727. #define ITLegacyCallMediaControl_MonitorMedia(This,lMediaType) \
  6728. (This)->lpVtbl -> MonitorMedia(This,lMediaType)
  6729. #endif /* COBJMACROS */
  6730. #endif /* C style interface */
  6731. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_DetectDigits_Proxy(
  6732. ITLegacyCallMediaControl * This,
  6733. /* [in] */ TAPI_DIGITMODE DigitMode);
  6734. void __RPC_STUB ITLegacyCallMediaControl_DetectDigits_Stub(
  6735. IRpcStubBuffer *This,
  6736. IRpcChannelBuffer *_pRpcChannelBuffer,
  6737. PRPC_MESSAGE _pRpcMessage,
  6738. DWORD *_pdwStubPhase);
  6739. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_GenerateDigits_Proxy(
  6740. ITLegacyCallMediaControl * This,
  6741. /* [in] */ BSTR pDigits,
  6742. /* [in] */ TAPI_DIGITMODE DigitMode);
  6743. void __RPC_STUB ITLegacyCallMediaControl_GenerateDigits_Stub(
  6744. IRpcStubBuffer *This,
  6745. IRpcChannelBuffer *_pRpcChannelBuffer,
  6746. PRPC_MESSAGE _pRpcMessage,
  6747. DWORD *_pdwStubPhase);
  6748. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_GetID_Proxy(
  6749. ITLegacyCallMediaControl * This,
  6750. /* [in] */ BSTR pDeviceClass,
  6751. /* [out] */ DWORD *pdwSize,
  6752. /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  6753. void __RPC_STUB ITLegacyCallMediaControl_GetID_Stub(
  6754. IRpcStubBuffer *This,
  6755. IRpcChannelBuffer *_pRpcChannelBuffer,
  6756. PRPC_MESSAGE _pRpcMessage,
  6757. DWORD *_pdwStubPhase);
  6758. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_SetMediaType_Proxy(
  6759. ITLegacyCallMediaControl * This,
  6760. /* [in] */ long lMediaType);
  6761. void __RPC_STUB ITLegacyCallMediaControl_SetMediaType_Stub(
  6762. IRpcStubBuffer *This,
  6763. IRpcChannelBuffer *_pRpcChannelBuffer,
  6764. PRPC_MESSAGE _pRpcMessage,
  6765. DWORD *_pdwStubPhase);
  6766. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl_MonitorMedia_Proxy(
  6767. ITLegacyCallMediaControl * This,
  6768. /* [in] */ long lMediaType);
  6769. void __RPC_STUB ITLegacyCallMediaControl_MonitorMedia_Stub(
  6770. IRpcStubBuffer *This,
  6771. IRpcChannelBuffer *_pRpcChannelBuffer,
  6772. PRPC_MESSAGE _pRpcMessage,
  6773. DWORD *_pdwStubPhase);
  6774. #endif /* __ITLegacyCallMediaControl_INTERFACE_DEFINED__ */
  6775. #ifndef __ITLegacyCallMediaControl2_INTERFACE_DEFINED__
  6776. #define __ITLegacyCallMediaControl2_INTERFACE_DEFINED__
  6777. /* interface ITLegacyCallMediaControl2 */
  6778. /* [object][dual][helpstring][uuid] */
  6779. EXTERN_C const IID IID_ITLegacyCallMediaControl2;
  6780. #if defined(__cplusplus) && !defined(CINTERFACE)
  6781. MIDL_INTERFACE("57CA332D-7BC2-44f1-A60C-936FE8D7CE73")
  6782. ITLegacyCallMediaControl2 : public ITLegacyCallMediaControl
  6783. {
  6784. public:
  6785. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateDigits2(
  6786. /* [in] */ BSTR pDigits,
  6787. /* [in] */ TAPI_DIGITMODE DigitMode,
  6788. /* [in] */ long lDuration) = 0;
  6789. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GatherDigits(
  6790. /* [in] */ TAPI_DIGITMODE DigitMode,
  6791. /* [in] */ long lNumDigits,
  6792. /* [in] */ BSTR pTerminationDigits,
  6793. /* [in] */ long lFirstDigitTimeout,
  6794. /* [in] */ long lInterDigitTimeout) = 0;
  6795. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE DetectTones(
  6796. /* [in] */ TAPI_DETECTTONE *pToneList,
  6797. /* [in] */ long lNumTones) = 0;
  6798. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DetectTonesByCollection(
  6799. /* [in] */ ITCollection2 *pDetectToneCollection) = 0;
  6800. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateTone(
  6801. /* [in] */ TAPI_TONEMODE ToneMode,
  6802. /* [in] */ long lDuration) = 0;
  6803. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE GenerateCustomTones(
  6804. /* [in] */ TAPI_CUSTOMTONE *pToneList,
  6805. /* [in] */ long lNumTones,
  6806. /* [in] */ long lDuration) = 0;
  6807. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GenerateCustomTonesByCollection(
  6808. /* [in] */ ITCollection2 *pCustomToneCollection,
  6809. /* [in] */ long lDuration) = 0;
  6810. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateDetectToneObject(
  6811. /* [retval][out] */ ITDetectTone **ppDetectTone) = 0;
  6812. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateCustomToneObject(
  6813. /* [retval][out] */ ITCustomTone **ppCustomTone) = 0;
  6814. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetIDAsVariant(
  6815. /* [in] */ BSTR bstrDeviceClass,
  6816. /* [retval][out] */ VARIANT *pVarDeviceID) = 0;
  6817. };
  6818. #else /* C style interface */
  6819. typedef struct ITLegacyCallMediaControl2Vtbl
  6820. {
  6821. BEGIN_INTERFACE
  6822. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  6823. ITLegacyCallMediaControl2 * This,
  6824. /* [in] */ REFIID riid,
  6825. /* [iid_is][out] */ void **ppvObject);
  6826. ULONG ( STDMETHODCALLTYPE *AddRef )(
  6827. ITLegacyCallMediaControl2 * This);
  6828. ULONG ( STDMETHODCALLTYPE *Release )(
  6829. ITLegacyCallMediaControl2 * This);
  6830. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  6831. ITLegacyCallMediaControl2 * This,
  6832. /* [out] */ UINT *pctinfo);
  6833. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  6834. ITLegacyCallMediaControl2 * This,
  6835. /* [in] */ UINT iTInfo,
  6836. /* [in] */ LCID lcid,
  6837. /* [out] */ ITypeInfo **ppTInfo);
  6838. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  6839. ITLegacyCallMediaControl2 * This,
  6840. /* [in] */ REFIID riid,
  6841. /* [size_is][in] */ LPOLESTR *rgszNames,
  6842. /* [in] */ UINT cNames,
  6843. /* [in] */ LCID lcid,
  6844. /* [size_is][out] */ DISPID *rgDispId);
  6845. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  6846. ITLegacyCallMediaControl2 * This,
  6847. /* [in] */ DISPID dispIdMember,
  6848. /* [in] */ REFIID riid,
  6849. /* [in] */ LCID lcid,
  6850. /* [in] */ WORD wFlags,
  6851. /* [out][in] */ DISPPARAMS *pDispParams,
  6852. /* [out] */ VARIANT *pVarResult,
  6853. /* [out] */ EXCEPINFO *pExcepInfo,
  6854. /* [out] */ UINT *puArgErr);
  6855. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DetectDigits )(
  6856. ITLegacyCallMediaControl2 * This,
  6857. /* [in] */ TAPI_DIGITMODE DigitMode);
  6858. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateDigits )(
  6859. ITLegacyCallMediaControl2 * This,
  6860. /* [in] */ BSTR pDigits,
  6861. /* [in] */ TAPI_DIGITMODE DigitMode);
  6862. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetID )(
  6863. ITLegacyCallMediaControl2 * This,
  6864. /* [in] */ BSTR pDeviceClass,
  6865. /* [out] */ DWORD *pdwSize,
  6866. /* [size_is][size_is][out] */ BYTE **ppDeviceID);
  6867. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetMediaType )(
  6868. ITLegacyCallMediaControl2 * This,
  6869. /* [in] */ long lMediaType);
  6870. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MonitorMedia )(
  6871. ITLegacyCallMediaControl2 * This,
  6872. /* [in] */ long lMediaType);
  6873. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateDigits2 )(
  6874. ITLegacyCallMediaControl2 * This,
  6875. /* [in] */ BSTR pDigits,
  6876. /* [in] */ TAPI_DIGITMODE DigitMode,
  6877. /* [in] */ long lDuration);
  6878. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GatherDigits )(
  6879. ITLegacyCallMediaControl2 * This,
  6880. /* [in] */ TAPI_DIGITMODE DigitMode,
  6881. /* [in] */ long lNumDigits,
  6882. /* [in] */ BSTR pTerminationDigits,
  6883. /* [in] */ long lFirstDigitTimeout,
  6884. /* [in] */ long lInterDigitTimeout);
  6885. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *DetectTones )(
  6886. ITLegacyCallMediaControl2 * This,
  6887. /* [in] */ TAPI_DETECTTONE *pToneList,
  6888. /* [in] */ long lNumTones);
  6889. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DetectTonesByCollection )(
  6890. ITLegacyCallMediaControl2 * This,
  6891. /* [in] */ ITCollection2 *pDetectToneCollection);
  6892. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateTone )(
  6893. ITLegacyCallMediaControl2 * This,
  6894. /* [in] */ TAPI_TONEMODE ToneMode,
  6895. /* [in] */ long lDuration);
  6896. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateCustomTones )(
  6897. ITLegacyCallMediaControl2 * This,
  6898. /* [in] */ TAPI_CUSTOMTONE *pToneList,
  6899. /* [in] */ long lNumTones,
  6900. /* [in] */ long lDuration);
  6901. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GenerateCustomTonesByCollection )(
  6902. ITLegacyCallMediaControl2 * This,
  6903. /* [in] */ ITCollection2 *pCustomToneCollection,
  6904. /* [in] */ long lDuration);
  6905. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateDetectToneObject )(
  6906. ITLegacyCallMediaControl2 * This,
  6907. /* [retval][out] */ ITDetectTone **ppDetectTone);
  6908. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateCustomToneObject )(
  6909. ITLegacyCallMediaControl2 * This,
  6910. /* [retval][out] */ ITCustomTone **ppCustomTone);
  6911. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetIDAsVariant )(
  6912. ITLegacyCallMediaControl2 * This,
  6913. /* [in] */ BSTR bstrDeviceClass,
  6914. /* [retval][out] */ VARIANT *pVarDeviceID);
  6915. END_INTERFACE
  6916. } ITLegacyCallMediaControl2Vtbl;
  6917. interface ITLegacyCallMediaControl2
  6918. {
  6919. CONST_VTBL struct ITLegacyCallMediaControl2Vtbl *lpVtbl;
  6920. };
  6921. #ifdef COBJMACROS
  6922. #define ITLegacyCallMediaControl2_QueryInterface(This,riid,ppvObject) \
  6923. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6924. #define ITLegacyCallMediaControl2_AddRef(This) \
  6925. (This)->lpVtbl -> AddRef(This)
  6926. #define ITLegacyCallMediaControl2_Release(This) \
  6927. (This)->lpVtbl -> Release(This)
  6928. #define ITLegacyCallMediaControl2_GetTypeInfoCount(This,pctinfo) \
  6929. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  6930. #define ITLegacyCallMediaControl2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  6931. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  6932. #define ITLegacyCallMediaControl2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  6933. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  6934. #define ITLegacyCallMediaControl2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  6935. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  6936. #define ITLegacyCallMediaControl2_DetectDigits(This,DigitMode) \
  6937. (This)->lpVtbl -> DetectDigits(This,DigitMode)
  6938. #define ITLegacyCallMediaControl2_GenerateDigits(This,pDigits,DigitMode) \
  6939. (This)->lpVtbl -> GenerateDigits(This,pDigits,DigitMode)
  6940. #define ITLegacyCallMediaControl2_GetID(This,pDeviceClass,pdwSize,ppDeviceID) \
  6941. (This)->lpVtbl -> GetID(This,pDeviceClass,pdwSize,ppDeviceID)
  6942. #define ITLegacyCallMediaControl2_SetMediaType(This,lMediaType) \
  6943. (This)->lpVtbl -> SetMediaType(This,lMediaType)
  6944. #define ITLegacyCallMediaControl2_MonitorMedia(This,lMediaType) \
  6945. (This)->lpVtbl -> MonitorMedia(This,lMediaType)
  6946. #define ITLegacyCallMediaControl2_GenerateDigits2(This,pDigits,DigitMode,lDuration) \
  6947. (This)->lpVtbl -> GenerateDigits2(This,pDigits,DigitMode,lDuration)
  6948. #define ITLegacyCallMediaControl2_GatherDigits(This,DigitMode,lNumDigits,pTerminationDigits,lFirstDigitTimeout,lInterDigitTimeout) \
  6949. (This)->lpVtbl -> GatherDigits(This,DigitMode,lNumDigits,pTerminationDigits,lFirstDigitTimeout,lInterDigitTimeout)
  6950. #define ITLegacyCallMediaControl2_DetectTones(This,pToneList,lNumTones) \
  6951. (This)->lpVtbl -> DetectTones(This,pToneList,lNumTones)
  6952. #define ITLegacyCallMediaControl2_DetectTonesByCollection(This,pDetectToneCollection) \
  6953. (This)->lpVtbl -> DetectTonesByCollection(This,pDetectToneCollection)
  6954. #define ITLegacyCallMediaControl2_GenerateTone(This,ToneMode,lDuration) \
  6955. (This)->lpVtbl -> GenerateTone(This,ToneMode,lDuration)
  6956. #define ITLegacyCallMediaControl2_GenerateCustomTones(This,pToneList,lNumTones,lDuration) \
  6957. (This)->lpVtbl -> GenerateCustomTones(This,pToneList,lNumTones,lDuration)
  6958. #define ITLegacyCallMediaControl2_GenerateCustomTonesByCollection(This,pCustomToneCollection,lDuration) \
  6959. (This)->lpVtbl -> GenerateCustomTonesByCollection(This,pCustomToneCollection,lDuration)
  6960. #define ITLegacyCallMediaControl2_CreateDetectToneObject(This,ppDetectTone) \
  6961. (This)->lpVtbl -> CreateDetectToneObject(This,ppDetectTone)
  6962. #define ITLegacyCallMediaControl2_CreateCustomToneObject(This,ppCustomTone) \
  6963. (This)->lpVtbl -> CreateCustomToneObject(This,ppCustomTone)
  6964. #define ITLegacyCallMediaControl2_GetIDAsVariant(This,bstrDeviceClass,pVarDeviceID) \
  6965. (This)->lpVtbl -> GetIDAsVariant(This,bstrDeviceClass,pVarDeviceID)
  6966. #endif /* COBJMACROS */
  6967. #endif /* C style interface */
  6968. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateDigits2_Proxy(
  6969. ITLegacyCallMediaControl2 * This,
  6970. /* [in] */ BSTR pDigits,
  6971. /* [in] */ TAPI_DIGITMODE DigitMode,
  6972. /* [in] */ long lDuration);
  6973. void __RPC_STUB ITLegacyCallMediaControl2_GenerateDigits2_Stub(
  6974. IRpcStubBuffer *This,
  6975. IRpcChannelBuffer *_pRpcChannelBuffer,
  6976. PRPC_MESSAGE _pRpcMessage,
  6977. DWORD *_pdwStubPhase);
  6978. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GatherDigits_Proxy(
  6979. ITLegacyCallMediaControl2 * This,
  6980. /* [in] */ TAPI_DIGITMODE DigitMode,
  6981. /* [in] */ long lNumDigits,
  6982. /* [in] */ BSTR pTerminationDigits,
  6983. /* [in] */ long lFirstDigitTimeout,
  6984. /* [in] */ long lInterDigitTimeout);
  6985. void __RPC_STUB ITLegacyCallMediaControl2_GatherDigits_Stub(
  6986. IRpcStubBuffer *This,
  6987. IRpcChannelBuffer *_pRpcChannelBuffer,
  6988. PRPC_MESSAGE _pRpcMessage,
  6989. DWORD *_pdwStubPhase);
  6990. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_DetectTones_Proxy(
  6991. ITLegacyCallMediaControl2 * This,
  6992. /* [in] */ TAPI_DETECTTONE *pToneList,
  6993. /* [in] */ long lNumTones);
  6994. void __RPC_STUB ITLegacyCallMediaControl2_DetectTones_Stub(
  6995. IRpcStubBuffer *This,
  6996. IRpcChannelBuffer *_pRpcChannelBuffer,
  6997. PRPC_MESSAGE _pRpcMessage,
  6998. DWORD *_pdwStubPhase);
  6999. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_DetectTonesByCollection_Proxy(
  7000. ITLegacyCallMediaControl2 * This,
  7001. /* [in] */ ITCollection2 *pDetectToneCollection);
  7002. void __RPC_STUB ITLegacyCallMediaControl2_DetectTonesByCollection_Stub(
  7003. IRpcStubBuffer *This,
  7004. IRpcChannelBuffer *_pRpcChannelBuffer,
  7005. PRPC_MESSAGE _pRpcMessage,
  7006. DWORD *_pdwStubPhase);
  7007. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateTone_Proxy(
  7008. ITLegacyCallMediaControl2 * This,
  7009. /* [in] */ TAPI_TONEMODE ToneMode,
  7010. /* [in] */ long lDuration);
  7011. void __RPC_STUB ITLegacyCallMediaControl2_GenerateTone_Stub(
  7012. IRpcStubBuffer *This,
  7013. IRpcChannelBuffer *_pRpcChannelBuffer,
  7014. PRPC_MESSAGE _pRpcMessage,
  7015. DWORD *_pdwStubPhase);
  7016. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateCustomTones_Proxy(
  7017. ITLegacyCallMediaControl2 * This,
  7018. /* [in] */ TAPI_CUSTOMTONE *pToneList,
  7019. /* [in] */ long lNumTones,
  7020. /* [in] */ long lDuration);
  7021. void __RPC_STUB ITLegacyCallMediaControl2_GenerateCustomTones_Stub(
  7022. IRpcStubBuffer *This,
  7023. IRpcChannelBuffer *_pRpcChannelBuffer,
  7024. PRPC_MESSAGE _pRpcMessage,
  7025. DWORD *_pdwStubPhase);
  7026. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GenerateCustomTonesByCollection_Proxy(
  7027. ITLegacyCallMediaControl2 * This,
  7028. /* [in] */ ITCollection2 *pCustomToneCollection,
  7029. /* [in] */ long lDuration);
  7030. void __RPC_STUB ITLegacyCallMediaControl2_GenerateCustomTonesByCollection_Stub(
  7031. IRpcStubBuffer *This,
  7032. IRpcChannelBuffer *_pRpcChannelBuffer,
  7033. PRPC_MESSAGE _pRpcMessage,
  7034. DWORD *_pdwStubPhase);
  7035. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_CreateDetectToneObject_Proxy(
  7036. ITLegacyCallMediaControl2 * This,
  7037. /* [retval][out] */ ITDetectTone **ppDetectTone);
  7038. void __RPC_STUB ITLegacyCallMediaControl2_CreateDetectToneObject_Stub(
  7039. IRpcStubBuffer *This,
  7040. IRpcChannelBuffer *_pRpcChannelBuffer,
  7041. PRPC_MESSAGE _pRpcMessage,
  7042. DWORD *_pdwStubPhase);
  7043. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_CreateCustomToneObject_Proxy(
  7044. ITLegacyCallMediaControl2 * This,
  7045. /* [retval][out] */ ITCustomTone **ppCustomTone);
  7046. void __RPC_STUB ITLegacyCallMediaControl2_CreateCustomToneObject_Stub(
  7047. IRpcStubBuffer *This,
  7048. IRpcChannelBuffer *_pRpcChannelBuffer,
  7049. PRPC_MESSAGE _pRpcMessage,
  7050. DWORD *_pdwStubPhase);
  7051. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITLegacyCallMediaControl2_GetIDAsVariant_Proxy(
  7052. ITLegacyCallMediaControl2 * This,
  7053. /* [in] */ BSTR bstrDeviceClass,
  7054. /* [retval][out] */ VARIANT *pVarDeviceID);
  7055. void __RPC_STUB ITLegacyCallMediaControl2_GetIDAsVariant_Stub(
  7056. IRpcStubBuffer *This,
  7057. IRpcChannelBuffer *_pRpcChannelBuffer,
  7058. PRPC_MESSAGE _pRpcMessage,
  7059. DWORD *_pdwStubPhase);
  7060. #endif /* __ITLegacyCallMediaControl2_INTERFACE_DEFINED__ */
  7061. #ifndef __ITDetectTone_INTERFACE_DEFINED__
  7062. #define __ITDetectTone_INTERFACE_DEFINED__
  7063. /* interface ITDetectTone */
  7064. /* [object][dual][helpstring][uuid] */
  7065. EXTERN_C const IID IID_ITDetectTone;
  7066. #if defined(__cplusplus) && !defined(CINTERFACE)
  7067. MIDL_INTERFACE("961F79BD-3097-49df-A1D6-909B77E89CA0")
  7068. ITDetectTone : public IDispatch
  7069. {
  7070. public:
  7071. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AppSpecific(
  7072. /* [retval][out] */ long *plAppSpecific) = 0;
  7073. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AppSpecific(
  7074. /* [in] */ long lAppSpecific) = 0;
  7075. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Duration(
  7076. /* [retval][out] */ long *plDuration) = 0;
  7077. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Duration(
  7078. /* [in] */ long lDuration) = 0;
  7079. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Frequency(
  7080. /* [in] */ long Index,
  7081. /* [retval][out] */ long *plFrequency) = 0;
  7082. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Frequency(
  7083. /* [in] */ long Index,
  7084. /* [in] */ long lFrequency) = 0;
  7085. };
  7086. #else /* C style interface */
  7087. typedef struct ITDetectToneVtbl
  7088. {
  7089. BEGIN_INTERFACE
  7090. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7091. ITDetectTone * This,
  7092. /* [in] */ REFIID riid,
  7093. /* [iid_is][out] */ void **ppvObject);
  7094. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7095. ITDetectTone * This);
  7096. ULONG ( STDMETHODCALLTYPE *Release )(
  7097. ITDetectTone * This);
  7098. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7099. ITDetectTone * This,
  7100. /* [out] */ UINT *pctinfo);
  7101. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7102. ITDetectTone * This,
  7103. /* [in] */ UINT iTInfo,
  7104. /* [in] */ LCID lcid,
  7105. /* [out] */ ITypeInfo **ppTInfo);
  7106. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7107. ITDetectTone * This,
  7108. /* [in] */ REFIID riid,
  7109. /* [size_is][in] */ LPOLESTR *rgszNames,
  7110. /* [in] */ UINT cNames,
  7111. /* [in] */ LCID lcid,
  7112. /* [size_is][out] */ DISPID *rgDispId);
  7113. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7114. ITDetectTone * This,
  7115. /* [in] */ DISPID dispIdMember,
  7116. /* [in] */ REFIID riid,
  7117. /* [in] */ LCID lcid,
  7118. /* [in] */ WORD wFlags,
  7119. /* [out][in] */ DISPPARAMS *pDispParams,
  7120. /* [out] */ VARIANT *pVarResult,
  7121. /* [out] */ EXCEPINFO *pExcepInfo,
  7122. /* [out] */ UINT *puArgErr);
  7123. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AppSpecific )(
  7124. ITDetectTone * This,
  7125. /* [retval][out] */ long *plAppSpecific);
  7126. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AppSpecific )(
  7127. ITDetectTone * This,
  7128. /* [in] */ long lAppSpecific);
  7129. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Duration )(
  7130. ITDetectTone * This,
  7131. /* [retval][out] */ long *plDuration);
  7132. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Duration )(
  7133. ITDetectTone * This,
  7134. /* [in] */ long lDuration);
  7135. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Frequency )(
  7136. ITDetectTone * This,
  7137. /* [in] */ long Index,
  7138. /* [retval][out] */ long *plFrequency);
  7139. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Frequency )(
  7140. ITDetectTone * This,
  7141. /* [in] */ long Index,
  7142. /* [in] */ long lFrequency);
  7143. END_INTERFACE
  7144. } ITDetectToneVtbl;
  7145. interface ITDetectTone
  7146. {
  7147. CONST_VTBL struct ITDetectToneVtbl *lpVtbl;
  7148. };
  7149. #ifdef COBJMACROS
  7150. #define ITDetectTone_QueryInterface(This,riid,ppvObject) \
  7151. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7152. #define ITDetectTone_AddRef(This) \
  7153. (This)->lpVtbl -> AddRef(This)
  7154. #define ITDetectTone_Release(This) \
  7155. (This)->lpVtbl -> Release(This)
  7156. #define ITDetectTone_GetTypeInfoCount(This,pctinfo) \
  7157. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7158. #define ITDetectTone_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7159. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7160. #define ITDetectTone_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7161. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7162. #define ITDetectTone_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7163. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7164. #define ITDetectTone_get_AppSpecific(This,plAppSpecific) \
  7165. (This)->lpVtbl -> get_AppSpecific(This,plAppSpecific)
  7166. #define ITDetectTone_put_AppSpecific(This,lAppSpecific) \
  7167. (This)->lpVtbl -> put_AppSpecific(This,lAppSpecific)
  7168. #define ITDetectTone_get_Duration(This,plDuration) \
  7169. (This)->lpVtbl -> get_Duration(This,plDuration)
  7170. #define ITDetectTone_put_Duration(This,lDuration) \
  7171. (This)->lpVtbl -> put_Duration(This,lDuration)
  7172. #define ITDetectTone_get_Frequency(This,Index,plFrequency) \
  7173. (This)->lpVtbl -> get_Frequency(This,Index,plFrequency)
  7174. #define ITDetectTone_put_Frequency(This,Index,lFrequency) \
  7175. (This)->lpVtbl -> put_Frequency(This,Index,lFrequency)
  7176. #endif /* COBJMACROS */
  7177. #endif /* C style interface */
  7178. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDetectTone_get_AppSpecific_Proxy(
  7179. ITDetectTone * This,
  7180. /* [retval][out] */ long *plAppSpecific);
  7181. void __RPC_STUB ITDetectTone_get_AppSpecific_Stub(
  7182. IRpcStubBuffer *This,
  7183. IRpcChannelBuffer *_pRpcChannelBuffer,
  7184. PRPC_MESSAGE _pRpcMessage,
  7185. DWORD *_pdwStubPhase);
  7186. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITDetectTone_put_AppSpecific_Proxy(
  7187. ITDetectTone * This,
  7188. /* [in] */ long lAppSpecific);
  7189. void __RPC_STUB ITDetectTone_put_AppSpecific_Stub(
  7190. IRpcStubBuffer *This,
  7191. IRpcChannelBuffer *_pRpcChannelBuffer,
  7192. PRPC_MESSAGE _pRpcMessage,
  7193. DWORD *_pdwStubPhase);
  7194. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDetectTone_get_Duration_Proxy(
  7195. ITDetectTone * This,
  7196. /* [retval][out] */ long *plDuration);
  7197. void __RPC_STUB ITDetectTone_get_Duration_Stub(
  7198. IRpcStubBuffer *This,
  7199. IRpcChannelBuffer *_pRpcChannelBuffer,
  7200. PRPC_MESSAGE _pRpcMessage,
  7201. DWORD *_pdwStubPhase);
  7202. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITDetectTone_put_Duration_Proxy(
  7203. ITDetectTone * This,
  7204. /* [in] */ long lDuration);
  7205. void __RPC_STUB ITDetectTone_put_Duration_Stub(
  7206. IRpcStubBuffer *This,
  7207. IRpcChannelBuffer *_pRpcChannelBuffer,
  7208. PRPC_MESSAGE _pRpcMessage,
  7209. DWORD *_pdwStubPhase);
  7210. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDetectTone_get_Frequency_Proxy(
  7211. ITDetectTone * This,
  7212. /* [in] */ long Index,
  7213. /* [retval][out] */ long *plFrequency);
  7214. void __RPC_STUB ITDetectTone_get_Frequency_Stub(
  7215. IRpcStubBuffer *This,
  7216. IRpcChannelBuffer *_pRpcChannelBuffer,
  7217. PRPC_MESSAGE _pRpcMessage,
  7218. DWORD *_pdwStubPhase);
  7219. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITDetectTone_put_Frequency_Proxy(
  7220. ITDetectTone * This,
  7221. /* [in] */ long Index,
  7222. /* [in] */ long lFrequency);
  7223. void __RPC_STUB ITDetectTone_put_Frequency_Stub(
  7224. IRpcStubBuffer *This,
  7225. IRpcChannelBuffer *_pRpcChannelBuffer,
  7226. PRPC_MESSAGE _pRpcMessage,
  7227. DWORD *_pdwStubPhase);
  7228. #endif /* __ITDetectTone_INTERFACE_DEFINED__ */
  7229. #ifndef __ITCustomTone_INTERFACE_DEFINED__
  7230. #define __ITCustomTone_INTERFACE_DEFINED__
  7231. /* interface ITCustomTone */
  7232. /* [object][unique][dual][helpstring][uuid] */
  7233. EXTERN_C const IID IID_ITCustomTone;
  7234. #if defined(__cplusplus) && !defined(CINTERFACE)
  7235. MIDL_INTERFACE("357AD764-B3C6-4b2a-8FA5-0722827A9254")
  7236. ITCustomTone : public IDispatch
  7237. {
  7238. public:
  7239. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Frequency(
  7240. /* [retval][out] */ long *plFrequency) = 0;
  7241. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Frequency(
  7242. /* [in] */ long lFrequency) = 0;
  7243. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CadenceOn(
  7244. /* [retval][out] */ long *plCadenceOn) = 0;
  7245. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CadenceOn(
  7246. /* [in] */ long CadenceOn) = 0;
  7247. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CadenceOff(
  7248. /* [retval][out] */ long *plCadenceOff) = 0;
  7249. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_CadenceOff(
  7250. /* [in] */ long lCadenceOff) = 0;
  7251. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Volume(
  7252. /* [retval][out] */ long *plVolume) = 0;
  7253. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Volume(
  7254. /* [in] */ long lVolume) = 0;
  7255. };
  7256. #else /* C style interface */
  7257. typedef struct ITCustomToneVtbl
  7258. {
  7259. BEGIN_INTERFACE
  7260. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7261. ITCustomTone * This,
  7262. /* [in] */ REFIID riid,
  7263. /* [iid_is][out] */ void **ppvObject);
  7264. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7265. ITCustomTone * This);
  7266. ULONG ( STDMETHODCALLTYPE *Release )(
  7267. ITCustomTone * This);
  7268. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  7269. ITCustomTone * This,
  7270. /* [out] */ UINT *pctinfo);
  7271. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  7272. ITCustomTone * This,
  7273. /* [in] */ UINT iTInfo,
  7274. /* [in] */ LCID lcid,
  7275. /* [out] */ ITypeInfo **ppTInfo);
  7276. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  7277. ITCustomTone * This,
  7278. /* [in] */ REFIID riid,
  7279. /* [size_is][in] */ LPOLESTR *rgszNames,
  7280. /* [in] */ UINT cNames,
  7281. /* [in] */ LCID lcid,
  7282. /* [size_is][out] */ DISPID *rgDispId);
  7283. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  7284. ITCustomTone * This,
  7285. /* [in] */ DISPID dispIdMember,
  7286. /* [in] */ REFIID riid,
  7287. /* [in] */ LCID lcid,
  7288. /* [in] */ WORD wFlags,
  7289. /* [out][in] */ DISPPARAMS *pDispParams,
  7290. /* [out] */ VARIANT *pVarResult,
  7291. /* [out] */ EXCEPINFO *pExcepInfo,
  7292. /* [out] */ UINT *puArgErr);
  7293. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Frequency )(
  7294. ITCustomTone * This,
  7295. /* [retval][out] */ long *plFrequency);
  7296. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Frequency )(
  7297. ITCustomTone * This,
  7298. /* [in] */ long lFrequency);
  7299. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CadenceOn )(
  7300. ITCustomTone * This,
  7301. /* [retval][out] */ long *plCadenceOn);
  7302. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CadenceOn )(
  7303. ITCustomTone * This,
  7304. /* [in] */ long CadenceOn);
  7305. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CadenceOff )(
  7306. ITCustomTone * This,
  7307. /* [retval][out] */ long *plCadenceOff);
  7308. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_CadenceOff )(
  7309. ITCustomTone * This,
  7310. /* [in] */ long lCadenceOff);
  7311. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Volume )(
  7312. ITCustomTone * This,
  7313. /* [retval][out] */ long *plVolume);
  7314. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Volume )(
  7315. ITCustomTone * This,
  7316. /* [in] */ long lVolume);
  7317. END_INTERFACE
  7318. } ITCustomToneVtbl;
  7319. interface ITCustomTone
  7320. {
  7321. CONST_VTBL struct ITCustomToneVtbl *lpVtbl;
  7322. };
  7323. #ifdef COBJMACROS
  7324. #define ITCustomTone_QueryInterface(This,riid,ppvObject) \
  7325. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7326. #define ITCustomTone_AddRef(This) \
  7327. (This)->lpVtbl -> AddRef(This)
  7328. #define ITCustomTone_Release(This) \
  7329. (This)->lpVtbl -> Release(This)
  7330. #define ITCustomTone_GetTypeInfoCount(This,pctinfo) \
  7331. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  7332. #define ITCustomTone_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  7333. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  7334. #define ITCustomTone_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  7335. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  7336. #define ITCustomTone_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  7337. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  7338. #define ITCustomTone_get_Frequency(This,plFrequency) \
  7339. (This)->lpVtbl -> get_Frequency(This,plFrequency)
  7340. #define ITCustomTone_put_Frequency(This,lFrequency) \
  7341. (This)->lpVtbl -> put_Frequency(This,lFrequency)
  7342. #define ITCustomTone_get_CadenceOn(This,plCadenceOn) \
  7343. (This)->lpVtbl -> get_CadenceOn(This,plCadenceOn)
  7344. #define ITCustomTone_put_CadenceOn(This,CadenceOn) \
  7345. (This)->lpVtbl -> put_CadenceOn(This,CadenceOn)
  7346. #define ITCustomTone_get_CadenceOff(This,plCadenceOff) \
  7347. (This)->lpVtbl -> get_CadenceOff(This,plCadenceOff)
  7348. #define ITCustomTone_put_CadenceOff(This,lCadenceOff) \
  7349. (This)->lpVtbl -> put_CadenceOff(This,lCadenceOff)
  7350. #define ITCustomTone_get_Volume(This,plVolume) \
  7351. (This)->lpVtbl -> get_Volume(This,plVolume)
  7352. #define ITCustomTone_put_Volume(This,lVolume) \
  7353. (This)->lpVtbl -> put_Volume(This,lVolume)
  7354. #endif /* COBJMACROS */
  7355. #endif /* C style interface */
  7356. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCustomTone_get_Frequency_Proxy(
  7357. ITCustomTone * This,
  7358. /* [retval][out] */ long *plFrequency);
  7359. void __RPC_STUB ITCustomTone_get_Frequency_Stub(
  7360. IRpcStubBuffer *This,
  7361. IRpcChannelBuffer *_pRpcChannelBuffer,
  7362. PRPC_MESSAGE _pRpcMessage,
  7363. DWORD *_pdwStubPhase);
  7364. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCustomTone_put_Frequency_Proxy(
  7365. ITCustomTone * This,
  7366. /* [in] */ long lFrequency);
  7367. void __RPC_STUB ITCustomTone_put_Frequency_Stub(
  7368. IRpcStubBuffer *This,
  7369. IRpcChannelBuffer *_pRpcChannelBuffer,
  7370. PRPC_MESSAGE _pRpcMessage,
  7371. DWORD *_pdwStubPhase);
  7372. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCustomTone_get_CadenceOn_Proxy(
  7373. ITCustomTone * This,
  7374. /* [retval][out] */ long *plCadenceOn);
  7375. void __RPC_STUB ITCustomTone_get_CadenceOn_Stub(
  7376. IRpcStubBuffer *This,
  7377. IRpcChannelBuffer *_pRpcChannelBuffer,
  7378. PRPC_MESSAGE _pRpcMessage,
  7379. DWORD *_pdwStubPhase);
  7380. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCustomTone_put_CadenceOn_Proxy(
  7381. ITCustomTone * This,
  7382. /* [in] */ long CadenceOn);
  7383. void __RPC_STUB ITCustomTone_put_CadenceOn_Stub(
  7384. IRpcStubBuffer *This,
  7385. IRpcChannelBuffer *_pRpcChannelBuffer,
  7386. PRPC_MESSAGE _pRpcMessage,
  7387. DWORD *_pdwStubPhase);
  7388. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCustomTone_get_CadenceOff_Proxy(
  7389. ITCustomTone * This,
  7390. /* [retval][out] */ long *plCadenceOff);
  7391. void __RPC_STUB ITCustomTone_get_CadenceOff_Stub(
  7392. IRpcStubBuffer *This,
  7393. IRpcChannelBuffer *_pRpcChannelBuffer,
  7394. PRPC_MESSAGE _pRpcMessage,
  7395. DWORD *_pdwStubPhase);
  7396. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCustomTone_put_CadenceOff_Proxy(
  7397. ITCustomTone * This,
  7398. /* [in] */ long lCadenceOff);
  7399. void __RPC_STUB ITCustomTone_put_CadenceOff_Stub(
  7400. IRpcStubBuffer *This,
  7401. IRpcChannelBuffer *_pRpcChannelBuffer,
  7402. PRPC_MESSAGE _pRpcMessage,
  7403. DWORD *_pdwStubPhase);
  7404. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCustomTone_get_Volume_Proxy(
  7405. ITCustomTone * This,
  7406. /* [retval][out] */ long *plVolume);
  7407. void __RPC_STUB ITCustomTone_get_Volume_Stub(
  7408. IRpcStubBuffer *This,
  7409. IRpcChannelBuffer *_pRpcChannelBuffer,
  7410. PRPC_MESSAGE _pRpcMessage,
  7411. DWORD *_pdwStubPhase);
  7412. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITCustomTone_put_Volume_Proxy(
  7413. ITCustomTone * This,
  7414. /* [in] */ long lVolume);
  7415. void __RPC_STUB ITCustomTone_put_Volume_Stub(
  7416. IRpcStubBuffer *This,
  7417. IRpcChannelBuffer *_pRpcChannelBuffer,
  7418. PRPC_MESSAGE _pRpcMessage,
  7419. DWORD *_pdwStubPhase);
  7420. #endif /* __ITCustomTone_INTERFACE_DEFINED__ */
  7421. #ifndef __IEnumPhone_INTERFACE_DEFINED__
  7422. #define __IEnumPhone_INTERFACE_DEFINED__
  7423. /* interface IEnumPhone */
  7424. /* [object][unique][hidden][helpstring][uuid] */
  7425. EXTERN_C const IID IID_IEnumPhone;
  7426. #if defined(__cplusplus) && !defined(CINTERFACE)
  7427. MIDL_INTERFACE("F15B7669-4780-4595-8C89-FB369C8CF7AA")
  7428. IEnumPhone : public IUnknown
  7429. {
  7430. public:
  7431. virtual HRESULT STDMETHODCALLTYPE Next(
  7432. /* [in] */ ULONG celt,
  7433. /* [size_is][out] */ ITPhone **ppElements,
  7434. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  7435. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  7436. virtual HRESULT STDMETHODCALLTYPE Skip(
  7437. /* [in] */ ULONG celt) = 0;
  7438. virtual HRESULT STDMETHODCALLTYPE Clone(
  7439. /* [retval][out] */ IEnumPhone **ppEnum) = 0;
  7440. };
  7441. #else /* C style interface */
  7442. typedef struct IEnumPhoneVtbl
  7443. {
  7444. BEGIN_INTERFACE
  7445. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7446. IEnumPhone * This,
  7447. /* [in] */ REFIID riid,
  7448. /* [iid_is][out] */ void **ppvObject);
  7449. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7450. IEnumPhone * This);
  7451. ULONG ( STDMETHODCALLTYPE *Release )(
  7452. IEnumPhone * This);
  7453. HRESULT ( STDMETHODCALLTYPE *Next )(
  7454. IEnumPhone * This,
  7455. /* [in] */ ULONG celt,
  7456. /* [size_is][out] */ ITPhone **ppElements,
  7457. /* [full][out][in] */ ULONG *pceltFetched);
  7458. HRESULT ( STDMETHODCALLTYPE *Reset )(
  7459. IEnumPhone * This);
  7460. HRESULT ( STDMETHODCALLTYPE *Skip )(
  7461. IEnumPhone * This,
  7462. /* [in] */ ULONG celt);
  7463. HRESULT ( STDMETHODCALLTYPE *Clone )(
  7464. IEnumPhone * This,
  7465. /* [retval][out] */ IEnumPhone **ppEnum);
  7466. END_INTERFACE
  7467. } IEnumPhoneVtbl;
  7468. interface IEnumPhone
  7469. {
  7470. CONST_VTBL struct IEnumPhoneVtbl *lpVtbl;
  7471. };
  7472. #ifdef COBJMACROS
  7473. #define IEnumPhone_QueryInterface(This,riid,ppvObject) \
  7474. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7475. #define IEnumPhone_AddRef(This) \
  7476. (This)->lpVtbl -> AddRef(This)
  7477. #define IEnumPhone_Release(This) \
  7478. (This)->lpVtbl -> Release(This)
  7479. #define IEnumPhone_Next(This,celt,ppElements,pceltFetched) \
  7480. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  7481. #define IEnumPhone_Reset(This) \
  7482. (This)->lpVtbl -> Reset(This)
  7483. #define IEnumPhone_Skip(This,celt) \
  7484. (This)->lpVtbl -> Skip(This,celt)
  7485. #define IEnumPhone_Clone(This,ppEnum) \
  7486. (This)->lpVtbl -> Clone(This,ppEnum)
  7487. #endif /* COBJMACROS */
  7488. #endif /* C style interface */
  7489. HRESULT STDMETHODCALLTYPE IEnumPhone_Next_Proxy(
  7490. IEnumPhone * This,
  7491. /* [in] */ ULONG celt,
  7492. /* [size_is][out] */ ITPhone **ppElements,
  7493. /* [full][out][in] */ ULONG *pceltFetched);
  7494. void __RPC_STUB IEnumPhone_Next_Stub(
  7495. IRpcStubBuffer *This,
  7496. IRpcChannelBuffer *_pRpcChannelBuffer,
  7497. PRPC_MESSAGE _pRpcMessage,
  7498. DWORD *_pdwStubPhase);
  7499. HRESULT STDMETHODCALLTYPE IEnumPhone_Reset_Proxy(
  7500. IEnumPhone * This);
  7501. void __RPC_STUB IEnumPhone_Reset_Stub(
  7502. IRpcStubBuffer *This,
  7503. IRpcChannelBuffer *_pRpcChannelBuffer,
  7504. PRPC_MESSAGE _pRpcMessage,
  7505. DWORD *_pdwStubPhase);
  7506. HRESULT STDMETHODCALLTYPE IEnumPhone_Skip_Proxy(
  7507. IEnumPhone * This,
  7508. /* [in] */ ULONG celt);
  7509. void __RPC_STUB IEnumPhone_Skip_Stub(
  7510. IRpcStubBuffer *This,
  7511. IRpcChannelBuffer *_pRpcChannelBuffer,
  7512. PRPC_MESSAGE _pRpcMessage,
  7513. DWORD *_pdwStubPhase);
  7514. HRESULT STDMETHODCALLTYPE IEnumPhone_Clone_Proxy(
  7515. IEnumPhone * This,
  7516. /* [retval][out] */ IEnumPhone **ppEnum);
  7517. void __RPC_STUB IEnumPhone_Clone_Stub(
  7518. IRpcStubBuffer *This,
  7519. IRpcChannelBuffer *_pRpcChannelBuffer,
  7520. PRPC_MESSAGE _pRpcMessage,
  7521. DWORD *_pdwStubPhase);
  7522. #endif /* __IEnumPhone_INTERFACE_DEFINED__ */
  7523. #ifndef __IEnumTerminal_INTERFACE_DEFINED__
  7524. #define __IEnumTerminal_INTERFACE_DEFINED__
  7525. /* interface IEnumTerminal */
  7526. /* [object][unique][hidden][helpstring][uuid] */
  7527. EXTERN_C const IID IID_IEnumTerminal;
  7528. #if defined(__cplusplus) && !defined(CINTERFACE)
  7529. MIDL_INTERFACE("AE269CF4-935E-11d0-835C-00AA003CCABD")
  7530. IEnumTerminal : public IUnknown
  7531. {
  7532. public:
  7533. virtual HRESULT STDMETHODCALLTYPE Next(
  7534. /* [in] */ ULONG celt,
  7535. /* [out] */ ITTerminal **ppElements,
  7536. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  7537. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  7538. virtual HRESULT STDMETHODCALLTYPE Skip(
  7539. /* [in] */ ULONG celt) = 0;
  7540. virtual HRESULT STDMETHODCALLTYPE Clone(
  7541. /* [retval][out] */ IEnumTerminal **ppEnum) = 0;
  7542. };
  7543. #else /* C style interface */
  7544. typedef struct IEnumTerminalVtbl
  7545. {
  7546. BEGIN_INTERFACE
  7547. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7548. IEnumTerminal * This,
  7549. /* [in] */ REFIID riid,
  7550. /* [iid_is][out] */ void **ppvObject);
  7551. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7552. IEnumTerminal * This);
  7553. ULONG ( STDMETHODCALLTYPE *Release )(
  7554. IEnumTerminal * This);
  7555. HRESULT ( STDMETHODCALLTYPE *Next )(
  7556. IEnumTerminal * This,
  7557. /* [in] */ ULONG celt,
  7558. /* [out] */ ITTerminal **ppElements,
  7559. /* [full][out][in] */ ULONG *pceltFetched);
  7560. HRESULT ( STDMETHODCALLTYPE *Reset )(
  7561. IEnumTerminal * This);
  7562. HRESULT ( STDMETHODCALLTYPE *Skip )(
  7563. IEnumTerminal * This,
  7564. /* [in] */ ULONG celt);
  7565. HRESULT ( STDMETHODCALLTYPE *Clone )(
  7566. IEnumTerminal * This,
  7567. /* [retval][out] */ IEnumTerminal **ppEnum);
  7568. END_INTERFACE
  7569. } IEnumTerminalVtbl;
  7570. interface IEnumTerminal
  7571. {
  7572. CONST_VTBL struct IEnumTerminalVtbl *lpVtbl;
  7573. };
  7574. #ifdef COBJMACROS
  7575. #define IEnumTerminal_QueryInterface(This,riid,ppvObject) \
  7576. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7577. #define IEnumTerminal_AddRef(This) \
  7578. (This)->lpVtbl -> AddRef(This)
  7579. #define IEnumTerminal_Release(This) \
  7580. (This)->lpVtbl -> Release(This)
  7581. #define IEnumTerminal_Next(This,celt,ppElements,pceltFetched) \
  7582. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  7583. #define IEnumTerminal_Reset(This) \
  7584. (This)->lpVtbl -> Reset(This)
  7585. #define IEnumTerminal_Skip(This,celt) \
  7586. (This)->lpVtbl -> Skip(This,celt)
  7587. #define IEnumTerminal_Clone(This,ppEnum) \
  7588. (This)->lpVtbl -> Clone(This,ppEnum)
  7589. #endif /* COBJMACROS */
  7590. #endif /* C style interface */
  7591. HRESULT STDMETHODCALLTYPE IEnumTerminal_Next_Proxy(
  7592. IEnumTerminal * This,
  7593. /* [in] */ ULONG celt,
  7594. /* [out] */ ITTerminal **ppElements,
  7595. /* [full][out][in] */ ULONG *pceltFetched);
  7596. void __RPC_STUB IEnumTerminal_Next_Stub(
  7597. IRpcStubBuffer *This,
  7598. IRpcChannelBuffer *_pRpcChannelBuffer,
  7599. PRPC_MESSAGE _pRpcMessage,
  7600. DWORD *_pdwStubPhase);
  7601. HRESULT STDMETHODCALLTYPE IEnumTerminal_Reset_Proxy(
  7602. IEnumTerminal * This);
  7603. void __RPC_STUB IEnumTerminal_Reset_Stub(
  7604. IRpcStubBuffer *This,
  7605. IRpcChannelBuffer *_pRpcChannelBuffer,
  7606. PRPC_MESSAGE _pRpcMessage,
  7607. DWORD *_pdwStubPhase);
  7608. HRESULT STDMETHODCALLTYPE IEnumTerminal_Skip_Proxy(
  7609. IEnumTerminal * This,
  7610. /* [in] */ ULONG celt);
  7611. void __RPC_STUB IEnumTerminal_Skip_Stub(
  7612. IRpcStubBuffer *This,
  7613. IRpcChannelBuffer *_pRpcChannelBuffer,
  7614. PRPC_MESSAGE _pRpcMessage,
  7615. DWORD *_pdwStubPhase);
  7616. HRESULT STDMETHODCALLTYPE IEnumTerminal_Clone_Proxy(
  7617. IEnumTerminal * This,
  7618. /* [retval][out] */ IEnumTerminal **ppEnum);
  7619. void __RPC_STUB IEnumTerminal_Clone_Stub(
  7620. IRpcStubBuffer *This,
  7621. IRpcChannelBuffer *_pRpcChannelBuffer,
  7622. PRPC_MESSAGE _pRpcMessage,
  7623. DWORD *_pdwStubPhase);
  7624. #endif /* __IEnumTerminal_INTERFACE_DEFINED__ */
  7625. #ifndef __IEnumTerminalClass_INTERFACE_DEFINED__
  7626. #define __IEnumTerminalClass_INTERFACE_DEFINED__
  7627. /* interface IEnumTerminalClass */
  7628. /* [object][unique][hidden][helpstring][uuid] */
  7629. EXTERN_C const IID IID_IEnumTerminalClass;
  7630. #if defined(__cplusplus) && !defined(CINTERFACE)
  7631. MIDL_INTERFACE("AE269CF5-935E-11d0-835C-00AA003CCABD")
  7632. IEnumTerminalClass : public IUnknown
  7633. {
  7634. public:
  7635. virtual HRESULT STDMETHODCALLTYPE Next(
  7636. /* [in] */ ULONG celt,
  7637. /* [size_is][out] */ GUID *pElements,
  7638. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  7639. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  7640. virtual HRESULT STDMETHODCALLTYPE Skip(
  7641. /* [in] */ ULONG celt) = 0;
  7642. virtual HRESULT STDMETHODCALLTYPE Clone(
  7643. /* [retval][out] */ IEnumTerminalClass **ppEnum) = 0;
  7644. };
  7645. #else /* C style interface */
  7646. typedef struct IEnumTerminalClassVtbl
  7647. {
  7648. BEGIN_INTERFACE
  7649. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7650. IEnumTerminalClass * This,
  7651. /* [in] */ REFIID riid,
  7652. /* [iid_is][out] */ void **ppvObject);
  7653. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7654. IEnumTerminalClass * This);
  7655. ULONG ( STDMETHODCALLTYPE *Release )(
  7656. IEnumTerminalClass * This);
  7657. HRESULT ( STDMETHODCALLTYPE *Next )(
  7658. IEnumTerminalClass * This,
  7659. /* [in] */ ULONG celt,
  7660. /* [size_is][out] */ GUID *pElements,
  7661. /* [full][out][in] */ ULONG *pceltFetched);
  7662. HRESULT ( STDMETHODCALLTYPE *Reset )(
  7663. IEnumTerminalClass * This);
  7664. HRESULT ( STDMETHODCALLTYPE *Skip )(
  7665. IEnumTerminalClass * This,
  7666. /* [in] */ ULONG celt);
  7667. HRESULT ( STDMETHODCALLTYPE *Clone )(
  7668. IEnumTerminalClass * This,
  7669. /* [retval][out] */ IEnumTerminalClass **ppEnum);
  7670. END_INTERFACE
  7671. } IEnumTerminalClassVtbl;
  7672. interface IEnumTerminalClass
  7673. {
  7674. CONST_VTBL struct IEnumTerminalClassVtbl *lpVtbl;
  7675. };
  7676. #ifdef COBJMACROS
  7677. #define IEnumTerminalClass_QueryInterface(This,riid,ppvObject) \
  7678. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7679. #define IEnumTerminalClass_AddRef(This) \
  7680. (This)->lpVtbl -> AddRef(This)
  7681. #define IEnumTerminalClass_Release(This) \
  7682. (This)->lpVtbl -> Release(This)
  7683. #define IEnumTerminalClass_Next(This,celt,pElements,pceltFetched) \
  7684. (This)->lpVtbl -> Next(This,celt,pElements,pceltFetched)
  7685. #define IEnumTerminalClass_Reset(This) \
  7686. (This)->lpVtbl -> Reset(This)
  7687. #define IEnumTerminalClass_Skip(This,celt) \
  7688. (This)->lpVtbl -> Skip(This,celt)
  7689. #define IEnumTerminalClass_Clone(This,ppEnum) \
  7690. (This)->lpVtbl -> Clone(This,ppEnum)
  7691. #endif /* COBJMACROS */
  7692. #endif /* C style interface */
  7693. HRESULT STDMETHODCALLTYPE IEnumTerminalClass_Next_Proxy(
  7694. IEnumTerminalClass * This,
  7695. /* [in] */ ULONG celt,
  7696. /* [size_is][out] */ GUID *pElements,
  7697. /* [full][out][in] */ ULONG *pceltFetched);
  7698. void __RPC_STUB IEnumTerminalClass_Next_Stub(
  7699. IRpcStubBuffer *This,
  7700. IRpcChannelBuffer *_pRpcChannelBuffer,
  7701. PRPC_MESSAGE _pRpcMessage,
  7702. DWORD *_pdwStubPhase);
  7703. HRESULT STDMETHODCALLTYPE IEnumTerminalClass_Reset_Proxy(
  7704. IEnumTerminalClass * This);
  7705. void __RPC_STUB IEnumTerminalClass_Reset_Stub(
  7706. IRpcStubBuffer *This,
  7707. IRpcChannelBuffer *_pRpcChannelBuffer,
  7708. PRPC_MESSAGE _pRpcMessage,
  7709. DWORD *_pdwStubPhase);
  7710. HRESULT STDMETHODCALLTYPE IEnumTerminalClass_Skip_Proxy(
  7711. IEnumTerminalClass * This,
  7712. /* [in] */ ULONG celt);
  7713. void __RPC_STUB IEnumTerminalClass_Skip_Stub(
  7714. IRpcStubBuffer *This,
  7715. IRpcChannelBuffer *_pRpcChannelBuffer,
  7716. PRPC_MESSAGE _pRpcMessage,
  7717. DWORD *_pdwStubPhase);
  7718. HRESULT STDMETHODCALLTYPE IEnumTerminalClass_Clone_Proxy(
  7719. IEnumTerminalClass * This,
  7720. /* [retval][out] */ IEnumTerminalClass **ppEnum);
  7721. void __RPC_STUB IEnumTerminalClass_Clone_Stub(
  7722. IRpcStubBuffer *This,
  7723. IRpcChannelBuffer *_pRpcChannelBuffer,
  7724. PRPC_MESSAGE _pRpcMessage,
  7725. DWORD *_pdwStubPhase);
  7726. #endif /* __IEnumTerminalClass_INTERFACE_DEFINED__ */
  7727. #ifndef __IEnumCall_INTERFACE_DEFINED__
  7728. #define __IEnumCall_INTERFACE_DEFINED__
  7729. /* interface IEnumCall */
  7730. /* [object][unique][hidden][helpstring][uuid] */
  7731. EXTERN_C const IID IID_IEnumCall;
  7732. #if defined(__cplusplus) && !defined(CINTERFACE)
  7733. MIDL_INTERFACE("AE269CF6-935E-11d0-835C-00AA003CCABD")
  7734. IEnumCall : public IUnknown
  7735. {
  7736. public:
  7737. virtual HRESULT STDMETHODCALLTYPE Next(
  7738. /* [in] */ ULONG celt,
  7739. /* [out] */ ITCallInfo **ppElements,
  7740. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  7741. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  7742. virtual HRESULT STDMETHODCALLTYPE Skip(
  7743. /* [in] */ ULONG celt) = 0;
  7744. virtual HRESULT STDMETHODCALLTYPE Clone(
  7745. /* [retval][out] */ IEnumCall **ppEnum) = 0;
  7746. };
  7747. #else /* C style interface */
  7748. typedef struct IEnumCallVtbl
  7749. {
  7750. BEGIN_INTERFACE
  7751. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7752. IEnumCall * This,
  7753. /* [in] */ REFIID riid,
  7754. /* [iid_is][out] */ void **ppvObject);
  7755. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7756. IEnumCall * This);
  7757. ULONG ( STDMETHODCALLTYPE *Release )(
  7758. IEnumCall * This);
  7759. HRESULT ( STDMETHODCALLTYPE *Next )(
  7760. IEnumCall * This,
  7761. /* [in] */ ULONG celt,
  7762. /* [out] */ ITCallInfo **ppElements,
  7763. /* [full][out][in] */ ULONG *pceltFetched);
  7764. HRESULT ( STDMETHODCALLTYPE *Reset )(
  7765. IEnumCall * This);
  7766. HRESULT ( STDMETHODCALLTYPE *Skip )(
  7767. IEnumCall * This,
  7768. /* [in] */ ULONG celt);
  7769. HRESULT ( STDMETHODCALLTYPE *Clone )(
  7770. IEnumCall * This,
  7771. /* [retval][out] */ IEnumCall **ppEnum);
  7772. END_INTERFACE
  7773. } IEnumCallVtbl;
  7774. interface IEnumCall
  7775. {
  7776. CONST_VTBL struct IEnumCallVtbl *lpVtbl;
  7777. };
  7778. #ifdef COBJMACROS
  7779. #define IEnumCall_QueryInterface(This,riid,ppvObject) \
  7780. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7781. #define IEnumCall_AddRef(This) \
  7782. (This)->lpVtbl -> AddRef(This)
  7783. #define IEnumCall_Release(This) \
  7784. (This)->lpVtbl -> Release(This)
  7785. #define IEnumCall_Next(This,celt,ppElements,pceltFetched) \
  7786. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  7787. #define IEnumCall_Reset(This) \
  7788. (This)->lpVtbl -> Reset(This)
  7789. #define IEnumCall_Skip(This,celt) \
  7790. (This)->lpVtbl -> Skip(This,celt)
  7791. #define IEnumCall_Clone(This,ppEnum) \
  7792. (This)->lpVtbl -> Clone(This,ppEnum)
  7793. #endif /* COBJMACROS */
  7794. #endif /* C style interface */
  7795. HRESULT STDMETHODCALLTYPE IEnumCall_Next_Proxy(
  7796. IEnumCall * This,
  7797. /* [in] */ ULONG celt,
  7798. /* [out] */ ITCallInfo **ppElements,
  7799. /* [full][out][in] */ ULONG *pceltFetched);
  7800. void __RPC_STUB IEnumCall_Next_Stub(
  7801. IRpcStubBuffer *This,
  7802. IRpcChannelBuffer *_pRpcChannelBuffer,
  7803. PRPC_MESSAGE _pRpcMessage,
  7804. DWORD *_pdwStubPhase);
  7805. HRESULT STDMETHODCALLTYPE IEnumCall_Reset_Proxy(
  7806. IEnumCall * This);
  7807. void __RPC_STUB IEnumCall_Reset_Stub(
  7808. IRpcStubBuffer *This,
  7809. IRpcChannelBuffer *_pRpcChannelBuffer,
  7810. PRPC_MESSAGE _pRpcMessage,
  7811. DWORD *_pdwStubPhase);
  7812. HRESULT STDMETHODCALLTYPE IEnumCall_Skip_Proxy(
  7813. IEnumCall * This,
  7814. /* [in] */ ULONG celt);
  7815. void __RPC_STUB IEnumCall_Skip_Stub(
  7816. IRpcStubBuffer *This,
  7817. IRpcChannelBuffer *_pRpcChannelBuffer,
  7818. PRPC_MESSAGE _pRpcMessage,
  7819. DWORD *_pdwStubPhase);
  7820. HRESULT STDMETHODCALLTYPE IEnumCall_Clone_Proxy(
  7821. IEnumCall * This,
  7822. /* [retval][out] */ IEnumCall **ppEnum);
  7823. void __RPC_STUB IEnumCall_Clone_Stub(
  7824. IRpcStubBuffer *This,
  7825. IRpcChannelBuffer *_pRpcChannelBuffer,
  7826. PRPC_MESSAGE _pRpcMessage,
  7827. DWORD *_pdwStubPhase);
  7828. #endif /* __IEnumCall_INTERFACE_DEFINED__ */
  7829. #ifndef __IEnumAddress_INTERFACE_DEFINED__
  7830. #define __IEnumAddress_INTERFACE_DEFINED__
  7831. /* interface IEnumAddress */
  7832. /* [object][unique][hidden][helpstring][uuid] */
  7833. EXTERN_C const IID IID_IEnumAddress;
  7834. #if defined(__cplusplus) && !defined(CINTERFACE)
  7835. MIDL_INTERFACE("1666FCA1-9363-11d0-835C-00AA003CCABD")
  7836. IEnumAddress : public IUnknown
  7837. {
  7838. public:
  7839. virtual HRESULT STDMETHODCALLTYPE Next(
  7840. /* [in] */ ULONG celt,
  7841. /* [size_is][out] */ ITAddress **ppElements,
  7842. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  7843. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  7844. virtual HRESULT STDMETHODCALLTYPE Skip(
  7845. /* [in] */ ULONG celt) = 0;
  7846. virtual HRESULT STDMETHODCALLTYPE Clone(
  7847. /* [retval][out] */ IEnumAddress **ppEnum) = 0;
  7848. };
  7849. #else /* C style interface */
  7850. typedef struct IEnumAddressVtbl
  7851. {
  7852. BEGIN_INTERFACE
  7853. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7854. IEnumAddress * This,
  7855. /* [in] */ REFIID riid,
  7856. /* [iid_is][out] */ void **ppvObject);
  7857. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7858. IEnumAddress * This);
  7859. ULONG ( STDMETHODCALLTYPE *Release )(
  7860. IEnumAddress * This);
  7861. HRESULT ( STDMETHODCALLTYPE *Next )(
  7862. IEnumAddress * This,
  7863. /* [in] */ ULONG celt,
  7864. /* [size_is][out] */ ITAddress **ppElements,
  7865. /* [full][out][in] */ ULONG *pceltFetched);
  7866. HRESULT ( STDMETHODCALLTYPE *Reset )(
  7867. IEnumAddress * This);
  7868. HRESULT ( STDMETHODCALLTYPE *Skip )(
  7869. IEnumAddress * This,
  7870. /* [in] */ ULONG celt);
  7871. HRESULT ( STDMETHODCALLTYPE *Clone )(
  7872. IEnumAddress * This,
  7873. /* [retval][out] */ IEnumAddress **ppEnum);
  7874. END_INTERFACE
  7875. } IEnumAddressVtbl;
  7876. interface IEnumAddress
  7877. {
  7878. CONST_VTBL struct IEnumAddressVtbl *lpVtbl;
  7879. };
  7880. #ifdef COBJMACROS
  7881. #define IEnumAddress_QueryInterface(This,riid,ppvObject) \
  7882. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7883. #define IEnumAddress_AddRef(This) \
  7884. (This)->lpVtbl -> AddRef(This)
  7885. #define IEnumAddress_Release(This) \
  7886. (This)->lpVtbl -> Release(This)
  7887. #define IEnumAddress_Next(This,celt,ppElements,pceltFetched) \
  7888. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  7889. #define IEnumAddress_Reset(This) \
  7890. (This)->lpVtbl -> Reset(This)
  7891. #define IEnumAddress_Skip(This,celt) \
  7892. (This)->lpVtbl -> Skip(This,celt)
  7893. #define IEnumAddress_Clone(This,ppEnum) \
  7894. (This)->lpVtbl -> Clone(This,ppEnum)
  7895. #endif /* COBJMACROS */
  7896. #endif /* C style interface */
  7897. HRESULT STDMETHODCALLTYPE IEnumAddress_Next_Proxy(
  7898. IEnumAddress * This,
  7899. /* [in] */ ULONG celt,
  7900. /* [size_is][out] */ ITAddress **ppElements,
  7901. /* [full][out][in] */ ULONG *pceltFetched);
  7902. void __RPC_STUB IEnumAddress_Next_Stub(
  7903. IRpcStubBuffer *This,
  7904. IRpcChannelBuffer *_pRpcChannelBuffer,
  7905. PRPC_MESSAGE _pRpcMessage,
  7906. DWORD *_pdwStubPhase);
  7907. HRESULT STDMETHODCALLTYPE IEnumAddress_Reset_Proxy(
  7908. IEnumAddress * This);
  7909. void __RPC_STUB IEnumAddress_Reset_Stub(
  7910. IRpcStubBuffer *This,
  7911. IRpcChannelBuffer *_pRpcChannelBuffer,
  7912. PRPC_MESSAGE _pRpcMessage,
  7913. DWORD *_pdwStubPhase);
  7914. HRESULT STDMETHODCALLTYPE IEnumAddress_Skip_Proxy(
  7915. IEnumAddress * This,
  7916. /* [in] */ ULONG celt);
  7917. void __RPC_STUB IEnumAddress_Skip_Stub(
  7918. IRpcStubBuffer *This,
  7919. IRpcChannelBuffer *_pRpcChannelBuffer,
  7920. PRPC_MESSAGE _pRpcMessage,
  7921. DWORD *_pdwStubPhase);
  7922. HRESULT STDMETHODCALLTYPE IEnumAddress_Clone_Proxy(
  7923. IEnumAddress * This,
  7924. /* [retval][out] */ IEnumAddress **ppEnum);
  7925. void __RPC_STUB IEnumAddress_Clone_Stub(
  7926. IRpcStubBuffer *This,
  7927. IRpcChannelBuffer *_pRpcChannelBuffer,
  7928. PRPC_MESSAGE _pRpcMessage,
  7929. DWORD *_pdwStubPhase);
  7930. #endif /* __IEnumAddress_INTERFACE_DEFINED__ */
  7931. #ifndef __IEnumCallHub_INTERFACE_DEFINED__
  7932. #define __IEnumCallHub_INTERFACE_DEFINED__
  7933. /* interface IEnumCallHub */
  7934. /* [object][unique][hidden][helpstring][uuid] */
  7935. EXTERN_C const IID IID_IEnumCallHub;
  7936. #if defined(__cplusplus) && !defined(CINTERFACE)
  7937. MIDL_INTERFACE("A3C15450-5B92-11d1-8F4E-00C04FB6809F")
  7938. IEnumCallHub : public IUnknown
  7939. {
  7940. public:
  7941. virtual HRESULT STDMETHODCALLTYPE Next(
  7942. /* [in] */ ULONG celt,
  7943. /* [size_is][out] */ ITCallHub **ppElements,
  7944. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  7945. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  7946. virtual HRESULT STDMETHODCALLTYPE Skip(
  7947. /* [in] */ ULONG celt) = 0;
  7948. virtual HRESULT STDMETHODCALLTYPE Clone(
  7949. /* [retval][out] */ IEnumCallHub **ppEnum) = 0;
  7950. };
  7951. #else /* C style interface */
  7952. typedef struct IEnumCallHubVtbl
  7953. {
  7954. BEGIN_INTERFACE
  7955. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  7956. IEnumCallHub * This,
  7957. /* [in] */ REFIID riid,
  7958. /* [iid_is][out] */ void **ppvObject);
  7959. ULONG ( STDMETHODCALLTYPE *AddRef )(
  7960. IEnumCallHub * This);
  7961. ULONG ( STDMETHODCALLTYPE *Release )(
  7962. IEnumCallHub * This);
  7963. HRESULT ( STDMETHODCALLTYPE *Next )(
  7964. IEnumCallHub * This,
  7965. /* [in] */ ULONG celt,
  7966. /* [size_is][out] */ ITCallHub **ppElements,
  7967. /* [full][out][in] */ ULONG *pceltFetched);
  7968. HRESULT ( STDMETHODCALLTYPE *Reset )(
  7969. IEnumCallHub * This);
  7970. HRESULT ( STDMETHODCALLTYPE *Skip )(
  7971. IEnumCallHub * This,
  7972. /* [in] */ ULONG celt);
  7973. HRESULT ( STDMETHODCALLTYPE *Clone )(
  7974. IEnumCallHub * This,
  7975. /* [retval][out] */ IEnumCallHub **ppEnum);
  7976. END_INTERFACE
  7977. } IEnumCallHubVtbl;
  7978. interface IEnumCallHub
  7979. {
  7980. CONST_VTBL struct IEnumCallHubVtbl *lpVtbl;
  7981. };
  7982. #ifdef COBJMACROS
  7983. #define IEnumCallHub_QueryInterface(This,riid,ppvObject) \
  7984. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  7985. #define IEnumCallHub_AddRef(This) \
  7986. (This)->lpVtbl -> AddRef(This)
  7987. #define IEnumCallHub_Release(This) \
  7988. (This)->lpVtbl -> Release(This)
  7989. #define IEnumCallHub_Next(This,celt,ppElements,pceltFetched) \
  7990. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  7991. #define IEnumCallHub_Reset(This) \
  7992. (This)->lpVtbl -> Reset(This)
  7993. #define IEnumCallHub_Skip(This,celt) \
  7994. (This)->lpVtbl -> Skip(This,celt)
  7995. #define IEnumCallHub_Clone(This,ppEnum) \
  7996. (This)->lpVtbl -> Clone(This,ppEnum)
  7997. #endif /* COBJMACROS */
  7998. #endif /* C style interface */
  7999. HRESULT STDMETHODCALLTYPE IEnumCallHub_Next_Proxy(
  8000. IEnumCallHub * This,
  8001. /* [in] */ ULONG celt,
  8002. /* [size_is][out] */ ITCallHub **ppElements,
  8003. /* [full][out][in] */ ULONG *pceltFetched);
  8004. void __RPC_STUB IEnumCallHub_Next_Stub(
  8005. IRpcStubBuffer *This,
  8006. IRpcChannelBuffer *_pRpcChannelBuffer,
  8007. PRPC_MESSAGE _pRpcMessage,
  8008. DWORD *_pdwStubPhase);
  8009. HRESULT STDMETHODCALLTYPE IEnumCallHub_Reset_Proxy(
  8010. IEnumCallHub * This);
  8011. void __RPC_STUB IEnumCallHub_Reset_Stub(
  8012. IRpcStubBuffer *This,
  8013. IRpcChannelBuffer *_pRpcChannelBuffer,
  8014. PRPC_MESSAGE _pRpcMessage,
  8015. DWORD *_pdwStubPhase);
  8016. HRESULT STDMETHODCALLTYPE IEnumCallHub_Skip_Proxy(
  8017. IEnumCallHub * This,
  8018. /* [in] */ ULONG celt);
  8019. void __RPC_STUB IEnumCallHub_Skip_Stub(
  8020. IRpcStubBuffer *This,
  8021. IRpcChannelBuffer *_pRpcChannelBuffer,
  8022. PRPC_MESSAGE _pRpcMessage,
  8023. DWORD *_pdwStubPhase);
  8024. HRESULT STDMETHODCALLTYPE IEnumCallHub_Clone_Proxy(
  8025. IEnumCallHub * This,
  8026. /* [retval][out] */ IEnumCallHub **ppEnum);
  8027. void __RPC_STUB IEnumCallHub_Clone_Stub(
  8028. IRpcStubBuffer *This,
  8029. IRpcChannelBuffer *_pRpcChannelBuffer,
  8030. PRPC_MESSAGE _pRpcMessage,
  8031. DWORD *_pdwStubPhase);
  8032. #endif /* __IEnumCallHub_INTERFACE_DEFINED__ */
  8033. #ifndef __IEnumBstr_INTERFACE_DEFINED__
  8034. #define __IEnumBstr_INTERFACE_DEFINED__
  8035. /* interface IEnumBstr */
  8036. /* [object][unique][hidden][helpstring][uuid] */
  8037. EXTERN_C const IID IID_IEnumBstr;
  8038. #if defined(__cplusplus) && !defined(CINTERFACE)
  8039. MIDL_INTERFACE("35372049-0BC6-11d2-A033-00C04FB6809F")
  8040. IEnumBstr : public IUnknown
  8041. {
  8042. public:
  8043. virtual HRESULT STDMETHODCALLTYPE Next(
  8044. /* [in] */ ULONG celt,
  8045. /* [size_is][out] */ BSTR *ppStrings,
  8046. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  8047. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  8048. virtual HRESULT STDMETHODCALLTYPE Skip(
  8049. /* [in] */ ULONG celt) = 0;
  8050. virtual HRESULT STDMETHODCALLTYPE Clone(
  8051. /* [retval][out] */ IEnumBstr **ppEnum) = 0;
  8052. };
  8053. #else /* C style interface */
  8054. typedef struct IEnumBstrVtbl
  8055. {
  8056. BEGIN_INTERFACE
  8057. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8058. IEnumBstr * This,
  8059. /* [in] */ REFIID riid,
  8060. /* [iid_is][out] */ void **ppvObject);
  8061. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8062. IEnumBstr * This);
  8063. ULONG ( STDMETHODCALLTYPE *Release )(
  8064. IEnumBstr * This);
  8065. HRESULT ( STDMETHODCALLTYPE *Next )(
  8066. IEnumBstr * This,
  8067. /* [in] */ ULONG celt,
  8068. /* [size_is][out] */ BSTR *ppStrings,
  8069. /* [full][out][in] */ ULONG *pceltFetched);
  8070. HRESULT ( STDMETHODCALLTYPE *Reset )(
  8071. IEnumBstr * This);
  8072. HRESULT ( STDMETHODCALLTYPE *Skip )(
  8073. IEnumBstr * This,
  8074. /* [in] */ ULONG celt);
  8075. HRESULT ( STDMETHODCALLTYPE *Clone )(
  8076. IEnumBstr * This,
  8077. /* [retval][out] */ IEnumBstr **ppEnum);
  8078. END_INTERFACE
  8079. } IEnumBstrVtbl;
  8080. interface IEnumBstr
  8081. {
  8082. CONST_VTBL struct IEnumBstrVtbl *lpVtbl;
  8083. };
  8084. #ifdef COBJMACROS
  8085. #define IEnumBstr_QueryInterface(This,riid,ppvObject) \
  8086. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8087. #define IEnumBstr_AddRef(This) \
  8088. (This)->lpVtbl -> AddRef(This)
  8089. #define IEnumBstr_Release(This) \
  8090. (This)->lpVtbl -> Release(This)
  8091. #define IEnumBstr_Next(This,celt,ppStrings,pceltFetched) \
  8092. (This)->lpVtbl -> Next(This,celt,ppStrings,pceltFetched)
  8093. #define IEnumBstr_Reset(This) \
  8094. (This)->lpVtbl -> Reset(This)
  8095. #define IEnumBstr_Skip(This,celt) \
  8096. (This)->lpVtbl -> Skip(This,celt)
  8097. #define IEnumBstr_Clone(This,ppEnum) \
  8098. (This)->lpVtbl -> Clone(This,ppEnum)
  8099. #endif /* COBJMACROS */
  8100. #endif /* C style interface */
  8101. HRESULT STDMETHODCALLTYPE IEnumBstr_Next_Proxy(
  8102. IEnumBstr * This,
  8103. /* [in] */ ULONG celt,
  8104. /* [size_is][out] */ BSTR *ppStrings,
  8105. /* [full][out][in] */ ULONG *pceltFetched);
  8106. void __RPC_STUB IEnumBstr_Next_Stub(
  8107. IRpcStubBuffer *This,
  8108. IRpcChannelBuffer *_pRpcChannelBuffer,
  8109. PRPC_MESSAGE _pRpcMessage,
  8110. DWORD *_pdwStubPhase);
  8111. HRESULT STDMETHODCALLTYPE IEnumBstr_Reset_Proxy(
  8112. IEnumBstr * This);
  8113. void __RPC_STUB IEnumBstr_Reset_Stub(
  8114. IRpcStubBuffer *This,
  8115. IRpcChannelBuffer *_pRpcChannelBuffer,
  8116. PRPC_MESSAGE _pRpcMessage,
  8117. DWORD *_pdwStubPhase);
  8118. HRESULT STDMETHODCALLTYPE IEnumBstr_Skip_Proxy(
  8119. IEnumBstr * This,
  8120. /* [in] */ ULONG celt);
  8121. void __RPC_STUB IEnumBstr_Skip_Stub(
  8122. IRpcStubBuffer *This,
  8123. IRpcChannelBuffer *_pRpcChannelBuffer,
  8124. PRPC_MESSAGE _pRpcMessage,
  8125. DWORD *_pdwStubPhase);
  8126. HRESULT STDMETHODCALLTYPE IEnumBstr_Clone_Proxy(
  8127. IEnumBstr * This,
  8128. /* [retval][out] */ IEnumBstr **ppEnum);
  8129. void __RPC_STUB IEnumBstr_Clone_Stub(
  8130. IRpcStubBuffer *This,
  8131. IRpcChannelBuffer *_pRpcChannelBuffer,
  8132. PRPC_MESSAGE _pRpcMessage,
  8133. DWORD *_pdwStubPhase);
  8134. #endif /* __IEnumBstr_INTERFACE_DEFINED__ */
  8135. #ifndef __IEnumPluggableTerminalClassInfo_INTERFACE_DEFINED__
  8136. #define __IEnumPluggableTerminalClassInfo_INTERFACE_DEFINED__
  8137. /* interface IEnumPluggableTerminalClassInfo */
  8138. /* [object][unique][hidden][helpstring][uuid] */
  8139. EXTERN_C const IID IID_IEnumPluggableTerminalClassInfo;
  8140. #if defined(__cplusplus) && !defined(CINTERFACE)
  8141. MIDL_INTERFACE("4567450C-DBEE-4e3f-AAF5-37BF9EBF5E29")
  8142. IEnumPluggableTerminalClassInfo : public IUnknown
  8143. {
  8144. public:
  8145. virtual HRESULT STDMETHODCALLTYPE Next(
  8146. /* [in] */ ULONG celt,
  8147. /* [size_is][out] */ ITPluggableTerminalClassInfo **ppElements,
  8148. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  8149. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  8150. virtual HRESULT STDMETHODCALLTYPE Skip(
  8151. /* [in] */ ULONG celt) = 0;
  8152. virtual HRESULT STDMETHODCALLTYPE Clone(
  8153. /* [retval][out] */ IEnumPluggableTerminalClassInfo **ppEnum) = 0;
  8154. };
  8155. #else /* C style interface */
  8156. typedef struct IEnumPluggableTerminalClassInfoVtbl
  8157. {
  8158. BEGIN_INTERFACE
  8159. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8160. IEnumPluggableTerminalClassInfo * This,
  8161. /* [in] */ REFIID riid,
  8162. /* [iid_is][out] */ void **ppvObject);
  8163. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8164. IEnumPluggableTerminalClassInfo * This);
  8165. ULONG ( STDMETHODCALLTYPE *Release )(
  8166. IEnumPluggableTerminalClassInfo * This);
  8167. HRESULT ( STDMETHODCALLTYPE *Next )(
  8168. IEnumPluggableTerminalClassInfo * This,
  8169. /* [in] */ ULONG celt,
  8170. /* [size_is][out] */ ITPluggableTerminalClassInfo **ppElements,
  8171. /* [full][out][in] */ ULONG *pceltFetched);
  8172. HRESULT ( STDMETHODCALLTYPE *Reset )(
  8173. IEnumPluggableTerminalClassInfo * This);
  8174. HRESULT ( STDMETHODCALLTYPE *Skip )(
  8175. IEnumPluggableTerminalClassInfo * This,
  8176. /* [in] */ ULONG celt);
  8177. HRESULT ( STDMETHODCALLTYPE *Clone )(
  8178. IEnumPluggableTerminalClassInfo * This,
  8179. /* [retval][out] */ IEnumPluggableTerminalClassInfo **ppEnum);
  8180. END_INTERFACE
  8181. } IEnumPluggableTerminalClassInfoVtbl;
  8182. interface IEnumPluggableTerminalClassInfo
  8183. {
  8184. CONST_VTBL struct IEnumPluggableTerminalClassInfoVtbl *lpVtbl;
  8185. };
  8186. #ifdef COBJMACROS
  8187. #define IEnumPluggableTerminalClassInfo_QueryInterface(This,riid,ppvObject) \
  8188. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8189. #define IEnumPluggableTerminalClassInfo_AddRef(This) \
  8190. (This)->lpVtbl -> AddRef(This)
  8191. #define IEnumPluggableTerminalClassInfo_Release(This) \
  8192. (This)->lpVtbl -> Release(This)
  8193. #define IEnumPluggableTerminalClassInfo_Next(This,celt,ppElements,pceltFetched) \
  8194. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  8195. #define IEnumPluggableTerminalClassInfo_Reset(This) \
  8196. (This)->lpVtbl -> Reset(This)
  8197. #define IEnumPluggableTerminalClassInfo_Skip(This,celt) \
  8198. (This)->lpVtbl -> Skip(This,celt)
  8199. #define IEnumPluggableTerminalClassInfo_Clone(This,ppEnum) \
  8200. (This)->lpVtbl -> Clone(This,ppEnum)
  8201. #endif /* COBJMACROS */
  8202. #endif /* C style interface */
  8203. HRESULT STDMETHODCALLTYPE IEnumPluggableTerminalClassInfo_Next_Proxy(
  8204. IEnumPluggableTerminalClassInfo * This,
  8205. /* [in] */ ULONG celt,
  8206. /* [size_is][out] */ ITPluggableTerminalClassInfo **ppElements,
  8207. /* [full][out][in] */ ULONG *pceltFetched);
  8208. void __RPC_STUB IEnumPluggableTerminalClassInfo_Next_Stub(
  8209. IRpcStubBuffer *This,
  8210. IRpcChannelBuffer *_pRpcChannelBuffer,
  8211. PRPC_MESSAGE _pRpcMessage,
  8212. DWORD *_pdwStubPhase);
  8213. HRESULT STDMETHODCALLTYPE IEnumPluggableTerminalClassInfo_Reset_Proxy(
  8214. IEnumPluggableTerminalClassInfo * This);
  8215. void __RPC_STUB IEnumPluggableTerminalClassInfo_Reset_Stub(
  8216. IRpcStubBuffer *This,
  8217. IRpcChannelBuffer *_pRpcChannelBuffer,
  8218. PRPC_MESSAGE _pRpcMessage,
  8219. DWORD *_pdwStubPhase);
  8220. HRESULT STDMETHODCALLTYPE IEnumPluggableTerminalClassInfo_Skip_Proxy(
  8221. IEnumPluggableTerminalClassInfo * This,
  8222. /* [in] */ ULONG celt);
  8223. void __RPC_STUB IEnumPluggableTerminalClassInfo_Skip_Stub(
  8224. IRpcStubBuffer *This,
  8225. IRpcChannelBuffer *_pRpcChannelBuffer,
  8226. PRPC_MESSAGE _pRpcMessage,
  8227. DWORD *_pdwStubPhase);
  8228. HRESULT STDMETHODCALLTYPE IEnumPluggableTerminalClassInfo_Clone_Proxy(
  8229. IEnumPluggableTerminalClassInfo * This,
  8230. /* [retval][out] */ IEnumPluggableTerminalClassInfo **ppEnum);
  8231. void __RPC_STUB IEnumPluggableTerminalClassInfo_Clone_Stub(
  8232. IRpcStubBuffer *This,
  8233. IRpcChannelBuffer *_pRpcChannelBuffer,
  8234. PRPC_MESSAGE _pRpcMessage,
  8235. DWORD *_pdwStubPhase);
  8236. #endif /* __IEnumPluggableTerminalClassInfo_INTERFACE_DEFINED__ */
  8237. #ifndef __IEnumPluggableSuperclassInfo_INTERFACE_DEFINED__
  8238. #define __IEnumPluggableSuperclassInfo_INTERFACE_DEFINED__
  8239. /* interface IEnumPluggableSuperclassInfo */
  8240. /* [object][unique][hidden][helpstring][uuid] */
  8241. EXTERN_C const IID IID_IEnumPluggableSuperclassInfo;
  8242. #if defined(__cplusplus) && !defined(CINTERFACE)
  8243. MIDL_INTERFACE("E9586A80-89E6-4cff-931D-478D5751F4C0")
  8244. IEnumPluggableSuperclassInfo : public IUnknown
  8245. {
  8246. public:
  8247. virtual HRESULT STDMETHODCALLTYPE Next(
  8248. /* [in] */ ULONG celt,
  8249. /* [size_is][out] */ ITPluggableTerminalSuperclassInfo **ppElements,
  8250. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  8251. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  8252. virtual HRESULT STDMETHODCALLTYPE Skip(
  8253. /* [in] */ ULONG celt) = 0;
  8254. virtual HRESULT STDMETHODCALLTYPE Clone(
  8255. /* [retval][out] */ IEnumPluggableSuperclassInfo **ppEnum) = 0;
  8256. };
  8257. #else /* C style interface */
  8258. typedef struct IEnumPluggableSuperclassInfoVtbl
  8259. {
  8260. BEGIN_INTERFACE
  8261. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8262. IEnumPluggableSuperclassInfo * This,
  8263. /* [in] */ REFIID riid,
  8264. /* [iid_is][out] */ void **ppvObject);
  8265. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8266. IEnumPluggableSuperclassInfo * This);
  8267. ULONG ( STDMETHODCALLTYPE *Release )(
  8268. IEnumPluggableSuperclassInfo * This);
  8269. HRESULT ( STDMETHODCALLTYPE *Next )(
  8270. IEnumPluggableSuperclassInfo * This,
  8271. /* [in] */ ULONG celt,
  8272. /* [size_is][out] */ ITPluggableTerminalSuperclassInfo **ppElements,
  8273. /* [full][out][in] */ ULONG *pceltFetched);
  8274. HRESULT ( STDMETHODCALLTYPE *Reset )(
  8275. IEnumPluggableSuperclassInfo * This);
  8276. HRESULT ( STDMETHODCALLTYPE *Skip )(
  8277. IEnumPluggableSuperclassInfo * This,
  8278. /* [in] */ ULONG celt);
  8279. HRESULT ( STDMETHODCALLTYPE *Clone )(
  8280. IEnumPluggableSuperclassInfo * This,
  8281. /* [retval][out] */ IEnumPluggableSuperclassInfo **ppEnum);
  8282. END_INTERFACE
  8283. } IEnumPluggableSuperclassInfoVtbl;
  8284. interface IEnumPluggableSuperclassInfo
  8285. {
  8286. CONST_VTBL struct IEnumPluggableSuperclassInfoVtbl *lpVtbl;
  8287. };
  8288. #ifdef COBJMACROS
  8289. #define IEnumPluggableSuperclassInfo_QueryInterface(This,riid,ppvObject) \
  8290. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8291. #define IEnumPluggableSuperclassInfo_AddRef(This) \
  8292. (This)->lpVtbl -> AddRef(This)
  8293. #define IEnumPluggableSuperclassInfo_Release(This) \
  8294. (This)->lpVtbl -> Release(This)
  8295. #define IEnumPluggableSuperclassInfo_Next(This,celt,ppElements,pceltFetched) \
  8296. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  8297. #define IEnumPluggableSuperclassInfo_Reset(This) \
  8298. (This)->lpVtbl -> Reset(This)
  8299. #define IEnumPluggableSuperclassInfo_Skip(This,celt) \
  8300. (This)->lpVtbl -> Skip(This,celt)
  8301. #define IEnumPluggableSuperclassInfo_Clone(This,ppEnum) \
  8302. (This)->lpVtbl -> Clone(This,ppEnum)
  8303. #endif /* COBJMACROS */
  8304. #endif /* C style interface */
  8305. HRESULT STDMETHODCALLTYPE IEnumPluggableSuperclassInfo_Next_Proxy(
  8306. IEnumPluggableSuperclassInfo * This,
  8307. /* [in] */ ULONG celt,
  8308. /* [size_is][out] */ ITPluggableTerminalSuperclassInfo **ppElements,
  8309. /* [full][out][in] */ ULONG *pceltFetched);
  8310. void __RPC_STUB IEnumPluggableSuperclassInfo_Next_Stub(
  8311. IRpcStubBuffer *This,
  8312. IRpcChannelBuffer *_pRpcChannelBuffer,
  8313. PRPC_MESSAGE _pRpcMessage,
  8314. DWORD *_pdwStubPhase);
  8315. HRESULT STDMETHODCALLTYPE IEnumPluggableSuperclassInfo_Reset_Proxy(
  8316. IEnumPluggableSuperclassInfo * This);
  8317. void __RPC_STUB IEnumPluggableSuperclassInfo_Reset_Stub(
  8318. IRpcStubBuffer *This,
  8319. IRpcChannelBuffer *_pRpcChannelBuffer,
  8320. PRPC_MESSAGE _pRpcMessage,
  8321. DWORD *_pdwStubPhase);
  8322. HRESULT STDMETHODCALLTYPE IEnumPluggableSuperclassInfo_Skip_Proxy(
  8323. IEnumPluggableSuperclassInfo * This,
  8324. /* [in] */ ULONG celt);
  8325. void __RPC_STUB IEnumPluggableSuperclassInfo_Skip_Stub(
  8326. IRpcStubBuffer *This,
  8327. IRpcChannelBuffer *_pRpcChannelBuffer,
  8328. PRPC_MESSAGE _pRpcMessage,
  8329. DWORD *_pdwStubPhase);
  8330. HRESULT STDMETHODCALLTYPE IEnumPluggableSuperclassInfo_Clone_Proxy(
  8331. IEnumPluggableSuperclassInfo * This,
  8332. /* [retval][out] */ IEnumPluggableSuperclassInfo **ppEnum);
  8333. void __RPC_STUB IEnumPluggableSuperclassInfo_Clone_Stub(
  8334. IRpcStubBuffer *This,
  8335. IRpcChannelBuffer *_pRpcChannelBuffer,
  8336. PRPC_MESSAGE _pRpcMessage,
  8337. DWORD *_pdwStubPhase);
  8338. #endif /* __IEnumPluggableSuperclassInfo_INTERFACE_DEFINED__ */
  8339. #ifndef __ITPhoneEvent_INTERFACE_DEFINED__
  8340. #define __ITPhoneEvent_INTERFACE_DEFINED__
  8341. /* interface ITPhoneEvent */
  8342. /* [object][oleautomation][helpstring][uuid] */
  8343. EXTERN_C const IID IID_ITPhoneEvent;
  8344. #if defined(__cplusplus) && !defined(CINTERFACE)
  8345. MIDL_INTERFACE("8F942DD8-64ED-4aaf-A77D-B23DB0837EAD")
  8346. ITPhoneEvent : public IDispatch
  8347. {
  8348. public:
  8349. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Phone(
  8350. /* [retval][out] */ ITPhone **ppPhone) = 0;
  8351. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  8352. /* [retval][out] */ PHONE_EVENT *pEvent) = 0;
  8353. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonState(
  8354. /* [retval][out] */ PHONE_BUTTON_STATE *pState) = 0;
  8355. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HookSwitchState(
  8356. /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pState) = 0;
  8357. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_HookSwitchDevice(
  8358. /* [retval][out] */ PHONE_HOOK_SWITCH_DEVICE *pDevice) = 0;
  8359. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RingMode(
  8360. /* [retval][out] */ long *plRingMode) = 0;
  8361. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ButtonLampId(
  8362. /* [retval][out] */ long *plButtonLampId) = 0;
  8363. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberGathered(
  8364. /* [retval][out] */ BSTR *ppNumber) = 0;
  8365. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  8366. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  8367. };
  8368. #else /* C style interface */
  8369. typedef struct ITPhoneEventVtbl
  8370. {
  8371. BEGIN_INTERFACE
  8372. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8373. ITPhoneEvent * This,
  8374. /* [in] */ REFIID riid,
  8375. /* [iid_is][out] */ void **ppvObject);
  8376. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8377. ITPhoneEvent * This);
  8378. ULONG ( STDMETHODCALLTYPE *Release )(
  8379. ITPhoneEvent * This);
  8380. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8381. ITPhoneEvent * This,
  8382. /* [out] */ UINT *pctinfo);
  8383. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8384. ITPhoneEvent * This,
  8385. /* [in] */ UINT iTInfo,
  8386. /* [in] */ LCID lcid,
  8387. /* [out] */ ITypeInfo **ppTInfo);
  8388. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8389. ITPhoneEvent * This,
  8390. /* [in] */ REFIID riid,
  8391. /* [size_is][in] */ LPOLESTR *rgszNames,
  8392. /* [in] */ UINT cNames,
  8393. /* [in] */ LCID lcid,
  8394. /* [size_is][out] */ DISPID *rgDispId);
  8395. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8396. ITPhoneEvent * This,
  8397. /* [in] */ DISPID dispIdMember,
  8398. /* [in] */ REFIID riid,
  8399. /* [in] */ LCID lcid,
  8400. /* [in] */ WORD wFlags,
  8401. /* [out][in] */ DISPPARAMS *pDispParams,
  8402. /* [out] */ VARIANT *pVarResult,
  8403. /* [out] */ EXCEPINFO *pExcepInfo,
  8404. /* [out] */ UINT *puArgErr);
  8405. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Phone )(
  8406. ITPhoneEvent * This,
  8407. /* [retval][out] */ ITPhone **ppPhone);
  8408. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  8409. ITPhoneEvent * This,
  8410. /* [retval][out] */ PHONE_EVENT *pEvent);
  8411. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonState )(
  8412. ITPhoneEvent * This,
  8413. /* [retval][out] */ PHONE_BUTTON_STATE *pState);
  8414. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HookSwitchState )(
  8415. ITPhoneEvent * This,
  8416. /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pState);
  8417. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HookSwitchDevice )(
  8418. ITPhoneEvent * This,
  8419. /* [retval][out] */ PHONE_HOOK_SWITCH_DEVICE *pDevice);
  8420. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RingMode )(
  8421. ITPhoneEvent * This,
  8422. /* [retval][out] */ long *plRingMode);
  8423. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ButtonLampId )(
  8424. ITPhoneEvent * This,
  8425. /* [retval][out] */ long *plButtonLampId);
  8426. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberGathered )(
  8427. ITPhoneEvent * This,
  8428. /* [retval][out] */ BSTR *ppNumber);
  8429. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  8430. ITPhoneEvent * This,
  8431. /* [retval][out] */ ITCallInfo **ppCallInfo);
  8432. END_INTERFACE
  8433. } ITPhoneEventVtbl;
  8434. interface ITPhoneEvent
  8435. {
  8436. CONST_VTBL struct ITPhoneEventVtbl *lpVtbl;
  8437. };
  8438. #ifdef COBJMACROS
  8439. #define ITPhoneEvent_QueryInterface(This,riid,ppvObject) \
  8440. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8441. #define ITPhoneEvent_AddRef(This) \
  8442. (This)->lpVtbl -> AddRef(This)
  8443. #define ITPhoneEvent_Release(This) \
  8444. (This)->lpVtbl -> Release(This)
  8445. #define ITPhoneEvent_GetTypeInfoCount(This,pctinfo) \
  8446. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8447. #define ITPhoneEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8448. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8449. #define ITPhoneEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8450. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8451. #define ITPhoneEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8452. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8453. #define ITPhoneEvent_get_Phone(This,ppPhone) \
  8454. (This)->lpVtbl -> get_Phone(This,ppPhone)
  8455. #define ITPhoneEvent_get_Event(This,pEvent) \
  8456. (This)->lpVtbl -> get_Event(This,pEvent)
  8457. #define ITPhoneEvent_get_ButtonState(This,pState) \
  8458. (This)->lpVtbl -> get_ButtonState(This,pState)
  8459. #define ITPhoneEvent_get_HookSwitchState(This,pState) \
  8460. (This)->lpVtbl -> get_HookSwitchState(This,pState)
  8461. #define ITPhoneEvent_get_HookSwitchDevice(This,pDevice) \
  8462. (This)->lpVtbl -> get_HookSwitchDevice(This,pDevice)
  8463. #define ITPhoneEvent_get_RingMode(This,plRingMode) \
  8464. (This)->lpVtbl -> get_RingMode(This,plRingMode)
  8465. #define ITPhoneEvent_get_ButtonLampId(This,plButtonLampId) \
  8466. (This)->lpVtbl -> get_ButtonLampId(This,plButtonLampId)
  8467. #define ITPhoneEvent_get_NumberGathered(This,ppNumber) \
  8468. (This)->lpVtbl -> get_NumberGathered(This,ppNumber)
  8469. #define ITPhoneEvent_get_Call(This,ppCallInfo) \
  8470. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  8471. #endif /* COBJMACROS */
  8472. #endif /* C style interface */
  8473. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_Phone_Proxy(
  8474. ITPhoneEvent * This,
  8475. /* [retval][out] */ ITPhone **ppPhone);
  8476. void __RPC_STUB ITPhoneEvent_get_Phone_Stub(
  8477. IRpcStubBuffer *This,
  8478. IRpcChannelBuffer *_pRpcChannelBuffer,
  8479. PRPC_MESSAGE _pRpcMessage,
  8480. DWORD *_pdwStubPhase);
  8481. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_Event_Proxy(
  8482. ITPhoneEvent * This,
  8483. /* [retval][out] */ PHONE_EVENT *pEvent);
  8484. void __RPC_STUB ITPhoneEvent_get_Event_Stub(
  8485. IRpcStubBuffer *This,
  8486. IRpcChannelBuffer *_pRpcChannelBuffer,
  8487. PRPC_MESSAGE _pRpcMessage,
  8488. DWORD *_pdwStubPhase);
  8489. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_ButtonState_Proxy(
  8490. ITPhoneEvent * This,
  8491. /* [retval][out] */ PHONE_BUTTON_STATE *pState);
  8492. void __RPC_STUB ITPhoneEvent_get_ButtonState_Stub(
  8493. IRpcStubBuffer *This,
  8494. IRpcChannelBuffer *_pRpcChannelBuffer,
  8495. PRPC_MESSAGE _pRpcMessage,
  8496. DWORD *_pdwStubPhase);
  8497. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_HookSwitchState_Proxy(
  8498. ITPhoneEvent * This,
  8499. /* [retval][out] */ PHONE_HOOK_SWITCH_STATE *pState);
  8500. void __RPC_STUB ITPhoneEvent_get_HookSwitchState_Stub(
  8501. IRpcStubBuffer *This,
  8502. IRpcChannelBuffer *_pRpcChannelBuffer,
  8503. PRPC_MESSAGE _pRpcMessage,
  8504. DWORD *_pdwStubPhase);
  8505. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_HookSwitchDevice_Proxy(
  8506. ITPhoneEvent * This,
  8507. /* [retval][out] */ PHONE_HOOK_SWITCH_DEVICE *pDevice);
  8508. void __RPC_STUB ITPhoneEvent_get_HookSwitchDevice_Stub(
  8509. IRpcStubBuffer *This,
  8510. IRpcChannelBuffer *_pRpcChannelBuffer,
  8511. PRPC_MESSAGE _pRpcMessage,
  8512. DWORD *_pdwStubPhase);
  8513. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_RingMode_Proxy(
  8514. ITPhoneEvent * This,
  8515. /* [retval][out] */ long *plRingMode);
  8516. void __RPC_STUB ITPhoneEvent_get_RingMode_Stub(
  8517. IRpcStubBuffer *This,
  8518. IRpcChannelBuffer *_pRpcChannelBuffer,
  8519. PRPC_MESSAGE _pRpcMessage,
  8520. DWORD *_pdwStubPhase);
  8521. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_ButtonLampId_Proxy(
  8522. ITPhoneEvent * This,
  8523. /* [retval][out] */ long *plButtonLampId);
  8524. void __RPC_STUB ITPhoneEvent_get_ButtonLampId_Stub(
  8525. IRpcStubBuffer *This,
  8526. IRpcChannelBuffer *_pRpcChannelBuffer,
  8527. PRPC_MESSAGE _pRpcMessage,
  8528. DWORD *_pdwStubPhase);
  8529. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_NumberGathered_Proxy(
  8530. ITPhoneEvent * This,
  8531. /* [retval][out] */ BSTR *ppNumber);
  8532. void __RPC_STUB ITPhoneEvent_get_NumberGathered_Stub(
  8533. IRpcStubBuffer *This,
  8534. IRpcChannelBuffer *_pRpcChannelBuffer,
  8535. PRPC_MESSAGE _pRpcMessage,
  8536. DWORD *_pdwStubPhase);
  8537. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneEvent_get_Call_Proxy(
  8538. ITPhoneEvent * This,
  8539. /* [retval][out] */ ITCallInfo **ppCallInfo);
  8540. void __RPC_STUB ITPhoneEvent_get_Call_Stub(
  8541. IRpcStubBuffer *This,
  8542. IRpcChannelBuffer *_pRpcChannelBuffer,
  8543. PRPC_MESSAGE _pRpcMessage,
  8544. DWORD *_pdwStubPhase);
  8545. #endif /* __ITPhoneEvent_INTERFACE_DEFINED__ */
  8546. #ifndef __ITCallStateEvent_INTERFACE_DEFINED__
  8547. #define __ITCallStateEvent_INTERFACE_DEFINED__
  8548. /* interface ITCallStateEvent */
  8549. /* [object][dual][helpstring][uuid] */
  8550. EXTERN_C const IID IID_ITCallStateEvent;
  8551. #if defined(__cplusplus) && !defined(CINTERFACE)
  8552. MIDL_INTERFACE("62F47097-95C9-11d0-835D-00AA003CCABD")
  8553. ITCallStateEvent : public IDispatch
  8554. {
  8555. public:
  8556. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  8557. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  8558. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  8559. /* [retval][out] */ CALL_STATE *pCallState) = 0;
  8560. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cause(
  8561. /* [retval][out] */ CALL_STATE_EVENT_CAUSE *pCEC) = 0;
  8562. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  8563. /* [retval][out] */ long *plCallbackInstance) = 0;
  8564. };
  8565. #else /* C style interface */
  8566. typedef struct ITCallStateEventVtbl
  8567. {
  8568. BEGIN_INTERFACE
  8569. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8570. ITCallStateEvent * This,
  8571. /* [in] */ REFIID riid,
  8572. /* [iid_is][out] */ void **ppvObject);
  8573. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8574. ITCallStateEvent * This);
  8575. ULONG ( STDMETHODCALLTYPE *Release )(
  8576. ITCallStateEvent * This);
  8577. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8578. ITCallStateEvent * This,
  8579. /* [out] */ UINT *pctinfo);
  8580. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8581. ITCallStateEvent * This,
  8582. /* [in] */ UINT iTInfo,
  8583. /* [in] */ LCID lcid,
  8584. /* [out] */ ITypeInfo **ppTInfo);
  8585. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8586. ITCallStateEvent * This,
  8587. /* [in] */ REFIID riid,
  8588. /* [size_is][in] */ LPOLESTR *rgszNames,
  8589. /* [in] */ UINT cNames,
  8590. /* [in] */ LCID lcid,
  8591. /* [size_is][out] */ DISPID *rgDispId);
  8592. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8593. ITCallStateEvent * This,
  8594. /* [in] */ DISPID dispIdMember,
  8595. /* [in] */ REFIID riid,
  8596. /* [in] */ LCID lcid,
  8597. /* [in] */ WORD wFlags,
  8598. /* [out][in] */ DISPPARAMS *pDispParams,
  8599. /* [out] */ VARIANT *pVarResult,
  8600. /* [out] */ EXCEPINFO *pExcepInfo,
  8601. /* [out] */ UINT *puArgErr);
  8602. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  8603. ITCallStateEvent * This,
  8604. /* [retval][out] */ ITCallInfo **ppCallInfo);
  8605. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  8606. ITCallStateEvent * This,
  8607. /* [retval][out] */ CALL_STATE *pCallState);
  8608. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cause )(
  8609. ITCallStateEvent * This,
  8610. /* [retval][out] */ CALL_STATE_EVENT_CAUSE *pCEC);
  8611. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  8612. ITCallStateEvent * This,
  8613. /* [retval][out] */ long *plCallbackInstance);
  8614. END_INTERFACE
  8615. } ITCallStateEventVtbl;
  8616. interface ITCallStateEvent
  8617. {
  8618. CONST_VTBL struct ITCallStateEventVtbl *lpVtbl;
  8619. };
  8620. #ifdef COBJMACROS
  8621. #define ITCallStateEvent_QueryInterface(This,riid,ppvObject) \
  8622. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8623. #define ITCallStateEvent_AddRef(This) \
  8624. (This)->lpVtbl -> AddRef(This)
  8625. #define ITCallStateEvent_Release(This) \
  8626. (This)->lpVtbl -> Release(This)
  8627. #define ITCallStateEvent_GetTypeInfoCount(This,pctinfo) \
  8628. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8629. #define ITCallStateEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8630. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8631. #define ITCallStateEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8632. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8633. #define ITCallStateEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8634. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8635. #define ITCallStateEvent_get_Call(This,ppCallInfo) \
  8636. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  8637. #define ITCallStateEvent_get_State(This,pCallState) \
  8638. (This)->lpVtbl -> get_State(This,pCallState)
  8639. #define ITCallStateEvent_get_Cause(This,pCEC) \
  8640. (This)->lpVtbl -> get_Cause(This,pCEC)
  8641. #define ITCallStateEvent_get_CallbackInstance(This,plCallbackInstance) \
  8642. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  8643. #endif /* COBJMACROS */
  8644. #endif /* C style interface */
  8645. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallStateEvent_get_Call_Proxy(
  8646. ITCallStateEvent * This,
  8647. /* [retval][out] */ ITCallInfo **ppCallInfo);
  8648. void __RPC_STUB ITCallStateEvent_get_Call_Stub(
  8649. IRpcStubBuffer *This,
  8650. IRpcChannelBuffer *_pRpcChannelBuffer,
  8651. PRPC_MESSAGE _pRpcMessage,
  8652. DWORD *_pdwStubPhase);
  8653. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallStateEvent_get_State_Proxy(
  8654. ITCallStateEvent * This,
  8655. /* [retval][out] */ CALL_STATE *pCallState);
  8656. void __RPC_STUB ITCallStateEvent_get_State_Stub(
  8657. IRpcStubBuffer *This,
  8658. IRpcChannelBuffer *_pRpcChannelBuffer,
  8659. PRPC_MESSAGE _pRpcMessage,
  8660. DWORD *_pdwStubPhase);
  8661. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallStateEvent_get_Cause_Proxy(
  8662. ITCallStateEvent * This,
  8663. /* [retval][out] */ CALL_STATE_EVENT_CAUSE *pCEC);
  8664. void __RPC_STUB ITCallStateEvent_get_Cause_Stub(
  8665. IRpcStubBuffer *This,
  8666. IRpcChannelBuffer *_pRpcChannelBuffer,
  8667. PRPC_MESSAGE _pRpcMessage,
  8668. DWORD *_pdwStubPhase);
  8669. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallStateEvent_get_CallbackInstance_Proxy(
  8670. ITCallStateEvent * This,
  8671. /* [retval][out] */ long *plCallbackInstance);
  8672. void __RPC_STUB ITCallStateEvent_get_CallbackInstance_Stub(
  8673. IRpcStubBuffer *This,
  8674. IRpcChannelBuffer *_pRpcChannelBuffer,
  8675. PRPC_MESSAGE _pRpcMessage,
  8676. DWORD *_pdwStubPhase);
  8677. #endif /* __ITCallStateEvent_INTERFACE_DEFINED__ */
  8678. #ifndef __ITPhoneDeviceSpecificEvent_INTERFACE_DEFINED__
  8679. #define __ITPhoneDeviceSpecificEvent_INTERFACE_DEFINED__
  8680. /* interface ITPhoneDeviceSpecificEvent */
  8681. /* [object][oleautomation][helpstring][uuid] */
  8682. EXTERN_C const IID IID_ITPhoneDeviceSpecificEvent;
  8683. #if defined(__cplusplus) && !defined(CINTERFACE)
  8684. MIDL_INTERFACE("63FFB2A6-872B-4cd3-A501-326E8FB40AF7")
  8685. ITPhoneDeviceSpecificEvent : public IDispatch
  8686. {
  8687. public:
  8688. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Phone(
  8689. /* [retval][out] */ ITPhone **ppPhone) = 0;
  8690. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam1(
  8691. /* [retval][out] */ long *pParam1) = 0;
  8692. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam2(
  8693. /* [retval][out] */ long *pParam2) = 0;
  8694. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam3(
  8695. /* [retval][out] */ long *pParam3) = 0;
  8696. };
  8697. #else /* C style interface */
  8698. typedef struct ITPhoneDeviceSpecificEventVtbl
  8699. {
  8700. BEGIN_INTERFACE
  8701. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8702. ITPhoneDeviceSpecificEvent * This,
  8703. /* [in] */ REFIID riid,
  8704. /* [iid_is][out] */ void **ppvObject);
  8705. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8706. ITPhoneDeviceSpecificEvent * This);
  8707. ULONG ( STDMETHODCALLTYPE *Release )(
  8708. ITPhoneDeviceSpecificEvent * This);
  8709. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8710. ITPhoneDeviceSpecificEvent * This,
  8711. /* [out] */ UINT *pctinfo);
  8712. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8713. ITPhoneDeviceSpecificEvent * This,
  8714. /* [in] */ UINT iTInfo,
  8715. /* [in] */ LCID lcid,
  8716. /* [out] */ ITypeInfo **ppTInfo);
  8717. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8718. ITPhoneDeviceSpecificEvent * This,
  8719. /* [in] */ REFIID riid,
  8720. /* [size_is][in] */ LPOLESTR *rgszNames,
  8721. /* [in] */ UINT cNames,
  8722. /* [in] */ LCID lcid,
  8723. /* [size_is][out] */ DISPID *rgDispId);
  8724. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8725. ITPhoneDeviceSpecificEvent * This,
  8726. /* [in] */ DISPID dispIdMember,
  8727. /* [in] */ REFIID riid,
  8728. /* [in] */ LCID lcid,
  8729. /* [in] */ WORD wFlags,
  8730. /* [out][in] */ DISPPARAMS *pDispParams,
  8731. /* [out] */ VARIANT *pVarResult,
  8732. /* [out] */ EXCEPINFO *pExcepInfo,
  8733. /* [out] */ UINT *puArgErr);
  8734. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Phone )(
  8735. ITPhoneDeviceSpecificEvent * This,
  8736. /* [retval][out] */ ITPhone **ppPhone);
  8737. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam1 )(
  8738. ITPhoneDeviceSpecificEvent * This,
  8739. /* [retval][out] */ long *pParam1);
  8740. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam2 )(
  8741. ITPhoneDeviceSpecificEvent * This,
  8742. /* [retval][out] */ long *pParam2);
  8743. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam3 )(
  8744. ITPhoneDeviceSpecificEvent * This,
  8745. /* [retval][out] */ long *pParam3);
  8746. END_INTERFACE
  8747. } ITPhoneDeviceSpecificEventVtbl;
  8748. interface ITPhoneDeviceSpecificEvent
  8749. {
  8750. CONST_VTBL struct ITPhoneDeviceSpecificEventVtbl *lpVtbl;
  8751. };
  8752. #ifdef COBJMACROS
  8753. #define ITPhoneDeviceSpecificEvent_QueryInterface(This,riid,ppvObject) \
  8754. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8755. #define ITPhoneDeviceSpecificEvent_AddRef(This) \
  8756. (This)->lpVtbl -> AddRef(This)
  8757. #define ITPhoneDeviceSpecificEvent_Release(This) \
  8758. (This)->lpVtbl -> Release(This)
  8759. #define ITPhoneDeviceSpecificEvent_GetTypeInfoCount(This,pctinfo) \
  8760. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8761. #define ITPhoneDeviceSpecificEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8762. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8763. #define ITPhoneDeviceSpecificEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8764. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8765. #define ITPhoneDeviceSpecificEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8766. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8767. #define ITPhoneDeviceSpecificEvent_get_Phone(This,ppPhone) \
  8768. (This)->lpVtbl -> get_Phone(This,ppPhone)
  8769. #define ITPhoneDeviceSpecificEvent_get_lParam1(This,pParam1) \
  8770. (This)->lpVtbl -> get_lParam1(This,pParam1)
  8771. #define ITPhoneDeviceSpecificEvent_get_lParam2(This,pParam2) \
  8772. (This)->lpVtbl -> get_lParam2(This,pParam2)
  8773. #define ITPhoneDeviceSpecificEvent_get_lParam3(This,pParam3) \
  8774. (This)->lpVtbl -> get_lParam3(This,pParam3)
  8775. #endif /* COBJMACROS */
  8776. #endif /* C style interface */
  8777. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneDeviceSpecificEvent_get_Phone_Proxy(
  8778. ITPhoneDeviceSpecificEvent * This,
  8779. /* [retval][out] */ ITPhone **ppPhone);
  8780. void __RPC_STUB ITPhoneDeviceSpecificEvent_get_Phone_Stub(
  8781. IRpcStubBuffer *This,
  8782. IRpcChannelBuffer *_pRpcChannelBuffer,
  8783. PRPC_MESSAGE _pRpcMessage,
  8784. DWORD *_pdwStubPhase);
  8785. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneDeviceSpecificEvent_get_lParam1_Proxy(
  8786. ITPhoneDeviceSpecificEvent * This,
  8787. /* [retval][out] */ long *pParam1);
  8788. void __RPC_STUB ITPhoneDeviceSpecificEvent_get_lParam1_Stub(
  8789. IRpcStubBuffer *This,
  8790. IRpcChannelBuffer *_pRpcChannelBuffer,
  8791. PRPC_MESSAGE _pRpcMessage,
  8792. DWORD *_pdwStubPhase);
  8793. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneDeviceSpecificEvent_get_lParam2_Proxy(
  8794. ITPhoneDeviceSpecificEvent * This,
  8795. /* [retval][out] */ long *pParam2);
  8796. void __RPC_STUB ITPhoneDeviceSpecificEvent_get_lParam2_Stub(
  8797. IRpcStubBuffer *This,
  8798. IRpcChannelBuffer *_pRpcChannelBuffer,
  8799. PRPC_MESSAGE _pRpcMessage,
  8800. DWORD *_pdwStubPhase);
  8801. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITPhoneDeviceSpecificEvent_get_lParam3_Proxy(
  8802. ITPhoneDeviceSpecificEvent * This,
  8803. /* [retval][out] */ long *pParam3);
  8804. void __RPC_STUB ITPhoneDeviceSpecificEvent_get_lParam3_Stub(
  8805. IRpcStubBuffer *This,
  8806. IRpcChannelBuffer *_pRpcChannelBuffer,
  8807. PRPC_MESSAGE _pRpcMessage,
  8808. DWORD *_pdwStubPhase);
  8809. #endif /* __ITPhoneDeviceSpecificEvent_INTERFACE_DEFINED__ */
  8810. #ifndef __ITCallMediaEvent_INTERFACE_DEFINED__
  8811. #define __ITCallMediaEvent_INTERFACE_DEFINED__
  8812. /* interface ITCallMediaEvent */
  8813. /* [object][dual][helpstring][uuid] */
  8814. EXTERN_C const IID IID_ITCallMediaEvent;
  8815. #if defined(__cplusplus) && !defined(CINTERFACE)
  8816. MIDL_INTERFACE("FF36B87F-EC3A-11d0-8EE4-00C04FB6809F")
  8817. ITCallMediaEvent : public IDispatch
  8818. {
  8819. public:
  8820. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  8821. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  8822. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  8823. /* [retval][out] */ CALL_MEDIA_EVENT *pCallMediaEvent) = 0;
  8824. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  8825. /* [retval][out] */ HRESULT *phrError) = 0;
  8826. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal(
  8827. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  8828. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Stream(
  8829. /* [retval][out] */ ITStream **ppStream) = 0;
  8830. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cause(
  8831. /* [retval][out] */ CALL_MEDIA_EVENT_CAUSE *pCause) = 0;
  8832. };
  8833. #else /* C style interface */
  8834. typedef struct ITCallMediaEventVtbl
  8835. {
  8836. BEGIN_INTERFACE
  8837. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8838. ITCallMediaEvent * This,
  8839. /* [in] */ REFIID riid,
  8840. /* [iid_is][out] */ void **ppvObject);
  8841. ULONG ( STDMETHODCALLTYPE *AddRef )(
  8842. ITCallMediaEvent * This);
  8843. ULONG ( STDMETHODCALLTYPE *Release )(
  8844. ITCallMediaEvent * This);
  8845. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  8846. ITCallMediaEvent * This,
  8847. /* [out] */ UINT *pctinfo);
  8848. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  8849. ITCallMediaEvent * This,
  8850. /* [in] */ UINT iTInfo,
  8851. /* [in] */ LCID lcid,
  8852. /* [out] */ ITypeInfo **ppTInfo);
  8853. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  8854. ITCallMediaEvent * This,
  8855. /* [in] */ REFIID riid,
  8856. /* [size_is][in] */ LPOLESTR *rgszNames,
  8857. /* [in] */ UINT cNames,
  8858. /* [in] */ LCID lcid,
  8859. /* [size_is][out] */ DISPID *rgDispId);
  8860. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  8861. ITCallMediaEvent * This,
  8862. /* [in] */ DISPID dispIdMember,
  8863. /* [in] */ REFIID riid,
  8864. /* [in] */ LCID lcid,
  8865. /* [in] */ WORD wFlags,
  8866. /* [out][in] */ DISPPARAMS *pDispParams,
  8867. /* [out] */ VARIANT *pVarResult,
  8868. /* [out] */ EXCEPINFO *pExcepInfo,
  8869. /* [out] */ UINT *puArgErr);
  8870. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  8871. ITCallMediaEvent * This,
  8872. /* [retval][out] */ ITCallInfo **ppCallInfo);
  8873. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  8874. ITCallMediaEvent * This,
  8875. /* [retval][out] */ CALL_MEDIA_EVENT *pCallMediaEvent);
  8876. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  8877. ITCallMediaEvent * This,
  8878. /* [retval][out] */ HRESULT *phrError);
  8879. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )(
  8880. ITCallMediaEvent * This,
  8881. /* [retval][out] */ ITTerminal **ppTerminal);
  8882. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Stream )(
  8883. ITCallMediaEvent * This,
  8884. /* [retval][out] */ ITStream **ppStream);
  8885. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cause )(
  8886. ITCallMediaEvent * This,
  8887. /* [retval][out] */ CALL_MEDIA_EVENT_CAUSE *pCause);
  8888. END_INTERFACE
  8889. } ITCallMediaEventVtbl;
  8890. interface ITCallMediaEvent
  8891. {
  8892. CONST_VTBL struct ITCallMediaEventVtbl *lpVtbl;
  8893. };
  8894. #ifdef COBJMACROS
  8895. #define ITCallMediaEvent_QueryInterface(This,riid,ppvObject) \
  8896. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  8897. #define ITCallMediaEvent_AddRef(This) \
  8898. (This)->lpVtbl -> AddRef(This)
  8899. #define ITCallMediaEvent_Release(This) \
  8900. (This)->lpVtbl -> Release(This)
  8901. #define ITCallMediaEvent_GetTypeInfoCount(This,pctinfo) \
  8902. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  8903. #define ITCallMediaEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  8904. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  8905. #define ITCallMediaEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  8906. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  8907. #define ITCallMediaEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  8908. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  8909. #define ITCallMediaEvent_get_Call(This,ppCallInfo) \
  8910. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  8911. #define ITCallMediaEvent_get_Event(This,pCallMediaEvent) \
  8912. (This)->lpVtbl -> get_Event(This,pCallMediaEvent)
  8913. #define ITCallMediaEvent_get_Error(This,phrError) \
  8914. (This)->lpVtbl -> get_Error(This,phrError)
  8915. #define ITCallMediaEvent_get_Terminal(This,ppTerminal) \
  8916. (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  8917. #define ITCallMediaEvent_get_Stream(This,ppStream) \
  8918. (This)->lpVtbl -> get_Stream(This,ppStream)
  8919. #define ITCallMediaEvent_get_Cause(This,pCause) \
  8920. (This)->lpVtbl -> get_Cause(This,pCause)
  8921. #endif /* COBJMACROS */
  8922. #endif /* C style interface */
  8923. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallMediaEvent_get_Call_Proxy(
  8924. ITCallMediaEvent * This,
  8925. /* [retval][out] */ ITCallInfo **ppCallInfo);
  8926. void __RPC_STUB ITCallMediaEvent_get_Call_Stub(
  8927. IRpcStubBuffer *This,
  8928. IRpcChannelBuffer *_pRpcChannelBuffer,
  8929. PRPC_MESSAGE _pRpcMessage,
  8930. DWORD *_pdwStubPhase);
  8931. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallMediaEvent_get_Event_Proxy(
  8932. ITCallMediaEvent * This,
  8933. /* [retval][out] */ CALL_MEDIA_EVENT *pCallMediaEvent);
  8934. void __RPC_STUB ITCallMediaEvent_get_Event_Stub(
  8935. IRpcStubBuffer *This,
  8936. IRpcChannelBuffer *_pRpcChannelBuffer,
  8937. PRPC_MESSAGE _pRpcMessage,
  8938. DWORD *_pdwStubPhase);
  8939. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallMediaEvent_get_Error_Proxy(
  8940. ITCallMediaEvent * This,
  8941. /* [retval][out] */ HRESULT *phrError);
  8942. void __RPC_STUB ITCallMediaEvent_get_Error_Stub(
  8943. IRpcStubBuffer *This,
  8944. IRpcChannelBuffer *_pRpcChannelBuffer,
  8945. PRPC_MESSAGE _pRpcMessage,
  8946. DWORD *_pdwStubPhase);
  8947. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallMediaEvent_get_Terminal_Proxy(
  8948. ITCallMediaEvent * This,
  8949. /* [retval][out] */ ITTerminal **ppTerminal);
  8950. void __RPC_STUB ITCallMediaEvent_get_Terminal_Stub(
  8951. IRpcStubBuffer *This,
  8952. IRpcChannelBuffer *_pRpcChannelBuffer,
  8953. PRPC_MESSAGE _pRpcMessage,
  8954. DWORD *_pdwStubPhase);
  8955. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallMediaEvent_get_Stream_Proxy(
  8956. ITCallMediaEvent * This,
  8957. /* [retval][out] */ ITStream **ppStream);
  8958. void __RPC_STUB ITCallMediaEvent_get_Stream_Stub(
  8959. IRpcStubBuffer *This,
  8960. IRpcChannelBuffer *_pRpcChannelBuffer,
  8961. PRPC_MESSAGE _pRpcMessage,
  8962. DWORD *_pdwStubPhase);
  8963. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallMediaEvent_get_Cause_Proxy(
  8964. ITCallMediaEvent * This,
  8965. /* [retval][out] */ CALL_MEDIA_EVENT_CAUSE *pCause);
  8966. void __RPC_STUB ITCallMediaEvent_get_Cause_Stub(
  8967. IRpcStubBuffer *This,
  8968. IRpcChannelBuffer *_pRpcChannelBuffer,
  8969. PRPC_MESSAGE _pRpcMessage,
  8970. DWORD *_pdwStubPhase);
  8971. #endif /* __ITCallMediaEvent_INTERFACE_DEFINED__ */
  8972. #ifndef __ITDigitDetectionEvent_INTERFACE_DEFINED__
  8973. #define __ITDigitDetectionEvent_INTERFACE_DEFINED__
  8974. /* interface ITDigitDetectionEvent */
  8975. /* [object][oleautomation][helpstring][uuid] */
  8976. EXTERN_C const IID IID_ITDigitDetectionEvent;
  8977. #if defined(__cplusplus) && !defined(CINTERFACE)
  8978. MIDL_INTERFACE("80D3BFAC-57D9-11d2-A04A-00C04FB6809F")
  8979. ITDigitDetectionEvent : public IDispatch
  8980. {
  8981. public:
  8982. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  8983. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  8984. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Digit(
  8985. /* [retval][out] */ unsigned char *pucDigit) = 0;
  8986. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DigitMode(
  8987. /* [retval][out] */ TAPI_DIGITMODE *pDigitMode) = 0;
  8988. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TickCount(
  8989. /* [retval][out] */ long *plTickCount) = 0;
  8990. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  8991. /* [retval][out] */ long *plCallbackInstance) = 0;
  8992. };
  8993. #else /* C style interface */
  8994. typedef struct ITDigitDetectionEventVtbl
  8995. {
  8996. BEGIN_INTERFACE
  8997. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  8998. ITDigitDetectionEvent * This,
  8999. /* [in] */ REFIID riid,
  9000. /* [iid_is][out] */ void **ppvObject);
  9001. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9002. ITDigitDetectionEvent * This);
  9003. ULONG ( STDMETHODCALLTYPE *Release )(
  9004. ITDigitDetectionEvent * This);
  9005. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9006. ITDigitDetectionEvent * This,
  9007. /* [out] */ UINT *pctinfo);
  9008. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9009. ITDigitDetectionEvent * This,
  9010. /* [in] */ UINT iTInfo,
  9011. /* [in] */ LCID lcid,
  9012. /* [out] */ ITypeInfo **ppTInfo);
  9013. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9014. ITDigitDetectionEvent * This,
  9015. /* [in] */ REFIID riid,
  9016. /* [size_is][in] */ LPOLESTR *rgszNames,
  9017. /* [in] */ UINT cNames,
  9018. /* [in] */ LCID lcid,
  9019. /* [size_is][out] */ DISPID *rgDispId);
  9020. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9021. ITDigitDetectionEvent * This,
  9022. /* [in] */ DISPID dispIdMember,
  9023. /* [in] */ REFIID riid,
  9024. /* [in] */ LCID lcid,
  9025. /* [in] */ WORD wFlags,
  9026. /* [out][in] */ DISPPARAMS *pDispParams,
  9027. /* [out] */ VARIANT *pVarResult,
  9028. /* [out] */ EXCEPINFO *pExcepInfo,
  9029. /* [out] */ UINT *puArgErr);
  9030. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  9031. ITDigitDetectionEvent * This,
  9032. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9033. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Digit )(
  9034. ITDigitDetectionEvent * This,
  9035. /* [retval][out] */ unsigned char *pucDigit);
  9036. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DigitMode )(
  9037. ITDigitDetectionEvent * This,
  9038. /* [retval][out] */ TAPI_DIGITMODE *pDigitMode);
  9039. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TickCount )(
  9040. ITDigitDetectionEvent * This,
  9041. /* [retval][out] */ long *plTickCount);
  9042. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  9043. ITDigitDetectionEvent * This,
  9044. /* [retval][out] */ long *plCallbackInstance);
  9045. END_INTERFACE
  9046. } ITDigitDetectionEventVtbl;
  9047. interface ITDigitDetectionEvent
  9048. {
  9049. CONST_VTBL struct ITDigitDetectionEventVtbl *lpVtbl;
  9050. };
  9051. #ifdef COBJMACROS
  9052. #define ITDigitDetectionEvent_QueryInterface(This,riid,ppvObject) \
  9053. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9054. #define ITDigitDetectionEvent_AddRef(This) \
  9055. (This)->lpVtbl -> AddRef(This)
  9056. #define ITDigitDetectionEvent_Release(This) \
  9057. (This)->lpVtbl -> Release(This)
  9058. #define ITDigitDetectionEvent_GetTypeInfoCount(This,pctinfo) \
  9059. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9060. #define ITDigitDetectionEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9061. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9062. #define ITDigitDetectionEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9063. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9064. #define ITDigitDetectionEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9065. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9066. #define ITDigitDetectionEvent_get_Call(This,ppCallInfo) \
  9067. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  9068. #define ITDigitDetectionEvent_get_Digit(This,pucDigit) \
  9069. (This)->lpVtbl -> get_Digit(This,pucDigit)
  9070. #define ITDigitDetectionEvent_get_DigitMode(This,pDigitMode) \
  9071. (This)->lpVtbl -> get_DigitMode(This,pDigitMode)
  9072. #define ITDigitDetectionEvent_get_TickCount(This,plTickCount) \
  9073. (This)->lpVtbl -> get_TickCount(This,plTickCount)
  9074. #define ITDigitDetectionEvent_get_CallbackInstance(This,plCallbackInstance) \
  9075. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  9076. #endif /* COBJMACROS */
  9077. #endif /* C style interface */
  9078. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitDetectionEvent_get_Call_Proxy(
  9079. ITDigitDetectionEvent * This,
  9080. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9081. void __RPC_STUB ITDigitDetectionEvent_get_Call_Stub(
  9082. IRpcStubBuffer *This,
  9083. IRpcChannelBuffer *_pRpcChannelBuffer,
  9084. PRPC_MESSAGE _pRpcMessage,
  9085. DWORD *_pdwStubPhase);
  9086. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitDetectionEvent_get_Digit_Proxy(
  9087. ITDigitDetectionEvent * This,
  9088. /* [retval][out] */ unsigned char *pucDigit);
  9089. void __RPC_STUB ITDigitDetectionEvent_get_Digit_Stub(
  9090. IRpcStubBuffer *This,
  9091. IRpcChannelBuffer *_pRpcChannelBuffer,
  9092. PRPC_MESSAGE _pRpcMessage,
  9093. DWORD *_pdwStubPhase);
  9094. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitDetectionEvent_get_DigitMode_Proxy(
  9095. ITDigitDetectionEvent * This,
  9096. /* [retval][out] */ TAPI_DIGITMODE *pDigitMode);
  9097. void __RPC_STUB ITDigitDetectionEvent_get_DigitMode_Stub(
  9098. IRpcStubBuffer *This,
  9099. IRpcChannelBuffer *_pRpcChannelBuffer,
  9100. PRPC_MESSAGE _pRpcMessage,
  9101. DWORD *_pdwStubPhase);
  9102. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitDetectionEvent_get_TickCount_Proxy(
  9103. ITDigitDetectionEvent * This,
  9104. /* [retval][out] */ long *plTickCount);
  9105. void __RPC_STUB ITDigitDetectionEvent_get_TickCount_Stub(
  9106. IRpcStubBuffer *This,
  9107. IRpcChannelBuffer *_pRpcChannelBuffer,
  9108. PRPC_MESSAGE _pRpcMessage,
  9109. DWORD *_pdwStubPhase);
  9110. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitDetectionEvent_get_CallbackInstance_Proxy(
  9111. ITDigitDetectionEvent * This,
  9112. /* [retval][out] */ long *plCallbackInstance);
  9113. void __RPC_STUB ITDigitDetectionEvent_get_CallbackInstance_Stub(
  9114. IRpcStubBuffer *This,
  9115. IRpcChannelBuffer *_pRpcChannelBuffer,
  9116. PRPC_MESSAGE _pRpcMessage,
  9117. DWORD *_pdwStubPhase);
  9118. #endif /* __ITDigitDetectionEvent_INTERFACE_DEFINED__ */
  9119. #ifndef __ITDigitGenerationEvent_INTERFACE_DEFINED__
  9120. #define __ITDigitGenerationEvent_INTERFACE_DEFINED__
  9121. /* interface ITDigitGenerationEvent */
  9122. /* [object][dual][helpstring][uuid] */
  9123. EXTERN_C const IID IID_ITDigitGenerationEvent;
  9124. #if defined(__cplusplus) && !defined(CINTERFACE)
  9125. MIDL_INTERFACE("80D3BFAD-57D9-11d2-A04A-00C04FB6809F")
  9126. ITDigitGenerationEvent : public IDispatch
  9127. {
  9128. public:
  9129. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  9130. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  9131. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GenerationTermination(
  9132. /* [retval][out] */ long *plGenerationTermination) = 0;
  9133. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TickCount(
  9134. /* [retval][out] */ long *plTickCount) = 0;
  9135. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  9136. /* [retval][out] */ long *plCallbackInstance) = 0;
  9137. };
  9138. #else /* C style interface */
  9139. typedef struct ITDigitGenerationEventVtbl
  9140. {
  9141. BEGIN_INTERFACE
  9142. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9143. ITDigitGenerationEvent * This,
  9144. /* [in] */ REFIID riid,
  9145. /* [iid_is][out] */ void **ppvObject);
  9146. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9147. ITDigitGenerationEvent * This);
  9148. ULONG ( STDMETHODCALLTYPE *Release )(
  9149. ITDigitGenerationEvent * This);
  9150. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9151. ITDigitGenerationEvent * This,
  9152. /* [out] */ UINT *pctinfo);
  9153. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9154. ITDigitGenerationEvent * This,
  9155. /* [in] */ UINT iTInfo,
  9156. /* [in] */ LCID lcid,
  9157. /* [out] */ ITypeInfo **ppTInfo);
  9158. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9159. ITDigitGenerationEvent * This,
  9160. /* [in] */ REFIID riid,
  9161. /* [size_is][in] */ LPOLESTR *rgszNames,
  9162. /* [in] */ UINT cNames,
  9163. /* [in] */ LCID lcid,
  9164. /* [size_is][out] */ DISPID *rgDispId);
  9165. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9166. ITDigitGenerationEvent * This,
  9167. /* [in] */ DISPID dispIdMember,
  9168. /* [in] */ REFIID riid,
  9169. /* [in] */ LCID lcid,
  9170. /* [in] */ WORD wFlags,
  9171. /* [out][in] */ DISPPARAMS *pDispParams,
  9172. /* [out] */ VARIANT *pVarResult,
  9173. /* [out] */ EXCEPINFO *pExcepInfo,
  9174. /* [out] */ UINT *puArgErr);
  9175. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  9176. ITDigitGenerationEvent * This,
  9177. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9178. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GenerationTermination )(
  9179. ITDigitGenerationEvent * This,
  9180. /* [retval][out] */ long *plGenerationTermination);
  9181. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TickCount )(
  9182. ITDigitGenerationEvent * This,
  9183. /* [retval][out] */ long *plTickCount);
  9184. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  9185. ITDigitGenerationEvent * This,
  9186. /* [retval][out] */ long *plCallbackInstance);
  9187. END_INTERFACE
  9188. } ITDigitGenerationEventVtbl;
  9189. interface ITDigitGenerationEvent
  9190. {
  9191. CONST_VTBL struct ITDigitGenerationEventVtbl *lpVtbl;
  9192. };
  9193. #ifdef COBJMACROS
  9194. #define ITDigitGenerationEvent_QueryInterface(This,riid,ppvObject) \
  9195. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9196. #define ITDigitGenerationEvent_AddRef(This) \
  9197. (This)->lpVtbl -> AddRef(This)
  9198. #define ITDigitGenerationEvent_Release(This) \
  9199. (This)->lpVtbl -> Release(This)
  9200. #define ITDigitGenerationEvent_GetTypeInfoCount(This,pctinfo) \
  9201. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9202. #define ITDigitGenerationEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9203. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9204. #define ITDigitGenerationEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9205. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9206. #define ITDigitGenerationEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9207. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9208. #define ITDigitGenerationEvent_get_Call(This,ppCallInfo) \
  9209. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  9210. #define ITDigitGenerationEvent_get_GenerationTermination(This,plGenerationTermination) \
  9211. (This)->lpVtbl -> get_GenerationTermination(This,plGenerationTermination)
  9212. #define ITDigitGenerationEvent_get_TickCount(This,plTickCount) \
  9213. (This)->lpVtbl -> get_TickCount(This,plTickCount)
  9214. #define ITDigitGenerationEvent_get_CallbackInstance(This,plCallbackInstance) \
  9215. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  9216. #endif /* COBJMACROS */
  9217. #endif /* C style interface */
  9218. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitGenerationEvent_get_Call_Proxy(
  9219. ITDigitGenerationEvent * This,
  9220. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9221. void __RPC_STUB ITDigitGenerationEvent_get_Call_Stub(
  9222. IRpcStubBuffer *This,
  9223. IRpcChannelBuffer *_pRpcChannelBuffer,
  9224. PRPC_MESSAGE _pRpcMessage,
  9225. DWORD *_pdwStubPhase);
  9226. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitGenerationEvent_get_GenerationTermination_Proxy(
  9227. ITDigitGenerationEvent * This,
  9228. /* [retval][out] */ long *plGenerationTermination);
  9229. void __RPC_STUB ITDigitGenerationEvent_get_GenerationTermination_Stub(
  9230. IRpcStubBuffer *This,
  9231. IRpcChannelBuffer *_pRpcChannelBuffer,
  9232. PRPC_MESSAGE _pRpcMessage,
  9233. DWORD *_pdwStubPhase);
  9234. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitGenerationEvent_get_TickCount_Proxy(
  9235. ITDigitGenerationEvent * This,
  9236. /* [retval][out] */ long *plTickCount);
  9237. void __RPC_STUB ITDigitGenerationEvent_get_TickCount_Stub(
  9238. IRpcStubBuffer *This,
  9239. IRpcChannelBuffer *_pRpcChannelBuffer,
  9240. PRPC_MESSAGE _pRpcMessage,
  9241. DWORD *_pdwStubPhase);
  9242. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitGenerationEvent_get_CallbackInstance_Proxy(
  9243. ITDigitGenerationEvent * This,
  9244. /* [retval][out] */ long *plCallbackInstance);
  9245. void __RPC_STUB ITDigitGenerationEvent_get_CallbackInstance_Stub(
  9246. IRpcStubBuffer *This,
  9247. IRpcChannelBuffer *_pRpcChannelBuffer,
  9248. PRPC_MESSAGE _pRpcMessage,
  9249. DWORD *_pdwStubPhase);
  9250. #endif /* __ITDigitGenerationEvent_INTERFACE_DEFINED__ */
  9251. #ifndef __ITDigitsGatheredEvent_INTERFACE_DEFINED__
  9252. #define __ITDigitsGatheredEvent_INTERFACE_DEFINED__
  9253. /* interface ITDigitsGatheredEvent */
  9254. /* [object][dual][helpstring][uuid] */
  9255. EXTERN_C const IID IID_ITDigitsGatheredEvent;
  9256. #if defined(__cplusplus) && !defined(CINTERFACE)
  9257. MIDL_INTERFACE("E52EC4C1-CBA3-441a-9E6A-93CB909E9724")
  9258. ITDigitsGatheredEvent : public IDispatch
  9259. {
  9260. public:
  9261. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  9262. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  9263. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Digits(
  9264. /* [retval][out] */ BSTR *ppDigits) = 0;
  9265. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_GatherTermination(
  9266. /* [retval][out] */ TAPI_GATHERTERM *pGatherTermination) = 0;
  9267. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TickCount(
  9268. /* [retval][out] */ long *plTickCount) = 0;
  9269. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  9270. /* [retval][out] */ long *plCallbackInstance) = 0;
  9271. };
  9272. #else /* C style interface */
  9273. typedef struct ITDigitsGatheredEventVtbl
  9274. {
  9275. BEGIN_INTERFACE
  9276. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9277. ITDigitsGatheredEvent * This,
  9278. /* [in] */ REFIID riid,
  9279. /* [iid_is][out] */ void **ppvObject);
  9280. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9281. ITDigitsGatheredEvent * This);
  9282. ULONG ( STDMETHODCALLTYPE *Release )(
  9283. ITDigitsGatheredEvent * This);
  9284. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9285. ITDigitsGatheredEvent * This,
  9286. /* [out] */ UINT *pctinfo);
  9287. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9288. ITDigitsGatheredEvent * This,
  9289. /* [in] */ UINT iTInfo,
  9290. /* [in] */ LCID lcid,
  9291. /* [out] */ ITypeInfo **ppTInfo);
  9292. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9293. ITDigitsGatheredEvent * This,
  9294. /* [in] */ REFIID riid,
  9295. /* [size_is][in] */ LPOLESTR *rgszNames,
  9296. /* [in] */ UINT cNames,
  9297. /* [in] */ LCID lcid,
  9298. /* [size_is][out] */ DISPID *rgDispId);
  9299. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9300. ITDigitsGatheredEvent * This,
  9301. /* [in] */ DISPID dispIdMember,
  9302. /* [in] */ REFIID riid,
  9303. /* [in] */ LCID lcid,
  9304. /* [in] */ WORD wFlags,
  9305. /* [out][in] */ DISPPARAMS *pDispParams,
  9306. /* [out] */ VARIANT *pVarResult,
  9307. /* [out] */ EXCEPINFO *pExcepInfo,
  9308. /* [out] */ UINT *puArgErr);
  9309. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  9310. ITDigitsGatheredEvent * This,
  9311. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9312. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Digits )(
  9313. ITDigitsGatheredEvent * This,
  9314. /* [retval][out] */ BSTR *ppDigits);
  9315. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_GatherTermination )(
  9316. ITDigitsGatheredEvent * This,
  9317. /* [retval][out] */ TAPI_GATHERTERM *pGatherTermination);
  9318. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TickCount )(
  9319. ITDigitsGatheredEvent * This,
  9320. /* [retval][out] */ long *plTickCount);
  9321. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  9322. ITDigitsGatheredEvent * This,
  9323. /* [retval][out] */ long *plCallbackInstance);
  9324. END_INTERFACE
  9325. } ITDigitsGatheredEventVtbl;
  9326. interface ITDigitsGatheredEvent
  9327. {
  9328. CONST_VTBL struct ITDigitsGatheredEventVtbl *lpVtbl;
  9329. };
  9330. #ifdef COBJMACROS
  9331. #define ITDigitsGatheredEvent_QueryInterface(This,riid,ppvObject) \
  9332. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9333. #define ITDigitsGatheredEvent_AddRef(This) \
  9334. (This)->lpVtbl -> AddRef(This)
  9335. #define ITDigitsGatheredEvent_Release(This) \
  9336. (This)->lpVtbl -> Release(This)
  9337. #define ITDigitsGatheredEvent_GetTypeInfoCount(This,pctinfo) \
  9338. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9339. #define ITDigitsGatheredEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9340. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9341. #define ITDigitsGatheredEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9342. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9343. #define ITDigitsGatheredEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9344. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9345. #define ITDigitsGatheredEvent_get_Call(This,ppCallInfo) \
  9346. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  9347. #define ITDigitsGatheredEvent_get_Digits(This,ppDigits) \
  9348. (This)->lpVtbl -> get_Digits(This,ppDigits)
  9349. #define ITDigitsGatheredEvent_get_GatherTermination(This,pGatherTermination) \
  9350. (This)->lpVtbl -> get_GatherTermination(This,pGatherTermination)
  9351. #define ITDigitsGatheredEvent_get_TickCount(This,plTickCount) \
  9352. (This)->lpVtbl -> get_TickCount(This,plTickCount)
  9353. #define ITDigitsGatheredEvent_get_CallbackInstance(This,plCallbackInstance) \
  9354. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  9355. #endif /* COBJMACROS */
  9356. #endif /* C style interface */
  9357. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitsGatheredEvent_get_Call_Proxy(
  9358. ITDigitsGatheredEvent * This,
  9359. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9360. void __RPC_STUB ITDigitsGatheredEvent_get_Call_Stub(
  9361. IRpcStubBuffer *This,
  9362. IRpcChannelBuffer *_pRpcChannelBuffer,
  9363. PRPC_MESSAGE _pRpcMessage,
  9364. DWORD *_pdwStubPhase);
  9365. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitsGatheredEvent_get_Digits_Proxy(
  9366. ITDigitsGatheredEvent * This,
  9367. /* [retval][out] */ BSTR *ppDigits);
  9368. void __RPC_STUB ITDigitsGatheredEvent_get_Digits_Stub(
  9369. IRpcStubBuffer *This,
  9370. IRpcChannelBuffer *_pRpcChannelBuffer,
  9371. PRPC_MESSAGE _pRpcMessage,
  9372. DWORD *_pdwStubPhase);
  9373. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitsGatheredEvent_get_GatherTermination_Proxy(
  9374. ITDigitsGatheredEvent * This,
  9375. /* [retval][out] */ TAPI_GATHERTERM *pGatherTermination);
  9376. void __RPC_STUB ITDigitsGatheredEvent_get_GatherTermination_Stub(
  9377. IRpcStubBuffer *This,
  9378. IRpcChannelBuffer *_pRpcChannelBuffer,
  9379. PRPC_MESSAGE _pRpcMessage,
  9380. DWORD *_pdwStubPhase);
  9381. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitsGatheredEvent_get_TickCount_Proxy(
  9382. ITDigitsGatheredEvent * This,
  9383. /* [retval][out] */ long *plTickCount);
  9384. void __RPC_STUB ITDigitsGatheredEvent_get_TickCount_Stub(
  9385. IRpcStubBuffer *This,
  9386. IRpcChannelBuffer *_pRpcChannelBuffer,
  9387. PRPC_MESSAGE _pRpcMessage,
  9388. DWORD *_pdwStubPhase);
  9389. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITDigitsGatheredEvent_get_CallbackInstance_Proxy(
  9390. ITDigitsGatheredEvent * This,
  9391. /* [retval][out] */ long *plCallbackInstance);
  9392. void __RPC_STUB ITDigitsGatheredEvent_get_CallbackInstance_Stub(
  9393. IRpcStubBuffer *This,
  9394. IRpcChannelBuffer *_pRpcChannelBuffer,
  9395. PRPC_MESSAGE _pRpcMessage,
  9396. DWORD *_pdwStubPhase);
  9397. #endif /* __ITDigitsGatheredEvent_INTERFACE_DEFINED__ */
  9398. #ifndef __ITToneDetectionEvent_INTERFACE_DEFINED__
  9399. #define __ITToneDetectionEvent_INTERFACE_DEFINED__
  9400. /* interface ITToneDetectionEvent */
  9401. /* [object][dual][helpstring][uuid] */
  9402. EXTERN_C const IID IID_ITToneDetectionEvent;
  9403. #if defined(__cplusplus) && !defined(CINTERFACE)
  9404. MIDL_INTERFACE("407E0FAF-D047-4753-B0C6-8E060373FECD")
  9405. ITToneDetectionEvent : public IDispatch
  9406. {
  9407. public:
  9408. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  9409. /* [retval][out] */ ITCallInfo **ppCallInfo) = 0;
  9410. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AppSpecific(
  9411. /* [retval][out] */ long *plAppSpecific) = 0;
  9412. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TickCount(
  9413. /* [retval][out] */ long *plTickCount) = 0;
  9414. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  9415. /* [retval][out] */ long *plCallbackInstance) = 0;
  9416. };
  9417. #else /* C style interface */
  9418. typedef struct ITToneDetectionEventVtbl
  9419. {
  9420. BEGIN_INTERFACE
  9421. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9422. ITToneDetectionEvent * This,
  9423. /* [in] */ REFIID riid,
  9424. /* [iid_is][out] */ void **ppvObject);
  9425. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9426. ITToneDetectionEvent * This);
  9427. ULONG ( STDMETHODCALLTYPE *Release )(
  9428. ITToneDetectionEvent * This);
  9429. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9430. ITToneDetectionEvent * This,
  9431. /* [out] */ UINT *pctinfo);
  9432. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9433. ITToneDetectionEvent * This,
  9434. /* [in] */ UINT iTInfo,
  9435. /* [in] */ LCID lcid,
  9436. /* [out] */ ITypeInfo **ppTInfo);
  9437. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9438. ITToneDetectionEvent * This,
  9439. /* [in] */ REFIID riid,
  9440. /* [size_is][in] */ LPOLESTR *rgszNames,
  9441. /* [in] */ UINT cNames,
  9442. /* [in] */ LCID lcid,
  9443. /* [size_is][out] */ DISPID *rgDispId);
  9444. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9445. ITToneDetectionEvent * This,
  9446. /* [in] */ DISPID dispIdMember,
  9447. /* [in] */ REFIID riid,
  9448. /* [in] */ LCID lcid,
  9449. /* [in] */ WORD wFlags,
  9450. /* [out][in] */ DISPPARAMS *pDispParams,
  9451. /* [out] */ VARIANT *pVarResult,
  9452. /* [out] */ EXCEPINFO *pExcepInfo,
  9453. /* [out] */ UINT *puArgErr);
  9454. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  9455. ITToneDetectionEvent * This,
  9456. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9457. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AppSpecific )(
  9458. ITToneDetectionEvent * This,
  9459. /* [retval][out] */ long *plAppSpecific);
  9460. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TickCount )(
  9461. ITToneDetectionEvent * This,
  9462. /* [retval][out] */ long *plTickCount);
  9463. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  9464. ITToneDetectionEvent * This,
  9465. /* [retval][out] */ long *plCallbackInstance);
  9466. END_INTERFACE
  9467. } ITToneDetectionEventVtbl;
  9468. interface ITToneDetectionEvent
  9469. {
  9470. CONST_VTBL struct ITToneDetectionEventVtbl *lpVtbl;
  9471. };
  9472. #ifdef COBJMACROS
  9473. #define ITToneDetectionEvent_QueryInterface(This,riid,ppvObject) \
  9474. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9475. #define ITToneDetectionEvent_AddRef(This) \
  9476. (This)->lpVtbl -> AddRef(This)
  9477. #define ITToneDetectionEvent_Release(This) \
  9478. (This)->lpVtbl -> Release(This)
  9479. #define ITToneDetectionEvent_GetTypeInfoCount(This,pctinfo) \
  9480. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9481. #define ITToneDetectionEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9482. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9483. #define ITToneDetectionEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9484. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9485. #define ITToneDetectionEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9486. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9487. #define ITToneDetectionEvent_get_Call(This,ppCallInfo) \
  9488. (This)->lpVtbl -> get_Call(This,ppCallInfo)
  9489. #define ITToneDetectionEvent_get_AppSpecific(This,plAppSpecific) \
  9490. (This)->lpVtbl -> get_AppSpecific(This,plAppSpecific)
  9491. #define ITToneDetectionEvent_get_TickCount(This,plTickCount) \
  9492. (This)->lpVtbl -> get_TickCount(This,plTickCount)
  9493. #define ITToneDetectionEvent_get_CallbackInstance(This,plCallbackInstance) \
  9494. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  9495. #endif /* COBJMACROS */
  9496. #endif /* C style interface */
  9497. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneDetectionEvent_get_Call_Proxy(
  9498. ITToneDetectionEvent * This,
  9499. /* [retval][out] */ ITCallInfo **ppCallInfo);
  9500. void __RPC_STUB ITToneDetectionEvent_get_Call_Stub(
  9501. IRpcStubBuffer *This,
  9502. IRpcChannelBuffer *_pRpcChannelBuffer,
  9503. PRPC_MESSAGE _pRpcMessage,
  9504. DWORD *_pdwStubPhase);
  9505. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneDetectionEvent_get_AppSpecific_Proxy(
  9506. ITToneDetectionEvent * This,
  9507. /* [retval][out] */ long *plAppSpecific);
  9508. void __RPC_STUB ITToneDetectionEvent_get_AppSpecific_Stub(
  9509. IRpcStubBuffer *This,
  9510. IRpcChannelBuffer *_pRpcChannelBuffer,
  9511. PRPC_MESSAGE _pRpcMessage,
  9512. DWORD *_pdwStubPhase);
  9513. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneDetectionEvent_get_TickCount_Proxy(
  9514. ITToneDetectionEvent * This,
  9515. /* [retval][out] */ long *plTickCount);
  9516. void __RPC_STUB ITToneDetectionEvent_get_TickCount_Stub(
  9517. IRpcStubBuffer *This,
  9518. IRpcChannelBuffer *_pRpcChannelBuffer,
  9519. PRPC_MESSAGE _pRpcMessage,
  9520. DWORD *_pdwStubPhase);
  9521. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneDetectionEvent_get_CallbackInstance_Proxy(
  9522. ITToneDetectionEvent * This,
  9523. /* [retval][out] */ long *plCallbackInstance);
  9524. void __RPC_STUB ITToneDetectionEvent_get_CallbackInstance_Stub(
  9525. IRpcStubBuffer *This,
  9526. IRpcChannelBuffer *_pRpcChannelBuffer,
  9527. PRPC_MESSAGE _pRpcMessage,
  9528. DWORD *_pdwStubPhase);
  9529. #endif /* __ITToneDetectionEvent_INTERFACE_DEFINED__ */
  9530. #ifndef __ITTAPIObjectEvent_INTERFACE_DEFINED__
  9531. #define __ITTAPIObjectEvent_INTERFACE_DEFINED__
  9532. /* interface ITTAPIObjectEvent */
  9533. /* [object][dual][helpstring][uuid] */
  9534. EXTERN_C const IID IID_ITTAPIObjectEvent;
  9535. #if defined(__cplusplus) && !defined(CINTERFACE)
  9536. MIDL_INTERFACE("F4854D48-937A-11d1-BB58-00C04FB6809F")
  9537. ITTAPIObjectEvent : public IDispatch
  9538. {
  9539. public:
  9540. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TAPIObject(
  9541. /* [retval][out] */ ITTAPI **ppTAPIObject) = 0;
  9542. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  9543. /* [retval][out] */ TAPIOBJECT_EVENT *pEvent) = 0;
  9544. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
  9545. /* [retval][out] */ ITAddress **ppAddress) = 0;
  9546. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  9547. /* [retval][out] */ long *plCallbackInstance) = 0;
  9548. };
  9549. #else /* C style interface */
  9550. typedef struct ITTAPIObjectEventVtbl
  9551. {
  9552. BEGIN_INTERFACE
  9553. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9554. ITTAPIObjectEvent * This,
  9555. /* [in] */ REFIID riid,
  9556. /* [iid_is][out] */ void **ppvObject);
  9557. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9558. ITTAPIObjectEvent * This);
  9559. ULONG ( STDMETHODCALLTYPE *Release )(
  9560. ITTAPIObjectEvent * This);
  9561. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9562. ITTAPIObjectEvent * This,
  9563. /* [out] */ UINT *pctinfo);
  9564. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9565. ITTAPIObjectEvent * This,
  9566. /* [in] */ UINT iTInfo,
  9567. /* [in] */ LCID lcid,
  9568. /* [out] */ ITypeInfo **ppTInfo);
  9569. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9570. ITTAPIObjectEvent * This,
  9571. /* [in] */ REFIID riid,
  9572. /* [size_is][in] */ LPOLESTR *rgszNames,
  9573. /* [in] */ UINT cNames,
  9574. /* [in] */ LCID lcid,
  9575. /* [size_is][out] */ DISPID *rgDispId);
  9576. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9577. ITTAPIObjectEvent * This,
  9578. /* [in] */ DISPID dispIdMember,
  9579. /* [in] */ REFIID riid,
  9580. /* [in] */ LCID lcid,
  9581. /* [in] */ WORD wFlags,
  9582. /* [out][in] */ DISPPARAMS *pDispParams,
  9583. /* [out] */ VARIANT *pVarResult,
  9584. /* [out] */ EXCEPINFO *pExcepInfo,
  9585. /* [out] */ UINT *puArgErr);
  9586. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TAPIObject )(
  9587. ITTAPIObjectEvent * This,
  9588. /* [retval][out] */ ITTAPI **ppTAPIObject);
  9589. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  9590. ITTAPIObjectEvent * This,
  9591. /* [retval][out] */ TAPIOBJECT_EVENT *pEvent);
  9592. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  9593. ITTAPIObjectEvent * This,
  9594. /* [retval][out] */ ITAddress **ppAddress);
  9595. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  9596. ITTAPIObjectEvent * This,
  9597. /* [retval][out] */ long *plCallbackInstance);
  9598. END_INTERFACE
  9599. } ITTAPIObjectEventVtbl;
  9600. interface ITTAPIObjectEvent
  9601. {
  9602. CONST_VTBL struct ITTAPIObjectEventVtbl *lpVtbl;
  9603. };
  9604. #ifdef COBJMACROS
  9605. #define ITTAPIObjectEvent_QueryInterface(This,riid,ppvObject) \
  9606. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9607. #define ITTAPIObjectEvent_AddRef(This) \
  9608. (This)->lpVtbl -> AddRef(This)
  9609. #define ITTAPIObjectEvent_Release(This) \
  9610. (This)->lpVtbl -> Release(This)
  9611. #define ITTAPIObjectEvent_GetTypeInfoCount(This,pctinfo) \
  9612. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9613. #define ITTAPIObjectEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9614. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9615. #define ITTAPIObjectEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9616. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9617. #define ITTAPIObjectEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9618. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9619. #define ITTAPIObjectEvent_get_TAPIObject(This,ppTAPIObject) \
  9620. (This)->lpVtbl -> get_TAPIObject(This,ppTAPIObject)
  9621. #define ITTAPIObjectEvent_get_Event(This,pEvent) \
  9622. (This)->lpVtbl -> get_Event(This,pEvent)
  9623. #define ITTAPIObjectEvent_get_Address(This,ppAddress) \
  9624. (This)->lpVtbl -> get_Address(This,ppAddress)
  9625. #define ITTAPIObjectEvent_get_CallbackInstance(This,plCallbackInstance) \
  9626. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  9627. #endif /* COBJMACROS */
  9628. #endif /* C style interface */
  9629. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPIObjectEvent_get_TAPIObject_Proxy(
  9630. ITTAPIObjectEvent * This,
  9631. /* [retval][out] */ ITTAPI **ppTAPIObject);
  9632. void __RPC_STUB ITTAPIObjectEvent_get_TAPIObject_Stub(
  9633. IRpcStubBuffer *This,
  9634. IRpcChannelBuffer *_pRpcChannelBuffer,
  9635. PRPC_MESSAGE _pRpcMessage,
  9636. DWORD *_pdwStubPhase);
  9637. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPIObjectEvent_get_Event_Proxy(
  9638. ITTAPIObjectEvent * This,
  9639. /* [retval][out] */ TAPIOBJECT_EVENT *pEvent);
  9640. void __RPC_STUB ITTAPIObjectEvent_get_Event_Stub(
  9641. IRpcStubBuffer *This,
  9642. IRpcChannelBuffer *_pRpcChannelBuffer,
  9643. PRPC_MESSAGE _pRpcMessage,
  9644. DWORD *_pdwStubPhase);
  9645. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPIObjectEvent_get_Address_Proxy(
  9646. ITTAPIObjectEvent * This,
  9647. /* [retval][out] */ ITAddress **ppAddress);
  9648. void __RPC_STUB ITTAPIObjectEvent_get_Address_Stub(
  9649. IRpcStubBuffer *This,
  9650. IRpcChannelBuffer *_pRpcChannelBuffer,
  9651. PRPC_MESSAGE _pRpcMessage,
  9652. DWORD *_pdwStubPhase);
  9653. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPIObjectEvent_get_CallbackInstance_Proxy(
  9654. ITTAPIObjectEvent * This,
  9655. /* [retval][out] */ long *plCallbackInstance);
  9656. void __RPC_STUB ITTAPIObjectEvent_get_CallbackInstance_Stub(
  9657. IRpcStubBuffer *This,
  9658. IRpcChannelBuffer *_pRpcChannelBuffer,
  9659. PRPC_MESSAGE _pRpcMessage,
  9660. DWORD *_pdwStubPhase);
  9661. #endif /* __ITTAPIObjectEvent_INTERFACE_DEFINED__ */
  9662. #ifndef __ITTAPIObjectEvent2_INTERFACE_DEFINED__
  9663. #define __ITTAPIObjectEvent2_INTERFACE_DEFINED__
  9664. /* interface ITTAPIObjectEvent2 */
  9665. /* [object][oleautomation][helpstring][uuid] */
  9666. EXTERN_C const IID IID_ITTAPIObjectEvent2;
  9667. #if defined(__cplusplus) && !defined(CINTERFACE)
  9668. MIDL_INTERFACE("359DDA6E-68CE-4383-BF0B-169133C41B46")
  9669. ITTAPIObjectEvent2 : public ITTAPIObjectEvent
  9670. {
  9671. public:
  9672. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Phone(
  9673. /* [retval][out] */ ITPhone **ppPhone) = 0;
  9674. };
  9675. #else /* C style interface */
  9676. typedef struct ITTAPIObjectEvent2Vtbl
  9677. {
  9678. BEGIN_INTERFACE
  9679. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9680. ITTAPIObjectEvent2 * This,
  9681. /* [in] */ REFIID riid,
  9682. /* [iid_is][out] */ void **ppvObject);
  9683. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9684. ITTAPIObjectEvent2 * This);
  9685. ULONG ( STDMETHODCALLTYPE *Release )(
  9686. ITTAPIObjectEvent2 * This);
  9687. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9688. ITTAPIObjectEvent2 * This,
  9689. /* [out] */ UINT *pctinfo);
  9690. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9691. ITTAPIObjectEvent2 * This,
  9692. /* [in] */ UINT iTInfo,
  9693. /* [in] */ LCID lcid,
  9694. /* [out] */ ITypeInfo **ppTInfo);
  9695. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9696. ITTAPIObjectEvent2 * This,
  9697. /* [in] */ REFIID riid,
  9698. /* [size_is][in] */ LPOLESTR *rgszNames,
  9699. /* [in] */ UINT cNames,
  9700. /* [in] */ LCID lcid,
  9701. /* [size_is][out] */ DISPID *rgDispId);
  9702. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9703. ITTAPIObjectEvent2 * This,
  9704. /* [in] */ DISPID dispIdMember,
  9705. /* [in] */ REFIID riid,
  9706. /* [in] */ LCID lcid,
  9707. /* [in] */ WORD wFlags,
  9708. /* [out][in] */ DISPPARAMS *pDispParams,
  9709. /* [out] */ VARIANT *pVarResult,
  9710. /* [out] */ EXCEPINFO *pExcepInfo,
  9711. /* [out] */ UINT *puArgErr);
  9712. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TAPIObject )(
  9713. ITTAPIObjectEvent2 * This,
  9714. /* [retval][out] */ ITTAPI **ppTAPIObject);
  9715. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  9716. ITTAPIObjectEvent2 * This,
  9717. /* [retval][out] */ TAPIOBJECT_EVENT *pEvent);
  9718. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  9719. ITTAPIObjectEvent2 * This,
  9720. /* [retval][out] */ ITAddress **ppAddress);
  9721. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  9722. ITTAPIObjectEvent2 * This,
  9723. /* [retval][out] */ long *plCallbackInstance);
  9724. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Phone )(
  9725. ITTAPIObjectEvent2 * This,
  9726. /* [retval][out] */ ITPhone **ppPhone);
  9727. END_INTERFACE
  9728. } ITTAPIObjectEvent2Vtbl;
  9729. interface ITTAPIObjectEvent2
  9730. {
  9731. CONST_VTBL struct ITTAPIObjectEvent2Vtbl *lpVtbl;
  9732. };
  9733. #ifdef COBJMACROS
  9734. #define ITTAPIObjectEvent2_QueryInterface(This,riid,ppvObject) \
  9735. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9736. #define ITTAPIObjectEvent2_AddRef(This) \
  9737. (This)->lpVtbl -> AddRef(This)
  9738. #define ITTAPIObjectEvent2_Release(This) \
  9739. (This)->lpVtbl -> Release(This)
  9740. #define ITTAPIObjectEvent2_GetTypeInfoCount(This,pctinfo) \
  9741. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9742. #define ITTAPIObjectEvent2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9743. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9744. #define ITTAPIObjectEvent2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9745. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9746. #define ITTAPIObjectEvent2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9747. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9748. #define ITTAPIObjectEvent2_get_TAPIObject(This,ppTAPIObject) \
  9749. (This)->lpVtbl -> get_TAPIObject(This,ppTAPIObject)
  9750. #define ITTAPIObjectEvent2_get_Event(This,pEvent) \
  9751. (This)->lpVtbl -> get_Event(This,pEvent)
  9752. #define ITTAPIObjectEvent2_get_Address(This,ppAddress) \
  9753. (This)->lpVtbl -> get_Address(This,ppAddress)
  9754. #define ITTAPIObjectEvent2_get_CallbackInstance(This,plCallbackInstance) \
  9755. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  9756. #define ITTAPIObjectEvent2_get_Phone(This,ppPhone) \
  9757. (This)->lpVtbl -> get_Phone(This,ppPhone)
  9758. #endif /* COBJMACROS */
  9759. #endif /* C style interface */
  9760. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTAPIObjectEvent2_get_Phone_Proxy(
  9761. ITTAPIObjectEvent2 * This,
  9762. /* [retval][out] */ ITPhone **ppPhone);
  9763. void __RPC_STUB ITTAPIObjectEvent2_get_Phone_Stub(
  9764. IRpcStubBuffer *This,
  9765. IRpcChannelBuffer *_pRpcChannelBuffer,
  9766. PRPC_MESSAGE _pRpcMessage,
  9767. DWORD *_pdwStubPhase);
  9768. #endif /* __ITTAPIObjectEvent2_INTERFACE_DEFINED__ */
  9769. #ifndef __ITTAPIEventNotification_INTERFACE_DEFINED__
  9770. #define __ITTAPIEventNotification_INTERFACE_DEFINED__
  9771. /* interface ITTAPIEventNotification */
  9772. /* [object][oleautomation][helpstring][uuid] */
  9773. EXTERN_C const IID IID_ITTAPIEventNotification;
  9774. #if defined(__cplusplus) && !defined(CINTERFACE)
  9775. MIDL_INTERFACE("EDDB9426-3B91-11d1-8F30-00C04FB6809F")
  9776. ITTAPIEventNotification : public IUnknown
  9777. {
  9778. public:
  9779. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Event(
  9780. /* [in] */ TAPI_EVENT TapiEvent,
  9781. /* [in] */ IDispatch *pEvent) = 0;
  9782. };
  9783. #else /* C style interface */
  9784. typedef struct ITTAPIEventNotificationVtbl
  9785. {
  9786. BEGIN_INTERFACE
  9787. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9788. ITTAPIEventNotification * This,
  9789. /* [in] */ REFIID riid,
  9790. /* [iid_is][out] */ void **ppvObject);
  9791. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9792. ITTAPIEventNotification * This);
  9793. ULONG ( STDMETHODCALLTYPE *Release )(
  9794. ITTAPIEventNotification * This);
  9795. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Event )(
  9796. ITTAPIEventNotification * This,
  9797. /* [in] */ TAPI_EVENT TapiEvent,
  9798. /* [in] */ IDispatch *pEvent);
  9799. END_INTERFACE
  9800. } ITTAPIEventNotificationVtbl;
  9801. interface ITTAPIEventNotification
  9802. {
  9803. CONST_VTBL struct ITTAPIEventNotificationVtbl *lpVtbl;
  9804. };
  9805. #ifdef COBJMACROS
  9806. #define ITTAPIEventNotification_QueryInterface(This,riid,ppvObject) \
  9807. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9808. #define ITTAPIEventNotification_AddRef(This) \
  9809. (This)->lpVtbl -> AddRef(This)
  9810. #define ITTAPIEventNotification_Release(This) \
  9811. (This)->lpVtbl -> Release(This)
  9812. #define ITTAPIEventNotification_Event(This,TapiEvent,pEvent) \
  9813. (This)->lpVtbl -> Event(This,TapiEvent,pEvent)
  9814. #endif /* COBJMACROS */
  9815. #endif /* C style interface */
  9816. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITTAPIEventNotification_Event_Proxy(
  9817. ITTAPIEventNotification * This,
  9818. /* [in] */ TAPI_EVENT TapiEvent,
  9819. /* [in] */ IDispatch *pEvent);
  9820. void __RPC_STUB ITTAPIEventNotification_Event_Stub(
  9821. IRpcStubBuffer *This,
  9822. IRpcChannelBuffer *_pRpcChannelBuffer,
  9823. PRPC_MESSAGE _pRpcMessage,
  9824. DWORD *_pdwStubPhase);
  9825. #endif /* __ITTAPIEventNotification_INTERFACE_DEFINED__ */
  9826. #ifndef __ITCallHubEvent_INTERFACE_DEFINED__
  9827. #define __ITCallHubEvent_INTERFACE_DEFINED__
  9828. /* interface ITCallHubEvent */
  9829. /* [object][oleautomation][helpstring][uuid] */
  9830. EXTERN_C const IID IID_ITCallHubEvent;
  9831. #if defined(__cplusplus) && !defined(CINTERFACE)
  9832. MIDL_INTERFACE("A3C15451-5B92-11d1-8F4E-00C04FB6809F")
  9833. ITCallHubEvent : public IDispatch
  9834. {
  9835. public:
  9836. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  9837. /* [retval][out] */ CALLHUB_EVENT *pEvent) = 0;
  9838. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallHub(
  9839. /* [retval][out] */ ITCallHub **ppCallHub) = 0;
  9840. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  9841. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  9842. };
  9843. #else /* C style interface */
  9844. typedef struct ITCallHubEventVtbl
  9845. {
  9846. BEGIN_INTERFACE
  9847. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9848. ITCallHubEvent * This,
  9849. /* [in] */ REFIID riid,
  9850. /* [iid_is][out] */ void **ppvObject);
  9851. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9852. ITCallHubEvent * This);
  9853. ULONG ( STDMETHODCALLTYPE *Release )(
  9854. ITCallHubEvent * This);
  9855. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9856. ITCallHubEvent * This,
  9857. /* [out] */ UINT *pctinfo);
  9858. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9859. ITCallHubEvent * This,
  9860. /* [in] */ UINT iTInfo,
  9861. /* [in] */ LCID lcid,
  9862. /* [out] */ ITypeInfo **ppTInfo);
  9863. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9864. ITCallHubEvent * This,
  9865. /* [in] */ REFIID riid,
  9866. /* [size_is][in] */ LPOLESTR *rgszNames,
  9867. /* [in] */ UINT cNames,
  9868. /* [in] */ LCID lcid,
  9869. /* [size_is][out] */ DISPID *rgDispId);
  9870. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9871. ITCallHubEvent * This,
  9872. /* [in] */ DISPID dispIdMember,
  9873. /* [in] */ REFIID riid,
  9874. /* [in] */ LCID lcid,
  9875. /* [in] */ WORD wFlags,
  9876. /* [out][in] */ DISPPARAMS *pDispParams,
  9877. /* [out] */ VARIANT *pVarResult,
  9878. /* [out] */ EXCEPINFO *pExcepInfo,
  9879. /* [out] */ UINT *puArgErr);
  9880. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  9881. ITCallHubEvent * This,
  9882. /* [retval][out] */ CALLHUB_EVENT *pEvent);
  9883. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallHub )(
  9884. ITCallHubEvent * This,
  9885. /* [retval][out] */ ITCallHub **ppCallHub);
  9886. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  9887. ITCallHubEvent * This,
  9888. /* [retval][out] */ ITCallInfo **ppCall);
  9889. END_INTERFACE
  9890. } ITCallHubEventVtbl;
  9891. interface ITCallHubEvent
  9892. {
  9893. CONST_VTBL struct ITCallHubEventVtbl *lpVtbl;
  9894. };
  9895. #ifdef COBJMACROS
  9896. #define ITCallHubEvent_QueryInterface(This,riid,ppvObject) \
  9897. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  9898. #define ITCallHubEvent_AddRef(This) \
  9899. (This)->lpVtbl -> AddRef(This)
  9900. #define ITCallHubEvent_Release(This) \
  9901. (This)->lpVtbl -> Release(This)
  9902. #define ITCallHubEvent_GetTypeInfoCount(This,pctinfo) \
  9903. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  9904. #define ITCallHubEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  9905. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  9906. #define ITCallHubEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  9907. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  9908. #define ITCallHubEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  9909. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  9910. #define ITCallHubEvent_get_Event(This,pEvent) \
  9911. (This)->lpVtbl -> get_Event(This,pEvent)
  9912. #define ITCallHubEvent_get_CallHub(This,ppCallHub) \
  9913. (This)->lpVtbl -> get_CallHub(This,ppCallHub)
  9914. #define ITCallHubEvent_get_Call(This,ppCall) \
  9915. (This)->lpVtbl -> get_Call(This,ppCall)
  9916. #endif /* COBJMACROS */
  9917. #endif /* C style interface */
  9918. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHubEvent_get_Event_Proxy(
  9919. ITCallHubEvent * This,
  9920. /* [retval][out] */ CALLHUB_EVENT *pEvent);
  9921. void __RPC_STUB ITCallHubEvent_get_Event_Stub(
  9922. IRpcStubBuffer *This,
  9923. IRpcChannelBuffer *_pRpcChannelBuffer,
  9924. PRPC_MESSAGE _pRpcMessage,
  9925. DWORD *_pdwStubPhase);
  9926. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHubEvent_get_CallHub_Proxy(
  9927. ITCallHubEvent * This,
  9928. /* [retval][out] */ ITCallHub **ppCallHub);
  9929. void __RPC_STUB ITCallHubEvent_get_CallHub_Stub(
  9930. IRpcStubBuffer *This,
  9931. IRpcChannelBuffer *_pRpcChannelBuffer,
  9932. PRPC_MESSAGE _pRpcMessage,
  9933. DWORD *_pdwStubPhase);
  9934. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallHubEvent_get_Call_Proxy(
  9935. ITCallHubEvent * This,
  9936. /* [retval][out] */ ITCallInfo **ppCall);
  9937. void __RPC_STUB ITCallHubEvent_get_Call_Stub(
  9938. IRpcStubBuffer *This,
  9939. IRpcChannelBuffer *_pRpcChannelBuffer,
  9940. PRPC_MESSAGE _pRpcMessage,
  9941. DWORD *_pdwStubPhase);
  9942. #endif /* __ITCallHubEvent_INTERFACE_DEFINED__ */
  9943. #ifndef __ITAddressEvent_INTERFACE_DEFINED__
  9944. #define __ITAddressEvent_INTERFACE_DEFINED__
  9945. /* interface ITAddressEvent */
  9946. /* [object][oleautomation][helpstring][uuid] */
  9947. EXTERN_C const IID IID_ITAddressEvent;
  9948. #if defined(__cplusplus) && !defined(CINTERFACE)
  9949. MIDL_INTERFACE("831CE2D1-83B5-11d1-BB5C-00C04FB6809F")
  9950. ITAddressEvent : public IDispatch
  9951. {
  9952. public:
  9953. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
  9954. /* [retval][out] */ ITAddress **ppAddress) = 0;
  9955. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  9956. /* [retval][out] */ ADDRESS_EVENT *pEvent) = 0;
  9957. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal(
  9958. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  9959. };
  9960. #else /* C style interface */
  9961. typedef struct ITAddressEventVtbl
  9962. {
  9963. BEGIN_INTERFACE
  9964. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  9965. ITAddressEvent * This,
  9966. /* [in] */ REFIID riid,
  9967. /* [iid_is][out] */ void **ppvObject);
  9968. ULONG ( STDMETHODCALLTYPE *AddRef )(
  9969. ITAddressEvent * This);
  9970. ULONG ( STDMETHODCALLTYPE *Release )(
  9971. ITAddressEvent * This);
  9972. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  9973. ITAddressEvent * This,
  9974. /* [out] */ UINT *pctinfo);
  9975. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  9976. ITAddressEvent * This,
  9977. /* [in] */ UINT iTInfo,
  9978. /* [in] */ LCID lcid,
  9979. /* [out] */ ITypeInfo **ppTInfo);
  9980. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  9981. ITAddressEvent * This,
  9982. /* [in] */ REFIID riid,
  9983. /* [size_is][in] */ LPOLESTR *rgszNames,
  9984. /* [in] */ UINT cNames,
  9985. /* [in] */ LCID lcid,
  9986. /* [size_is][out] */ DISPID *rgDispId);
  9987. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  9988. ITAddressEvent * This,
  9989. /* [in] */ DISPID dispIdMember,
  9990. /* [in] */ REFIID riid,
  9991. /* [in] */ LCID lcid,
  9992. /* [in] */ WORD wFlags,
  9993. /* [out][in] */ DISPPARAMS *pDispParams,
  9994. /* [out] */ VARIANT *pVarResult,
  9995. /* [out] */ EXCEPINFO *pExcepInfo,
  9996. /* [out] */ UINT *puArgErr);
  9997. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  9998. ITAddressEvent * This,
  9999. /* [retval][out] */ ITAddress **ppAddress);
  10000. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  10001. ITAddressEvent * This,
  10002. /* [retval][out] */ ADDRESS_EVENT *pEvent);
  10003. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )(
  10004. ITAddressEvent * This,
  10005. /* [retval][out] */ ITTerminal **ppTerminal);
  10006. END_INTERFACE
  10007. } ITAddressEventVtbl;
  10008. interface ITAddressEvent
  10009. {
  10010. CONST_VTBL struct ITAddressEventVtbl *lpVtbl;
  10011. };
  10012. #ifdef COBJMACROS
  10013. #define ITAddressEvent_QueryInterface(This,riid,ppvObject) \
  10014. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10015. #define ITAddressEvent_AddRef(This) \
  10016. (This)->lpVtbl -> AddRef(This)
  10017. #define ITAddressEvent_Release(This) \
  10018. (This)->lpVtbl -> Release(This)
  10019. #define ITAddressEvent_GetTypeInfoCount(This,pctinfo) \
  10020. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10021. #define ITAddressEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10022. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10023. #define ITAddressEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10024. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10025. #define ITAddressEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10026. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10027. #define ITAddressEvent_get_Address(This,ppAddress) \
  10028. (This)->lpVtbl -> get_Address(This,ppAddress)
  10029. #define ITAddressEvent_get_Event(This,pEvent) \
  10030. (This)->lpVtbl -> get_Event(This,pEvent)
  10031. #define ITAddressEvent_get_Terminal(This,ppTerminal) \
  10032. (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  10033. #endif /* COBJMACROS */
  10034. #endif /* C style interface */
  10035. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressEvent_get_Address_Proxy(
  10036. ITAddressEvent * This,
  10037. /* [retval][out] */ ITAddress **ppAddress);
  10038. void __RPC_STUB ITAddressEvent_get_Address_Stub(
  10039. IRpcStubBuffer *This,
  10040. IRpcChannelBuffer *_pRpcChannelBuffer,
  10041. PRPC_MESSAGE _pRpcMessage,
  10042. DWORD *_pdwStubPhase);
  10043. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressEvent_get_Event_Proxy(
  10044. ITAddressEvent * This,
  10045. /* [retval][out] */ ADDRESS_EVENT *pEvent);
  10046. void __RPC_STUB ITAddressEvent_get_Event_Stub(
  10047. IRpcStubBuffer *This,
  10048. IRpcChannelBuffer *_pRpcChannelBuffer,
  10049. PRPC_MESSAGE _pRpcMessage,
  10050. DWORD *_pdwStubPhase);
  10051. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressEvent_get_Terminal_Proxy(
  10052. ITAddressEvent * This,
  10053. /* [retval][out] */ ITTerminal **ppTerminal);
  10054. void __RPC_STUB ITAddressEvent_get_Terminal_Stub(
  10055. IRpcStubBuffer *This,
  10056. IRpcChannelBuffer *_pRpcChannelBuffer,
  10057. PRPC_MESSAGE _pRpcMessage,
  10058. DWORD *_pdwStubPhase);
  10059. #endif /* __ITAddressEvent_INTERFACE_DEFINED__ */
  10060. #ifndef __ITAddressDeviceSpecificEvent_INTERFACE_DEFINED__
  10061. #define __ITAddressDeviceSpecificEvent_INTERFACE_DEFINED__
  10062. /* interface ITAddressDeviceSpecificEvent */
  10063. /* [object][oleautomation][helpstring][uuid] */
  10064. EXTERN_C const IID IID_ITAddressDeviceSpecificEvent;
  10065. #if defined(__cplusplus) && !defined(CINTERFACE)
  10066. MIDL_INTERFACE("3ACB216B-40BD-487a-8672-5CE77BD7E3A3")
  10067. ITAddressDeviceSpecificEvent : public IDispatch
  10068. {
  10069. public:
  10070. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Address(
  10071. /* [retval][out] */ ITAddress **ppAddress) = 0;
  10072. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10073. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10074. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam1(
  10075. /* [retval][out] */ long *pParam1) = 0;
  10076. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam2(
  10077. /* [retval][out] */ long *pParam2) = 0;
  10078. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_lParam3(
  10079. /* [retval][out] */ long *pParam3) = 0;
  10080. };
  10081. #else /* C style interface */
  10082. typedef struct ITAddressDeviceSpecificEventVtbl
  10083. {
  10084. BEGIN_INTERFACE
  10085. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10086. ITAddressDeviceSpecificEvent * This,
  10087. /* [in] */ REFIID riid,
  10088. /* [iid_is][out] */ void **ppvObject);
  10089. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10090. ITAddressDeviceSpecificEvent * This);
  10091. ULONG ( STDMETHODCALLTYPE *Release )(
  10092. ITAddressDeviceSpecificEvent * This);
  10093. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10094. ITAddressDeviceSpecificEvent * This,
  10095. /* [out] */ UINT *pctinfo);
  10096. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10097. ITAddressDeviceSpecificEvent * This,
  10098. /* [in] */ UINT iTInfo,
  10099. /* [in] */ LCID lcid,
  10100. /* [out] */ ITypeInfo **ppTInfo);
  10101. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10102. ITAddressDeviceSpecificEvent * This,
  10103. /* [in] */ REFIID riid,
  10104. /* [size_is][in] */ LPOLESTR *rgszNames,
  10105. /* [in] */ UINT cNames,
  10106. /* [in] */ LCID lcid,
  10107. /* [size_is][out] */ DISPID *rgDispId);
  10108. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10109. ITAddressDeviceSpecificEvent * This,
  10110. /* [in] */ DISPID dispIdMember,
  10111. /* [in] */ REFIID riid,
  10112. /* [in] */ LCID lcid,
  10113. /* [in] */ WORD wFlags,
  10114. /* [out][in] */ DISPPARAMS *pDispParams,
  10115. /* [out] */ VARIANT *pVarResult,
  10116. /* [out] */ EXCEPINFO *pExcepInfo,
  10117. /* [out] */ UINT *puArgErr);
  10118. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Address )(
  10119. ITAddressDeviceSpecificEvent * This,
  10120. /* [retval][out] */ ITAddress **ppAddress);
  10121. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10122. ITAddressDeviceSpecificEvent * This,
  10123. /* [retval][out] */ ITCallInfo **ppCall);
  10124. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam1 )(
  10125. ITAddressDeviceSpecificEvent * This,
  10126. /* [retval][out] */ long *pParam1);
  10127. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam2 )(
  10128. ITAddressDeviceSpecificEvent * This,
  10129. /* [retval][out] */ long *pParam2);
  10130. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_lParam3 )(
  10131. ITAddressDeviceSpecificEvent * This,
  10132. /* [retval][out] */ long *pParam3);
  10133. END_INTERFACE
  10134. } ITAddressDeviceSpecificEventVtbl;
  10135. interface ITAddressDeviceSpecificEvent
  10136. {
  10137. CONST_VTBL struct ITAddressDeviceSpecificEventVtbl *lpVtbl;
  10138. };
  10139. #ifdef COBJMACROS
  10140. #define ITAddressDeviceSpecificEvent_QueryInterface(This,riid,ppvObject) \
  10141. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10142. #define ITAddressDeviceSpecificEvent_AddRef(This) \
  10143. (This)->lpVtbl -> AddRef(This)
  10144. #define ITAddressDeviceSpecificEvent_Release(This) \
  10145. (This)->lpVtbl -> Release(This)
  10146. #define ITAddressDeviceSpecificEvent_GetTypeInfoCount(This,pctinfo) \
  10147. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10148. #define ITAddressDeviceSpecificEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10149. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10150. #define ITAddressDeviceSpecificEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10151. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10152. #define ITAddressDeviceSpecificEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10153. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10154. #define ITAddressDeviceSpecificEvent_get_Address(This,ppAddress) \
  10155. (This)->lpVtbl -> get_Address(This,ppAddress)
  10156. #define ITAddressDeviceSpecificEvent_get_Call(This,ppCall) \
  10157. (This)->lpVtbl -> get_Call(This,ppCall)
  10158. #define ITAddressDeviceSpecificEvent_get_lParam1(This,pParam1) \
  10159. (This)->lpVtbl -> get_lParam1(This,pParam1)
  10160. #define ITAddressDeviceSpecificEvent_get_lParam2(This,pParam2) \
  10161. (This)->lpVtbl -> get_lParam2(This,pParam2)
  10162. #define ITAddressDeviceSpecificEvent_get_lParam3(This,pParam3) \
  10163. (This)->lpVtbl -> get_lParam3(This,pParam3)
  10164. #endif /* COBJMACROS */
  10165. #endif /* C style interface */
  10166. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_Address_Proxy(
  10167. ITAddressDeviceSpecificEvent * This,
  10168. /* [retval][out] */ ITAddress **ppAddress);
  10169. void __RPC_STUB ITAddressDeviceSpecificEvent_get_Address_Stub(
  10170. IRpcStubBuffer *This,
  10171. IRpcChannelBuffer *_pRpcChannelBuffer,
  10172. PRPC_MESSAGE _pRpcMessage,
  10173. DWORD *_pdwStubPhase);
  10174. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_Call_Proxy(
  10175. ITAddressDeviceSpecificEvent * This,
  10176. /* [retval][out] */ ITCallInfo **ppCall);
  10177. void __RPC_STUB ITAddressDeviceSpecificEvent_get_Call_Stub(
  10178. IRpcStubBuffer *This,
  10179. IRpcChannelBuffer *_pRpcChannelBuffer,
  10180. PRPC_MESSAGE _pRpcMessage,
  10181. DWORD *_pdwStubPhase);
  10182. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_lParam1_Proxy(
  10183. ITAddressDeviceSpecificEvent * This,
  10184. /* [retval][out] */ long *pParam1);
  10185. void __RPC_STUB ITAddressDeviceSpecificEvent_get_lParam1_Stub(
  10186. IRpcStubBuffer *This,
  10187. IRpcChannelBuffer *_pRpcChannelBuffer,
  10188. PRPC_MESSAGE _pRpcMessage,
  10189. DWORD *_pdwStubPhase);
  10190. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_lParam2_Proxy(
  10191. ITAddressDeviceSpecificEvent * This,
  10192. /* [retval][out] */ long *pParam2);
  10193. void __RPC_STUB ITAddressDeviceSpecificEvent_get_lParam2_Stub(
  10194. IRpcStubBuffer *This,
  10195. IRpcChannelBuffer *_pRpcChannelBuffer,
  10196. PRPC_MESSAGE _pRpcMessage,
  10197. DWORD *_pdwStubPhase);
  10198. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressDeviceSpecificEvent_get_lParam3_Proxy(
  10199. ITAddressDeviceSpecificEvent * This,
  10200. /* [retval][out] */ long *pParam3);
  10201. void __RPC_STUB ITAddressDeviceSpecificEvent_get_lParam3_Stub(
  10202. IRpcStubBuffer *This,
  10203. IRpcChannelBuffer *_pRpcChannelBuffer,
  10204. PRPC_MESSAGE _pRpcMessage,
  10205. DWORD *_pdwStubPhase);
  10206. #endif /* __ITAddressDeviceSpecificEvent_INTERFACE_DEFINED__ */
  10207. #ifndef __ITFileTerminalEvent_INTERFACE_DEFINED__
  10208. #define __ITFileTerminalEvent_INTERFACE_DEFINED__
  10209. /* interface ITFileTerminalEvent */
  10210. /* [object][oleautomation][helpstring][uuid] */
  10211. EXTERN_C const IID IID_ITFileTerminalEvent;
  10212. #if defined(__cplusplus) && !defined(CINTERFACE)
  10213. MIDL_INTERFACE("E4A7FBAC-8C17-4427-9F55-9F589AC8AF00")
  10214. ITFileTerminalEvent : public IDispatch
  10215. {
  10216. public:
  10217. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal(
  10218. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  10219. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Track(
  10220. /* [retval][out] */ ITFileTrack **ppTrackTerminal) = 0;
  10221. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10222. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10223. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_State(
  10224. /* [retval][out] */ TERMINAL_MEDIA_STATE *pState) = 0;
  10225. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cause(
  10226. /* [retval][out] */ FT_STATE_EVENT_CAUSE *pCause) = 0;
  10227. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  10228. /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  10229. };
  10230. #else /* C style interface */
  10231. typedef struct ITFileTerminalEventVtbl
  10232. {
  10233. BEGIN_INTERFACE
  10234. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10235. ITFileTerminalEvent * This,
  10236. /* [in] */ REFIID riid,
  10237. /* [iid_is][out] */ void **ppvObject);
  10238. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10239. ITFileTerminalEvent * This);
  10240. ULONG ( STDMETHODCALLTYPE *Release )(
  10241. ITFileTerminalEvent * This);
  10242. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10243. ITFileTerminalEvent * This,
  10244. /* [out] */ UINT *pctinfo);
  10245. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10246. ITFileTerminalEvent * This,
  10247. /* [in] */ UINT iTInfo,
  10248. /* [in] */ LCID lcid,
  10249. /* [out] */ ITypeInfo **ppTInfo);
  10250. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10251. ITFileTerminalEvent * This,
  10252. /* [in] */ REFIID riid,
  10253. /* [size_is][in] */ LPOLESTR *rgszNames,
  10254. /* [in] */ UINT cNames,
  10255. /* [in] */ LCID lcid,
  10256. /* [size_is][out] */ DISPID *rgDispId);
  10257. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10258. ITFileTerminalEvent * This,
  10259. /* [in] */ DISPID dispIdMember,
  10260. /* [in] */ REFIID riid,
  10261. /* [in] */ LCID lcid,
  10262. /* [in] */ WORD wFlags,
  10263. /* [out][in] */ DISPPARAMS *pDispParams,
  10264. /* [out] */ VARIANT *pVarResult,
  10265. /* [out] */ EXCEPINFO *pExcepInfo,
  10266. /* [out] */ UINT *puArgErr);
  10267. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )(
  10268. ITFileTerminalEvent * This,
  10269. /* [retval][out] */ ITTerminal **ppTerminal);
  10270. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Track )(
  10271. ITFileTerminalEvent * This,
  10272. /* [retval][out] */ ITFileTrack **ppTrackTerminal);
  10273. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10274. ITFileTerminalEvent * This,
  10275. /* [retval][out] */ ITCallInfo **ppCall);
  10276. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
  10277. ITFileTerminalEvent * This,
  10278. /* [retval][out] */ TERMINAL_MEDIA_STATE *pState);
  10279. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cause )(
  10280. ITFileTerminalEvent * This,
  10281. /* [retval][out] */ FT_STATE_EVENT_CAUSE *pCause);
  10282. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  10283. ITFileTerminalEvent * This,
  10284. /* [retval][out] */ HRESULT *phrErrorCode);
  10285. END_INTERFACE
  10286. } ITFileTerminalEventVtbl;
  10287. interface ITFileTerminalEvent
  10288. {
  10289. CONST_VTBL struct ITFileTerminalEventVtbl *lpVtbl;
  10290. };
  10291. #ifdef COBJMACROS
  10292. #define ITFileTerminalEvent_QueryInterface(This,riid,ppvObject) \
  10293. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10294. #define ITFileTerminalEvent_AddRef(This) \
  10295. (This)->lpVtbl -> AddRef(This)
  10296. #define ITFileTerminalEvent_Release(This) \
  10297. (This)->lpVtbl -> Release(This)
  10298. #define ITFileTerminalEvent_GetTypeInfoCount(This,pctinfo) \
  10299. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10300. #define ITFileTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10301. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10302. #define ITFileTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10303. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10304. #define ITFileTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10305. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10306. #define ITFileTerminalEvent_get_Terminal(This,ppTerminal) \
  10307. (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  10308. #define ITFileTerminalEvent_get_Track(This,ppTrackTerminal) \
  10309. (This)->lpVtbl -> get_Track(This,ppTrackTerminal)
  10310. #define ITFileTerminalEvent_get_Call(This,ppCall) \
  10311. (This)->lpVtbl -> get_Call(This,ppCall)
  10312. #define ITFileTerminalEvent_get_State(This,pState) \
  10313. (This)->lpVtbl -> get_State(This,pState)
  10314. #define ITFileTerminalEvent_get_Cause(This,pCause) \
  10315. (This)->lpVtbl -> get_Cause(This,pCause)
  10316. #define ITFileTerminalEvent_get_Error(This,phrErrorCode) \
  10317. (This)->lpVtbl -> get_Error(This,phrErrorCode)
  10318. #endif /* COBJMACROS */
  10319. #endif /* C style interface */
  10320. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Terminal_Proxy(
  10321. ITFileTerminalEvent * This,
  10322. /* [retval][out] */ ITTerminal **ppTerminal);
  10323. void __RPC_STUB ITFileTerminalEvent_get_Terminal_Stub(
  10324. IRpcStubBuffer *This,
  10325. IRpcChannelBuffer *_pRpcChannelBuffer,
  10326. PRPC_MESSAGE _pRpcMessage,
  10327. DWORD *_pdwStubPhase);
  10328. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Track_Proxy(
  10329. ITFileTerminalEvent * This,
  10330. /* [retval][out] */ ITFileTrack **ppTrackTerminal);
  10331. void __RPC_STUB ITFileTerminalEvent_get_Track_Stub(
  10332. IRpcStubBuffer *This,
  10333. IRpcChannelBuffer *_pRpcChannelBuffer,
  10334. PRPC_MESSAGE _pRpcMessage,
  10335. DWORD *_pdwStubPhase);
  10336. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Call_Proxy(
  10337. ITFileTerminalEvent * This,
  10338. /* [retval][out] */ ITCallInfo **ppCall);
  10339. void __RPC_STUB ITFileTerminalEvent_get_Call_Stub(
  10340. IRpcStubBuffer *This,
  10341. IRpcChannelBuffer *_pRpcChannelBuffer,
  10342. PRPC_MESSAGE _pRpcMessage,
  10343. DWORD *_pdwStubPhase);
  10344. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_State_Proxy(
  10345. ITFileTerminalEvent * This,
  10346. /* [retval][out] */ TERMINAL_MEDIA_STATE *pState);
  10347. void __RPC_STUB ITFileTerminalEvent_get_State_Stub(
  10348. IRpcStubBuffer *This,
  10349. IRpcChannelBuffer *_pRpcChannelBuffer,
  10350. PRPC_MESSAGE _pRpcMessage,
  10351. DWORD *_pdwStubPhase);
  10352. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Cause_Proxy(
  10353. ITFileTerminalEvent * This,
  10354. /* [retval][out] */ FT_STATE_EVENT_CAUSE *pCause);
  10355. void __RPC_STUB ITFileTerminalEvent_get_Cause_Stub(
  10356. IRpcStubBuffer *This,
  10357. IRpcChannelBuffer *_pRpcChannelBuffer,
  10358. PRPC_MESSAGE _pRpcMessage,
  10359. DWORD *_pdwStubPhase);
  10360. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITFileTerminalEvent_get_Error_Proxy(
  10361. ITFileTerminalEvent * This,
  10362. /* [retval][out] */ HRESULT *phrErrorCode);
  10363. void __RPC_STUB ITFileTerminalEvent_get_Error_Stub(
  10364. IRpcStubBuffer *This,
  10365. IRpcChannelBuffer *_pRpcChannelBuffer,
  10366. PRPC_MESSAGE _pRpcMessage,
  10367. DWORD *_pdwStubPhase);
  10368. #endif /* __ITFileTerminalEvent_INTERFACE_DEFINED__ */
  10369. #ifndef __ITTTSTerminalEvent_INTERFACE_DEFINED__
  10370. #define __ITTTSTerminalEvent_INTERFACE_DEFINED__
  10371. /* interface ITTTSTerminalEvent */
  10372. /* [object][oleautomation][helpstring][uuid] */
  10373. EXTERN_C const IID IID_ITTTSTerminalEvent;
  10374. #if defined(__cplusplus) && !defined(CINTERFACE)
  10375. MIDL_INTERFACE("D964788F-95A5-461d-AB0C-B9900A6C2713")
  10376. ITTTSTerminalEvent : public IDispatch
  10377. {
  10378. public:
  10379. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal(
  10380. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  10381. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10382. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10383. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  10384. /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  10385. };
  10386. #else /* C style interface */
  10387. typedef struct ITTTSTerminalEventVtbl
  10388. {
  10389. BEGIN_INTERFACE
  10390. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10391. ITTTSTerminalEvent * This,
  10392. /* [in] */ REFIID riid,
  10393. /* [iid_is][out] */ void **ppvObject);
  10394. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10395. ITTTSTerminalEvent * This);
  10396. ULONG ( STDMETHODCALLTYPE *Release )(
  10397. ITTTSTerminalEvent * This);
  10398. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10399. ITTTSTerminalEvent * This,
  10400. /* [out] */ UINT *pctinfo);
  10401. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10402. ITTTSTerminalEvent * This,
  10403. /* [in] */ UINT iTInfo,
  10404. /* [in] */ LCID lcid,
  10405. /* [out] */ ITypeInfo **ppTInfo);
  10406. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10407. ITTTSTerminalEvent * This,
  10408. /* [in] */ REFIID riid,
  10409. /* [size_is][in] */ LPOLESTR *rgszNames,
  10410. /* [in] */ UINT cNames,
  10411. /* [in] */ LCID lcid,
  10412. /* [size_is][out] */ DISPID *rgDispId);
  10413. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10414. ITTTSTerminalEvent * This,
  10415. /* [in] */ DISPID dispIdMember,
  10416. /* [in] */ REFIID riid,
  10417. /* [in] */ LCID lcid,
  10418. /* [in] */ WORD wFlags,
  10419. /* [out][in] */ DISPPARAMS *pDispParams,
  10420. /* [out] */ VARIANT *pVarResult,
  10421. /* [out] */ EXCEPINFO *pExcepInfo,
  10422. /* [out] */ UINT *puArgErr);
  10423. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )(
  10424. ITTTSTerminalEvent * This,
  10425. /* [retval][out] */ ITTerminal **ppTerminal);
  10426. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10427. ITTTSTerminalEvent * This,
  10428. /* [retval][out] */ ITCallInfo **ppCall);
  10429. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  10430. ITTTSTerminalEvent * This,
  10431. /* [retval][out] */ HRESULT *phrErrorCode);
  10432. END_INTERFACE
  10433. } ITTTSTerminalEventVtbl;
  10434. interface ITTTSTerminalEvent
  10435. {
  10436. CONST_VTBL struct ITTTSTerminalEventVtbl *lpVtbl;
  10437. };
  10438. #ifdef COBJMACROS
  10439. #define ITTTSTerminalEvent_QueryInterface(This,riid,ppvObject) \
  10440. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10441. #define ITTTSTerminalEvent_AddRef(This) \
  10442. (This)->lpVtbl -> AddRef(This)
  10443. #define ITTTSTerminalEvent_Release(This) \
  10444. (This)->lpVtbl -> Release(This)
  10445. #define ITTTSTerminalEvent_GetTypeInfoCount(This,pctinfo) \
  10446. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10447. #define ITTTSTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10448. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10449. #define ITTTSTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10450. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10451. #define ITTTSTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10452. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10453. #define ITTTSTerminalEvent_get_Terminal(This,ppTerminal) \
  10454. (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  10455. #define ITTTSTerminalEvent_get_Call(This,ppCall) \
  10456. (This)->lpVtbl -> get_Call(This,ppCall)
  10457. #define ITTTSTerminalEvent_get_Error(This,phrErrorCode) \
  10458. (This)->lpVtbl -> get_Error(This,phrErrorCode)
  10459. #endif /* COBJMACROS */
  10460. #endif /* C style interface */
  10461. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTTSTerminalEvent_get_Terminal_Proxy(
  10462. ITTTSTerminalEvent * This,
  10463. /* [retval][out] */ ITTerminal **ppTerminal);
  10464. void __RPC_STUB ITTTSTerminalEvent_get_Terminal_Stub(
  10465. IRpcStubBuffer *This,
  10466. IRpcChannelBuffer *_pRpcChannelBuffer,
  10467. PRPC_MESSAGE _pRpcMessage,
  10468. DWORD *_pdwStubPhase);
  10469. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTTSTerminalEvent_get_Call_Proxy(
  10470. ITTTSTerminalEvent * This,
  10471. /* [retval][out] */ ITCallInfo **ppCall);
  10472. void __RPC_STUB ITTTSTerminalEvent_get_Call_Stub(
  10473. IRpcStubBuffer *This,
  10474. IRpcChannelBuffer *_pRpcChannelBuffer,
  10475. PRPC_MESSAGE _pRpcMessage,
  10476. DWORD *_pdwStubPhase);
  10477. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITTTSTerminalEvent_get_Error_Proxy(
  10478. ITTTSTerminalEvent * This,
  10479. /* [retval][out] */ HRESULT *phrErrorCode);
  10480. void __RPC_STUB ITTTSTerminalEvent_get_Error_Stub(
  10481. IRpcStubBuffer *This,
  10482. IRpcChannelBuffer *_pRpcChannelBuffer,
  10483. PRPC_MESSAGE _pRpcMessage,
  10484. DWORD *_pdwStubPhase);
  10485. #endif /* __ITTTSTerminalEvent_INTERFACE_DEFINED__ */
  10486. #ifndef __ITASRTerminalEvent_INTERFACE_DEFINED__
  10487. #define __ITASRTerminalEvent_INTERFACE_DEFINED__
  10488. /* interface ITASRTerminalEvent */
  10489. /* [object][oleautomation][helpstring][uuid] */
  10490. EXTERN_C const IID IID_ITASRTerminalEvent;
  10491. #if defined(__cplusplus) && !defined(CINTERFACE)
  10492. MIDL_INTERFACE("EE016A02-4FA9-467c-933F-5A15B12377D7")
  10493. ITASRTerminalEvent : public IDispatch
  10494. {
  10495. public:
  10496. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal(
  10497. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  10498. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10499. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10500. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  10501. /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  10502. };
  10503. #else /* C style interface */
  10504. typedef struct ITASRTerminalEventVtbl
  10505. {
  10506. BEGIN_INTERFACE
  10507. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10508. ITASRTerminalEvent * This,
  10509. /* [in] */ REFIID riid,
  10510. /* [iid_is][out] */ void **ppvObject);
  10511. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10512. ITASRTerminalEvent * This);
  10513. ULONG ( STDMETHODCALLTYPE *Release )(
  10514. ITASRTerminalEvent * This);
  10515. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10516. ITASRTerminalEvent * This,
  10517. /* [out] */ UINT *pctinfo);
  10518. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10519. ITASRTerminalEvent * This,
  10520. /* [in] */ UINT iTInfo,
  10521. /* [in] */ LCID lcid,
  10522. /* [out] */ ITypeInfo **ppTInfo);
  10523. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10524. ITASRTerminalEvent * This,
  10525. /* [in] */ REFIID riid,
  10526. /* [size_is][in] */ LPOLESTR *rgszNames,
  10527. /* [in] */ UINT cNames,
  10528. /* [in] */ LCID lcid,
  10529. /* [size_is][out] */ DISPID *rgDispId);
  10530. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10531. ITASRTerminalEvent * This,
  10532. /* [in] */ DISPID dispIdMember,
  10533. /* [in] */ REFIID riid,
  10534. /* [in] */ LCID lcid,
  10535. /* [in] */ WORD wFlags,
  10536. /* [out][in] */ DISPPARAMS *pDispParams,
  10537. /* [out] */ VARIANT *pVarResult,
  10538. /* [out] */ EXCEPINFO *pExcepInfo,
  10539. /* [out] */ UINT *puArgErr);
  10540. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )(
  10541. ITASRTerminalEvent * This,
  10542. /* [retval][out] */ ITTerminal **ppTerminal);
  10543. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10544. ITASRTerminalEvent * This,
  10545. /* [retval][out] */ ITCallInfo **ppCall);
  10546. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  10547. ITASRTerminalEvent * This,
  10548. /* [retval][out] */ HRESULT *phrErrorCode);
  10549. END_INTERFACE
  10550. } ITASRTerminalEventVtbl;
  10551. interface ITASRTerminalEvent
  10552. {
  10553. CONST_VTBL struct ITASRTerminalEventVtbl *lpVtbl;
  10554. };
  10555. #ifdef COBJMACROS
  10556. #define ITASRTerminalEvent_QueryInterface(This,riid,ppvObject) \
  10557. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10558. #define ITASRTerminalEvent_AddRef(This) \
  10559. (This)->lpVtbl -> AddRef(This)
  10560. #define ITASRTerminalEvent_Release(This) \
  10561. (This)->lpVtbl -> Release(This)
  10562. #define ITASRTerminalEvent_GetTypeInfoCount(This,pctinfo) \
  10563. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10564. #define ITASRTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10565. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10566. #define ITASRTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10567. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10568. #define ITASRTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10569. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10570. #define ITASRTerminalEvent_get_Terminal(This,ppTerminal) \
  10571. (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  10572. #define ITASRTerminalEvent_get_Call(This,ppCall) \
  10573. (This)->lpVtbl -> get_Call(This,ppCall)
  10574. #define ITASRTerminalEvent_get_Error(This,phrErrorCode) \
  10575. (This)->lpVtbl -> get_Error(This,phrErrorCode)
  10576. #endif /* COBJMACROS */
  10577. #endif /* C style interface */
  10578. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITASRTerminalEvent_get_Terminal_Proxy(
  10579. ITASRTerminalEvent * This,
  10580. /* [retval][out] */ ITTerminal **ppTerminal);
  10581. void __RPC_STUB ITASRTerminalEvent_get_Terminal_Stub(
  10582. IRpcStubBuffer *This,
  10583. IRpcChannelBuffer *_pRpcChannelBuffer,
  10584. PRPC_MESSAGE _pRpcMessage,
  10585. DWORD *_pdwStubPhase);
  10586. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITASRTerminalEvent_get_Call_Proxy(
  10587. ITASRTerminalEvent * This,
  10588. /* [retval][out] */ ITCallInfo **ppCall);
  10589. void __RPC_STUB ITASRTerminalEvent_get_Call_Stub(
  10590. IRpcStubBuffer *This,
  10591. IRpcChannelBuffer *_pRpcChannelBuffer,
  10592. PRPC_MESSAGE _pRpcMessage,
  10593. DWORD *_pdwStubPhase);
  10594. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITASRTerminalEvent_get_Error_Proxy(
  10595. ITASRTerminalEvent * This,
  10596. /* [retval][out] */ HRESULT *phrErrorCode);
  10597. void __RPC_STUB ITASRTerminalEvent_get_Error_Stub(
  10598. IRpcStubBuffer *This,
  10599. IRpcChannelBuffer *_pRpcChannelBuffer,
  10600. PRPC_MESSAGE _pRpcMessage,
  10601. DWORD *_pdwStubPhase);
  10602. #endif /* __ITASRTerminalEvent_INTERFACE_DEFINED__ */
  10603. #ifndef __ITToneTerminalEvent_INTERFACE_DEFINED__
  10604. #define __ITToneTerminalEvent_INTERFACE_DEFINED__
  10605. /* interface ITToneTerminalEvent */
  10606. /* [object][oleautomation][helpstring][uuid] */
  10607. EXTERN_C const IID IID_ITToneTerminalEvent;
  10608. #if defined(__cplusplus) && !defined(CINTERFACE)
  10609. MIDL_INTERFACE("E6F56009-611F-4945-BBD2-2D0CE5612056")
  10610. ITToneTerminalEvent : public IDispatch
  10611. {
  10612. public:
  10613. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminal(
  10614. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  10615. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10616. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10617. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Error(
  10618. /* [retval][out] */ HRESULT *phrErrorCode) = 0;
  10619. };
  10620. #else /* C style interface */
  10621. typedef struct ITToneTerminalEventVtbl
  10622. {
  10623. BEGIN_INTERFACE
  10624. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10625. ITToneTerminalEvent * This,
  10626. /* [in] */ REFIID riid,
  10627. /* [iid_is][out] */ void **ppvObject);
  10628. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10629. ITToneTerminalEvent * This);
  10630. ULONG ( STDMETHODCALLTYPE *Release )(
  10631. ITToneTerminalEvent * This);
  10632. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10633. ITToneTerminalEvent * This,
  10634. /* [out] */ UINT *pctinfo);
  10635. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10636. ITToneTerminalEvent * This,
  10637. /* [in] */ UINT iTInfo,
  10638. /* [in] */ LCID lcid,
  10639. /* [out] */ ITypeInfo **ppTInfo);
  10640. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10641. ITToneTerminalEvent * This,
  10642. /* [in] */ REFIID riid,
  10643. /* [size_is][in] */ LPOLESTR *rgszNames,
  10644. /* [in] */ UINT cNames,
  10645. /* [in] */ LCID lcid,
  10646. /* [size_is][out] */ DISPID *rgDispId);
  10647. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10648. ITToneTerminalEvent * This,
  10649. /* [in] */ DISPID dispIdMember,
  10650. /* [in] */ REFIID riid,
  10651. /* [in] */ LCID lcid,
  10652. /* [in] */ WORD wFlags,
  10653. /* [out][in] */ DISPPARAMS *pDispParams,
  10654. /* [out] */ VARIANT *pVarResult,
  10655. /* [out] */ EXCEPINFO *pExcepInfo,
  10656. /* [out] */ UINT *puArgErr);
  10657. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminal )(
  10658. ITToneTerminalEvent * This,
  10659. /* [retval][out] */ ITTerminal **ppTerminal);
  10660. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10661. ITToneTerminalEvent * This,
  10662. /* [retval][out] */ ITCallInfo **ppCall);
  10663. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Error )(
  10664. ITToneTerminalEvent * This,
  10665. /* [retval][out] */ HRESULT *phrErrorCode);
  10666. END_INTERFACE
  10667. } ITToneTerminalEventVtbl;
  10668. interface ITToneTerminalEvent
  10669. {
  10670. CONST_VTBL struct ITToneTerminalEventVtbl *lpVtbl;
  10671. };
  10672. #ifdef COBJMACROS
  10673. #define ITToneTerminalEvent_QueryInterface(This,riid,ppvObject) \
  10674. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10675. #define ITToneTerminalEvent_AddRef(This) \
  10676. (This)->lpVtbl -> AddRef(This)
  10677. #define ITToneTerminalEvent_Release(This) \
  10678. (This)->lpVtbl -> Release(This)
  10679. #define ITToneTerminalEvent_GetTypeInfoCount(This,pctinfo) \
  10680. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10681. #define ITToneTerminalEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10682. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10683. #define ITToneTerminalEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10684. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10685. #define ITToneTerminalEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10686. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10687. #define ITToneTerminalEvent_get_Terminal(This,ppTerminal) \
  10688. (This)->lpVtbl -> get_Terminal(This,ppTerminal)
  10689. #define ITToneTerminalEvent_get_Call(This,ppCall) \
  10690. (This)->lpVtbl -> get_Call(This,ppCall)
  10691. #define ITToneTerminalEvent_get_Error(This,phrErrorCode) \
  10692. (This)->lpVtbl -> get_Error(This,phrErrorCode)
  10693. #endif /* COBJMACROS */
  10694. #endif /* C style interface */
  10695. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneTerminalEvent_get_Terminal_Proxy(
  10696. ITToneTerminalEvent * This,
  10697. /* [retval][out] */ ITTerminal **ppTerminal);
  10698. void __RPC_STUB ITToneTerminalEvent_get_Terminal_Stub(
  10699. IRpcStubBuffer *This,
  10700. IRpcChannelBuffer *_pRpcChannelBuffer,
  10701. PRPC_MESSAGE _pRpcMessage,
  10702. DWORD *_pdwStubPhase);
  10703. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneTerminalEvent_get_Call_Proxy(
  10704. ITToneTerminalEvent * This,
  10705. /* [retval][out] */ ITCallInfo **ppCall);
  10706. void __RPC_STUB ITToneTerminalEvent_get_Call_Stub(
  10707. IRpcStubBuffer *This,
  10708. IRpcChannelBuffer *_pRpcChannelBuffer,
  10709. PRPC_MESSAGE _pRpcMessage,
  10710. DWORD *_pdwStubPhase);
  10711. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITToneTerminalEvent_get_Error_Proxy(
  10712. ITToneTerminalEvent * This,
  10713. /* [retval][out] */ HRESULT *phrErrorCode);
  10714. void __RPC_STUB ITToneTerminalEvent_get_Error_Stub(
  10715. IRpcStubBuffer *This,
  10716. IRpcChannelBuffer *_pRpcChannelBuffer,
  10717. PRPC_MESSAGE _pRpcMessage,
  10718. DWORD *_pdwStubPhase);
  10719. #endif /* __ITToneTerminalEvent_INTERFACE_DEFINED__ */
  10720. #ifndef __ITQOSEvent_INTERFACE_DEFINED__
  10721. #define __ITQOSEvent_INTERFACE_DEFINED__
  10722. /* interface ITQOSEvent */
  10723. /* [object][oleautomation][helpstring][uuid] */
  10724. EXTERN_C const IID IID_ITQOSEvent;
  10725. #if defined(__cplusplus) && !defined(CINTERFACE)
  10726. MIDL_INTERFACE("CFA3357C-AD77-11d1-BB68-00C04FB6809F")
  10727. ITQOSEvent : public IDispatch
  10728. {
  10729. public:
  10730. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10731. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10732. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  10733. /* [retval][out] */ QOS_EVENT *pQosEvent) = 0;
  10734. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType(
  10735. /* [retval][out] */ long *plMediaType) = 0;
  10736. };
  10737. #else /* C style interface */
  10738. typedef struct ITQOSEventVtbl
  10739. {
  10740. BEGIN_INTERFACE
  10741. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10742. ITQOSEvent * This,
  10743. /* [in] */ REFIID riid,
  10744. /* [iid_is][out] */ void **ppvObject);
  10745. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10746. ITQOSEvent * This);
  10747. ULONG ( STDMETHODCALLTYPE *Release )(
  10748. ITQOSEvent * This);
  10749. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10750. ITQOSEvent * This,
  10751. /* [out] */ UINT *pctinfo);
  10752. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10753. ITQOSEvent * This,
  10754. /* [in] */ UINT iTInfo,
  10755. /* [in] */ LCID lcid,
  10756. /* [out] */ ITypeInfo **ppTInfo);
  10757. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10758. ITQOSEvent * This,
  10759. /* [in] */ REFIID riid,
  10760. /* [size_is][in] */ LPOLESTR *rgszNames,
  10761. /* [in] */ UINT cNames,
  10762. /* [in] */ LCID lcid,
  10763. /* [size_is][out] */ DISPID *rgDispId);
  10764. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10765. ITQOSEvent * This,
  10766. /* [in] */ DISPID dispIdMember,
  10767. /* [in] */ REFIID riid,
  10768. /* [in] */ LCID lcid,
  10769. /* [in] */ WORD wFlags,
  10770. /* [out][in] */ DISPPARAMS *pDispParams,
  10771. /* [out] */ VARIANT *pVarResult,
  10772. /* [out] */ EXCEPINFO *pExcepInfo,
  10773. /* [out] */ UINT *puArgErr);
  10774. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10775. ITQOSEvent * This,
  10776. /* [retval][out] */ ITCallInfo **ppCall);
  10777. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  10778. ITQOSEvent * This,
  10779. /* [retval][out] */ QOS_EVENT *pQosEvent);
  10780. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )(
  10781. ITQOSEvent * This,
  10782. /* [retval][out] */ long *plMediaType);
  10783. END_INTERFACE
  10784. } ITQOSEventVtbl;
  10785. interface ITQOSEvent
  10786. {
  10787. CONST_VTBL struct ITQOSEventVtbl *lpVtbl;
  10788. };
  10789. #ifdef COBJMACROS
  10790. #define ITQOSEvent_QueryInterface(This,riid,ppvObject) \
  10791. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10792. #define ITQOSEvent_AddRef(This) \
  10793. (This)->lpVtbl -> AddRef(This)
  10794. #define ITQOSEvent_Release(This) \
  10795. (This)->lpVtbl -> Release(This)
  10796. #define ITQOSEvent_GetTypeInfoCount(This,pctinfo) \
  10797. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10798. #define ITQOSEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10799. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10800. #define ITQOSEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10801. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10802. #define ITQOSEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10803. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10804. #define ITQOSEvent_get_Call(This,ppCall) \
  10805. (This)->lpVtbl -> get_Call(This,ppCall)
  10806. #define ITQOSEvent_get_Event(This,pQosEvent) \
  10807. (This)->lpVtbl -> get_Event(This,pQosEvent)
  10808. #define ITQOSEvent_get_MediaType(This,plMediaType) \
  10809. (This)->lpVtbl -> get_MediaType(This,plMediaType)
  10810. #endif /* COBJMACROS */
  10811. #endif /* C style interface */
  10812. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQOSEvent_get_Call_Proxy(
  10813. ITQOSEvent * This,
  10814. /* [retval][out] */ ITCallInfo **ppCall);
  10815. void __RPC_STUB ITQOSEvent_get_Call_Stub(
  10816. IRpcStubBuffer *This,
  10817. IRpcChannelBuffer *_pRpcChannelBuffer,
  10818. PRPC_MESSAGE _pRpcMessage,
  10819. DWORD *_pdwStubPhase);
  10820. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQOSEvent_get_Event_Proxy(
  10821. ITQOSEvent * This,
  10822. /* [retval][out] */ QOS_EVENT *pQosEvent);
  10823. void __RPC_STUB ITQOSEvent_get_Event_Stub(
  10824. IRpcStubBuffer *This,
  10825. IRpcChannelBuffer *_pRpcChannelBuffer,
  10826. PRPC_MESSAGE _pRpcMessage,
  10827. DWORD *_pdwStubPhase);
  10828. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITQOSEvent_get_MediaType_Proxy(
  10829. ITQOSEvent * This,
  10830. /* [retval][out] */ long *plMediaType);
  10831. void __RPC_STUB ITQOSEvent_get_MediaType_Stub(
  10832. IRpcStubBuffer *This,
  10833. IRpcChannelBuffer *_pRpcChannelBuffer,
  10834. PRPC_MESSAGE _pRpcMessage,
  10835. DWORD *_pdwStubPhase);
  10836. #endif /* __ITQOSEvent_INTERFACE_DEFINED__ */
  10837. #ifndef __ITCallInfoChangeEvent_INTERFACE_DEFINED__
  10838. #define __ITCallInfoChangeEvent_INTERFACE_DEFINED__
  10839. /* interface ITCallInfoChangeEvent */
  10840. /* [object][oleautomation][helpstring][uuid] */
  10841. EXTERN_C const IID IID_ITCallInfoChangeEvent;
  10842. #if defined(__cplusplus) && !defined(CINTERFACE)
  10843. MIDL_INTERFACE("5D4B65F9-E51C-11d1-A02F-00C04FB6809F")
  10844. ITCallInfoChangeEvent : public IDispatch
  10845. {
  10846. public:
  10847. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  10848. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  10849. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Cause(
  10850. /* [retval][out] */ CALLINFOCHANGE_CAUSE *pCIC) = 0;
  10851. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  10852. /* [retval][out] */ long *plCallbackInstance) = 0;
  10853. };
  10854. #else /* C style interface */
  10855. typedef struct ITCallInfoChangeEventVtbl
  10856. {
  10857. BEGIN_INTERFACE
  10858. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10859. ITCallInfoChangeEvent * This,
  10860. /* [in] */ REFIID riid,
  10861. /* [iid_is][out] */ void **ppvObject);
  10862. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10863. ITCallInfoChangeEvent * This);
  10864. ULONG ( STDMETHODCALLTYPE *Release )(
  10865. ITCallInfoChangeEvent * This);
  10866. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10867. ITCallInfoChangeEvent * This,
  10868. /* [out] */ UINT *pctinfo);
  10869. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10870. ITCallInfoChangeEvent * This,
  10871. /* [in] */ UINT iTInfo,
  10872. /* [in] */ LCID lcid,
  10873. /* [out] */ ITypeInfo **ppTInfo);
  10874. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10875. ITCallInfoChangeEvent * This,
  10876. /* [in] */ REFIID riid,
  10877. /* [size_is][in] */ LPOLESTR *rgszNames,
  10878. /* [in] */ UINT cNames,
  10879. /* [in] */ LCID lcid,
  10880. /* [size_is][out] */ DISPID *rgDispId);
  10881. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10882. ITCallInfoChangeEvent * This,
  10883. /* [in] */ DISPID dispIdMember,
  10884. /* [in] */ REFIID riid,
  10885. /* [in] */ LCID lcid,
  10886. /* [in] */ WORD wFlags,
  10887. /* [out][in] */ DISPPARAMS *pDispParams,
  10888. /* [out] */ VARIANT *pVarResult,
  10889. /* [out] */ EXCEPINFO *pExcepInfo,
  10890. /* [out] */ UINT *puArgErr);
  10891. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  10892. ITCallInfoChangeEvent * This,
  10893. /* [retval][out] */ ITCallInfo **ppCall);
  10894. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Cause )(
  10895. ITCallInfoChangeEvent * This,
  10896. /* [retval][out] */ CALLINFOCHANGE_CAUSE *pCIC);
  10897. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  10898. ITCallInfoChangeEvent * This,
  10899. /* [retval][out] */ long *plCallbackInstance);
  10900. END_INTERFACE
  10901. } ITCallInfoChangeEventVtbl;
  10902. interface ITCallInfoChangeEvent
  10903. {
  10904. CONST_VTBL struct ITCallInfoChangeEventVtbl *lpVtbl;
  10905. };
  10906. #ifdef COBJMACROS
  10907. #define ITCallInfoChangeEvent_QueryInterface(This,riid,ppvObject) \
  10908. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  10909. #define ITCallInfoChangeEvent_AddRef(This) \
  10910. (This)->lpVtbl -> AddRef(This)
  10911. #define ITCallInfoChangeEvent_Release(This) \
  10912. (This)->lpVtbl -> Release(This)
  10913. #define ITCallInfoChangeEvent_GetTypeInfoCount(This,pctinfo) \
  10914. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  10915. #define ITCallInfoChangeEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  10916. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  10917. #define ITCallInfoChangeEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  10918. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  10919. #define ITCallInfoChangeEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  10920. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  10921. #define ITCallInfoChangeEvent_get_Call(This,ppCall) \
  10922. (This)->lpVtbl -> get_Call(This,ppCall)
  10923. #define ITCallInfoChangeEvent_get_Cause(This,pCIC) \
  10924. (This)->lpVtbl -> get_Cause(This,pCIC)
  10925. #define ITCallInfoChangeEvent_get_CallbackInstance(This,plCallbackInstance) \
  10926. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  10927. #endif /* COBJMACROS */
  10928. #endif /* C style interface */
  10929. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfoChangeEvent_get_Call_Proxy(
  10930. ITCallInfoChangeEvent * This,
  10931. /* [retval][out] */ ITCallInfo **ppCall);
  10932. void __RPC_STUB ITCallInfoChangeEvent_get_Call_Stub(
  10933. IRpcStubBuffer *This,
  10934. IRpcChannelBuffer *_pRpcChannelBuffer,
  10935. PRPC_MESSAGE _pRpcMessage,
  10936. DWORD *_pdwStubPhase);
  10937. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfoChangeEvent_get_Cause_Proxy(
  10938. ITCallInfoChangeEvent * This,
  10939. /* [retval][out] */ CALLINFOCHANGE_CAUSE *pCIC);
  10940. void __RPC_STUB ITCallInfoChangeEvent_get_Cause_Stub(
  10941. IRpcStubBuffer *This,
  10942. IRpcChannelBuffer *_pRpcChannelBuffer,
  10943. PRPC_MESSAGE _pRpcMessage,
  10944. DWORD *_pdwStubPhase);
  10945. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallInfoChangeEvent_get_CallbackInstance_Proxy(
  10946. ITCallInfoChangeEvent * This,
  10947. /* [retval][out] */ long *plCallbackInstance);
  10948. void __RPC_STUB ITCallInfoChangeEvent_get_CallbackInstance_Stub(
  10949. IRpcStubBuffer *This,
  10950. IRpcChannelBuffer *_pRpcChannelBuffer,
  10951. PRPC_MESSAGE _pRpcMessage,
  10952. DWORD *_pdwStubPhase);
  10953. #endif /* __ITCallInfoChangeEvent_INTERFACE_DEFINED__ */
  10954. #ifndef __ITRequest_INTERFACE_DEFINED__
  10955. #define __ITRequest_INTERFACE_DEFINED__
  10956. /* interface ITRequest */
  10957. /* [object][oleautomation][helpstring][uuid] */
  10958. EXTERN_C const IID IID_ITRequest;
  10959. #if defined(__cplusplus) && !defined(CINTERFACE)
  10960. MIDL_INTERFACE("AC48FFDF-F8C4-11d1-A030-00C04FB6809F")
  10961. ITRequest : public IDispatch
  10962. {
  10963. public:
  10964. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE MakeCall(
  10965. /* [in] */ BSTR pDestAddress,
  10966. /* [in] */ BSTR pAppName,
  10967. /* [in] */ BSTR pCalledParty,
  10968. /* [in] */ BSTR pComment) = 0;
  10969. };
  10970. #else /* C style interface */
  10971. typedef struct ITRequestVtbl
  10972. {
  10973. BEGIN_INTERFACE
  10974. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  10975. ITRequest * This,
  10976. /* [in] */ REFIID riid,
  10977. /* [iid_is][out] */ void **ppvObject);
  10978. ULONG ( STDMETHODCALLTYPE *AddRef )(
  10979. ITRequest * This);
  10980. ULONG ( STDMETHODCALLTYPE *Release )(
  10981. ITRequest * This);
  10982. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  10983. ITRequest * This,
  10984. /* [out] */ UINT *pctinfo);
  10985. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  10986. ITRequest * This,
  10987. /* [in] */ UINT iTInfo,
  10988. /* [in] */ LCID lcid,
  10989. /* [out] */ ITypeInfo **ppTInfo);
  10990. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  10991. ITRequest * This,
  10992. /* [in] */ REFIID riid,
  10993. /* [size_is][in] */ LPOLESTR *rgszNames,
  10994. /* [in] */ UINT cNames,
  10995. /* [in] */ LCID lcid,
  10996. /* [size_is][out] */ DISPID *rgDispId);
  10997. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  10998. ITRequest * This,
  10999. /* [in] */ DISPID dispIdMember,
  11000. /* [in] */ REFIID riid,
  11001. /* [in] */ LCID lcid,
  11002. /* [in] */ WORD wFlags,
  11003. /* [out][in] */ DISPPARAMS *pDispParams,
  11004. /* [out] */ VARIANT *pVarResult,
  11005. /* [out] */ EXCEPINFO *pExcepInfo,
  11006. /* [out] */ UINT *puArgErr);
  11007. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *MakeCall )(
  11008. ITRequest * This,
  11009. /* [in] */ BSTR pDestAddress,
  11010. /* [in] */ BSTR pAppName,
  11011. /* [in] */ BSTR pCalledParty,
  11012. /* [in] */ BSTR pComment);
  11013. END_INTERFACE
  11014. } ITRequestVtbl;
  11015. interface ITRequest
  11016. {
  11017. CONST_VTBL struct ITRequestVtbl *lpVtbl;
  11018. };
  11019. #ifdef COBJMACROS
  11020. #define ITRequest_QueryInterface(This,riid,ppvObject) \
  11021. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11022. #define ITRequest_AddRef(This) \
  11023. (This)->lpVtbl -> AddRef(This)
  11024. #define ITRequest_Release(This) \
  11025. (This)->lpVtbl -> Release(This)
  11026. #define ITRequest_GetTypeInfoCount(This,pctinfo) \
  11027. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11028. #define ITRequest_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11029. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11030. #define ITRequest_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11031. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11032. #define ITRequest_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11033. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11034. #define ITRequest_MakeCall(This,pDestAddress,pAppName,pCalledParty,pComment) \
  11035. (This)->lpVtbl -> MakeCall(This,pDestAddress,pAppName,pCalledParty,pComment)
  11036. #endif /* COBJMACROS */
  11037. #endif /* C style interface */
  11038. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITRequest_MakeCall_Proxy(
  11039. ITRequest * This,
  11040. /* [in] */ BSTR pDestAddress,
  11041. /* [in] */ BSTR pAppName,
  11042. /* [in] */ BSTR pCalledParty,
  11043. /* [in] */ BSTR pComment);
  11044. void __RPC_STUB ITRequest_MakeCall_Stub(
  11045. IRpcStubBuffer *This,
  11046. IRpcChannelBuffer *_pRpcChannelBuffer,
  11047. PRPC_MESSAGE _pRpcMessage,
  11048. DWORD *_pdwStubPhase);
  11049. #endif /* __ITRequest_INTERFACE_DEFINED__ */
  11050. #ifndef __ITRequestEvent_INTERFACE_DEFINED__
  11051. #define __ITRequestEvent_INTERFACE_DEFINED__
  11052. /* interface ITRequestEvent */
  11053. /* [object][oleautomation][helpstring][uuid] */
  11054. EXTERN_C const IID IID_ITRequestEvent;
  11055. #if defined(__cplusplus) && !defined(CINTERFACE)
  11056. MIDL_INTERFACE("AC48FFDE-F8C4-11d1-A030-00C04FB6809F")
  11057. ITRequestEvent : public IDispatch
  11058. {
  11059. public:
  11060. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RegistrationInstance(
  11061. /* [retval][out] */ long *plRegistrationInstance) = 0;
  11062. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_RequestMode(
  11063. /* [retval][out] */ long *plRequestMode) = 0;
  11064. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DestAddress(
  11065. /* [retval][out] */ BSTR *ppDestAddress) = 0;
  11066. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AppName(
  11067. /* [retval][out] */ BSTR *ppAppName) = 0;
  11068. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CalledParty(
  11069. /* [retval][out] */ BSTR *ppCalledParty) = 0;
  11070. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Comment(
  11071. /* [retval][out] */ BSTR *ppComment) = 0;
  11072. };
  11073. #else /* C style interface */
  11074. typedef struct ITRequestEventVtbl
  11075. {
  11076. BEGIN_INTERFACE
  11077. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  11078. ITRequestEvent * This,
  11079. /* [in] */ REFIID riid,
  11080. /* [iid_is][out] */ void **ppvObject);
  11081. ULONG ( STDMETHODCALLTYPE *AddRef )(
  11082. ITRequestEvent * This);
  11083. ULONG ( STDMETHODCALLTYPE *Release )(
  11084. ITRequestEvent * This);
  11085. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  11086. ITRequestEvent * This,
  11087. /* [out] */ UINT *pctinfo);
  11088. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  11089. ITRequestEvent * This,
  11090. /* [in] */ UINT iTInfo,
  11091. /* [in] */ LCID lcid,
  11092. /* [out] */ ITypeInfo **ppTInfo);
  11093. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  11094. ITRequestEvent * This,
  11095. /* [in] */ REFIID riid,
  11096. /* [size_is][in] */ LPOLESTR *rgszNames,
  11097. /* [in] */ UINT cNames,
  11098. /* [in] */ LCID lcid,
  11099. /* [size_is][out] */ DISPID *rgDispId);
  11100. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  11101. ITRequestEvent * This,
  11102. /* [in] */ DISPID dispIdMember,
  11103. /* [in] */ REFIID riid,
  11104. /* [in] */ LCID lcid,
  11105. /* [in] */ WORD wFlags,
  11106. /* [out][in] */ DISPPARAMS *pDispParams,
  11107. /* [out] */ VARIANT *pVarResult,
  11108. /* [out] */ EXCEPINFO *pExcepInfo,
  11109. /* [out] */ UINT *puArgErr);
  11110. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RegistrationInstance )(
  11111. ITRequestEvent * This,
  11112. /* [retval][out] */ long *plRegistrationInstance);
  11113. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_RequestMode )(
  11114. ITRequestEvent * This,
  11115. /* [retval][out] */ long *plRequestMode);
  11116. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestAddress )(
  11117. ITRequestEvent * This,
  11118. /* [retval][out] */ BSTR *ppDestAddress);
  11119. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AppName )(
  11120. ITRequestEvent * This,
  11121. /* [retval][out] */ BSTR *ppAppName);
  11122. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CalledParty )(
  11123. ITRequestEvent * This,
  11124. /* [retval][out] */ BSTR *ppCalledParty);
  11125. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Comment )(
  11126. ITRequestEvent * This,
  11127. /* [retval][out] */ BSTR *ppComment);
  11128. END_INTERFACE
  11129. } ITRequestEventVtbl;
  11130. interface ITRequestEvent
  11131. {
  11132. CONST_VTBL struct ITRequestEventVtbl *lpVtbl;
  11133. };
  11134. #ifdef COBJMACROS
  11135. #define ITRequestEvent_QueryInterface(This,riid,ppvObject) \
  11136. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11137. #define ITRequestEvent_AddRef(This) \
  11138. (This)->lpVtbl -> AddRef(This)
  11139. #define ITRequestEvent_Release(This) \
  11140. (This)->lpVtbl -> Release(This)
  11141. #define ITRequestEvent_GetTypeInfoCount(This,pctinfo) \
  11142. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11143. #define ITRequestEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11144. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11145. #define ITRequestEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11146. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11147. #define ITRequestEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11148. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11149. #define ITRequestEvent_get_RegistrationInstance(This,plRegistrationInstance) \
  11150. (This)->lpVtbl -> get_RegistrationInstance(This,plRegistrationInstance)
  11151. #define ITRequestEvent_get_RequestMode(This,plRequestMode) \
  11152. (This)->lpVtbl -> get_RequestMode(This,plRequestMode)
  11153. #define ITRequestEvent_get_DestAddress(This,ppDestAddress) \
  11154. (This)->lpVtbl -> get_DestAddress(This,ppDestAddress)
  11155. #define ITRequestEvent_get_AppName(This,ppAppName) \
  11156. (This)->lpVtbl -> get_AppName(This,ppAppName)
  11157. #define ITRequestEvent_get_CalledParty(This,ppCalledParty) \
  11158. (This)->lpVtbl -> get_CalledParty(This,ppCalledParty)
  11159. #define ITRequestEvent_get_Comment(This,ppComment) \
  11160. (This)->lpVtbl -> get_Comment(This,ppComment)
  11161. #endif /* COBJMACROS */
  11162. #endif /* C style interface */
  11163. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_RegistrationInstance_Proxy(
  11164. ITRequestEvent * This,
  11165. /* [retval][out] */ long *plRegistrationInstance);
  11166. void __RPC_STUB ITRequestEvent_get_RegistrationInstance_Stub(
  11167. IRpcStubBuffer *This,
  11168. IRpcChannelBuffer *_pRpcChannelBuffer,
  11169. PRPC_MESSAGE _pRpcMessage,
  11170. DWORD *_pdwStubPhase);
  11171. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_RequestMode_Proxy(
  11172. ITRequestEvent * This,
  11173. /* [retval][out] */ long *plRequestMode);
  11174. void __RPC_STUB ITRequestEvent_get_RequestMode_Stub(
  11175. IRpcStubBuffer *This,
  11176. IRpcChannelBuffer *_pRpcChannelBuffer,
  11177. PRPC_MESSAGE _pRpcMessage,
  11178. DWORD *_pdwStubPhase);
  11179. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_DestAddress_Proxy(
  11180. ITRequestEvent * This,
  11181. /* [retval][out] */ BSTR *ppDestAddress);
  11182. void __RPC_STUB ITRequestEvent_get_DestAddress_Stub(
  11183. IRpcStubBuffer *This,
  11184. IRpcChannelBuffer *_pRpcChannelBuffer,
  11185. PRPC_MESSAGE _pRpcMessage,
  11186. DWORD *_pdwStubPhase);
  11187. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_AppName_Proxy(
  11188. ITRequestEvent * This,
  11189. /* [retval][out] */ BSTR *ppAppName);
  11190. void __RPC_STUB ITRequestEvent_get_AppName_Stub(
  11191. IRpcStubBuffer *This,
  11192. IRpcChannelBuffer *_pRpcChannelBuffer,
  11193. PRPC_MESSAGE _pRpcMessage,
  11194. DWORD *_pdwStubPhase);
  11195. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_CalledParty_Proxy(
  11196. ITRequestEvent * This,
  11197. /* [retval][out] */ BSTR *ppCalledParty);
  11198. void __RPC_STUB ITRequestEvent_get_CalledParty_Stub(
  11199. IRpcStubBuffer *This,
  11200. IRpcChannelBuffer *_pRpcChannelBuffer,
  11201. PRPC_MESSAGE _pRpcMessage,
  11202. DWORD *_pdwStubPhase);
  11203. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITRequestEvent_get_Comment_Proxy(
  11204. ITRequestEvent * This,
  11205. /* [retval][out] */ BSTR *ppComment);
  11206. void __RPC_STUB ITRequestEvent_get_Comment_Stub(
  11207. IRpcStubBuffer *This,
  11208. IRpcChannelBuffer *_pRpcChannelBuffer,
  11209. PRPC_MESSAGE _pRpcMessage,
  11210. DWORD *_pdwStubPhase);
  11211. #endif /* __ITRequestEvent_INTERFACE_DEFINED__ */
  11212. #ifndef __ITCollection_INTERFACE_DEFINED__
  11213. #define __ITCollection_INTERFACE_DEFINED__
  11214. /* interface ITCollection */
  11215. /* [dual][helpstring][uuid][public][object] */
  11216. EXTERN_C const IID IID_ITCollection;
  11217. #if defined(__cplusplus) && !defined(CINTERFACE)
  11218. MIDL_INTERFACE("5EC5ACF2-9C02-11d0-8362-00AA003CCABD")
  11219. ITCollection : public IDispatch
  11220. {
  11221. public:
  11222. virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  11223. /* [retval][out] */ long *lCount) = 0;
  11224. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  11225. /* [in] */ long Index,
  11226. /* [retval][out] */ VARIANT *pVariant) = 0;
  11227. virtual /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  11228. /* [retval][out] */ IUnknown **ppNewEnum) = 0;
  11229. };
  11230. #else /* C style interface */
  11231. typedef struct ITCollectionVtbl
  11232. {
  11233. BEGIN_INTERFACE
  11234. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  11235. ITCollection * This,
  11236. /* [in] */ REFIID riid,
  11237. /* [iid_is][out] */ void **ppvObject);
  11238. ULONG ( STDMETHODCALLTYPE *AddRef )(
  11239. ITCollection * This);
  11240. ULONG ( STDMETHODCALLTYPE *Release )(
  11241. ITCollection * This);
  11242. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  11243. ITCollection * This,
  11244. /* [out] */ UINT *pctinfo);
  11245. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  11246. ITCollection * This,
  11247. /* [in] */ UINT iTInfo,
  11248. /* [in] */ LCID lcid,
  11249. /* [out] */ ITypeInfo **ppTInfo);
  11250. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  11251. ITCollection * This,
  11252. /* [in] */ REFIID riid,
  11253. /* [size_is][in] */ LPOLESTR *rgszNames,
  11254. /* [in] */ UINT cNames,
  11255. /* [in] */ LCID lcid,
  11256. /* [size_is][out] */ DISPID *rgDispId);
  11257. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  11258. ITCollection * This,
  11259. /* [in] */ DISPID dispIdMember,
  11260. /* [in] */ REFIID riid,
  11261. /* [in] */ LCID lcid,
  11262. /* [in] */ WORD wFlags,
  11263. /* [out][in] */ DISPPARAMS *pDispParams,
  11264. /* [out] */ VARIANT *pVarResult,
  11265. /* [out] */ EXCEPINFO *pExcepInfo,
  11266. /* [out] */ UINT *puArgErr);
  11267. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  11268. ITCollection * This,
  11269. /* [retval][out] */ long *lCount);
  11270. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  11271. ITCollection * This,
  11272. /* [in] */ long Index,
  11273. /* [retval][out] */ VARIANT *pVariant);
  11274. /* [helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  11275. ITCollection * This,
  11276. /* [retval][out] */ IUnknown **ppNewEnum);
  11277. END_INTERFACE
  11278. } ITCollectionVtbl;
  11279. interface ITCollection
  11280. {
  11281. CONST_VTBL struct ITCollectionVtbl *lpVtbl;
  11282. };
  11283. #ifdef COBJMACROS
  11284. #define ITCollection_QueryInterface(This,riid,ppvObject) \
  11285. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11286. #define ITCollection_AddRef(This) \
  11287. (This)->lpVtbl -> AddRef(This)
  11288. #define ITCollection_Release(This) \
  11289. (This)->lpVtbl -> Release(This)
  11290. #define ITCollection_GetTypeInfoCount(This,pctinfo) \
  11291. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11292. #define ITCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11293. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11294. #define ITCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11295. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11296. #define ITCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11297. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11298. #define ITCollection_get_Count(This,lCount) \
  11299. (This)->lpVtbl -> get_Count(This,lCount)
  11300. #define ITCollection_get_Item(This,Index,pVariant) \
  11301. (This)->lpVtbl -> get_Item(This,Index,pVariant)
  11302. #define ITCollection_get__NewEnum(This,ppNewEnum) \
  11303. (This)->lpVtbl -> get__NewEnum(This,ppNewEnum)
  11304. #endif /* COBJMACROS */
  11305. #endif /* C style interface */
  11306. /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE ITCollection_get_Count_Proxy(
  11307. ITCollection * This,
  11308. /* [retval][out] */ long *lCount);
  11309. void __RPC_STUB ITCollection_get_Count_Stub(
  11310. IRpcStubBuffer *This,
  11311. IRpcChannelBuffer *_pRpcChannelBuffer,
  11312. PRPC_MESSAGE _pRpcMessage,
  11313. DWORD *_pdwStubPhase);
  11314. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCollection_get_Item_Proxy(
  11315. ITCollection * This,
  11316. /* [in] */ long Index,
  11317. /* [retval][out] */ VARIANT *pVariant);
  11318. void __RPC_STUB ITCollection_get_Item_Stub(
  11319. IRpcStubBuffer *This,
  11320. IRpcChannelBuffer *_pRpcChannelBuffer,
  11321. PRPC_MESSAGE _pRpcMessage,
  11322. DWORD *_pdwStubPhase);
  11323. /* [helpstring][id][restricted][propget] */ HRESULT STDMETHODCALLTYPE ITCollection_get__NewEnum_Proxy(
  11324. ITCollection * This,
  11325. /* [retval][out] */ IUnknown **ppNewEnum);
  11326. void __RPC_STUB ITCollection_get__NewEnum_Stub(
  11327. IRpcStubBuffer *This,
  11328. IRpcChannelBuffer *_pRpcChannelBuffer,
  11329. PRPC_MESSAGE _pRpcMessage,
  11330. DWORD *_pdwStubPhase);
  11331. #endif /* __ITCollection_INTERFACE_DEFINED__ */
  11332. #ifndef __ITCollection2_INTERFACE_DEFINED__
  11333. #define __ITCollection2_INTERFACE_DEFINED__
  11334. /* interface ITCollection2 */
  11335. /* [dual][helpstring][uuid][public][object] */
  11336. EXTERN_C const IID IID_ITCollection2;
  11337. #if defined(__cplusplus) && !defined(CINTERFACE)
  11338. MIDL_INTERFACE("E6DDDDA5-A6D3-48ff-8737-D32FC4D95477")
  11339. ITCollection2 : public ITCollection
  11340. {
  11341. public:
  11342. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  11343. /* [in] */ long Index,
  11344. /* [in] */ VARIANT *pVariant) = 0;
  11345. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  11346. /* [in] */ long Index) = 0;
  11347. };
  11348. #else /* C style interface */
  11349. typedef struct ITCollection2Vtbl
  11350. {
  11351. BEGIN_INTERFACE
  11352. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  11353. ITCollection2 * This,
  11354. /* [in] */ REFIID riid,
  11355. /* [iid_is][out] */ void **ppvObject);
  11356. ULONG ( STDMETHODCALLTYPE *AddRef )(
  11357. ITCollection2 * This);
  11358. ULONG ( STDMETHODCALLTYPE *Release )(
  11359. ITCollection2 * This);
  11360. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  11361. ITCollection2 * This,
  11362. /* [out] */ UINT *pctinfo);
  11363. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  11364. ITCollection2 * This,
  11365. /* [in] */ UINT iTInfo,
  11366. /* [in] */ LCID lcid,
  11367. /* [out] */ ITypeInfo **ppTInfo);
  11368. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  11369. ITCollection2 * This,
  11370. /* [in] */ REFIID riid,
  11371. /* [size_is][in] */ LPOLESTR *rgszNames,
  11372. /* [in] */ UINT cNames,
  11373. /* [in] */ LCID lcid,
  11374. /* [size_is][out] */ DISPID *rgDispId);
  11375. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  11376. ITCollection2 * This,
  11377. /* [in] */ DISPID dispIdMember,
  11378. /* [in] */ REFIID riid,
  11379. /* [in] */ LCID lcid,
  11380. /* [in] */ WORD wFlags,
  11381. /* [out][in] */ DISPPARAMS *pDispParams,
  11382. /* [out] */ VARIANT *pVarResult,
  11383. /* [out] */ EXCEPINFO *pExcepInfo,
  11384. /* [out] */ UINT *puArgErr);
  11385. /* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  11386. ITCollection2 * This,
  11387. /* [retval][out] */ long *lCount);
  11388. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  11389. ITCollection2 * This,
  11390. /* [in] */ long Index,
  11391. /* [retval][out] */ VARIANT *pVariant);
  11392. /* [helpstring][id][restricted][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  11393. ITCollection2 * This,
  11394. /* [retval][out] */ IUnknown **ppNewEnum);
  11395. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  11396. ITCollection2 * This,
  11397. /* [in] */ long Index,
  11398. /* [in] */ VARIANT *pVariant);
  11399. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  11400. ITCollection2 * This,
  11401. /* [in] */ long Index);
  11402. END_INTERFACE
  11403. } ITCollection2Vtbl;
  11404. interface ITCollection2
  11405. {
  11406. CONST_VTBL struct ITCollection2Vtbl *lpVtbl;
  11407. };
  11408. #ifdef COBJMACROS
  11409. #define ITCollection2_QueryInterface(This,riid,ppvObject) \
  11410. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11411. #define ITCollection2_AddRef(This) \
  11412. (This)->lpVtbl -> AddRef(This)
  11413. #define ITCollection2_Release(This) \
  11414. (This)->lpVtbl -> Release(This)
  11415. #define ITCollection2_GetTypeInfoCount(This,pctinfo) \
  11416. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11417. #define ITCollection2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11418. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11419. #define ITCollection2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11420. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11421. #define ITCollection2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11422. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11423. #define ITCollection2_get_Count(This,lCount) \
  11424. (This)->lpVtbl -> get_Count(This,lCount)
  11425. #define ITCollection2_get_Item(This,Index,pVariant) \
  11426. (This)->lpVtbl -> get_Item(This,Index,pVariant)
  11427. #define ITCollection2_get__NewEnum(This,ppNewEnum) \
  11428. (This)->lpVtbl -> get__NewEnum(This,ppNewEnum)
  11429. #define ITCollection2_Add(This,Index,pVariant) \
  11430. (This)->lpVtbl -> Add(This,Index,pVariant)
  11431. #define ITCollection2_Remove(This,Index) \
  11432. (This)->lpVtbl -> Remove(This,Index)
  11433. #endif /* COBJMACROS */
  11434. #endif /* C style interface */
  11435. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCollection2_Add_Proxy(
  11436. ITCollection2 * This,
  11437. /* [in] */ long Index,
  11438. /* [in] */ VARIANT *pVariant);
  11439. void __RPC_STUB ITCollection2_Add_Stub(
  11440. IRpcStubBuffer *This,
  11441. IRpcChannelBuffer *_pRpcChannelBuffer,
  11442. PRPC_MESSAGE _pRpcMessage,
  11443. DWORD *_pdwStubPhase);
  11444. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITCollection2_Remove_Proxy(
  11445. ITCollection2 * This,
  11446. /* [in] */ long Index);
  11447. void __RPC_STUB ITCollection2_Remove_Stub(
  11448. IRpcStubBuffer *This,
  11449. IRpcChannelBuffer *_pRpcChannelBuffer,
  11450. PRPC_MESSAGE _pRpcMessage,
  11451. DWORD *_pdwStubPhase);
  11452. #endif /* __ITCollection2_INTERFACE_DEFINED__ */
  11453. #ifndef __ITForwardInformation_INTERFACE_DEFINED__
  11454. #define __ITForwardInformation_INTERFACE_DEFINED__
  11455. /* interface ITForwardInformation */
  11456. /* [object][dual][helpstring][uuid] */
  11457. EXTERN_C const IID IID_ITForwardInformation;
  11458. #if defined(__cplusplus) && !defined(CINTERFACE)
  11459. MIDL_INTERFACE("449F659E-88A3-11d1-BB5D-00C04FB6809F")
  11460. ITForwardInformation : public IDispatch
  11461. {
  11462. public:
  11463. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_NumRingsNoAnswer(
  11464. /* [in] */ long lNumRings) = 0;
  11465. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumRingsNoAnswer(
  11466. /* [retval][out] */ long *plNumRings) = 0;
  11467. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetForwardType(
  11468. /* [in] */ long ForwardType,
  11469. /* [in] */ BSTR pDestAddress,
  11470. /* [in] */ BSTR pCallerAddress) = 0;
  11471. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeDestination(
  11472. /* [in] */ long ForwardType,
  11473. /* [retval][out] */ BSTR *ppDestAddress) = 0;
  11474. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeCaller(
  11475. /* [in] */ long Forwardtype,
  11476. /* [retval][out] */ BSTR *ppCallerAddress) = 0;
  11477. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetForwardType(
  11478. /* [in] */ long ForwardType,
  11479. /* [out] */ BSTR *ppDestinationAddress,
  11480. /* [out] */ BSTR *ppCallerAddress) = 0;
  11481. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Clear( void) = 0;
  11482. };
  11483. #else /* C style interface */
  11484. typedef struct ITForwardInformationVtbl
  11485. {
  11486. BEGIN_INTERFACE
  11487. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  11488. ITForwardInformation * This,
  11489. /* [in] */ REFIID riid,
  11490. /* [iid_is][out] */ void **ppvObject);
  11491. ULONG ( STDMETHODCALLTYPE *AddRef )(
  11492. ITForwardInformation * This);
  11493. ULONG ( STDMETHODCALLTYPE *Release )(
  11494. ITForwardInformation * This);
  11495. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  11496. ITForwardInformation * This,
  11497. /* [out] */ UINT *pctinfo);
  11498. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  11499. ITForwardInformation * This,
  11500. /* [in] */ UINT iTInfo,
  11501. /* [in] */ LCID lcid,
  11502. /* [out] */ ITypeInfo **ppTInfo);
  11503. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  11504. ITForwardInformation * This,
  11505. /* [in] */ REFIID riid,
  11506. /* [size_is][in] */ LPOLESTR *rgszNames,
  11507. /* [in] */ UINT cNames,
  11508. /* [in] */ LCID lcid,
  11509. /* [size_is][out] */ DISPID *rgDispId);
  11510. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  11511. ITForwardInformation * This,
  11512. /* [in] */ DISPID dispIdMember,
  11513. /* [in] */ REFIID riid,
  11514. /* [in] */ LCID lcid,
  11515. /* [in] */ WORD wFlags,
  11516. /* [out][in] */ DISPPARAMS *pDispParams,
  11517. /* [out] */ VARIANT *pVarResult,
  11518. /* [out] */ EXCEPINFO *pExcepInfo,
  11519. /* [out] */ UINT *puArgErr);
  11520. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NumRingsNoAnswer )(
  11521. ITForwardInformation * This,
  11522. /* [in] */ long lNumRings);
  11523. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumRingsNoAnswer )(
  11524. ITForwardInformation * This,
  11525. /* [retval][out] */ long *plNumRings);
  11526. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForwardType )(
  11527. ITForwardInformation * This,
  11528. /* [in] */ long ForwardType,
  11529. /* [in] */ BSTR pDestAddress,
  11530. /* [in] */ BSTR pCallerAddress);
  11531. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeDestination )(
  11532. ITForwardInformation * This,
  11533. /* [in] */ long ForwardType,
  11534. /* [retval][out] */ BSTR *ppDestAddress);
  11535. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeCaller )(
  11536. ITForwardInformation * This,
  11537. /* [in] */ long Forwardtype,
  11538. /* [retval][out] */ BSTR *ppCallerAddress);
  11539. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetForwardType )(
  11540. ITForwardInformation * This,
  11541. /* [in] */ long ForwardType,
  11542. /* [out] */ BSTR *ppDestinationAddress,
  11543. /* [out] */ BSTR *ppCallerAddress);
  11544. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  11545. ITForwardInformation * This);
  11546. END_INTERFACE
  11547. } ITForwardInformationVtbl;
  11548. interface ITForwardInformation
  11549. {
  11550. CONST_VTBL struct ITForwardInformationVtbl *lpVtbl;
  11551. };
  11552. #ifdef COBJMACROS
  11553. #define ITForwardInformation_QueryInterface(This,riid,ppvObject) \
  11554. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11555. #define ITForwardInformation_AddRef(This) \
  11556. (This)->lpVtbl -> AddRef(This)
  11557. #define ITForwardInformation_Release(This) \
  11558. (This)->lpVtbl -> Release(This)
  11559. #define ITForwardInformation_GetTypeInfoCount(This,pctinfo) \
  11560. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11561. #define ITForwardInformation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11562. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11563. #define ITForwardInformation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11564. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11565. #define ITForwardInformation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11566. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11567. #define ITForwardInformation_put_NumRingsNoAnswer(This,lNumRings) \
  11568. (This)->lpVtbl -> put_NumRingsNoAnswer(This,lNumRings)
  11569. #define ITForwardInformation_get_NumRingsNoAnswer(This,plNumRings) \
  11570. (This)->lpVtbl -> get_NumRingsNoAnswer(This,plNumRings)
  11571. #define ITForwardInformation_SetForwardType(This,ForwardType,pDestAddress,pCallerAddress) \
  11572. (This)->lpVtbl -> SetForwardType(This,ForwardType,pDestAddress,pCallerAddress)
  11573. #define ITForwardInformation_get_ForwardTypeDestination(This,ForwardType,ppDestAddress) \
  11574. (This)->lpVtbl -> get_ForwardTypeDestination(This,ForwardType,ppDestAddress)
  11575. #define ITForwardInformation_get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress) \
  11576. (This)->lpVtbl -> get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress)
  11577. #define ITForwardInformation_GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress) \
  11578. (This)->lpVtbl -> GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress)
  11579. #define ITForwardInformation_Clear(This) \
  11580. (This)->lpVtbl -> Clear(This)
  11581. #endif /* COBJMACROS */
  11582. #endif /* C style interface */
  11583. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_put_NumRingsNoAnswer_Proxy(
  11584. ITForwardInformation * This,
  11585. /* [in] */ long lNumRings);
  11586. void __RPC_STUB ITForwardInformation_put_NumRingsNoAnswer_Stub(
  11587. IRpcStubBuffer *This,
  11588. IRpcChannelBuffer *_pRpcChannelBuffer,
  11589. PRPC_MESSAGE _pRpcMessage,
  11590. DWORD *_pdwStubPhase);
  11591. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_get_NumRingsNoAnswer_Proxy(
  11592. ITForwardInformation * This,
  11593. /* [retval][out] */ long *plNumRings);
  11594. void __RPC_STUB ITForwardInformation_get_NumRingsNoAnswer_Stub(
  11595. IRpcStubBuffer *This,
  11596. IRpcChannelBuffer *_pRpcChannelBuffer,
  11597. PRPC_MESSAGE _pRpcMessage,
  11598. DWORD *_pdwStubPhase);
  11599. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_SetForwardType_Proxy(
  11600. ITForwardInformation * This,
  11601. /* [in] */ long ForwardType,
  11602. /* [in] */ BSTR pDestAddress,
  11603. /* [in] */ BSTR pCallerAddress);
  11604. void __RPC_STUB ITForwardInformation_SetForwardType_Stub(
  11605. IRpcStubBuffer *This,
  11606. IRpcChannelBuffer *_pRpcChannelBuffer,
  11607. PRPC_MESSAGE _pRpcMessage,
  11608. DWORD *_pdwStubPhase);
  11609. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_get_ForwardTypeDestination_Proxy(
  11610. ITForwardInformation * This,
  11611. /* [in] */ long ForwardType,
  11612. /* [retval][out] */ BSTR *ppDestAddress);
  11613. void __RPC_STUB ITForwardInformation_get_ForwardTypeDestination_Stub(
  11614. IRpcStubBuffer *This,
  11615. IRpcChannelBuffer *_pRpcChannelBuffer,
  11616. PRPC_MESSAGE _pRpcMessage,
  11617. DWORD *_pdwStubPhase);
  11618. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_get_ForwardTypeCaller_Proxy(
  11619. ITForwardInformation * This,
  11620. /* [in] */ long Forwardtype,
  11621. /* [retval][out] */ BSTR *ppCallerAddress);
  11622. void __RPC_STUB ITForwardInformation_get_ForwardTypeCaller_Stub(
  11623. IRpcStubBuffer *This,
  11624. IRpcChannelBuffer *_pRpcChannelBuffer,
  11625. PRPC_MESSAGE _pRpcMessage,
  11626. DWORD *_pdwStubPhase);
  11627. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_GetForwardType_Proxy(
  11628. ITForwardInformation * This,
  11629. /* [in] */ long ForwardType,
  11630. /* [out] */ BSTR *ppDestinationAddress,
  11631. /* [out] */ BSTR *ppCallerAddress);
  11632. void __RPC_STUB ITForwardInformation_GetForwardType_Stub(
  11633. IRpcStubBuffer *This,
  11634. IRpcChannelBuffer *_pRpcChannelBuffer,
  11635. PRPC_MESSAGE _pRpcMessage,
  11636. DWORD *_pdwStubPhase);
  11637. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation_Clear_Proxy(
  11638. ITForwardInformation * This);
  11639. void __RPC_STUB ITForwardInformation_Clear_Stub(
  11640. IRpcStubBuffer *This,
  11641. IRpcChannelBuffer *_pRpcChannelBuffer,
  11642. PRPC_MESSAGE _pRpcMessage,
  11643. DWORD *_pdwStubPhase);
  11644. #endif /* __ITForwardInformation_INTERFACE_DEFINED__ */
  11645. #ifndef __ITForwardInformation2_INTERFACE_DEFINED__
  11646. #define __ITForwardInformation2_INTERFACE_DEFINED__
  11647. /* interface ITForwardInformation2 */
  11648. /* [object][dual][helpstring][uuid] */
  11649. EXTERN_C const IID IID_ITForwardInformation2;
  11650. #if defined(__cplusplus) && !defined(CINTERFACE)
  11651. MIDL_INTERFACE("5229B4ED-B260-4382-8E1A-5DF3A8A4CCC0")
  11652. ITForwardInformation2 : public ITForwardInformation
  11653. {
  11654. public:
  11655. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetForwardType2(
  11656. /* [in] */ long ForwardType,
  11657. /* [in] */ BSTR pDestAddress,
  11658. /* [in] */ long DestAddressType,
  11659. /* [in] */ BSTR pCallerAddress,
  11660. /* [in] */ long CallerAddressType) = 0;
  11661. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE GetForwardType2(
  11662. /* [in] */ long ForwardType,
  11663. /* [out] */ BSTR *ppDestinationAddress,
  11664. /* [out] */ long *pDestAddressType,
  11665. /* [out] */ BSTR *ppCallerAddress,
  11666. /* [out] */ long *pCallerAddressType) = 0;
  11667. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeDestinationAddressType(
  11668. /* [in] */ long ForwardType,
  11669. /* [retval][out] */ long *pDestAddressType) = 0;
  11670. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ForwardTypeCallerAddressType(
  11671. /* [in] */ long Forwardtype,
  11672. /* [retval][out] */ long *pCallerAddressType) = 0;
  11673. };
  11674. #else /* C style interface */
  11675. typedef struct ITForwardInformation2Vtbl
  11676. {
  11677. BEGIN_INTERFACE
  11678. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  11679. ITForwardInformation2 * This,
  11680. /* [in] */ REFIID riid,
  11681. /* [iid_is][out] */ void **ppvObject);
  11682. ULONG ( STDMETHODCALLTYPE *AddRef )(
  11683. ITForwardInformation2 * This);
  11684. ULONG ( STDMETHODCALLTYPE *Release )(
  11685. ITForwardInformation2 * This);
  11686. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  11687. ITForwardInformation2 * This,
  11688. /* [out] */ UINT *pctinfo);
  11689. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  11690. ITForwardInformation2 * This,
  11691. /* [in] */ UINT iTInfo,
  11692. /* [in] */ LCID lcid,
  11693. /* [out] */ ITypeInfo **ppTInfo);
  11694. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  11695. ITForwardInformation2 * This,
  11696. /* [in] */ REFIID riid,
  11697. /* [size_is][in] */ LPOLESTR *rgszNames,
  11698. /* [in] */ UINT cNames,
  11699. /* [in] */ LCID lcid,
  11700. /* [size_is][out] */ DISPID *rgDispId);
  11701. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  11702. ITForwardInformation2 * This,
  11703. /* [in] */ DISPID dispIdMember,
  11704. /* [in] */ REFIID riid,
  11705. /* [in] */ LCID lcid,
  11706. /* [in] */ WORD wFlags,
  11707. /* [out][in] */ DISPPARAMS *pDispParams,
  11708. /* [out] */ VARIANT *pVarResult,
  11709. /* [out] */ EXCEPINFO *pExcepInfo,
  11710. /* [out] */ UINT *puArgErr);
  11711. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_NumRingsNoAnswer )(
  11712. ITForwardInformation2 * This,
  11713. /* [in] */ long lNumRings);
  11714. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumRingsNoAnswer )(
  11715. ITForwardInformation2 * This,
  11716. /* [retval][out] */ long *plNumRings);
  11717. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForwardType )(
  11718. ITForwardInformation2 * This,
  11719. /* [in] */ long ForwardType,
  11720. /* [in] */ BSTR pDestAddress,
  11721. /* [in] */ BSTR pCallerAddress);
  11722. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeDestination )(
  11723. ITForwardInformation2 * This,
  11724. /* [in] */ long ForwardType,
  11725. /* [retval][out] */ BSTR *ppDestAddress);
  11726. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeCaller )(
  11727. ITForwardInformation2 * This,
  11728. /* [in] */ long Forwardtype,
  11729. /* [retval][out] */ BSTR *ppCallerAddress);
  11730. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetForwardType )(
  11731. ITForwardInformation2 * This,
  11732. /* [in] */ long ForwardType,
  11733. /* [out] */ BSTR *ppDestinationAddress,
  11734. /* [out] */ BSTR *ppCallerAddress);
  11735. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
  11736. ITForwardInformation2 * This);
  11737. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetForwardType2 )(
  11738. ITForwardInformation2 * This,
  11739. /* [in] */ long ForwardType,
  11740. /* [in] */ BSTR pDestAddress,
  11741. /* [in] */ long DestAddressType,
  11742. /* [in] */ BSTR pCallerAddress,
  11743. /* [in] */ long CallerAddressType);
  11744. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *GetForwardType2 )(
  11745. ITForwardInformation2 * This,
  11746. /* [in] */ long ForwardType,
  11747. /* [out] */ BSTR *ppDestinationAddress,
  11748. /* [out] */ long *pDestAddressType,
  11749. /* [out] */ BSTR *ppCallerAddress,
  11750. /* [out] */ long *pCallerAddressType);
  11751. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeDestinationAddressType )(
  11752. ITForwardInformation2 * This,
  11753. /* [in] */ long ForwardType,
  11754. /* [retval][out] */ long *pDestAddressType);
  11755. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ForwardTypeCallerAddressType )(
  11756. ITForwardInformation2 * This,
  11757. /* [in] */ long Forwardtype,
  11758. /* [retval][out] */ long *pCallerAddressType);
  11759. END_INTERFACE
  11760. } ITForwardInformation2Vtbl;
  11761. interface ITForwardInformation2
  11762. {
  11763. CONST_VTBL struct ITForwardInformation2Vtbl *lpVtbl;
  11764. };
  11765. #ifdef COBJMACROS
  11766. #define ITForwardInformation2_QueryInterface(This,riid,ppvObject) \
  11767. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11768. #define ITForwardInformation2_AddRef(This) \
  11769. (This)->lpVtbl -> AddRef(This)
  11770. #define ITForwardInformation2_Release(This) \
  11771. (This)->lpVtbl -> Release(This)
  11772. #define ITForwardInformation2_GetTypeInfoCount(This,pctinfo) \
  11773. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11774. #define ITForwardInformation2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11775. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11776. #define ITForwardInformation2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11777. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11778. #define ITForwardInformation2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11779. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11780. #define ITForwardInformation2_put_NumRingsNoAnswer(This,lNumRings) \
  11781. (This)->lpVtbl -> put_NumRingsNoAnswer(This,lNumRings)
  11782. #define ITForwardInformation2_get_NumRingsNoAnswer(This,plNumRings) \
  11783. (This)->lpVtbl -> get_NumRingsNoAnswer(This,plNumRings)
  11784. #define ITForwardInformation2_SetForwardType(This,ForwardType,pDestAddress,pCallerAddress) \
  11785. (This)->lpVtbl -> SetForwardType(This,ForwardType,pDestAddress,pCallerAddress)
  11786. #define ITForwardInformation2_get_ForwardTypeDestination(This,ForwardType,ppDestAddress) \
  11787. (This)->lpVtbl -> get_ForwardTypeDestination(This,ForwardType,ppDestAddress)
  11788. #define ITForwardInformation2_get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress) \
  11789. (This)->lpVtbl -> get_ForwardTypeCaller(This,Forwardtype,ppCallerAddress)
  11790. #define ITForwardInformation2_GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress) \
  11791. (This)->lpVtbl -> GetForwardType(This,ForwardType,ppDestinationAddress,ppCallerAddress)
  11792. #define ITForwardInformation2_Clear(This) \
  11793. (This)->lpVtbl -> Clear(This)
  11794. #define ITForwardInformation2_SetForwardType2(This,ForwardType,pDestAddress,DestAddressType,pCallerAddress,CallerAddressType) \
  11795. (This)->lpVtbl -> SetForwardType2(This,ForwardType,pDestAddress,DestAddressType,pCallerAddress,CallerAddressType)
  11796. #define ITForwardInformation2_GetForwardType2(This,ForwardType,ppDestinationAddress,pDestAddressType,ppCallerAddress,pCallerAddressType) \
  11797. (This)->lpVtbl -> GetForwardType2(This,ForwardType,ppDestinationAddress,pDestAddressType,ppCallerAddress,pCallerAddressType)
  11798. #define ITForwardInformation2_get_ForwardTypeDestinationAddressType(This,ForwardType,pDestAddressType) \
  11799. (This)->lpVtbl -> get_ForwardTypeDestinationAddressType(This,ForwardType,pDestAddressType)
  11800. #define ITForwardInformation2_get_ForwardTypeCallerAddressType(This,Forwardtype,pCallerAddressType) \
  11801. (This)->lpVtbl -> get_ForwardTypeCallerAddressType(This,Forwardtype,pCallerAddressType)
  11802. #endif /* COBJMACROS */
  11803. #endif /* C style interface */
  11804. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_SetForwardType2_Proxy(
  11805. ITForwardInformation2 * This,
  11806. /* [in] */ long ForwardType,
  11807. /* [in] */ BSTR pDestAddress,
  11808. /* [in] */ long DestAddressType,
  11809. /* [in] */ BSTR pCallerAddress,
  11810. /* [in] */ long CallerAddressType);
  11811. void __RPC_STUB ITForwardInformation2_SetForwardType2_Stub(
  11812. IRpcStubBuffer *This,
  11813. IRpcChannelBuffer *_pRpcChannelBuffer,
  11814. PRPC_MESSAGE _pRpcMessage,
  11815. DWORD *_pdwStubPhase);
  11816. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_GetForwardType2_Proxy(
  11817. ITForwardInformation2 * This,
  11818. /* [in] */ long ForwardType,
  11819. /* [out] */ BSTR *ppDestinationAddress,
  11820. /* [out] */ long *pDestAddressType,
  11821. /* [out] */ BSTR *ppCallerAddress,
  11822. /* [out] */ long *pCallerAddressType);
  11823. void __RPC_STUB ITForwardInformation2_GetForwardType2_Stub(
  11824. IRpcStubBuffer *This,
  11825. IRpcChannelBuffer *_pRpcChannelBuffer,
  11826. PRPC_MESSAGE _pRpcMessage,
  11827. DWORD *_pdwStubPhase);
  11828. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_get_ForwardTypeDestinationAddressType_Proxy(
  11829. ITForwardInformation2 * This,
  11830. /* [in] */ long ForwardType,
  11831. /* [retval][out] */ long *pDestAddressType);
  11832. void __RPC_STUB ITForwardInformation2_get_ForwardTypeDestinationAddressType_Stub(
  11833. IRpcStubBuffer *This,
  11834. IRpcChannelBuffer *_pRpcChannelBuffer,
  11835. PRPC_MESSAGE _pRpcMessage,
  11836. DWORD *_pdwStubPhase);
  11837. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITForwardInformation2_get_ForwardTypeCallerAddressType_Proxy(
  11838. ITForwardInformation2 * This,
  11839. /* [in] */ long Forwardtype,
  11840. /* [retval][out] */ long *pCallerAddressType);
  11841. void __RPC_STUB ITForwardInformation2_get_ForwardTypeCallerAddressType_Stub(
  11842. IRpcStubBuffer *This,
  11843. IRpcChannelBuffer *_pRpcChannelBuffer,
  11844. PRPC_MESSAGE _pRpcMessage,
  11845. DWORD *_pdwStubPhase);
  11846. #endif /* __ITForwardInformation2_INTERFACE_DEFINED__ */
  11847. #ifndef __ITAddressTranslation_INTERFACE_DEFINED__
  11848. #define __ITAddressTranslation_INTERFACE_DEFINED__
  11849. /* interface ITAddressTranslation */
  11850. /* [object][dual][helpstring][uuid] */
  11851. EXTERN_C const IID IID_ITAddressTranslation;
  11852. #if defined(__cplusplus) && !defined(CINTERFACE)
  11853. MIDL_INTERFACE("0C4D8F03-8DDB-11d1-A09E-00805FC147D3")
  11854. ITAddressTranslation : public IDispatch
  11855. {
  11856. public:
  11857. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TranslateAddress(
  11858. /* [in] */ BSTR pAddressToTranslate,
  11859. /* [in] */ long lCard,
  11860. /* [in] */ long lTranslateOptions,
  11861. /* [retval][out] */ ITAddressTranslationInfo **ppTranslated) = 0;
  11862. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE TranslateDialog(
  11863. /* [in] */ TAPIHWND hwndOwner,
  11864. /* [in] */ BSTR pAddressIn) = 0;
  11865. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateLocations(
  11866. /* [retval][out] */ IEnumLocation **ppEnumLocation) = 0;
  11867. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Locations(
  11868. /* [retval][out] */ VARIANT *pVariant) = 0;
  11869. virtual /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateCallingCards(
  11870. /* [retval][out] */ IEnumCallingCard **ppEnumCallingCard) = 0;
  11871. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallingCards(
  11872. /* [retval][out] */ VARIANT *pVariant) = 0;
  11873. };
  11874. #else /* C style interface */
  11875. typedef struct ITAddressTranslationVtbl
  11876. {
  11877. BEGIN_INTERFACE
  11878. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  11879. ITAddressTranslation * This,
  11880. /* [in] */ REFIID riid,
  11881. /* [iid_is][out] */ void **ppvObject);
  11882. ULONG ( STDMETHODCALLTYPE *AddRef )(
  11883. ITAddressTranslation * This);
  11884. ULONG ( STDMETHODCALLTYPE *Release )(
  11885. ITAddressTranslation * This);
  11886. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  11887. ITAddressTranslation * This,
  11888. /* [out] */ UINT *pctinfo);
  11889. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  11890. ITAddressTranslation * This,
  11891. /* [in] */ UINT iTInfo,
  11892. /* [in] */ LCID lcid,
  11893. /* [out] */ ITypeInfo **ppTInfo);
  11894. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  11895. ITAddressTranslation * This,
  11896. /* [in] */ REFIID riid,
  11897. /* [size_is][in] */ LPOLESTR *rgszNames,
  11898. /* [in] */ UINT cNames,
  11899. /* [in] */ LCID lcid,
  11900. /* [size_is][out] */ DISPID *rgDispId);
  11901. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  11902. ITAddressTranslation * This,
  11903. /* [in] */ DISPID dispIdMember,
  11904. /* [in] */ REFIID riid,
  11905. /* [in] */ LCID lcid,
  11906. /* [in] */ WORD wFlags,
  11907. /* [out][in] */ DISPPARAMS *pDispParams,
  11908. /* [out] */ VARIANT *pVarResult,
  11909. /* [out] */ EXCEPINFO *pExcepInfo,
  11910. /* [out] */ UINT *puArgErr);
  11911. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TranslateAddress )(
  11912. ITAddressTranslation * This,
  11913. /* [in] */ BSTR pAddressToTranslate,
  11914. /* [in] */ long lCard,
  11915. /* [in] */ long lTranslateOptions,
  11916. /* [retval][out] */ ITAddressTranslationInfo **ppTranslated);
  11917. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *TranslateDialog )(
  11918. ITAddressTranslation * This,
  11919. /* [in] */ TAPIHWND hwndOwner,
  11920. /* [in] */ BSTR pAddressIn);
  11921. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateLocations )(
  11922. ITAddressTranslation * This,
  11923. /* [retval][out] */ IEnumLocation **ppEnumLocation);
  11924. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Locations )(
  11925. ITAddressTranslation * This,
  11926. /* [retval][out] */ VARIANT *pVariant);
  11927. /* [helpstring][hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateCallingCards )(
  11928. ITAddressTranslation * This,
  11929. /* [retval][out] */ IEnumCallingCard **ppEnumCallingCard);
  11930. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallingCards )(
  11931. ITAddressTranslation * This,
  11932. /* [retval][out] */ VARIANT *pVariant);
  11933. END_INTERFACE
  11934. } ITAddressTranslationVtbl;
  11935. interface ITAddressTranslation
  11936. {
  11937. CONST_VTBL struct ITAddressTranslationVtbl *lpVtbl;
  11938. };
  11939. #ifdef COBJMACROS
  11940. #define ITAddressTranslation_QueryInterface(This,riid,ppvObject) \
  11941. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  11942. #define ITAddressTranslation_AddRef(This) \
  11943. (This)->lpVtbl -> AddRef(This)
  11944. #define ITAddressTranslation_Release(This) \
  11945. (This)->lpVtbl -> Release(This)
  11946. #define ITAddressTranslation_GetTypeInfoCount(This,pctinfo) \
  11947. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  11948. #define ITAddressTranslation_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  11949. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  11950. #define ITAddressTranslation_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  11951. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  11952. #define ITAddressTranslation_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  11953. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  11954. #define ITAddressTranslation_TranslateAddress(This,pAddressToTranslate,lCard,lTranslateOptions,ppTranslated) \
  11955. (This)->lpVtbl -> TranslateAddress(This,pAddressToTranslate,lCard,lTranslateOptions,ppTranslated)
  11956. #define ITAddressTranslation_TranslateDialog(This,hwndOwner,pAddressIn) \
  11957. (This)->lpVtbl -> TranslateDialog(This,hwndOwner,pAddressIn)
  11958. #define ITAddressTranslation_EnumerateLocations(This,ppEnumLocation) \
  11959. (This)->lpVtbl -> EnumerateLocations(This,ppEnumLocation)
  11960. #define ITAddressTranslation_get_Locations(This,pVariant) \
  11961. (This)->lpVtbl -> get_Locations(This,pVariant)
  11962. #define ITAddressTranslation_EnumerateCallingCards(This,ppEnumCallingCard) \
  11963. (This)->lpVtbl -> EnumerateCallingCards(This,ppEnumCallingCard)
  11964. #define ITAddressTranslation_get_CallingCards(This,pVariant) \
  11965. (This)->lpVtbl -> get_CallingCards(This,pVariant)
  11966. #endif /* COBJMACROS */
  11967. #endif /* C style interface */
  11968. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_TranslateAddress_Proxy(
  11969. ITAddressTranslation * This,
  11970. /* [in] */ BSTR pAddressToTranslate,
  11971. /* [in] */ long lCard,
  11972. /* [in] */ long lTranslateOptions,
  11973. /* [retval][out] */ ITAddressTranslationInfo **ppTranslated);
  11974. void __RPC_STUB ITAddressTranslation_TranslateAddress_Stub(
  11975. IRpcStubBuffer *This,
  11976. IRpcChannelBuffer *_pRpcChannelBuffer,
  11977. PRPC_MESSAGE _pRpcMessage,
  11978. DWORD *_pdwStubPhase);
  11979. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_TranslateDialog_Proxy(
  11980. ITAddressTranslation * This,
  11981. /* [in] */ TAPIHWND hwndOwner,
  11982. /* [in] */ BSTR pAddressIn);
  11983. void __RPC_STUB ITAddressTranslation_TranslateDialog_Stub(
  11984. IRpcStubBuffer *This,
  11985. IRpcChannelBuffer *_pRpcChannelBuffer,
  11986. PRPC_MESSAGE _pRpcMessage,
  11987. DWORD *_pdwStubPhase);
  11988. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_EnumerateLocations_Proxy(
  11989. ITAddressTranslation * This,
  11990. /* [retval][out] */ IEnumLocation **ppEnumLocation);
  11991. void __RPC_STUB ITAddressTranslation_EnumerateLocations_Stub(
  11992. IRpcStubBuffer *This,
  11993. IRpcChannelBuffer *_pRpcChannelBuffer,
  11994. PRPC_MESSAGE _pRpcMessage,
  11995. DWORD *_pdwStubPhase);
  11996. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_get_Locations_Proxy(
  11997. ITAddressTranslation * This,
  11998. /* [retval][out] */ VARIANT *pVariant);
  11999. void __RPC_STUB ITAddressTranslation_get_Locations_Stub(
  12000. IRpcStubBuffer *This,
  12001. IRpcChannelBuffer *_pRpcChannelBuffer,
  12002. PRPC_MESSAGE _pRpcMessage,
  12003. DWORD *_pdwStubPhase);
  12004. /* [helpstring][hidden][id] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_EnumerateCallingCards_Proxy(
  12005. ITAddressTranslation * This,
  12006. /* [retval][out] */ IEnumCallingCard **ppEnumCallingCard);
  12007. void __RPC_STUB ITAddressTranslation_EnumerateCallingCards_Stub(
  12008. IRpcStubBuffer *This,
  12009. IRpcChannelBuffer *_pRpcChannelBuffer,
  12010. PRPC_MESSAGE _pRpcMessage,
  12011. DWORD *_pdwStubPhase);
  12012. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslation_get_CallingCards_Proxy(
  12013. ITAddressTranslation * This,
  12014. /* [retval][out] */ VARIANT *pVariant);
  12015. void __RPC_STUB ITAddressTranslation_get_CallingCards_Stub(
  12016. IRpcStubBuffer *This,
  12017. IRpcChannelBuffer *_pRpcChannelBuffer,
  12018. PRPC_MESSAGE _pRpcMessage,
  12019. DWORD *_pdwStubPhase);
  12020. #endif /* __ITAddressTranslation_INTERFACE_DEFINED__ */
  12021. #ifndef __ITAddressTranslationInfo_INTERFACE_DEFINED__
  12022. #define __ITAddressTranslationInfo_INTERFACE_DEFINED__
  12023. /* interface ITAddressTranslationInfo */
  12024. /* [object][dual][helpstring][uuid] */
  12025. EXTERN_C const IID IID_ITAddressTranslationInfo;
  12026. #if defined(__cplusplus) && !defined(CINTERFACE)
  12027. MIDL_INTERFACE("AFC15945-8D40-11d1-A09E-00805FC147D3")
  12028. ITAddressTranslationInfo : public IDispatch
  12029. {
  12030. public:
  12031. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DialableString(
  12032. /* [retval][out] */ BSTR *ppDialableString) = 0;
  12033. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DisplayableString(
  12034. /* [retval][out] */ BSTR *ppDisplayableString) = 0;
  12035. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CurrentCountryCode(
  12036. /* [retval][out] */ long *CountryCode) = 0;
  12037. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DestinationCountryCode(
  12038. /* [retval][out] */ long *CountryCode) = 0;
  12039. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TranslationResults(
  12040. /* [retval][out] */ long *plResults) = 0;
  12041. };
  12042. #else /* C style interface */
  12043. typedef struct ITAddressTranslationInfoVtbl
  12044. {
  12045. BEGIN_INTERFACE
  12046. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12047. ITAddressTranslationInfo * This,
  12048. /* [in] */ REFIID riid,
  12049. /* [iid_is][out] */ void **ppvObject);
  12050. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12051. ITAddressTranslationInfo * This);
  12052. ULONG ( STDMETHODCALLTYPE *Release )(
  12053. ITAddressTranslationInfo * This);
  12054. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  12055. ITAddressTranslationInfo * This,
  12056. /* [out] */ UINT *pctinfo);
  12057. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  12058. ITAddressTranslationInfo * This,
  12059. /* [in] */ UINT iTInfo,
  12060. /* [in] */ LCID lcid,
  12061. /* [out] */ ITypeInfo **ppTInfo);
  12062. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  12063. ITAddressTranslationInfo * This,
  12064. /* [in] */ REFIID riid,
  12065. /* [size_is][in] */ LPOLESTR *rgszNames,
  12066. /* [in] */ UINT cNames,
  12067. /* [in] */ LCID lcid,
  12068. /* [size_is][out] */ DISPID *rgDispId);
  12069. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  12070. ITAddressTranslationInfo * This,
  12071. /* [in] */ DISPID dispIdMember,
  12072. /* [in] */ REFIID riid,
  12073. /* [in] */ LCID lcid,
  12074. /* [in] */ WORD wFlags,
  12075. /* [out][in] */ DISPPARAMS *pDispParams,
  12076. /* [out] */ VARIANT *pVarResult,
  12077. /* [out] */ EXCEPINFO *pExcepInfo,
  12078. /* [out] */ UINT *puArgErr);
  12079. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DialableString )(
  12080. ITAddressTranslationInfo * This,
  12081. /* [retval][out] */ BSTR *ppDialableString);
  12082. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayableString )(
  12083. ITAddressTranslationInfo * This,
  12084. /* [retval][out] */ BSTR *ppDisplayableString);
  12085. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentCountryCode )(
  12086. ITAddressTranslationInfo * This,
  12087. /* [retval][out] */ long *CountryCode);
  12088. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DestinationCountryCode )(
  12089. ITAddressTranslationInfo * This,
  12090. /* [retval][out] */ long *CountryCode);
  12091. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TranslationResults )(
  12092. ITAddressTranslationInfo * This,
  12093. /* [retval][out] */ long *plResults);
  12094. END_INTERFACE
  12095. } ITAddressTranslationInfoVtbl;
  12096. interface ITAddressTranslationInfo
  12097. {
  12098. CONST_VTBL struct ITAddressTranslationInfoVtbl *lpVtbl;
  12099. };
  12100. #ifdef COBJMACROS
  12101. #define ITAddressTranslationInfo_QueryInterface(This,riid,ppvObject) \
  12102. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12103. #define ITAddressTranslationInfo_AddRef(This) \
  12104. (This)->lpVtbl -> AddRef(This)
  12105. #define ITAddressTranslationInfo_Release(This) \
  12106. (This)->lpVtbl -> Release(This)
  12107. #define ITAddressTranslationInfo_GetTypeInfoCount(This,pctinfo) \
  12108. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  12109. #define ITAddressTranslationInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  12110. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  12111. #define ITAddressTranslationInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  12112. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  12113. #define ITAddressTranslationInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  12114. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  12115. #define ITAddressTranslationInfo_get_DialableString(This,ppDialableString) \
  12116. (This)->lpVtbl -> get_DialableString(This,ppDialableString)
  12117. #define ITAddressTranslationInfo_get_DisplayableString(This,ppDisplayableString) \
  12118. (This)->lpVtbl -> get_DisplayableString(This,ppDisplayableString)
  12119. #define ITAddressTranslationInfo_get_CurrentCountryCode(This,CountryCode) \
  12120. (This)->lpVtbl -> get_CurrentCountryCode(This,CountryCode)
  12121. #define ITAddressTranslationInfo_get_DestinationCountryCode(This,CountryCode) \
  12122. (This)->lpVtbl -> get_DestinationCountryCode(This,CountryCode)
  12123. #define ITAddressTranslationInfo_get_TranslationResults(This,plResults) \
  12124. (This)->lpVtbl -> get_TranslationResults(This,plResults)
  12125. #endif /* COBJMACROS */
  12126. #endif /* C style interface */
  12127. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_DialableString_Proxy(
  12128. ITAddressTranslationInfo * This,
  12129. /* [retval][out] */ BSTR *ppDialableString);
  12130. void __RPC_STUB ITAddressTranslationInfo_get_DialableString_Stub(
  12131. IRpcStubBuffer *This,
  12132. IRpcChannelBuffer *_pRpcChannelBuffer,
  12133. PRPC_MESSAGE _pRpcMessage,
  12134. DWORD *_pdwStubPhase);
  12135. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_DisplayableString_Proxy(
  12136. ITAddressTranslationInfo * This,
  12137. /* [retval][out] */ BSTR *ppDisplayableString);
  12138. void __RPC_STUB ITAddressTranslationInfo_get_DisplayableString_Stub(
  12139. IRpcStubBuffer *This,
  12140. IRpcChannelBuffer *_pRpcChannelBuffer,
  12141. PRPC_MESSAGE _pRpcMessage,
  12142. DWORD *_pdwStubPhase);
  12143. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_CurrentCountryCode_Proxy(
  12144. ITAddressTranslationInfo * This,
  12145. /* [retval][out] */ long *CountryCode);
  12146. void __RPC_STUB ITAddressTranslationInfo_get_CurrentCountryCode_Stub(
  12147. IRpcStubBuffer *This,
  12148. IRpcChannelBuffer *_pRpcChannelBuffer,
  12149. PRPC_MESSAGE _pRpcMessage,
  12150. DWORD *_pdwStubPhase);
  12151. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_DestinationCountryCode_Proxy(
  12152. ITAddressTranslationInfo * This,
  12153. /* [retval][out] */ long *CountryCode);
  12154. void __RPC_STUB ITAddressTranslationInfo_get_DestinationCountryCode_Stub(
  12155. IRpcStubBuffer *This,
  12156. IRpcChannelBuffer *_pRpcChannelBuffer,
  12157. PRPC_MESSAGE _pRpcMessage,
  12158. DWORD *_pdwStubPhase);
  12159. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITAddressTranslationInfo_get_TranslationResults_Proxy(
  12160. ITAddressTranslationInfo * This,
  12161. /* [retval][out] */ long *plResults);
  12162. void __RPC_STUB ITAddressTranslationInfo_get_TranslationResults_Stub(
  12163. IRpcStubBuffer *This,
  12164. IRpcChannelBuffer *_pRpcChannelBuffer,
  12165. PRPC_MESSAGE _pRpcMessage,
  12166. DWORD *_pdwStubPhase);
  12167. #endif /* __ITAddressTranslationInfo_INTERFACE_DEFINED__ */
  12168. #ifndef __ITLocationInfo_INTERFACE_DEFINED__
  12169. #define __ITLocationInfo_INTERFACE_DEFINED__
  12170. /* interface ITLocationInfo */
  12171. /* [object][dual][helpstring][uuid] */
  12172. EXTERN_C const IID IID_ITLocationInfo;
  12173. #if defined(__cplusplus) && !defined(CINTERFACE)
  12174. MIDL_INTERFACE("0C4D8EFF-8DDB-11d1-A09E-00805FC147D3")
  12175. ITLocationInfo : public IDispatch
  12176. {
  12177. public:
  12178. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PermanentLocationID(
  12179. /* [retval][out] */ long *plLocationID) = 0;
  12180. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CountryCode(
  12181. /* [retval][out] */ long *plCountryCode) = 0;
  12182. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CountryID(
  12183. /* [retval][out] */ long *plCountryID) = 0;
  12184. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options(
  12185. /* [retval][out] */ long *plOptions) = 0;
  12186. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PreferredCardID(
  12187. /* [retval][out] */ long *plCardID) = 0;
  12188. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LocationName(
  12189. /* [retval][out] */ BSTR *ppLocationName) = 0;
  12190. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CityCode(
  12191. /* [retval][out] */ BSTR *ppCode) = 0;
  12192. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LocalAccessCode(
  12193. /* [retval][out] */ BSTR *ppCode) = 0;
  12194. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongDistanceAccessCode(
  12195. /* [retval][out] */ BSTR *ppCode) = 0;
  12196. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TollPrefixList(
  12197. /* [retval][out] */ BSTR *ppTollList) = 0;
  12198. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CancelCallWaitingCode(
  12199. /* [retval][out] */ BSTR *ppCode) = 0;
  12200. };
  12201. #else /* C style interface */
  12202. typedef struct ITLocationInfoVtbl
  12203. {
  12204. BEGIN_INTERFACE
  12205. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12206. ITLocationInfo * This,
  12207. /* [in] */ REFIID riid,
  12208. /* [iid_is][out] */ void **ppvObject);
  12209. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12210. ITLocationInfo * This);
  12211. ULONG ( STDMETHODCALLTYPE *Release )(
  12212. ITLocationInfo * This);
  12213. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  12214. ITLocationInfo * This,
  12215. /* [out] */ UINT *pctinfo);
  12216. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  12217. ITLocationInfo * This,
  12218. /* [in] */ UINT iTInfo,
  12219. /* [in] */ LCID lcid,
  12220. /* [out] */ ITypeInfo **ppTInfo);
  12221. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  12222. ITLocationInfo * This,
  12223. /* [in] */ REFIID riid,
  12224. /* [size_is][in] */ LPOLESTR *rgszNames,
  12225. /* [in] */ UINT cNames,
  12226. /* [in] */ LCID lcid,
  12227. /* [size_is][out] */ DISPID *rgDispId);
  12228. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  12229. ITLocationInfo * This,
  12230. /* [in] */ DISPID dispIdMember,
  12231. /* [in] */ REFIID riid,
  12232. /* [in] */ LCID lcid,
  12233. /* [in] */ WORD wFlags,
  12234. /* [out][in] */ DISPPARAMS *pDispParams,
  12235. /* [out] */ VARIANT *pVarResult,
  12236. /* [out] */ EXCEPINFO *pExcepInfo,
  12237. /* [out] */ UINT *puArgErr);
  12238. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PermanentLocationID )(
  12239. ITLocationInfo * This,
  12240. /* [retval][out] */ long *plLocationID);
  12241. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CountryCode )(
  12242. ITLocationInfo * This,
  12243. /* [retval][out] */ long *plCountryCode);
  12244. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CountryID )(
  12245. ITLocationInfo * This,
  12246. /* [retval][out] */ long *plCountryID);
  12247. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )(
  12248. ITLocationInfo * This,
  12249. /* [retval][out] */ long *plOptions);
  12250. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PreferredCardID )(
  12251. ITLocationInfo * This,
  12252. /* [retval][out] */ long *plCardID);
  12253. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocationName )(
  12254. ITLocationInfo * This,
  12255. /* [retval][out] */ BSTR *ppLocationName);
  12256. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CityCode )(
  12257. ITLocationInfo * This,
  12258. /* [retval][out] */ BSTR *ppCode);
  12259. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LocalAccessCode )(
  12260. ITLocationInfo * This,
  12261. /* [retval][out] */ BSTR *ppCode);
  12262. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongDistanceAccessCode )(
  12263. ITLocationInfo * This,
  12264. /* [retval][out] */ BSTR *ppCode);
  12265. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TollPrefixList )(
  12266. ITLocationInfo * This,
  12267. /* [retval][out] */ BSTR *ppTollList);
  12268. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CancelCallWaitingCode )(
  12269. ITLocationInfo * This,
  12270. /* [retval][out] */ BSTR *ppCode);
  12271. END_INTERFACE
  12272. } ITLocationInfoVtbl;
  12273. interface ITLocationInfo
  12274. {
  12275. CONST_VTBL struct ITLocationInfoVtbl *lpVtbl;
  12276. };
  12277. #ifdef COBJMACROS
  12278. #define ITLocationInfo_QueryInterface(This,riid,ppvObject) \
  12279. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12280. #define ITLocationInfo_AddRef(This) \
  12281. (This)->lpVtbl -> AddRef(This)
  12282. #define ITLocationInfo_Release(This) \
  12283. (This)->lpVtbl -> Release(This)
  12284. #define ITLocationInfo_GetTypeInfoCount(This,pctinfo) \
  12285. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  12286. #define ITLocationInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  12287. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  12288. #define ITLocationInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  12289. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  12290. #define ITLocationInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  12291. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  12292. #define ITLocationInfo_get_PermanentLocationID(This,plLocationID) \
  12293. (This)->lpVtbl -> get_PermanentLocationID(This,plLocationID)
  12294. #define ITLocationInfo_get_CountryCode(This,plCountryCode) \
  12295. (This)->lpVtbl -> get_CountryCode(This,plCountryCode)
  12296. #define ITLocationInfo_get_CountryID(This,plCountryID) \
  12297. (This)->lpVtbl -> get_CountryID(This,plCountryID)
  12298. #define ITLocationInfo_get_Options(This,plOptions) \
  12299. (This)->lpVtbl -> get_Options(This,plOptions)
  12300. #define ITLocationInfo_get_PreferredCardID(This,plCardID) \
  12301. (This)->lpVtbl -> get_PreferredCardID(This,plCardID)
  12302. #define ITLocationInfo_get_LocationName(This,ppLocationName) \
  12303. (This)->lpVtbl -> get_LocationName(This,ppLocationName)
  12304. #define ITLocationInfo_get_CityCode(This,ppCode) \
  12305. (This)->lpVtbl -> get_CityCode(This,ppCode)
  12306. #define ITLocationInfo_get_LocalAccessCode(This,ppCode) \
  12307. (This)->lpVtbl -> get_LocalAccessCode(This,ppCode)
  12308. #define ITLocationInfo_get_LongDistanceAccessCode(This,ppCode) \
  12309. (This)->lpVtbl -> get_LongDistanceAccessCode(This,ppCode)
  12310. #define ITLocationInfo_get_TollPrefixList(This,ppTollList) \
  12311. (This)->lpVtbl -> get_TollPrefixList(This,ppTollList)
  12312. #define ITLocationInfo_get_CancelCallWaitingCode(This,ppCode) \
  12313. (This)->lpVtbl -> get_CancelCallWaitingCode(This,ppCode)
  12314. #endif /* COBJMACROS */
  12315. #endif /* C style interface */
  12316. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_PermanentLocationID_Proxy(
  12317. ITLocationInfo * This,
  12318. /* [retval][out] */ long *plLocationID);
  12319. void __RPC_STUB ITLocationInfo_get_PermanentLocationID_Stub(
  12320. IRpcStubBuffer *This,
  12321. IRpcChannelBuffer *_pRpcChannelBuffer,
  12322. PRPC_MESSAGE _pRpcMessage,
  12323. DWORD *_pdwStubPhase);
  12324. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CountryCode_Proxy(
  12325. ITLocationInfo * This,
  12326. /* [retval][out] */ long *plCountryCode);
  12327. void __RPC_STUB ITLocationInfo_get_CountryCode_Stub(
  12328. IRpcStubBuffer *This,
  12329. IRpcChannelBuffer *_pRpcChannelBuffer,
  12330. PRPC_MESSAGE _pRpcMessage,
  12331. DWORD *_pdwStubPhase);
  12332. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CountryID_Proxy(
  12333. ITLocationInfo * This,
  12334. /* [retval][out] */ long *plCountryID);
  12335. void __RPC_STUB ITLocationInfo_get_CountryID_Stub(
  12336. IRpcStubBuffer *This,
  12337. IRpcChannelBuffer *_pRpcChannelBuffer,
  12338. PRPC_MESSAGE _pRpcMessage,
  12339. DWORD *_pdwStubPhase);
  12340. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_Options_Proxy(
  12341. ITLocationInfo * This,
  12342. /* [retval][out] */ long *plOptions);
  12343. void __RPC_STUB ITLocationInfo_get_Options_Stub(
  12344. IRpcStubBuffer *This,
  12345. IRpcChannelBuffer *_pRpcChannelBuffer,
  12346. PRPC_MESSAGE _pRpcMessage,
  12347. DWORD *_pdwStubPhase);
  12348. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_PreferredCardID_Proxy(
  12349. ITLocationInfo * This,
  12350. /* [retval][out] */ long *plCardID);
  12351. void __RPC_STUB ITLocationInfo_get_PreferredCardID_Stub(
  12352. IRpcStubBuffer *This,
  12353. IRpcChannelBuffer *_pRpcChannelBuffer,
  12354. PRPC_MESSAGE _pRpcMessage,
  12355. DWORD *_pdwStubPhase);
  12356. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_LocationName_Proxy(
  12357. ITLocationInfo * This,
  12358. /* [retval][out] */ BSTR *ppLocationName);
  12359. void __RPC_STUB ITLocationInfo_get_LocationName_Stub(
  12360. IRpcStubBuffer *This,
  12361. IRpcChannelBuffer *_pRpcChannelBuffer,
  12362. PRPC_MESSAGE _pRpcMessage,
  12363. DWORD *_pdwStubPhase);
  12364. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CityCode_Proxy(
  12365. ITLocationInfo * This,
  12366. /* [retval][out] */ BSTR *ppCode);
  12367. void __RPC_STUB ITLocationInfo_get_CityCode_Stub(
  12368. IRpcStubBuffer *This,
  12369. IRpcChannelBuffer *_pRpcChannelBuffer,
  12370. PRPC_MESSAGE _pRpcMessage,
  12371. DWORD *_pdwStubPhase);
  12372. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_LocalAccessCode_Proxy(
  12373. ITLocationInfo * This,
  12374. /* [retval][out] */ BSTR *ppCode);
  12375. void __RPC_STUB ITLocationInfo_get_LocalAccessCode_Stub(
  12376. IRpcStubBuffer *This,
  12377. IRpcChannelBuffer *_pRpcChannelBuffer,
  12378. PRPC_MESSAGE _pRpcMessage,
  12379. DWORD *_pdwStubPhase);
  12380. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_LongDistanceAccessCode_Proxy(
  12381. ITLocationInfo * This,
  12382. /* [retval][out] */ BSTR *ppCode);
  12383. void __RPC_STUB ITLocationInfo_get_LongDistanceAccessCode_Stub(
  12384. IRpcStubBuffer *This,
  12385. IRpcChannelBuffer *_pRpcChannelBuffer,
  12386. PRPC_MESSAGE _pRpcMessage,
  12387. DWORD *_pdwStubPhase);
  12388. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_TollPrefixList_Proxy(
  12389. ITLocationInfo * This,
  12390. /* [retval][out] */ BSTR *ppTollList);
  12391. void __RPC_STUB ITLocationInfo_get_TollPrefixList_Stub(
  12392. IRpcStubBuffer *This,
  12393. IRpcChannelBuffer *_pRpcChannelBuffer,
  12394. PRPC_MESSAGE _pRpcMessage,
  12395. DWORD *_pdwStubPhase);
  12396. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITLocationInfo_get_CancelCallWaitingCode_Proxy(
  12397. ITLocationInfo * This,
  12398. /* [retval][out] */ BSTR *ppCode);
  12399. void __RPC_STUB ITLocationInfo_get_CancelCallWaitingCode_Stub(
  12400. IRpcStubBuffer *This,
  12401. IRpcChannelBuffer *_pRpcChannelBuffer,
  12402. PRPC_MESSAGE _pRpcMessage,
  12403. DWORD *_pdwStubPhase);
  12404. #endif /* __ITLocationInfo_INTERFACE_DEFINED__ */
  12405. #ifndef __IEnumLocation_INTERFACE_DEFINED__
  12406. #define __IEnumLocation_INTERFACE_DEFINED__
  12407. /* interface IEnumLocation */
  12408. /* [object][unique][hidden][helpstring][uuid] */
  12409. EXTERN_C const IID IID_IEnumLocation;
  12410. #if defined(__cplusplus) && !defined(CINTERFACE)
  12411. MIDL_INTERFACE("0C4D8F01-8DDB-11d1-A09E-00805FC147D3")
  12412. IEnumLocation : public IUnknown
  12413. {
  12414. public:
  12415. virtual HRESULT STDMETHODCALLTYPE Next(
  12416. /* [in] */ ULONG celt,
  12417. /* [out] */ ITLocationInfo **ppElements,
  12418. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  12419. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  12420. virtual HRESULT STDMETHODCALLTYPE Skip(
  12421. /* [in] */ ULONG celt) = 0;
  12422. virtual HRESULT STDMETHODCALLTYPE Clone(
  12423. /* [retval][out] */ IEnumLocation **ppEnum) = 0;
  12424. };
  12425. #else /* C style interface */
  12426. typedef struct IEnumLocationVtbl
  12427. {
  12428. BEGIN_INTERFACE
  12429. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12430. IEnumLocation * This,
  12431. /* [in] */ REFIID riid,
  12432. /* [iid_is][out] */ void **ppvObject);
  12433. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12434. IEnumLocation * This);
  12435. ULONG ( STDMETHODCALLTYPE *Release )(
  12436. IEnumLocation * This);
  12437. HRESULT ( STDMETHODCALLTYPE *Next )(
  12438. IEnumLocation * This,
  12439. /* [in] */ ULONG celt,
  12440. /* [out] */ ITLocationInfo **ppElements,
  12441. /* [full][out][in] */ ULONG *pceltFetched);
  12442. HRESULT ( STDMETHODCALLTYPE *Reset )(
  12443. IEnumLocation * This);
  12444. HRESULT ( STDMETHODCALLTYPE *Skip )(
  12445. IEnumLocation * This,
  12446. /* [in] */ ULONG celt);
  12447. HRESULT ( STDMETHODCALLTYPE *Clone )(
  12448. IEnumLocation * This,
  12449. /* [retval][out] */ IEnumLocation **ppEnum);
  12450. END_INTERFACE
  12451. } IEnumLocationVtbl;
  12452. interface IEnumLocation
  12453. {
  12454. CONST_VTBL struct IEnumLocationVtbl *lpVtbl;
  12455. };
  12456. #ifdef COBJMACROS
  12457. #define IEnumLocation_QueryInterface(This,riid,ppvObject) \
  12458. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12459. #define IEnumLocation_AddRef(This) \
  12460. (This)->lpVtbl -> AddRef(This)
  12461. #define IEnumLocation_Release(This) \
  12462. (This)->lpVtbl -> Release(This)
  12463. #define IEnumLocation_Next(This,celt,ppElements,pceltFetched) \
  12464. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  12465. #define IEnumLocation_Reset(This) \
  12466. (This)->lpVtbl -> Reset(This)
  12467. #define IEnumLocation_Skip(This,celt) \
  12468. (This)->lpVtbl -> Skip(This,celt)
  12469. #define IEnumLocation_Clone(This,ppEnum) \
  12470. (This)->lpVtbl -> Clone(This,ppEnum)
  12471. #endif /* COBJMACROS */
  12472. #endif /* C style interface */
  12473. HRESULT STDMETHODCALLTYPE IEnumLocation_Next_Proxy(
  12474. IEnumLocation * This,
  12475. /* [in] */ ULONG celt,
  12476. /* [out] */ ITLocationInfo **ppElements,
  12477. /* [full][out][in] */ ULONG *pceltFetched);
  12478. void __RPC_STUB IEnumLocation_Next_Stub(
  12479. IRpcStubBuffer *This,
  12480. IRpcChannelBuffer *_pRpcChannelBuffer,
  12481. PRPC_MESSAGE _pRpcMessage,
  12482. DWORD *_pdwStubPhase);
  12483. HRESULT STDMETHODCALLTYPE IEnumLocation_Reset_Proxy(
  12484. IEnumLocation * This);
  12485. void __RPC_STUB IEnumLocation_Reset_Stub(
  12486. IRpcStubBuffer *This,
  12487. IRpcChannelBuffer *_pRpcChannelBuffer,
  12488. PRPC_MESSAGE _pRpcMessage,
  12489. DWORD *_pdwStubPhase);
  12490. HRESULT STDMETHODCALLTYPE IEnumLocation_Skip_Proxy(
  12491. IEnumLocation * This,
  12492. /* [in] */ ULONG celt);
  12493. void __RPC_STUB IEnumLocation_Skip_Stub(
  12494. IRpcStubBuffer *This,
  12495. IRpcChannelBuffer *_pRpcChannelBuffer,
  12496. PRPC_MESSAGE _pRpcMessage,
  12497. DWORD *_pdwStubPhase);
  12498. HRESULT STDMETHODCALLTYPE IEnumLocation_Clone_Proxy(
  12499. IEnumLocation * This,
  12500. /* [retval][out] */ IEnumLocation **ppEnum);
  12501. void __RPC_STUB IEnumLocation_Clone_Stub(
  12502. IRpcStubBuffer *This,
  12503. IRpcChannelBuffer *_pRpcChannelBuffer,
  12504. PRPC_MESSAGE _pRpcMessage,
  12505. DWORD *_pdwStubPhase);
  12506. #endif /* __IEnumLocation_INTERFACE_DEFINED__ */
  12507. #ifndef __ITCallingCard_INTERFACE_DEFINED__
  12508. #define __ITCallingCard_INTERFACE_DEFINED__
  12509. /* interface ITCallingCard */
  12510. /* [object][dual][helpstring][uuid] */
  12511. EXTERN_C const IID IID_ITCallingCard;
  12512. #if defined(__cplusplus) && !defined(CINTERFACE)
  12513. MIDL_INTERFACE("0C4D8F00-8DDB-11d1-A09E-00805FC147D3")
  12514. ITCallingCard : public IDispatch
  12515. {
  12516. public:
  12517. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PermanentCardID(
  12518. /* [retval][out] */ long *plCardID) = 0;
  12519. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_NumberOfDigits(
  12520. /* [retval][out] */ long *plDigits) = 0;
  12521. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Options(
  12522. /* [retval][out] */ long *plOptions) = 0;
  12523. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CardName(
  12524. /* [retval][out] */ BSTR *ppCardName) = 0;
  12525. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SameAreaDialingRule(
  12526. /* [retval][out] */ BSTR *ppRule) = 0;
  12527. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LongDistanceDialingRule(
  12528. /* [retval][out] */ BSTR *ppRule) = 0;
  12529. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_InternationalDialingRule(
  12530. /* [retval][out] */ BSTR *ppRule) = 0;
  12531. };
  12532. #else /* C style interface */
  12533. typedef struct ITCallingCardVtbl
  12534. {
  12535. BEGIN_INTERFACE
  12536. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12537. ITCallingCard * This,
  12538. /* [in] */ REFIID riid,
  12539. /* [iid_is][out] */ void **ppvObject);
  12540. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12541. ITCallingCard * This);
  12542. ULONG ( STDMETHODCALLTYPE *Release )(
  12543. ITCallingCard * This);
  12544. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  12545. ITCallingCard * This,
  12546. /* [out] */ UINT *pctinfo);
  12547. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  12548. ITCallingCard * This,
  12549. /* [in] */ UINT iTInfo,
  12550. /* [in] */ LCID lcid,
  12551. /* [out] */ ITypeInfo **ppTInfo);
  12552. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  12553. ITCallingCard * This,
  12554. /* [in] */ REFIID riid,
  12555. /* [size_is][in] */ LPOLESTR *rgszNames,
  12556. /* [in] */ UINT cNames,
  12557. /* [in] */ LCID lcid,
  12558. /* [size_is][out] */ DISPID *rgDispId);
  12559. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  12560. ITCallingCard * This,
  12561. /* [in] */ DISPID dispIdMember,
  12562. /* [in] */ REFIID riid,
  12563. /* [in] */ LCID lcid,
  12564. /* [in] */ WORD wFlags,
  12565. /* [out][in] */ DISPPARAMS *pDispParams,
  12566. /* [out] */ VARIANT *pVarResult,
  12567. /* [out] */ EXCEPINFO *pExcepInfo,
  12568. /* [out] */ UINT *puArgErr);
  12569. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_PermanentCardID )(
  12570. ITCallingCard * This,
  12571. /* [retval][out] */ long *plCardID);
  12572. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfDigits )(
  12573. ITCallingCard * This,
  12574. /* [retval][out] */ long *plDigits);
  12575. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Options )(
  12576. ITCallingCard * This,
  12577. /* [retval][out] */ long *plOptions);
  12578. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CardName )(
  12579. ITCallingCard * This,
  12580. /* [retval][out] */ BSTR *ppCardName);
  12581. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SameAreaDialingRule )(
  12582. ITCallingCard * This,
  12583. /* [retval][out] */ BSTR *ppRule);
  12584. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LongDistanceDialingRule )(
  12585. ITCallingCard * This,
  12586. /* [retval][out] */ BSTR *ppRule);
  12587. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InternationalDialingRule )(
  12588. ITCallingCard * This,
  12589. /* [retval][out] */ BSTR *ppRule);
  12590. END_INTERFACE
  12591. } ITCallingCardVtbl;
  12592. interface ITCallingCard
  12593. {
  12594. CONST_VTBL struct ITCallingCardVtbl *lpVtbl;
  12595. };
  12596. #ifdef COBJMACROS
  12597. #define ITCallingCard_QueryInterface(This,riid,ppvObject) \
  12598. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12599. #define ITCallingCard_AddRef(This) \
  12600. (This)->lpVtbl -> AddRef(This)
  12601. #define ITCallingCard_Release(This) \
  12602. (This)->lpVtbl -> Release(This)
  12603. #define ITCallingCard_GetTypeInfoCount(This,pctinfo) \
  12604. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  12605. #define ITCallingCard_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  12606. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  12607. #define ITCallingCard_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  12608. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  12609. #define ITCallingCard_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  12610. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  12611. #define ITCallingCard_get_PermanentCardID(This,plCardID) \
  12612. (This)->lpVtbl -> get_PermanentCardID(This,plCardID)
  12613. #define ITCallingCard_get_NumberOfDigits(This,plDigits) \
  12614. (This)->lpVtbl -> get_NumberOfDigits(This,plDigits)
  12615. #define ITCallingCard_get_Options(This,plOptions) \
  12616. (This)->lpVtbl -> get_Options(This,plOptions)
  12617. #define ITCallingCard_get_CardName(This,ppCardName) \
  12618. (This)->lpVtbl -> get_CardName(This,ppCardName)
  12619. #define ITCallingCard_get_SameAreaDialingRule(This,ppRule) \
  12620. (This)->lpVtbl -> get_SameAreaDialingRule(This,ppRule)
  12621. #define ITCallingCard_get_LongDistanceDialingRule(This,ppRule) \
  12622. (This)->lpVtbl -> get_LongDistanceDialingRule(This,ppRule)
  12623. #define ITCallingCard_get_InternationalDialingRule(This,ppRule) \
  12624. (This)->lpVtbl -> get_InternationalDialingRule(This,ppRule)
  12625. #endif /* COBJMACROS */
  12626. #endif /* C style interface */
  12627. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_PermanentCardID_Proxy(
  12628. ITCallingCard * This,
  12629. /* [retval][out] */ long *plCardID);
  12630. void __RPC_STUB ITCallingCard_get_PermanentCardID_Stub(
  12631. IRpcStubBuffer *This,
  12632. IRpcChannelBuffer *_pRpcChannelBuffer,
  12633. PRPC_MESSAGE _pRpcMessage,
  12634. DWORD *_pdwStubPhase);
  12635. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_NumberOfDigits_Proxy(
  12636. ITCallingCard * This,
  12637. /* [retval][out] */ long *plDigits);
  12638. void __RPC_STUB ITCallingCard_get_NumberOfDigits_Stub(
  12639. IRpcStubBuffer *This,
  12640. IRpcChannelBuffer *_pRpcChannelBuffer,
  12641. PRPC_MESSAGE _pRpcMessage,
  12642. DWORD *_pdwStubPhase);
  12643. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_Options_Proxy(
  12644. ITCallingCard * This,
  12645. /* [retval][out] */ long *plOptions);
  12646. void __RPC_STUB ITCallingCard_get_Options_Stub(
  12647. IRpcStubBuffer *This,
  12648. IRpcChannelBuffer *_pRpcChannelBuffer,
  12649. PRPC_MESSAGE _pRpcMessage,
  12650. DWORD *_pdwStubPhase);
  12651. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_CardName_Proxy(
  12652. ITCallingCard * This,
  12653. /* [retval][out] */ BSTR *ppCardName);
  12654. void __RPC_STUB ITCallingCard_get_CardName_Stub(
  12655. IRpcStubBuffer *This,
  12656. IRpcChannelBuffer *_pRpcChannelBuffer,
  12657. PRPC_MESSAGE _pRpcMessage,
  12658. DWORD *_pdwStubPhase);
  12659. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_SameAreaDialingRule_Proxy(
  12660. ITCallingCard * This,
  12661. /* [retval][out] */ BSTR *ppRule);
  12662. void __RPC_STUB ITCallingCard_get_SameAreaDialingRule_Stub(
  12663. IRpcStubBuffer *This,
  12664. IRpcChannelBuffer *_pRpcChannelBuffer,
  12665. PRPC_MESSAGE _pRpcMessage,
  12666. DWORD *_pdwStubPhase);
  12667. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_LongDistanceDialingRule_Proxy(
  12668. ITCallingCard * This,
  12669. /* [retval][out] */ BSTR *ppRule);
  12670. void __RPC_STUB ITCallingCard_get_LongDistanceDialingRule_Stub(
  12671. IRpcStubBuffer *This,
  12672. IRpcChannelBuffer *_pRpcChannelBuffer,
  12673. PRPC_MESSAGE _pRpcMessage,
  12674. DWORD *_pdwStubPhase);
  12675. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallingCard_get_InternationalDialingRule_Proxy(
  12676. ITCallingCard * This,
  12677. /* [retval][out] */ BSTR *ppRule);
  12678. void __RPC_STUB ITCallingCard_get_InternationalDialingRule_Stub(
  12679. IRpcStubBuffer *This,
  12680. IRpcChannelBuffer *_pRpcChannelBuffer,
  12681. PRPC_MESSAGE _pRpcMessage,
  12682. DWORD *_pdwStubPhase);
  12683. #endif /* __ITCallingCard_INTERFACE_DEFINED__ */
  12684. #ifndef __IEnumCallingCard_INTERFACE_DEFINED__
  12685. #define __IEnumCallingCard_INTERFACE_DEFINED__
  12686. /* interface IEnumCallingCard */
  12687. /* [object][unique][hidden][helpstring][uuid] */
  12688. EXTERN_C const IID IID_IEnumCallingCard;
  12689. #if defined(__cplusplus) && !defined(CINTERFACE)
  12690. MIDL_INTERFACE("0C4D8F02-8DDB-11d1-A09E-00805FC147D3")
  12691. IEnumCallingCard : public IUnknown
  12692. {
  12693. public:
  12694. virtual HRESULT STDMETHODCALLTYPE Next(
  12695. /* [in] */ ULONG celt,
  12696. /* [out] */ ITCallingCard **ppElements,
  12697. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  12698. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  12699. virtual HRESULT STDMETHODCALLTYPE Skip(
  12700. /* [in] */ ULONG celt) = 0;
  12701. virtual HRESULT STDMETHODCALLTYPE Clone(
  12702. /* [retval][out] */ IEnumCallingCard **ppEnum) = 0;
  12703. };
  12704. #else /* C style interface */
  12705. typedef struct IEnumCallingCardVtbl
  12706. {
  12707. BEGIN_INTERFACE
  12708. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12709. IEnumCallingCard * This,
  12710. /* [in] */ REFIID riid,
  12711. /* [iid_is][out] */ void **ppvObject);
  12712. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12713. IEnumCallingCard * This);
  12714. ULONG ( STDMETHODCALLTYPE *Release )(
  12715. IEnumCallingCard * This);
  12716. HRESULT ( STDMETHODCALLTYPE *Next )(
  12717. IEnumCallingCard * This,
  12718. /* [in] */ ULONG celt,
  12719. /* [out] */ ITCallingCard **ppElements,
  12720. /* [full][out][in] */ ULONG *pceltFetched);
  12721. HRESULT ( STDMETHODCALLTYPE *Reset )(
  12722. IEnumCallingCard * This);
  12723. HRESULT ( STDMETHODCALLTYPE *Skip )(
  12724. IEnumCallingCard * This,
  12725. /* [in] */ ULONG celt);
  12726. HRESULT ( STDMETHODCALLTYPE *Clone )(
  12727. IEnumCallingCard * This,
  12728. /* [retval][out] */ IEnumCallingCard **ppEnum);
  12729. END_INTERFACE
  12730. } IEnumCallingCardVtbl;
  12731. interface IEnumCallingCard
  12732. {
  12733. CONST_VTBL struct IEnumCallingCardVtbl *lpVtbl;
  12734. };
  12735. #ifdef COBJMACROS
  12736. #define IEnumCallingCard_QueryInterface(This,riid,ppvObject) \
  12737. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12738. #define IEnumCallingCard_AddRef(This) \
  12739. (This)->lpVtbl -> AddRef(This)
  12740. #define IEnumCallingCard_Release(This) \
  12741. (This)->lpVtbl -> Release(This)
  12742. #define IEnumCallingCard_Next(This,celt,ppElements,pceltFetched) \
  12743. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  12744. #define IEnumCallingCard_Reset(This) \
  12745. (This)->lpVtbl -> Reset(This)
  12746. #define IEnumCallingCard_Skip(This,celt) \
  12747. (This)->lpVtbl -> Skip(This,celt)
  12748. #define IEnumCallingCard_Clone(This,ppEnum) \
  12749. (This)->lpVtbl -> Clone(This,ppEnum)
  12750. #endif /* COBJMACROS */
  12751. #endif /* C style interface */
  12752. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Next_Proxy(
  12753. IEnumCallingCard * This,
  12754. /* [in] */ ULONG celt,
  12755. /* [out] */ ITCallingCard **ppElements,
  12756. /* [full][out][in] */ ULONG *pceltFetched);
  12757. void __RPC_STUB IEnumCallingCard_Next_Stub(
  12758. IRpcStubBuffer *This,
  12759. IRpcChannelBuffer *_pRpcChannelBuffer,
  12760. PRPC_MESSAGE _pRpcMessage,
  12761. DWORD *_pdwStubPhase);
  12762. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Reset_Proxy(
  12763. IEnumCallingCard * This);
  12764. void __RPC_STUB IEnumCallingCard_Reset_Stub(
  12765. IRpcStubBuffer *This,
  12766. IRpcChannelBuffer *_pRpcChannelBuffer,
  12767. PRPC_MESSAGE _pRpcMessage,
  12768. DWORD *_pdwStubPhase);
  12769. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Skip_Proxy(
  12770. IEnumCallingCard * This,
  12771. /* [in] */ ULONG celt);
  12772. void __RPC_STUB IEnumCallingCard_Skip_Stub(
  12773. IRpcStubBuffer *This,
  12774. IRpcChannelBuffer *_pRpcChannelBuffer,
  12775. PRPC_MESSAGE _pRpcMessage,
  12776. DWORD *_pdwStubPhase);
  12777. HRESULT STDMETHODCALLTYPE IEnumCallingCard_Clone_Proxy(
  12778. IEnumCallingCard * This,
  12779. /* [retval][out] */ IEnumCallingCard **ppEnum);
  12780. void __RPC_STUB IEnumCallingCard_Clone_Stub(
  12781. IRpcStubBuffer *This,
  12782. IRpcChannelBuffer *_pRpcChannelBuffer,
  12783. PRPC_MESSAGE _pRpcMessage,
  12784. DWORD *_pdwStubPhase);
  12785. #endif /* __IEnumCallingCard_INTERFACE_DEFINED__ */
  12786. #ifndef __ITCallNotificationEvent_INTERFACE_DEFINED__
  12787. #define __ITCallNotificationEvent_INTERFACE_DEFINED__
  12788. /* interface ITCallNotificationEvent */
  12789. /* [object][dual][helpstring][uuid] */
  12790. EXTERN_C const IID IID_ITCallNotificationEvent;
  12791. #if defined(__cplusplus) && !defined(CINTERFACE)
  12792. MIDL_INTERFACE("895801DF-3DD6-11d1-8F30-00C04FB6809F")
  12793. ITCallNotificationEvent : public IDispatch
  12794. {
  12795. public:
  12796. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Call(
  12797. /* [retval][out] */ ITCallInfo **ppCall) = 0;
  12798. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Event(
  12799. /* [retval][out] */ CALL_NOTIFICATION_EVENT *pCallNotificationEvent) = 0;
  12800. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_CallbackInstance(
  12801. /* [retval][out] */ long *plCallbackInstance) = 0;
  12802. };
  12803. #else /* C style interface */
  12804. typedef struct ITCallNotificationEventVtbl
  12805. {
  12806. BEGIN_INTERFACE
  12807. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12808. ITCallNotificationEvent * This,
  12809. /* [in] */ REFIID riid,
  12810. /* [iid_is][out] */ void **ppvObject);
  12811. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12812. ITCallNotificationEvent * This);
  12813. ULONG ( STDMETHODCALLTYPE *Release )(
  12814. ITCallNotificationEvent * This);
  12815. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  12816. ITCallNotificationEvent * This,
  12817. /* [out] */ UINT *pctinfo);
  12818. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  12819. ITCallNotificationEvent * This,
  12820. /* [in] */ UINT iTInfo,
  12821. /* [in] */ LCID lcid,
  12822. /* [out] */ ITypeInfo **ppTInfo);
  12823. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  12824. ITCallNotificationEvent * This,
  12825. /* [in] */ REFIID riid,
  12826. /* [size_is][in] */ LPOLESTR *rgszNames,
  12827. /* [in] */ UINT cNames,
  12828. /* [in] */ LCID lcid,
  12829. /* [size_is][out] */ DISPID *rgDispId);
  12830. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  12831. ITCallNotificationEvent * This,
  12832. /* [in] */ DISPID dispIdMember,
  12833. /* [in] */ REFIID riid,
  12834. /* [in] */ LCID lcid,
  12835. /* [in] */ WORD wFlags,
  12836. /* [out][in] */ DISPPARAMS *pDispParams,
  12837. /* [out] */ VARIANT *pVarResult,
  12838. /* [out] */ EXCEPINFO *pExcepInfo,
  12839. /* [out] */ UINT *puArgErr);
  12840. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Call )(
  12841. ITCallNotificationEvent * This,
  12842. /* [retval][out] */ ITCallInfo **ppCall);
  12843. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Event )(
  12844. ITCallNotificationEvent * This,
  12845. /* [retval][out] */ CALL_NOTIFICATION_EVENT *pCallNotificationEvent);
  12846. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CallbackInstance )(
  12847. ITCallNotificationEvent * This,
  12848. /* [retval][out] */ long *plCallbackInstance);
  12849. END_INTERFACE
  12850. } ITCallNotificationEventVtbl;
  12851. interface ITCallNotificationEvent
  12852. {
  12853. CONST_VTBL struct ITCallNotificationEventVtbl *lpVtbl;
  12854. };
  12855. #ifdef COBJMACROS
  12856. #define ITCallNotificationEvent_QueryInterface(This,riid,ppvObject) \
  12857. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12858. #define ITCallNotificationEvent_AddRef(This) \
  12859. (This)->lpVtbl -> AddRef(This)
  12860. #define ITCallNotificationEvent_Release(This) \
  12861. (This)->lpVtbl -> Release(This)
  12862. #define ITCallNotificationEvent_GetTypeInfoCount(This,pctinfo) \
  12863. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  12864. #define ITCallNotificationEvent_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  12865. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  12866. #define ITCallNotificationEvent_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  12867. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  12868. #define ITCallNotificationEvent_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  12869. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  12870. #define ITCallNotificationEvent_get_Call(This,ppCall) \
  12871. (This)->lpVtbl -> get_Call(This,ppCall)
  12872. #define ITCallNotificationEvent_get_Event(This,pCallNotificationEvent) \
  12873. (This)->lpVtbl -> get_Event(This,pCallNotificationEvent)
  12874. #define ITCallNotificationEvent_get_CallbackInstance(This,plCallbackInstance) \
  12875. (This)->lpVtbl -> get_CallbackInstance(This,plCallbackInstance)
  12876. #endif /* COBJMACROS */
  12877. #endif /* C style interface */
  12878. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallNotificationEvent_get_Call_Proxy(
  12879. ITCallNotificationEvent * This,
  12880. /* [retval][out] */ ITCallInfo **ppCall);
  12881. void __RPC_STUB ITCallNotificationEvent_get_Call_Stub(
  12882. IRpcStubBuffer *This,
  12883. IRpcChannelBuffer *_pRpcChannelBuffer,
  12884. PRPC_MESSAGE _pRpcMessage,
  12885. DWORD *_pdwStubPhase);
  12886. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallNotificationEvent_get_Event_Proxy(
  12887. ITCallNotificationEvent * This,
  12888. /* [retval][out] */ CALL_NOTIFICATION_EVENT *pCallNotificationEvent);
  12889. void __RPC_STUB ITCallNotificationEvent_get_Event_Stub(
  12890. IRpcStubBuffer *This,
  12891. IRpcChannelBuffer *_pRpcChannelBuffer,
  12892. PRPC_MESSAGE _pRpcMessage,
  12893. DWORD *_pdwStubPhase);
  12894. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITCallNotificationEvent_get_CallbackInstance_Proxy(
  12895. ITCallNotificationEvent * This,
  12896. /* [retval][out] */ long *plCallbackInstance);
  12897. void __RPC_STUB ITCallNotificationEvent_get_CallbackInstance_Stub(
  12898. IRpcStubBuffer *This,
  12899. IRpcChannelBuffer *_pRpcChannelBuffer,
  12900. PRPC_MESSAGE _pRpcMessage,
  12901. DWORD *_pdwStubPhase);
  12902. #endif /* __ITCallNotificationEvent_INTERFACE_DEFINED__ */
  12903. #ifndef __ITDispatchMapper_INTERFACE_DEFINED__
  12904. #define __ITDispatchMapper_INTERFACE_DEFINED__
  12905. /* interface ITDispatchMapper */
  12906. /* [object][helpstring][uuid] */
  12907. EXTERN_C const IID IID_ITDispatchMapper;
  12908. #if defined(__cplusplus) && !defined(CINTERFACE)
  12909. MIDL_INTERFACE("E9225295-C759-11d1-A02B-00C04FB6809F")
  12910. ITDispatchMapper : public IDispatch
  12911. {
  12912. public:
  12913. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE QueryDispatchInterface(
  12914. /* [in] */ BSTR pIID,
  12915. /* [in] */ IDispatch *pInterfaceToMap,
  12916. /* [retval][out] */ IDispatch **ppReturnedInterface) = 0;
  12917. };
  12918. #else /* C style interface */
  12919. typedef struct ITDispatchMapperVtbl
  12920. {
  12921. BEGIN_INTERFACE
  12922. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  12923. ITDispatchMapper * This,
  12924. /* [in] */ REFIID riid,
  12925. /* [iid_is][out] */ void **ppvObject);
  12926. ULONG ( STDMETHODCALLTYPE *AddRef )(
  12927. ITDispatchMapper * This);
  12928. ULONG ( STDMETHODCALLTYPE *Release )(
  12929. ITDispatchMapper * This);
  12930. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  12931. ITDispatchMapper * This,
  12932. /* [out] */ UINT *pctinfo);
  12933. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  12934. ITDispatchMapper * This,
  12935. /* [in] */ UINT iTInfo,
  12936. /* [in] */ LCID lcid,
  12937. /* [out] */ ITypeInfo **ppTInfo);
  12938. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  12939. ITDispatchMapper * This,
  12940. /* [in] */ REFIID riid,
  12941. /* [size_is][in] */ LPOLESTR *rgszNames,
  12942. /* [in] */ UINT cNames,
  12943. /* [in] */ LCID lcid,
  12944. /* [size_is][out] */ DISPID *rgDispId);
  12945. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  12946. ITDispatchMapper * This,
  12947. /* [in] */ DISPID dispIdMember,
  12948. /* [in] */ REFIID riid,
  12949. /* [in] */ LCID lcid,
  12950. /* [in] */ WORD wFlags,
  12951. /* [out][in] */ DISPPARAMS *pDispParams,
  12952. /* [out] */ VARIANT *pVarResult,
  12953. /* [out] */ EXCEPINFO *pExcepInfo,
  12954. /* [out] */ UINT *puArgErr);
  12955. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryDispatchInterface )(
  12956. ITDispatchMapper * This,
  12957. /* [in] */ BSTR pIID,
  12958. /* [in] */ IDispatch *pInterfaceToMap,
  12959. /* [retval][out] */ IDispatch **ppReturnedInterface);
  12960. END_INTERFACE
  12961. } ITDispatchMapperVtbl;
  12962. interface ITDispatchMapper
  12963. {
  12964. CONST_VTBL struct ITDispatchMapperVtbl *lpVtbl;
  12965. };
  12966. #ifdef COBJMACROS
  12967. #define ITDispatchMapper_QueryInterface(This,riid,ppvObject) \
  12968. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  12969. #define ITDispatchMapper_AddRef(This) \
  12970. (This)->lpVtbl -> AddRef(This)
  12971. #define ITDispatchMapper_Release(This) \
  12972. (This)->lpVtbl -> Release(This)
  12973. #define ITDispatchMapper_GetTypeInfoCount(This,pctinfo) \
  12974. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  12975. #define ITDispatchMapper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  12976. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  12977. #define ITDispatchMapper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  12978. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  12979. #define ITDispatchMapper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  12980. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  12981. #define ITDispatchMapper_QueryDispatchInterface(This,pIID,pInterfaceToMap,ppReturnedInterface) \
  12982. (This)->lpVtbl -> QueryDispatchInterface(This,pIID,pInterfaceToMap,ppReturnedInterface)
  12983. #endif /* COBJMACROS */
  12984. #endif /* C style interface */
  12985. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITDispatchMapper_QueryDispatchInterface_Proxy(
  12986. ITDispatchMapper * This,
  12987. /* [in] */ BSTR pIID,
  12988. /* [in] */ IDispatch *pInterfaceToMap,
  12989. /* [retval][out] */ IDispatch **ppReturnedInterface);
  12990. void __RPC_STUB ITDispatchMapper_QueryDispatchInterface_Stub(
  12991. IRpcStubBuffer *This,
  12992. IRpcChannelBuffer *_pRpcChannelBuffer,
  12993. PRPC_MESSAGE _pRpcMessage,
  12994. DWORD *_pdwStubPhase);
  12995. #endif /* __ITDispatchMapper_INTERFACE_DEFINED__ */
  12996. #ifndef __ITStreamControl_INTERFACE_DEFINED__
  12997. #define __ITStreamControl_INTERFACE_DEFINED__
  12998. /* interface ITStreamControl */
  12999. /* [object][dual][unique][helpstring][uuid] */
  13000. EXTERN_C const IID IID_ITStreamControl;
  13001. #if defined(__cplusplus) && !defined(CINTERFACE)
  13002. MIDL_INTERFACE("EE3BD604-3868-11D2-A045-00C04FB6809F")
  13003. ITStreamControl : public IDispatch
  13004. {
  13005. public:
  13006. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateStream(
  13007. /* [in] */ long lMediaType,
  13008. /* [in] */ TERMINAL_DIRECTION td,
  13009. /* [retval][out] */ ITStream **ppStream) = 0;
  13010. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveStream(
  13011. /* [in] */ ITStream *pStream) = 0;
  13012. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateStreams(
  13013. /* [out] */ IEnumStream **ppEnumStream) = 0;
  13014. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Streams(
  13015. /* [retval][out] */ VARIANT *pVariant) = 0;
  13016. };
  13017. #else /* C style interface */
  13018. typedef struct ITStreamControlVtbl
  13019. {
  13020. BEGIN_INTERFACE
  13021. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13022. ITStreamControl * This,
  13023. /* [in] */ REFIID riid,
  13024. /* [iid_is][out] */ void **ppvObject);
  13025. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13026. ITStreamControl * This);
  13027. ULONG ( STDMETHODCALLTYPE *Release )(
  13028. ITStreamControl * This);
  13029. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  13030. ITStreamControl * This,
  13031. /* [out] */ UINT *pctinfo);
  13032. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  13033. ITStreamControl * This,
  13034. /* [in] */ UINT iTInfo,
  13035. /* [in] */ LCID lcid,
  13036. /* [out] */ ITypeInfo **ppTInfo);
  13037. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  13038. ITStreamControl * This,
  13039. /* [in] */ REFIID riid,
  13040. /* [size_is][in] */ LPOLESTR *rgszNames,
  13041. /* [in] */ UINT cNames,
  13042. /* [in] */ LCID lcid,
  13043. /* [size_is][out] */ DISPID *rgDispId);
  13044. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  13045. ITStreamControl * This,
  13046. /* [in] */ DISPID dispIdMember,
  13047. /* [in] */ REFIID riid,
  13048. /* [in] */ LCID lcid,
  13049. /* [in] */ WORD wFlags,
  13050. /* [out][in] */ DISPPARAMS *pDispParams,
  13051. /* [out] */ VARIANT *pVarResult,
  13052. /* [out] */ EXCEPINFO *pExcepInfo,
  13053. /* [out] */ UINT *puArgErr);
  13054. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateStream )(
  13055. ITStreamControl * This,
  13056. /* [in] */ long lMediaType,
  13057. /* [in] */ TERMINAL_DIRECTION td,
  13058. /* [retval][out] */ ITStream **ppStream);
  13059. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveStream )(
  13060. ITStreamControl * This,
  13061. /* [in] */ ITStream *pStream);
  13062. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateStreams )(
  13063. ITStreamControl * This,
  13064. /* [out] */ IEnumStream **ppEnumStream);
  13065. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Streams )(
  13066. ITStreamControl * This,
  13067. /* [retval][out] */ VARIANT *pVariant);
  13068. END_INTERFACE
  13069. } ITStreamControlVtbl;
  13070. interface ITStreamControl
  13071. {
  13072. CONST_VTBL struct ITStreamControlVtbl *lpVtbl;
  13073. };
  13074. #ifdef COBJMACROS
  13075. #define ITStreamControl_QueryInterface(This,riid,ppvObject) \
  13076. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13077. #define ITStreamControl_AddRef(This) \
  13078. (This)->lpVtbl -> AddRef(This)
  13079. #define ITStreamControl_Release(This) \
  13080. (This)->lpVtbl -> Release(This)
  13081. #define ITStreamControl_GetTypeInfoCount(This,pctinfo) \
  13082. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  13083. #define ITStreamControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  13084. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  13085. #define ITStreamControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  13086. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  13087. #define ITStreamControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  13088. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  13089. #define ITStreamControl_CreateStream(This,lMediaType,td,ppStream) \
  13090. (This)->lpVtbl -> CreateStream(This,lMediaType,td,ppStream)
  13091. #define ITStreamControl_RemoveStream(This,pStream) \
  13092. (This)->lpVtbl -> RemoveStream(This,pStream)
  13093. #define ITStreamControl_EnumerateStreams(This,ppEnumStream) \
  13094. (This)->lpVtbl -> EnumerateStreams(This,ppEnumStream)
  13095. #define ITStreamControl_get_Streams(This,pVariant) \
  13096. (This)->lpVtbl -> get_Streams(This,pVariant)
  13097. #endif /* COBJMACROS */
  13098. #endif /* C style interface */
  13099. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStreamControl_CreateStream_Proxy(
  13100. ITStreamControl * This,
  13101. /* [in] */ long lMediaType,
  13102. /* [in] */ TERMINAL_DIRECTION td,
  13103. /* [retval][out] */ ITStream **ppStream);
  13104. void __RPC_STUB ITStreamControl_CreateStream_Stub(
  13105. IRpcStubBuffer *This,
  13106. IRpcChannelBuffer *_pRpcChannelBuffer,
  13107. PRPC_MESSAGE _pRpcMessage,
  13108. DWORD *_pdwStubPhase);
  13109. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStreamControl_RemoveStream_Proxy(
  13110. ITStreamControl * This,
  13111. /* [in] */ ITStream *pStream);
  13112. void __RPC_STUB ITStreamControl_RemoveStream_Stub(
  13113. IRpcStubBuffer *This,
  13114. IRpcChannelBuffer *_pRpcChannelBuffer,
  13115. PRPC_MESSAGE _pRpcMessage,
  13116. DWORD *_pdwStubPhase);
  13117. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITStreamControl_EnumerateStreams_Proxy(
  13118. ITStreamControl * This,
  13119. /* [out] */ IEnumStream **ppEnumStream);
  13120. void __RPC_STUB ITStreamControl_EnumerateStreams_Stub(
  13121. IRpcStubBuffer *This,
  13122. IRpcChannelBuffer *_pRpcChannelBuffer,
  13123. PRPC_MESSAGE _pRpcMessage,
  13124. DWORD *_pdwStubPhase);
  13125. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStreamControl_get_Streams_Proxy(
  13126. ITStreamControl * This,
  13127. /* [retval][out] */ VARIANT *pVariant);
  13128. void __RPC_STUB ITStreamControl_get_Streams_Stub(
  13129. IRpcStubBuffer *This,
  13130. IRpcChannelBuffer *_pRpcChannelBuffer,
  13131. PRPC_MESSAGE _pRpcMessage,
  13132. DWORD *_pdwStubPhase);
  13133. #endif /* __ITStreamControl_INTERFACE_DEFINED__ */
  13134. #ifndef __ITStream_INTERFACE_DEFINED__
  13135. #define __ITStream_INTERFACE_DEFINED__
  13136. /* interface ITStream */
  13137. /* [object][dual][unique][helpstring][uuid] */
  13138. EXTERN_C const IID IID_ITStream;
  13139. #if defined(__cplusplus) && !defined(CINTERFACE)
  13140. MIDL_INTERFACE("EE3BD605-3868-11D2-A045-00C04FB6809F")
  13141. ITStream : public IDispatch
  13142. {
  13143. public:
  13144. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaType(
  13145. /* [retval][out] */ long *plMediaType) = 0;
  13146. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Direction(
  13147. /* [retval][out] */ TERMINAL_DIRECTION *pTD) = 0;
  13148. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  13149. /* [retval][out] */ BSTR *ppName) = 0;
  13150. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartStream( void) = 0;
  13151. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PauseStream( void) = 0;
  13152. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopStream( void) = 0;
  13153. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectTerminal(
  13154. /* [in] */ ITTerminal *pTerminal) = 0;
  13155. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectTerminal(
  13156. /* [in] */ ITTerminal *pTerminal) = 0;
  13157. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminals(
  13158. /* [out] */ IEnumTerminal **ppEnumTerminal) = 0;
  13159. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminals(
  13160. /* [retval][out] */ VARIANT *pTerminals) = 0;
  13161. };
  13162. #else /* C style interface */
  13163. typedef struct ITStreamVtbl
  13164. {
  13165. BEGIN_INTERFACE
  13166. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13167. ITStream * This,
  13168. /* [in] */ REFIID riid,
  13169. /* [iid_is][out] */ void **ppvObject);
  13170. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13171. ITStream * This);
  13172. ULONG ( STDMETHODCALLTYPE *Release )(
  13173. ITStream * This);
  13174. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  13175. ITStream * This,
  13176. /* [out] */ UINT *pctinfo);
  13177. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  13178. ITStream * This,
  13179. /* [in] */ UINT iTInfo,
  13180. /* [in] */ LCID lcid,
  13181. /* [out] */ ITypeInfo **ppTInfo);
  13182. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  13183. ITStream * This,
  13184. /* [in] */ REFIID riid,
  13185. /* [size_is][in] */ LPOLESTR *rgszNames,
  13186. /* [in] */ UINT cNames,
  13187. /* [in] */ LCID lcid,
  13188. /* [size_is][out] */ DISPID *rgDispId);
  13189. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  13190. ITStream * This,
  13191. /* [in] */ DISPID dispIdMember,
  13192. /* [in] */ REFIID riid,
  13193. /* [in] */ LCID lcid,
  13194. /* [in] */ WORD wFlags,
  13195. /* [out][in] */ DISPPARAMS *pDispParams,
  13196. /* [out] */ VARIANT *pVarResult,
  13197. /* [out] */ EXCEPINFO *pExcepInfo,
  13198. /* [out] */ UINT *puArgErr);
  13199. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaType )(
  13200. ITStream * This,
  13201. /* [retval][out] */ long *plMediaType);
  13202. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Direction )(
  13203. ITStream * This,
  13204. /* [retval][out] */ TERMINAL_DIRECTION *pTD);
  13205. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  13206. ITStream * This,
  13207. /* [retval][out] */ BSTR *ppName);
  13208. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartStream )(
  13209. ITStream * This);
  13210. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PauseStream )(
  13211. ITStream * This);
  13212. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopStream )(
  13213. ITStream * This);
  13214. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectTerminal )(
  13215. ITStream * This,
  13216. /* [in] */ ITTerminal *pTerminal);
  13217. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectTerminal )(
  13218. ITStream * This,
  13219. /* [in] */ ITTerminal *pTerminal);
  13220. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminals )(
  13221. ITStream * This,
  13222. /* [out] */ IEnumTerminal **ppEnumTerminal);
  13223. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminals )(
  13224. ITStream * This,
  13225. /* [retval][out] */ VARIANT *pTerminals);
  13226. END_INTERFACE
  13227. } ITStreamVtbl;
  13228. interface ITStream
  13229. {
  13230. CONST_VTBL struct ITStreamVtbl *lpVtbl;
  13231. };
  13232. #ifdef COBJMACROS
  13233. #define ITStream_QueryInterface(This,riid,ppvObject) \
  13234. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13235. #define ITStream_AddRef(This) \
  13236. (This)->lpVtbl -> AddRef(This)
  13237. #define ITStream_Release(This) \
  13238. (This)->lpVtbl -> Release(This)
  13239. #define ITStream_GetTypeInfoCount(This,pctinfo) \
  13240. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  13241. #define ITStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  13242. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  13243. #define ITStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  13244. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  13245. #define ITStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  13246. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  13247. #define ITStream_get_MediaType(This,plMediaType) \
  13248. (This)->lpVtbl -> get_MediaType(This,plMediaType)
  13249. #define ITStream_get_Direction(This,pTD) \
  13250. (This)->lpVtbl -> get_Direction(This,pTD)
  13251. #define ITStream_get_Name(This,ppName) \
  13252. (This)->lpVtbl -> get_Name(This,ppName)
  13253. #define ITStream_StartStream(This) \
  13254. (This)->lpVtbl -> StartStream(This)
  13255. #define ITStream_PauseStream(This) \
  13256. (This)->lpVtbl -> PauseStream(This)
  13257. #define ITStream_StopStream(This) \
  13258. (This)->lpVtbl -> StopStream(This)
  13259. #define ITStream_SelectTerminal(This,pTerminal) \
  13260. (This)->lpVtbl -> SelectTerminal(This,pTerminal)
  13261. #define ITStream_UnselectTerminal(This,pTerminal) \
  13262. (This)->lpVtbl -> UnselectTerminal(This,pTerminal)
  13263. #define ITStream_EnumerateTerminals(This,ppEnumTerminal) \
  13264. (This)->lpVtbl -> EnumerateTerminals(This,ppEnumTerminal)
  13265. #define ITStream_get_Terminals(This,pTerminals) \
  13266. (This)->lpVtbl -> get_Terminals(This,pTerminals)
  13267. #endif /* COBJMACROS */
  13268. #endif /* C style interface */
  13269. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_MediaType_Proxy(
  13270. ITStream * This,
  13271. /* [retval][out] */ long *plMediaType);
  13272. void __RPC_STUB ITStream_get_MediaType_Stub(
  13273. IRpcStubBuffer *This,
  13274. IRpcChannelBuffer *_pRpcChannelBuffer,
  13275. PRPC_MESSAGE _pRpcMessage,
  13276. DWORD *_pdwStubPhase);
  13277. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_Direction_Proxy(
  13278. ITStream * This,
  13279. /* [retval][out] */ TERMINAL_DIRECTION *pTD);
  13280. void __RPC_STUB ITStream_get_Direction_Stub(
  13281. IRpcStubBuffer *This,
  13282. IRpcChannelBuffer *_pRpcChannelBuffer,
  13283. PRPC_MESSAGE _pRpcMessage,
  13284. DWORD *_pdwStubPhase);
  13285. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_Name_Proxy(
  13286. ITStream * This,
  13287. /* [retval][out] */ BSTR *ppName);
  13288. void __RPC_STUB ITStream_get_Name_Stub(
  13289. IRpcStubBuffer *This,
  13290. IRpcChannelBuffer *_pRpcChannelBuffer,
  13291. PRPC_MESSAGE _pRpcMessage,
  13292. DWORD *_pdwStubPhase);
  13293. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_StartStream_Proxy(
  13294. ITStream * This);
  13295. void __RPC_STUB ITStream_StartStream_Stub(
  13296. IRpcStubBuffer *This,
  13297. IRpcChannelBuffer *_pRpcChannelBuffer,
  13298. PRPC_MESSAGE _pRpcMessage,
  13299. DWORD *_pdwStubPhase);
  13300. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_PauseStream_Proxy(
  13301. ITStream * This);
  13302. void __RPC_STUB ITStream_PauseStream_Stub(
  13303. IRpcStubBuffer *This,
  13304. IRpcChannelBuffer *_pRpcChannelBuffer,
  13305. PRPC_MESSAGE _pRpcMessage,
  13306. DWORD *_pdwStubPhase);
  13307. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_StopStream_Proxy(
  13308. ITStream * This);
  13309. void __RPC_STUB ITStream_StopStream_Stub(
  13310. IRpcStubBuffer *This,
  13311. IRpcChannelBuffer *_pRpcChannelBuffer,
  13312. PRPC_MESSAGE _pRpcMessage,
  13313. DWORD *_pdwStubPhase);
  13314. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_SelectTerminal_Proxy(
  13315. ITStream * This,
  13316. /* [in] */ ITTerminal *pTerminal);
  13317. void __RPC_STUB ITStream_SelectTerminal_Stub(
  13318. IRpcStubBuffer *This,
  13319. IRpcChannelBuffer *_pRpcChannelBuffer,
  13320. PRPC_MESSAGE _pRpcMessage,
  13321. DWORD *_pdwStubPhase);
  13322. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITStream_UnselectTerminal_Proxy(
  13323. ITStream * This,
  13324. /* [in] */ ITTerminal *pTerminal);
  13325. void __RPC_STUB ITStream_UnselectTerminal_Stub(
  13326. IRpcStubBuffer *This,
  13327. IRpcChannelBuffer *_pRpcChannelBuffer,
  13328. PRPC_MESSAGE _pRpcMessage,
  13329. DWORD *_pdwStubPhase);
  13330. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITStream_EnumerateTerminals_Proxy(
  13331. ITStream * This,
  13332. /* [out] */ IEnumTerminal **ppEnumTerminal);
  13333. void __RPC_STUB ITStream_EnumerateTerminals_Stub(
  13334. IRpcStubBuffer *This,
  13335. IRpcChannelBuffer *_pRpcChannelBuffer,
  13336. PRPC_MESSAGE _pRpcMessage,
  13337. DWORD *_pdwStubPhase);
  13338. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITStream_get_Terminals_Proxy(
  13339. ITStream * This,
  13340. /* [retval][out] */ VARIANT *pTerminals);
  13341. void __RPC_STUB ITStream_get_Terminals_Stub(
  13342. IRpcStubBuffer *This,
  13343. IRpcChannelBuffer *_pRpcChannelBuffer,
  13344. PRPC_MESSAGE _pRpcMessage,
  13345. DWORD *_pdwStubPhase);
  13346. #endif /* __ITStream_INTERFACE_DEFINED__ */
  13347. #ifndef __IEnumStream_INTERFACE_DEFINED__
  13348. #define __IEnumStream_INTERFACE_DEFINED__
  13349. /* interface IEnumStream */
  13350. /* [object][unique][hidden][helpstring][uuid] */
  13351. EXTERN_C const IID IID_IEnumStream;
  13352. #if defined(__cplusplus) && !defined(CINTERFACE)
  13353. MIDL_INTERFACE("EE3BD606-3868-11d2-A045-00C04FB6809F")
  13354. IEnumStream : public IUnknown
  13355. {
  13356. public:
  13357. virtual HRESULT STDMETHODCALLTYPE Next(
  13358. /* [in] */ ULONG celt,
  13359. /* [out] */ ITStream **ppElements,
  13360. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  13361. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  13362. virtual HRESULT STDMETHODCALLTYPE Skip(
  13363. /* [in] */ ULONG celt) = 0;
  13364. virtual HRESULT STDMETHODCALLTYPE Clone(
  13365. /* [retval][out] */ IEnumStream **ppEnum) = 0;
  13366. };
  13367. #else /* C style interface */
  13368. typedef struct IEnumStreamVtbl
  13369. {
  13370. BEGIN_INTERFACE
  13371. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13372. IEnumStream * This,
  13373. /* [in] */ REFIID riid,
  13374. /* [iid_is][out] */ void **ppvObject);
  13375. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13376. IEnumStream * This);
  13377. ULONG ( STDMETHODCALLTYPE *Release )(
  13378. IEnumStream * This);
  13379. HRESULT ( STDMETHODCALLTYPE *Next )(
  13380. IEnumStream * This,
  13381. /* [in] */ ULONG celt,
  13382. /* [out] */ ITStream **ppElements,
  13383. /* [full][out][in] */ ULONG *pceltFetched);
  13384. HRESULT ( STDMETHODCALLTYPE *Reset )(
  13385. IEnumStream * This);
  13386. HRESULT ( STDMETHODCALLTYPE *Skip )(
  13387. IEnumStream * This,
  13388. /* [in] */ ULONG celt);
  13389. HRESULT ( STDMETHODCALLTYPE *Clone )(
  13390. IEnumStream * This,
  13391. /* [retval][out] */ IEnumStream **ppEnum);
  13392. END_INTERFACE
  13393. } IEnumStreamVtbl;
  13394. interface IEnumStream
  13395. {
  13396. CONST_VTBL struct IEnumStreamVtbl *lpVtbl;
  13397. };
  13398. #ifdef COBJMACROS
  13399. #define IEnumStream_QueryInterface(This,riid,ppvObject) \
  13400. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13401. #define IEnumStream_AddRef(This) \
  13402. (This)->lpVtbl -> AddRef(This)
  13403. #define IEnumStream_Release(This) \
  13404. (This)->lpVtbl -> Release(This)
  13405. #define IEnumStream_Next(This,celt,ppElements,pceltFetched) \
  13406. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  13407. #define IEnumStream_Reset(This) \
  13408. (This)->lpVtbl -> Reset(This)
  13409. #define IEnumStream_Skip(This,celt) \
  13410. (This)->lpVtbl -> Skip(This,celt)
  13411. #define IEnumStream_Clone(This,ppEnum) \
  13412. (This)->lpVtbl -> Clone(This,ppEnum)
  13413. #endif /* COBJMACROS */
  13414. #endif /* C style interface */
  13415. HRESULT STDMETHODCALLTYPE IEnumStream_Next_Proxy(
  13416. IEnumStream * This,
  13417. /* [in] */ ULONG celt,
  13418. /* [out] */ ITStream **ppElements,
  13419. /* [full][out][in] */ ULONG *pceltFetched);
  13420. void __RPC_STUB IEnumStream_Next_Stub(
  13421. IRpcStubBuffer *This,
  13422. IRpcChannelBuffer *_pRpcChannelBuffer,
  13423. PRPC_MESSAGE _pRpcMessage,
  13424. DWORD *_pdwStubPhase);
  13425. HRESULT STDMETHODCALLTYPE IEnumStream_Reset_Proxy(
  13426. IEnumStream * This);
  13427. void __RPC_STUB IEnumStream_Reset_Stub(
  13428. IRpcStubBuffer *This,
  13429. IRpcChannelBuffer *_pRpcChannelBuffer,
  13430. PRPC_MESSAGE _pRpcMessage,
  13431. DWORD *_pdwStubPhase);
  13432. HRESULT STDMETHODCALLTYPE IEnumStream_Skip_Proxy(
  13433. IEnumStream * This,
  13434. /* [in] */ ULONG celt);
  13435. void __RPC_STUB IEnumStream_Skip_Stub(
  13436. IRpcStubBuffer *This,
  13437. IRpcChannelBuffer *_pRpcChannelBuffer,
  13438. PRPC_MESSAGE _pRpcMessage,
  13439. DWORD *_pdwStubPhase);
  13440. HRESULT STDMETHODCALLTYPE IEnumStream_Clone_Proxy(
  13441. IEnumStream * This,
  13442. /* [retval][out] */ IEnumStream **ppEnum);
  13443. void __RPC_STUB IEnumStream_Clone_Stub(
  13444. IRpcStubBuffer *This,
  13445. IRpcChannelBuffer *_pRpcChannelBuffer,
  13446. PRPC_MESSAGE _pRpcMessage,
  13447. DWORD *_pdwStubPhase);
  13448. #endif /* __IEnumStream_INTERFACE_DEFINED__ */
  13449. #ifndef __ITSubStreamControl_INTERFACE_DEFINED__
  13450. #define __ITSubStreamControl_INTERFACE_DEFINED__
  13451. /* interface ITSubStreamControl */
  13452. /* [object][dual][unique][helpstring][uuid] */
  13453. EXTERN_C const IID IID_ITSubStreamControl;
  13454. #if defined(__cplusplus) && !defined(CINTERFACE)
  13455. MIDL_INTERFACE("EE3BD607-3868-11D2-A045-00C04FB6809F")
  13456. ITSubStreamControl : public IDispatch
  13457. {
  13458. public:
  13459. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateSubStream(
  13460. /* [retval][out] */ ITSubStream **ppSubStream) = 0;
  13461. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RemoveSubStream(
  13462. /* [in] */ ITSubStream *pSubStream) = 0;
  13463. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateSubStreams(
  13464. /* [out] */ IEnumSubStream **ppEnumSubStream) = 0;
  13465. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SubStreams(
  13466. /* [retval][out] */ VARIANT *pVariant) = 0;
  13467. };
  13468. #else /* C style interface */
  13469. typedef struct ITSubStreamControlVtbl
  13470. {
  13471. BEGIN_INTERFACE
  13472. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13473. ITSubStreamControl * This,
  13474. /* [in] */ REFIID riid,
  13475. /* [iid_is][out] */ void **ppvObject);
  13476. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13477. ITSubStreamControl * This);
  13478. ULONG ( STDMETHODCALLTYPE *Release )(
  13479. ITSubStreamControl * This);
  13480. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  13481. ITSubStreamControl * This,
  13482. /* [out] */ UINT *pctinfo);
  13483. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  13484. ITSubStreamControl * This,
  13485. /* [in] */ UINT iTInfo,
  13486. /* [in] */ LCID lcid,
  13487. /* [out] */ ITypeInfo **ppTInfo);
  13488. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  13489. ITSubStreamControl * This,
  13490. /* [in] */ REFIID riid,
  13491. /* [size_is][in] */ LPOLESTR *rgszNames,
  13492. /* [in] */ UINT cNames,
  13493. /* [in] */ LCID lcid,
  13494. /* [size_is][out] */ DISPID *rgDispId);
  13495. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  13496. ITSubStreamControl * This,
  13497. /* [in] */ DISPID dispIdMember,
  13498. /* [in] */ REFIID riid,
  13499. /* [in] */ LCID lcid,
  13500. /* [in] */ WORD wFlags,
  13501. /* [out][in] */ DISPPARAMS *pDispParams,
  13502. /* [out] */ VARIANT *pVarResult,
  13503. /* [out] */ EXCEPINFO *pExcepInfo,
  13504. /* [out] */ UINT *puArgErr);
  13505. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateSubStream )(
  13506. ITSubStreamControl * This,
  13507. /* [retval][out] */ ITSubStream **ppSubStream);
  13508. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveSubStream )(
  13509. ITSubStreamControl * This,
  13510. /* [in] */ ITSubStream *pSubStream);
  13511. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateSubStreams )(
  13512. ITSubStreamControl * This,
  13513. /* [out] */ IEnumSubStream **ppEnumSubStream);
  13514. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SubStreams )(
  13515. ITSubStreamControl * This,
  13516. /* [retval][out] */ VARIANT *pVariant);
  13517. END_INTERFACE
  13518. } ITSubStreamControlVtbl;
  13519. interface ITSubStreamControl
  13520. {
  13521. CONST_VTBL struct ITSubStreamControlVtbl *lpVtbl;
  13522. };
  13523. #ifdef COBJMACROS
  13524. #define ITSubStreamControl_QueryInterface(This,riid,ppvObject) \
  13525. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13526. #define ITSubStreamControl_AddRef(This) \
  13527. (This)->lpVtbl -> AddRef(This)
  13528. #define ITSubStreamControl_Release(This) \
  13529. (This)->lpVtbl -> Release(This)
  13530. #define ITSubStreamControl_GetTypeInfoCount(This,pctinfo) \
  13531. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  13532. #define ITSubStreamControl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  13533. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  13534. #define ITSubStreamControl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  13535. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  13536. #define ITSubStreamControl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  13537. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  13538. #define ITSubStreamControl_CreateSubStream(This,ppSubStream) \
  13539. (This)->lpVtbl -> CreateSubStream(This,ppSubStream)
  13540. #define ITSubStreamControl_RemoveSubStream(This,pSubStream) \
  13541. (This)->lpVtbl -> RemoveSubStream(This,pSubStream)
  13542. #define ITSubStreamControl_EnumerateSubStreams(This,ppEnumSubStream) \
  13543. (This)->lpVtbl -> EnumerateSubStreams(This,ppEnumSubStream)
  13544. #define ITSubStreamControl_get_SubStreams(This,pVariant) \
  13545. (This)->lpVtbl -> get_SubStreams(This,pVariant)
  13546. #endif /* COBJMACROS */
  13547. #endif /* C style interface */
  13548. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_CreateSubStream_Proxy(
  13549. ITSubStreamControl * This,
  13550. /* [retval][out] */ ITSubStream **ppSubStream);
  13551. void __RPC_STUB ITSubStreamControl_CreateSubStream_Stub(
  13552. IRpcStubBuffer *This,
  13553. IRpcChannelBuffer *_pRpcChannelBuffer,
  13554. PRPC_MESSAGE _pRpcMessage,
  13555. DWORD *_pdwStubPhase);
  13556. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_RemoveSubStream_Proxy(
  13557. ITSubStreamControl * This,
  13558. /* [in] */ ITSubStream *pSubStream);
  13559. void __RPC_STUB ITSubStreamControl_RemoveSubStream_Stub(
  13560. IRpcStubBuffer *This,
  13561. IRpcChannelBuffer *_pRpcChannelBuffer,
  13562. PRPC_MESSAGE _pRpcMessage,
  13563. DWORD *_pdwStubPhase);
  13564. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_EnumerateSubStreams_Proxy(
  13565. ITSubStreamControl * This,
  13566. /* [out] */ IEnumSubStream **ppEnumSubStream);
  13567. void __RPC_STUB ITSubStreamControl_EnumerateSubStreams_Stub(
  13568. IRpcStubBuffer *This,
  13569. IRpcChannelBuffer *_pRpcChannelBuffer,
  13570. PRPC_MESSAGE _pRpcMessage,
  13571. DWORD *_pdwStubPhase);
  13572. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITSubStreamControl_get_SubStreams_Proxy(
  13573. ITSubStreamControl * This,
  13574. /* [retval][out] */ VARIANT *pVariant);
  13575. void __RPC_STUB ITSubStreamControl_get_SubStreams_Stub(
  13576. IRpcStubBuffer *This,
  13577. IRpcChannelBuffer *_pRpcChannelBuffer,
  13578. PRPC_MESSAGE _pRpcMessage,
  13579. DWORD *_pdwStubPhase);
  13580. #endif /* __ITSubStreamControl_INTERFACE_DEFINED__ */
  13581. #ifndef __ITSubStream_INTERFACE_DEFINED__
  13582. #define __ITSubStream_INTERFACE_DEFINED__
  13583. /* interface ITSubStream */
  13584. /* [object][dual][unique][helpstring][uuid] */
  13585. EXTERN_C const IID IID_ITSubStream;
  13586. #if defined(__cplusplus) && !defined(CINTERFACE)
  13587. MIDL_INTERFACE("EE3BD608-3868-11D2-A045-00C04FB6809F")
  13588. ITSubStream : public IDispatch
  13589. {
  13590. public:
  13591. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StartSubStream( void) = 0;
  13592. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE PauseSubStream( void) = 0;
  13593. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE StopSubStream( void) = 0;
  13594. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectTerminal(
  13595. /* [in] */ ITTerminal *pTerminal) = 0;
  13596. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectTerminal(
  13597. /* [in] */ ITTerminal *pTerminal) = 0;
  13598. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateTerminals(
  13599. /* [out] */ IEnumTerminal **ppEnumTerminal) = 0;
  13600. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Terminals(
  13601. /* [retval][out] */ VARIANT *pTerminals) = 0;
  13602. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Stream(
  13603. /* [retval][out] */ ITStream **ppITStream) = 0;
  13604. };
  13605. #else /* C style interface */
  13606. typedef struct ITSubStreamVtbl
  13607. {
  13608. BEGIN_INTERFACE
  13609. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13610. ITSubStream * This,
  13611. /* [in] */ REFIID riid,
  13612. /* [iid_is][out] */ void **ppvObject);
  13613. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13614. ITSubStream * This);
  13615. ULONG ( STDMETHODCALLTYPE *Release )(
  13616. ITSubStream * This);
  13617. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  13618. ITSubStream * This,
  13619. /* [out] */ UINT *pctinfo);
  13620. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  13621. ITSubStream * This,
  13622. /* [in] */ UINT iTInfo,
  13623. /* [in] */ LCID lcid,
  13624. /* [out] */ ITypeInfo **ppTInfo);
  13625. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  13626. ITSubStream * This,
  13627. /* [in] */ REFIID riid,
  13628. /* [size_is][in] */ LPOLESTR *rgszNames,
  13629. /* [in] */ UINT cNames,
  13630. /* [in] */ LCID lcid,
  13631. /* [size_is][out] */ DISPID *rgDispId);
  13632. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  13633. ITSubStream * This,
  13634. /* [in] */ DISPID dispIdMember,
  13635. /* [in] */ REFIID riid,
  13636. /* [in] */ LCID lcid,
  13637. /* [in] */ WORD wFlags,
  13638. /* [out][in] */ DISPPARAMS *pDispParams,
  13639. /* [out] */ VARIANT *pVarResult,
  13640. /* [out] */ EXCEPINFO *pExcepInfo,
  13641. /* [out] */ UINT *puArgErr);
  13642. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StartSubStream )(
  13643. ITSubStream * This);
  13644. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PauseSubStream )(
  13645. ITSubStream * This);
  13646. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *StopSubStream )(
  13647. ITSubStream * This);
  13648. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectTerminal )(
  13649. ITSubStream * This,
  13650. /* [in] */ ITTerminal *pTerminal);
  13651. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectTerminal )(
  13652. ITSubStream * This,
  13653. /* [in] */ ITTerminal *pTerminal);
  13654. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateTerminals )(
  13655. ITSubStream * This,
  13656. /* [out] */ IEnumTerminal **ppEnumTerminal);
  13657. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Terminals )(
  13658. ITSubStream * This,
  13659. /* [retval][out] */ VARIANT *pTerminals);
  13660. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Stream )(
  13661. ITSubStream * This,
  13662. /* [retval][out] */ ITStream **ppITStream);
  13663. END_INTERFACE
  13664. } ITSubStreamVtbl;
  13665. interface ITSubStream
  13666. {
  13667. CONST_VTBL struct ITSubStreamVtbl *lpVtbl;
  13668. };
  13669. #ifdef COBJMACROS
  13670. #define ITSubStream_QueryInterface(This,riid,ppvObject) \
  13671. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13672. #define ITSubStream_AddRef(This) \
  13673. (This)->lpVtbl -> AddRef(This)
  13674. #define ITSubStream_Release(This) \
  13675. (This)->lpVtbl -> Release(This)
  13676. #define ITSubStream_GetTypeInfoCount(This,pctinfo) \
  13677. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  13678. #define ITSubStream_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  13679. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  13680. #define ITSubStream_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  13681. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  13682. #define ITSubStream_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  13683. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  13684. #define ITSubStream_StartSubStream(This) \
  13685. (This)->lpVtbl -> StartSubStream(This)
  13686. #define ITSubStream_PauseSubStream(This) \
  13687. (This)->lpVtbl -> PauseSubStream(This)
  13688. #define ITSubStream_StopSubStream(This) \
  13689. (This)->lpVtbl -> StopSubStream(This)
  13690. #define ITSubStream_SelectTerminal(This,pTerminal) \
  13691. (This)->lpVtbl -> SelectTerminal(This,pTerminal)
  13692. #define ITSubStream_UnselectTerminal(This,pTerminal) \
  13693. (This)->lpVtbl -> UnselectTerminal(This,pTerminal)
  13694. #define ITSubStream_EnumerateTerminals(This,ppEnumTerminal) \
  13695. (This)->lpVtbl -> EnumerateTerminals(This,ppEnumTerminal)
  13696. #define ITSubStream_get_Terminals(This,pTerminals) \
  13697. (This)->lpVtbl -> get_Terminals(This,pTerminals)
  13698. #define ITSubStream_get_Stream(This,ppITStream) \
  13699. (This)->lpVtbl -> get_Stream(This,ppITStream)
  13700. #endif /* COBJMACROS */
  13701. #endif /* C style interface */
  13702. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_StartSubStream_Proxy(
  13703. ITSubStream * This);
  13704. void __RPC_STUB ITSubStream_StartSubStream_Stub(
  13705. IRpcStubBuffer *This,
  13706. IRpcChannelBuffer *_pRpcChannelBuffer,
  13707. PRPC_MESSAGE _pRpcMessage,
  13708. DWORD *_pdwStubPhase);
  13709. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_PauseSubStream_Proxy(
  13710. ITSubStream * This);
  13711. void __RPC_STUB ITSubStream_PauseSubStream_Stub(
  13712. IRpcStubBuffer *This,
  13713. IRpcChannelBuffer *_pRpcChannelBuffer,
  13714. PRPC_MESSAGE _pRpcMessage,
  13715. DWORD *_pdwStubPhase);
  13716. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_StopSubStream_Proxy(
  13717. ITSubStream * This);
  13718. void __RPC_STUB ITSubStream_StopSubStream_Stub(
  13719. IRpcStubBuffer *This,
  13720. IRpcChannelBuffer *_pRpcChannelBuffer,
  13721. PRPC_MESSAGE _pRpcMessage,
  13722. DWORD *_pdwStubPhase);
  13723. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_SelectTerminal_Proxy(
  13724. ITSubStream * This,
  13725. /* [in] */ ITTerminal *pTerminal);
  13726. void __RPC_STUB ITSubStream_SelectTerminal_Stub(
  13727. IRpcStubBuffer *This,
  13728. IRpcChannelBuffer *_pRpcChannelBuffer,
  13729. PRPC_MESSAGE _pRpcMessage,
  13730. DWORD *_pdwStubPhase);
  13731. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_UnselectTerminal_Proxy(
  13732. ITSubStream * This,
  13733. /* [in] */ ITTerminal *pTerminal);
  13734. void __RPC_STUB ITSubStream_UnselectTerminal_Stub(
  13735. IRpcStubBuffer *This,
  13736. IRpcChannelBuffer *_pRpcChannelBuffer,
  13737. PRPC_MESSAGE _pRpcMessage,
  13738. DWORD *_pdwStubPhase);
  13739. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITSubStream_EnumerateTerminals_Proxy(
  13740. ITSubStream * This,
  13741. /* [out] */ IEnumTerminal **ppEnumTerminal);
  13742. void __RPC_STUB ITSubStream_EnumerateTerminals_Stub(
  13743. IRpcStubBuffer *This,
  13744. IRpcChannelBuffer *_pRpcChannelBuffer,
  13745. PRPC_MESSAGE _pRpcMessage,
  13746. DWORD *_pdwStubPhase);
  13747. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITSubStream_get_Terminals_Proxy(
  13748. ITSubStream * This,
  13749. /* [retval][out] */ VARIANT *pTerminals);
  13750. void __RPC_STUB ITSubStream_get_Terminals_Stub(
  13751. IRpcStubBuffer *This,
  13752. IRpcChannelBuffer *_pRpcChannelBuffer,
  13753. PRPC_MESSAGE _pRpcMessage,
  13754. DWORD *_pdwStubPhase);
  13755. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITSubStream_get_Stream_Proxy(
  13756. ITSubStream * This,
  13757. /* [retval][out] */ ITStream **ppITStream);
  13758. void __RPC_STUB ITSubStream_get_Stream_Stub(
  13759. IRpcStubBuffer *This,
  13760. IRpcChannelBuffer *_pRpcChannelBuffer,
  13761. PRPC_MESSAGE _pRpcMessage,
  13762. DWORD *_pdwStubPhase);
  13763. #endif /* __ITSubStream_INTERFACE_DEFINED__ */
  13764. #ifndef __IEnumSubStream_INTERFACE_DEFINED__
  13765. #define __IEnumSubStream_INTERFACE_DEFINED__
  13766. /* interface IEnumSubStream */
  13767. /* [object][unique][hidden][helpstring][uuid] */
  13768. EXTERN_C const IID IID_IEnumSubStream;
  13769. #if defined(__cplusplus) && !defined(CINTERFACE)
  13770. MIDL_INTERFACE("EE3BD609-3868-11d2-A045-00C04FB6809F")
  13771. IEnumSubStream : public IUnknown
  13772. {
  13773. public:
  13774. virtual HRESULT STDMETHODCALLTYPE Next(
  13775. /* [in] */ ULONG celt,
  13776. /* [out] */ ITSubStream **ppElements,
  13777. /* [full][out][in] */ ULONG *pceltFetched) = 0;
  13778. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  13779. virtual HRESULT STDMETHODCALLTYPE Skip(
  13780. /* [in] */ ULONG celt) = 0;
  13781. virtual HRESULT STDMETHODCALLTYPE Clone(
  13782. /* [retval][out] */ IEnumSubStream **ppEnum) = 0;
  13783. };
  13784. #else /* C style interface */
  13785. typedef struct IEnumSubStreamVtbl
  13786. {
  13787. BEGIN_INTERFACE
  13788. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13789. IEnumSubStream * This,
  13790. /* [in] */ REFIID riid,
  13791. /* [iid_is][out] */ void **ppvObject);
  13792. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13793. IEnumSubStream * This);
  13794. ULONG ( STDMETHODCALLTYPE *Release )(
  13795. IEnumSubStream * This);
  13796. HRESULT ( STDMETHODCALLTYPE *Next )(
  13797. IEnumSubStream * This,
  13798. /* [in] */ ULONG celt,
  13799. /* [out] */ ITSubStream **ppElements,
  13800. /* [full][out][in] */ ULONG *pceltFetched);
  13801. HRESULT ( STDMETHODCALLTYPE *Reset )(
  13802. IEnumSubStream * This);
  13803. HRESULT ( STDMETHODCALLTYPE *Skip )(
  13804. IEnumSubStream * This,
  13805. /* [in] */ ULONG celt);
  13806. HRESULT ( STDMETHODCALLTYPE *Clone )(
  13807. IEnumSubStream * This,
  13808. /* [retval][out] */ IEnumSubStream **ppEnum);
  13809. END_INTERFACE
  13810. } IEnumSubStreamVtbl;
  13811. interface IEnumSubStream
  13812. {
  13813. CONST_VTBL struct IEnumSubStreamVtbl *lpVtbl;
  13814. };
  13815. #ifdef COBJMACROS
  13816. #define IEnumSubStream_QueryInterface(This,riid,ppvObject) \
  13817. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13818. #define IEnumSubStream_AddRef(This) \
  13819. (This)->lpVtbl -> AddRef(This)
  13820. #define IEnumSubStream_Release(This) \
  13821. (This)->lpVtbl -> Release(This)
  13822. #define IEnumSubStream_Next(This,celt,ppElements,pceltFetched) \
  13823. (This)->lpVtbl -> Next(This,celt,ppElements,pceltFetched)
  13824. #define IEnumSubStream_Reset(This) \
  13825. (This)->lpVtbl -> Reset(This)
  13826. #define IEnumSubStream_Skip(This,celt) \
  13827. (This)->lpVtbl -> Skip(This,celt)
  13828. #define IEnumSubStream_Clone(This,ppEnum) \
  13829. (This)->lpVtbl -> Clone(This,ppEnum)
  13830. #endif /* COBJMACROS */
  13831. #endif /* C style interface */
  13832. HRESULT STDMETHODCALLTYPE IEnumSubStream_Next_Proxy(
  13833. IEnumSubStream * This,
  13834. /* [in] */ ULONG celt,
  13835. /* [out] */ ITSubStream **ppElements,
  13836. /* [full][out][in] */ ULONG *pceltFetched);
  13837. void __RPC_STUB IEnumSubStream_Next_Stub(
  13838. IRpcStubBuffer *This,
  13839. IRpcChannelBuffer *_pRpcChannelBuffer,
  13840. PRPC_MESSAGE _pRpcMessage,
  13841. DWORD *_pdwStubPhase);
  13842. HRESULT STDMETHODCALLTYPE IEnumSubStream_Reset_Proxy(
  13843. IEnumSubStream * This);
  13844. void __RPC_STUB IEnumSubStream_Reset_Stub(
  13845. IRpcStubBuffer *This,
  13846. IRpcChannelBuffer *_pRpcChannelBuffer,
  13847. PRPC_MESSAGE _pRpcMessage,
  13848. DWORD *_pdwStubPhase);
  13849. HRESULT STDMETHODCALLTYPE IEnumSubStream_Skip_Proxy(
  13850. IEnumSubStream * This,
  13851. /* [in] */ ULONG celt);
  13852. void __RPC_STUB IEnumSubStream_Skip_Stub(
  13853. IRpcStubBuffer *This,
  13854. IRpcChannelBuffer *_pRpcChannelBuffer,
  13855. PRPC_MESSAGE _pRpcMessage,
  13856. DWORD *_pdwStubPhase);
  13857. HRESULT STDMETHODCALLTYPE IEnumSubStream_Clone_Proxy(
  13858. IEnumSubStream * This,
  13859. /* [retval][out] */ IEnumSubStream **ppEnum);
  13860. void __RPC_STUB IEnumSubStream_Clone_Stub(
  13861. IRpcStubBuffer *This,
  13862. IRpcChannelBuffer *_pRpcChannelBuffer,
  13863. PRPC_MESSAGE _pRpcMessage,
  13864. DWORD *_pdwStubPhase);
  13865. #endif /* __IEnumSubStream_INTERFACE_DEFINED__ */
  13866. #ifndef __ITLegacyWaveSupport_INTERFACE_DEFINED__
  13867. #define __ITLegacyWaveSupport_INTERFACE_DEFINED__
  13868. /* interface ITLegacyWaveSupport */
  13869. /* [object][dual][helpstring][uuid] */
  13870. EXTERN_C const IID IID_ITLegacyWaveSupport;
  13871. #if defined(__cplusplus) && !defined(CINTERFACE)
  13872. MIDL_INTERFACE("207823EA-E252-11d2-B77E-0080C7135381")
  13873. ITLegacyWaveSupport : public IDispatch
  13874. {
  13875. public:
  13876. virtual HRESULT STDMETHODCALLTYPE IsFullDuplex(
  13877. /* [out] */ FULLDUPLEX_SUPPORT *pSupport) = 0;
  13878. };
  13879. #else /* C style interface */
  13880. typedef struct ITLegacyWaveSupportVtbl
  13881. {
  13882. BEGIN_INTERFACE
  13883. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13884. ITLegacyWaveSupport * This,
  13885. /* [in] */ REFIID riid,
  13886. /* [iid_is][out] */ void **ppvObject);
  13887. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13888. ITLegacyWaveSupport * This);
  13889. ULONG ( STDMETHODCALLTYPE *Release )(
  13890. ITLegacyWaveSupport * This);
  13891. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  13892. ITLegacyWaveSupport * This,
  13893. /* [out] */ UINT *pctinfo);
  13894. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  13895. ITLegacyWaveSupport * This,
  13896. /* [in] */ UINT iTInfo,
  13897. /* [in] */ LCID lcid,
  13898. /* [out] */ ITypeInfo **ppTInfo);
  13899. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  13900. ITLegacyWaveSupport * This,
  13901. /* [in] */ REFIID riid,
  13902. /* [size_is][in] */ LPOLESTR *rgszNames,
  13903. /* [in] */ UINT cNames,
  13904. /* [in] */ LCID lcid,
  13905. /* [size_is][out] */ DISPID *rgDispId);
  13906. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  13907. ITLegacyWaveSupport * This,
  13908. /* [in] */ DISPID dispIdMember,
  13909. /* [in] */ REFIID riid,
  13910. /* [in] */ LCID lcid,
  13911. /* [in] */ WORD wFlags,
  13912. /* [out][in] */ DISPPARAMS *pDispParams,
  13913. /* [out] */ VARIANT *pVarResult,
  13914. /* [out] */ EXCEPINFO *pExcepInfo,
  13915. /* [out] */ UINT *puArgErr);
  13916. HRESULT ( STDMETHODCALLTYPE *IsFullDuplex )(
  13917. ITLegacyWaveSupport * This,
  13918. /* [out] */ FULLDUPLEX_SUPPORT *pSupport);
  13919. END_INTERFACE
  13920. } ITLegacyWaveSupportVtbl;
  13921. interface ITLegacyWaveSupport
  13922. {
  13923. CONST_VTBL struct ITLegacyWaveSupportVtbl *lpVtbl;
  13924. };
  13925. #ifdef COBJMACROS
  13926. #define ITLegacyWaveSupport_QueryInterface(This,riid,ppvObject) \
  13927. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  13928. #define ITLegacyWaveSupport_AddRef(This) \
  13929. (This)->lpVtbl -> AddRef(This)
  13930. #define ITLegacyWaveSupport_Release(This) \
  13931. (This)->lpVtbl -> Release(This)
  13932. #define ITLegacyWaveSupport_GetTypeInfoCount(This,pctinfo) \
  13933. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  13934. #define ITLegacyWaveSupport_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  13935. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  13936. #define ITLegacyWaveSupport_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  13937. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  13938. #define ITLegacyWaveSupport_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  13939. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  13940. #define ITLegacyWaveSupport_IsFullDuplex(This,pSupport) \
  13941. (This)->lpVtbl -> IsFullDuplex(This,pSupport)
  13942. #endif /* COBJMACROS */
  13943. #endif /* C style interface */
  13944. HRESULT STDMETHODCALLTYPE ITLegacyWaveSupport_IsFullDuplex_Proxy(
  13945. ITLegacyWaveSupport * This,
  13946. /* [out] */ FULLDUPLEX_SUPPORT *pSupport);
  13947. void __RPC_STUB ITLegacyWaveSupport_IsFullDuplex_Stub(
  13948. IRpcStubBuffer *This,
  13949. IRpcChannelBuffer *_pRpcChannelBuffer,
  13950. PRPC_MESSAGE _pRpcMessage,
  13951. DWORD *_pdwStubPhase);
  13952. #endif /* __ITLegacyWaveSupport_INTERFACE_DEFINED__ */
  13953. #ifndef __ITBasicCallControl2_INTERFACE_DEFINED__
  13954. #define __ITBasicCallControl2_INTERFACE_DEFINED__
  13955. /* interface ITBasicCallControl2 */
  13956. /* [object][dual][helpstring][uuid] */
  13957. EXTERN_C const IID IID_ITBasicCallControl2;
  13958. #if defined(__cplusplus) && !defined(CINTERFACE)
  13959. MIDL_INTERFACE("161A4A56-1E99-4b3f-A46A-168F38A5EE4C")
  13960. ITBasicCallControl2 : public ITBasicCallControl
  13961. {
  13962. public:
  13963. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RequestTerminal(
  13964. /* [in] */ BSTR bstrTerminalClassGUID,
  13965. /* [in] */ long lMediaType,
  13966. /* [in] */ TERMINAL_DIRECTION Direction,
  13967. /* [retval][out] */ ITTerminal **ppTerminal) = 0;
  13968. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SelectTerminalOnCall(
  13969. /* [in] */ ITTerminal *pTerminal) = 0;
  13970. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnselectTerminalOnCall(
  13971. /* [in] */ ITTerminal *pTerminal) = 0;
  13972. };
  13973. #else /* C style interface */
  13974. typedef struct ITBasicCallControl2Vtbl
  13975. {
  13976. BEGIN_INTERFACE
  13977. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  13978. ITBasicCallControl2 * This,
  13979. /* [in] */ REFIID riid,
  13980. /* [iid_is][out] */ void **ppvObject);
  13981. ULONG ( STDMETHODCALLTYPE *AddRef )(
  13982. ITBasicCallControl2 * This);
  13983. ULONG ( STDMETHODCALLTYPE *Release )(
  13984. ITBasicCallControl2 * This);
  13985. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  13986. ITBasicCallControl2 * This,
  13987. /* [out] */ UINT *pctinfo);
  13988. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  13989. ITBasicCallControl2 * This,
  13990. /* [in] */ UINT iTInfo,
  13991. /* [in] */ LCID lcid,
  13992. /* [out] */ ITypeInfo **ppTInfo);
  13993. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  13994. ITBasicCallControl2 * This,
  13995. /* [in] */ REFIID riid,
  13996. /* [size_is][in] */ LPOLESTR *rgszNames,
  13997. /* [in] */ UINT cNames,
  13998. /* [in] */ LCID lcid,
  13999. /* [size_is][out] */ DISPID *rgDispId);
  14000. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  14001. ITBasicCallControl2 * This,
  14002. /* [in] */ DISPID dispIdMember,
  14003. /* [in] */ REFIID riid,
  14004. /* [in] */ LCID lcid,
  14005. /* [in] */ WORD wFlags,
  14006. /* [out][in] */ DISPPARAMS *pDispParams,
  14007. /* [out] */ VARIANT *pVarResult,
  14008. /* [out] */ EXCEPINFO *pExcepInfo,
  14009. /* [out] */ UINT *puArgErr);
  14010. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
  14011. ITBasicCallControl2 * This,
  14012. /* [in] */ VARIANT_BOOL fSync);
  14013. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Answer )(
  14014. ITBasicCallControl2 * This);
  14015. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  14016. ITBasicCallControl2 * This,
  14017. /* [in] */ DISCONNECT_CODE code);
  14018. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Hold )(
  14019. ITBasicCallControl2 * This,
  14020. /* [in] */ VARIANT_BOOL fHold);
  14021. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffDirect )(
  14022. ITBasicCallControl2 * This,
  14023. /* [in] */ BSTR pApplicationName);
  14024. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *HandoffIndirect )(
  14025. ITBasicCallControl2 * This,
  14026. /* [in] */ long lMediaType);
  14027. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Conference )(
  14028. ITBasicCallControl2 * This,
  14029. /* [in] */ ITBasicCallControl *pCall,
  14030. /* [in] */ VARIANT_BOOL fSync);
  14031. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Transfer )(
  14032. ITBasicCallControl2 * This,
  14033. /* [in] */ ITBasicCallControl *pCall,
  14034. /* [in] */ VARIANT_BOOL fSync);
  14035. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *BlindTransfer )(
  14036. ITBasicCallControl2 * This,
  14037. /* [in] */ BSTR pDestAddress);
  14038. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SwapHold )(
  14039. ITBasicCallControl2 * This,
  14040. /* [in] */ ITBasicCallControl *pCall);
  14041. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkDirect )(
  14042. ITBasicCallControl2 * This,
  14043. /* [in] */ BSTR pParkAddress);
  14044. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ParkIndirect )(
  14045. ITBasicCallControl2 * This,
  14046. /* [retval][out] */ BSTR *ppNonDirAddress);
  14047. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Unpark )(
  14048. ITBasicCallControl2 * This);
  14049. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetQOS )(
  14050. ITBasicCallControl2 * This,
  14051. /* [in] */ long lMediaType,
  14052. /* [in] */ QOS_SERVICE_LEVEL ServiceLevel);
  14053. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Pickup )(
  14054. ITBasicCallControl2 * This,
  14055. /* [in] */ BSTR pGroupID);
  14056. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Dial )(
  14057. ITBasicCallControl2 * This,
  14058. /* [in] */ BSTR pDestAddress);
  14059. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Finish )(
  14060. ITBasicCallControl2 * This,
  14061. /* [in] */ FINISH_MODE finishMode);
  14062. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RemoveFromConference )(
  14063. ITBasicCallControl2 * This);
  14064. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RequestTerminal )(
  14065. ITBasicCallControl2 * This,
  14066. /* [in] */ BSTR bstrTerminalClassGUID,
  14067. /* [in] */ long lMediaType,
  14068. /* [in] */ TERMINAL_DIRECTION Direction,
  14069. /* [retval][out] */ ITTerminal **ppTerminal);
  14070. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SelectTerminalOnCall )(
  14071. ITBasicCallControl2 * This,
  14072. /* [in] */ ITTerminal *pTerminal);
  14073. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *UnselectTerminalOnCall )(
  14074. ITBasicCallControl2 * This,
  14075. /* [in] */ ITTerminal *pTerminal);
  14076. END_INTERFACE
  14077. } ITBasicCallControl2Vtbl;
  14078. interface ITBasicCallControl2
  14079. {
  14080. CONST_VTBL struct ITBasicCallControl2Vtbl *lpVtbl;
  14081. };
  14082. #ifdef COBJMACROS
  14083. #define ITBasicCallControl2_QueryInterface(This,riid,ppvObject) \
  14084. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  14085. #define ITBasicCallControl2_AddRef(This) \
  14086. (This)->lpVtbl -> AddRef(This)
  14087. #define ITBasicCallControl2_Release(This) \
  14088. (This)->lpVtbl -> Release(This)
  14089. #define ITBasicCallControl2_GetTypeInfoCount(This,pctinfo) \
  14090. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  14091. #define ITBasicCallControl2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  14092. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  14093. #define ITBasicCallControl2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  14094. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  14095. #define ITBasicCallControl2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  14096. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  14097. #define ITBasicCallControl2_Connect(This,fSync) \
  14098. (This)->lpVtbl -> Connect(This,fSync)
  14099. #define ITBasicCallControl2_Answer(This) \
  14100. (This)->lpVtbl -> Answer(This)
  14101. #define ITBasicCallControl2_Disconnect(This,code) \
  14102. (This)->lpVtbl -> Disconnect(This,code)
  14103. #define ITBasicCallControl2_Hold(This,fHold) \
  14104. (This)->lpVtbl -> Hold(This,fHold)
  14105. #define ITBasicCallControl2_HandoffDirect(This,pApplicationName) \
  14106. (This)->lpVtbl -> HandoffDirect(This,pApplicationName)
  14107. #define ITBasicCallControl2_HandoffIndirect(This,lMediaType) \
  14108. (This)->lpVtbl -> HandoffIndirect(This,lMediaType)
  14109. #define ITBasicCallControl2_Conference(This,pCall,fSync) \
  14110. (This)->lpVtbl -> Conference(This,pCall,fSync)
  14111. #define ITBasicCallControl2_Transfer(This,pCall,fSync) \
  14112. (This)->lpVtbl -> Transfer(This,pCall,fSync)
  14113. #define ITBasicCallControl2_BlindTransfer(This,pDestAddress) \
  14114. (This)->lpVtbl -> BlindTransfer(This,pDestAddress)
  14115. #define ITBasicCallControl2_SwapHold(This,pCall) \
  14116. (This)->lpVtbl -> SwapHold(This,pCall)
  14117. #define ITBasicCallControl2_ParkDirect(This,pParkAddress) \
  14118. (This)->lpVtbl -> ParkDirect(This,pParkAddress)
  14119. #define ITBasicCallControl2_ParkIndirect(This,ppNonDirAddress) \
  14120. (This)->lpVtbl -> ParkIndirect(This,ppNonDirAddress)
  14121. #define ITBasicCallControl2_Unpark(This) \
  14122. (This)->lpVtbl -> Unpark(This)
  14123. #define ITBasicCallControl2_SetQOS(This,lMediaType,ServiceLevel) \
  14124. (This)->lpVtbl -> SetQOS(This,lMediaType,ServiceLevel)
  14125. #define ITBasicCallControl2_Pickup(This,pGroupID) \
  14126. (This)->lpVtbl -> Pickup(This,pGroupID)
  14127. #define ITBasicCallControl2_Dial(This,pDestAddress) \
  14128. (This)->lpVtbl -> Dial(This,pDestAddress)
  14129. #define ITBasicCallControl2_Finish(This,finishMode) \
  14130. (This)->lpVtbl -> Finish(This,finishMode)
  14131. #define ITBasicCallControl2_RemoveFromConference(This) \
  14132. (This)->lpVtbl -> RemoveFromConference(This)
  14133. #define ITBasicCallControl2_RequestTerminal(This,bstrTerminalClassGUID,lMediaType,Direction,ppTerminal) \
  14134. (This)->lpVtbl -> RequestTerminal(This,bstrTerminalClassGUID,lMediaType,Direction,ppTerminal)
  14135. #define ITBasicCallControl2_SelectTerminalOnCall(This,pTerminal) \
  14136. (This)->lpVtbl -> SelectTerminalOnCall(This,pTerminal)
  14137. #define ITBasicCallControl2_UnselectTerminalOnCall(This,pTerminal) \
  14138. (This)->lpVtbl -> UnselectTerminalOnCall(This,pTerminal)
  14139. #endif /* COBJMACROS */
  14140. #endif /* C style interface */
  14141. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl2_RequestTerminal_Proxy(
  14142. ITBasicCallControl2 * This,
  14143. /* [in] */ BSTR bstrTerminalClassGUID,
  14144. /* [in] */ long lMediaType,
  14145. /* [in] */ TERMINAL_DIRECTION Direction,
  14146. /* [retval][out] */ ITTerminal **ppTerminal);
  14147. void __RPC_STUB ITBasicCallControl2_RequestTerminal_Stub(
  14148. IRpcStubBuffer *This,
  14149. IRpcChannelBuffer *_pRpcChannelBuffer,
  14150. PRPC_MESSAGE _pRpcMessage,
  14151. DWORD *_pdwStubPhase);
  14152. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl2_SelectTerminalOnCall_Proxy(
  14153. ITBasicCallControl2 * This,
  14154. /* [in] */ ITTerminal *pTerminal);
  14155. void __RPC_STUB ITBasicCallControl2_SelectTerminalOnCall_Stub(
  14156. IRpcStubBuffer *This,
  14157. IRpcChannelBuffer *_pRpcChannelBuffer,
  14158. PRPC_MESSAGE _pRpcMessage,
  14159. DWORD *_pdwStubPhase);
  14160. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITBasicCallControl2_UnselectTerminalOnCall_Proxy(
  14161. ITBasicCallControl2 * This,
  14162. /* [in] */ ITTerminal *pTerminal);
  14163. void __RPC_STUB ITBasicCallControl2_UnselectTerminalOnCall_Stub(
  14164. IRpcStubBuffer *This,
  14165. IRpcChannelBuffer *_pRpcChannelBuffer,
  14166. PRPC_MESSAGE _pRpcMessage,
  14167. DWORD *_pdwStubPhase);
  14168. #endif /* __ITBasicCallControl2_INTERFACE_DEFINED__ */
  14169. #ifndef __ITScriptableAudioFormat_INTERFACE_DEFINED__
  14170. #define __ITScriptableAudioFormat_INTERFACE_DEFINED__
  14171. /* interface ITScriptableAudioFormat */
  14172. /* [object][dual][helpstring][uuid] */
  14173. EXTERN_C const IID IID_ITScriptableAudioFormat;
  14174. #if defined(__cplusplus) && !defined(CINTERFACE)
  14175. MIDL_INTERFACE("B87658BD-3C59-4f64-BE74-AEDE3E86A81E")
  14176. ITScriptableAudioFormat : public IDispatch
  14177. {
  14178. public:
  14179. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Channels(
  14180. /* [retval][out] */ long *pVal) = 0;
  14181. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Channels(
  14182. /* [in] */ const long nNewVal) = 0;
  14183. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SamplesPerSec(
  14184. /* [retval][out] */ long *pVal) = 0;
  14185. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_SamplesPerSec(
  14186. /* [in] */ const long nNewVal) = 0;
  14187. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_AvgBytesPerSec(
  14188. /* [retval][out] */ long *pVal) = 0;
  14189. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_AvgBytesPerSec(
  14190. /* [in] */ const long nNewVal) = 0;
  14191. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BlockAlign(
  14192. /* [retval][out] */ long *pVal) = 0;
  14193. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BlockAlign(
  14194. /* [in] */ const long nNewVal) = 0;
  14195. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_BitsPerSample(
  14196. /* [retval][out] */ long *pVal) = 0;
  14197. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_BitsPerSample(
  14198. /* [in] */ const long nNewVal) = 0;
  14199. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_FormatTag(
  14200. /* [retval][out] */ long *pVal) = 0;
  14201. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_FormatTag(
  14202. /* [in] */ const long nNewVal) = 0;
  14203. };
  14204. #else /* C style interface */
  14205. typedef struct ITScriptableAudioFormatVtbl
  14206. {
  14207. BEGIN_INTERFACE
  14208. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  14209. ITScriptableAudioFormat * This,
  14210. /* [in] */ REFIID riid,
  14211. /* [iid_is][out] */ void **ppvObject);
  14212. ULONG ( STDMETHODCALLTYPE *AddRef )(
  14213. ITScriptableAudioFormat * This);
  14214. ULONG ( STDMETHODCALLTYPE *Release )(
  14215. ITScriptableAudioFormat * This);
  14216. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  14217. ITScriptableAudioFormat * This,
  14218. /* [out] */ UINT *pctinfo);
  14219. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  14220. ITScriptableAudioFormat * This,
  14221. /* [in] */ UINT iTInfo,
  14222. /* [in] */ LCID lcid,
  14223. /* [out] */ ITypeInfo **ppTInfo);
  14224. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  14225. ITScriptableAudioFormat * This,
  14226. /* [in] */ REFIID riid,
  14227. /* [size_is][in] */ LPOLESTR *rgszNames,
  14228. /* [in] */ UINT cNames,
  14229. /* [in] */ LCID lcid,
  14230. /* [size_is][out] */ DISPID *rgDispId);
  14231. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  14232. ITScriptableAudioFormat * This,
  14233. /* [in] */ DISPID dispIdMember,
  14234. /* [in] */ REFIID riid,
  14235. /* [in] */ LCID lcid,
  14236. /* [in] */ WORD wFlags,
  14237. /* [out][in] */ DISPPARAMS *pDispParams,
  14238. /* [out] */ VARIANT *pVarResult,
  14239. /* [out] */ EXCEPINFO *pExcepInfo,
  14240. /* [out] */ UINT *puArgErr);
  14241. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Channels )(
  14242. ITScriptableAudioFormat * This,
  14243. /* [retval][out] */ long *pVal);
  14244. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Channels )(
  14245. ITScriptableAudioFormat * This,
  14246. /* [in] */ const long nNewVal);
  14247. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SamplesPerSec )(
  14248. ITScriptableAudioFormat * This,
  14249. /* [retval][out] */ long *pVal);
  14250. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SamplesPerSec )(
  14251. ITScriptableAudioFormat * This,
  14252. /* [in] */ const long nNewVal);
  14253. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_AvgBytesPerSec )(
  14254. ITScriptableAudioFormat * This,
  14255. /* [retval][out] */ long *pVal);
  14256. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_AvgBytesPerSec )(
  14257. ITScriptableAudioFormat * This,
  14258. /* [in] */ const long nNewVal);
  14259. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BlockAlign )(
  14260. ITScriptableAudioFormat * This,
  14261. /* [retval][out] */ long *pVal);
  14262. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BlockAlign )(
  14263. ITScriptableAudioFormat * This,
  14264. /* [in] */ const long nNewVal);
  14265. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_BitsPerSample )(
  14266. ITScriptableAudioFormat * This,
  14267. /* [retval][out] */ long *pVal);
  14268. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_BitsPerSample )(
  14269. ITScriptableAudioFormat * This,
  14270. /* [in] */ const long nNewVal);
  14271. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_FormatTag )(
  14272. ITScriptableAudioFormat * This,
  14273. /* [retval][out] */ long *pVal);
  14274. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_FormatTag )(
  14275. ITScriptableAudioFormat * This,
  14276. /* [in] */ const long nNewVal);
  14277. END_INTERFACE
  14278. } ITScriptableAudioFormatVtbl;
  14279. interface ITScriptableAudioFormat
  14280. {
  14281. CONST_VTBL struct ITScriptableAudioFormatVtbl *lpVtbl;
  14282. };
  14283. #ifdef COBJMACROS
  14284. #define ITScriptableAudioFormat_QueryInterface(This,riid,ppvObject) \
  14285. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  14286. #define ITScriptableAudioFormat_AddRef(This) \
  14287. (This)->lpVtbl -> AddRef(This)
  14288. #define ITScriptableAudioFormat_Release(This) \
  14289. (This)->lpVtbl -> Release(This)
  14290. #define ITScriptableAudioFormat_GetTypeInfoCount(This,pctinfo) \
  14291. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  14292. #define ITScriptableAudioFormat_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  14293. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  14294. #define ITScriptableAudioFormat_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  14295. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  14296. #define ITScriptableAudioFormat_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  14297. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  14298. #define ITScriptableAudioFormat_get_Channels(This,pVal) \
  14299. (This)->lpVtbl -> get_Channels(This,pVal)
  14300. #define ITScriptableAudioFormat_put_Channels(This,nNewVal) \
  14301. (This)->lpVtbl -> put_Channels(This,nNewVal)
  14302. #define ITScriptableAudioFormat_get_SamplesPerSec(This,pVal) \
  14303. (This)->lpVtbl -> get_SamplesPerSec(This,pVal)
  14304. #define ITScriptableAudioFormat_put_SamplesPerSec(This,nNewVal) \
  14305. (This)->lpVtbl -> put_SamplesPerSec(This,nNewVal)
  14306. #define ITScriptableAudioFormat_get_AvgBytesPerSec(This,pVal) \
  14307. (This)->lpVtbl -> get_AvgBytesPerSec(This,pVal)
  14308. #define ITScriptableAudioFormat_put_AvgBytesPerSec(This,nNewVal) \
  14309. (This)->lpVtbl -> put_AvgBytesPerSec(This,nNewVal)
  14310. #define ITScriptableAudioFormat_get_BlockAlign(This,pVal) \
  14311. (This)->lpVtbl -> get_BlockAlign(This,pVal)
  14312. #define ITScriptableAudioFormat_put_BlockAlign(This,nNewVal) \
  14313. (This)->lpVtbl -> put_BlockAlign(This,nNewVal)
  14314. #define ITScriptableAudioFormat_get_BitsPerSample(This,pVal) \
  14315. (This)->lpVtbl -> get_BitsPerSample(This,pVal)
  14316. #define ITScriptableAudioFormat_put_BitsPerSample(This,nNewVal) \
  14317. (This)->lpVtbl -> put_BitsPerSample(This,nNewVal)
  14318. #define ITScriptableAudioFormat_get_FormatTag(This,pVal) \
  14319. (This)->lpVtbl -> get_FormatTag(This,pVal)
  14320. #define ITScriptableAudioFormat_put_FormatTag(This,nNewVal) \
  14321. (This)->lpVtbl -> put_FormatTag(This,nNewVal)
  14322. #endif /* COBJMACROS */
  14323. #endif /* C style interface */
  14324. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_Channels_Proxy(
  14325. ITScriptableAudioFormat * This,
  14326. /* [retval][out] */ long *pVal);
  14327. void __RPC_STUB ITScriptableAudioFormat_get_Channels_Stub(
  14328. IRpcStubBuffer *This,
  14329. IRpcChannelBuffer *_pRpcChannelBuffer,
  14330. PRPC_MESSAGE _pRpcMessage,
  14331. DWORD *_pdwStubPhase);
  14332. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_Channels_Proxy(
  14333. ITScriptableAudioFormat * This,
  14334. /* [in] */ const long nNewVal);
  14335. void __RPC_STUB ITScriptableAudioFormat_put_Channels_Stub(
  14336. IRpcStubBuffer *This,
  14337. IRpcChannelBuffer *_pRpcChannelBuffer,
  14338. PRPC_MESSAGE _pRpcMessage,
  14339. DWORD *_pdwStubPhase);
  14340. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_SamplesPerSec_Proxy(
  14341. ITScriptableAudioFormat * This,
  14342. /* [retval][out] */ long *pVal);
  14343. void __RPC_STUB ITScriptableAudioFormat_get_SamplesPerSec_Stub(
  14344. IRpcStubBuffer *This,
  14345. IRpcChannelBuffer *_pRpcChannelBuffer,
  14346. PRPC_MESSAGE _pRpcMessage,
  14347. DWORD *_pdwStubPhase);
  14348. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_SamplesPerSec_Proxy(
  14349. ITScriptableAudioFormat * This,
  14350. /* [in] */ const long nNewVal);
  14351. void __RPC_STUB ITScriptableAudioFormat_put_SamplesPerSec_Stub(
  14352. IRpcStubBuffer *This,
  14353. IRpcChannelBuffer *_pRpcChannelBuffer,
  14354. PRPC_MESSAGE _pRpcMessage,
  14355. DWORD *_pdwStubPhase);
  14356. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_AvgBytesPerSec_Proxy(
  14357. ITScriptableAudioFormat * This,
  14358. /* [retval][out] */ long *pVal);
  14359. void __RPC_STUB ITScriptableAudioFormat_get_AvgBytesPerSec_Stub(
  14360. IRpcStubBuffer *This,
  14361. IRpcChannelBuffer *_pRpcChannelBuffer,
  14362. PRPC_MESSAGE _pRpcMessage,
  14363. DWORD *_pdwStubPhase);
  14364. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_AvgBytesPerSec_Proxy(
  14365. ITScriptableAudioFormat * This,
  14366. /* [in] */ const long nNewVal);
  14367. void __RPC_STUB ITScriptableAudioFormat_put_AvgBytesPerSec_Stub(
  14368. IRpcStubBuffer *This,
  14369. IRpcChannelBuffer *_pRpcChannelBuffer,
  14370. PRPC_MESSAGE _pRpcMessage,
  14371. DWORD *_pdwStubPhase);
  14372. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_BlockAlign_Proxy(
  14373. ITScriptableAudioFormat * This,
  14374. /* [retval][out] */ long *pVal);
  14375. void __RPC_STUB ITScriptableAudioFormat_get_BlockAlign_Stub(
  14376. IRpcStubBuffer *This,
  14377. IRpcChannelBuffer *_pRpcChannelBuffer,
  14378. PRPC_MESSAGE _pRpcMessage,
  14379. DWORD *_pdwStubPhase);
  14380. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_BlockAlign_Proxy(
  14381. ITScriptableAudioFormat * This,
  14382. /* [in] */ const long nNewVal);
  14383. void __RPC_STUB ITScriptableAudioFormat_put_BlockAlign_Stub(
  14384. IRpcStubBuffer *This,
  14385. IRpcChannelBuffer *_pRpcChannelBuffer,
  14386. PRPC_MESSAGE _pRpcMessage,
  14387. DWORD *_pdwStubPhase);
  14388. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_BitsPerSample_Proxy(
  14389. ITScriptableAudioFormat * This,
  14390. /* [retval][out] */ long *pVal);
  14391. void __RPC_STUB ITScriptableAudioFormat_get_BitsPerSample_Stub(
  14392. IRpcStubBuffer *This,
  14393. IRpcChannelBuffer *_pRpcChannelBuffer,
  14394. PRPC_MESSAGE _pRpcMessage,
  14395. DWORD *_pdwStubPhase);
  14396. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_BitsPerSample_Proxy(
  14397. ITScriptableAudioFormat * This,
  14398. /* [in] */ const long nNewVal);
  14399. void __RPC_STUB ITScriptableAudioFormat_put_BitsPerSample_Stub(
  14400. IRpcStubBuffer *This,
  14401. IRpcChannelBuffer *_pRpcChannelBuffer,
  14402. PRPC_MESSAGE _pRpcMessage,
  14403. DWORD *_pdwStubPhase);
  14404. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_get_FormatTag_Proxy(
  14405. ITScriptableAudioFormat * This,
  14406. /* [retval][out] */ long *pVal);
  14407. void __RPC_STUB ITScriptableAudioFormat_get_FormatTag_Stub(
  14408. IRpcStubBuffer *This,
  14409. IRpcChannelBuffer *_pRpcChannelBuffer,
  14410. PRPC_MESSAGE _pRpcMessage,
  14411. DWORD *_pdwStubPhase);
  14412. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITScriptableAudioFormat_put_FormatTag_Proxy(
  14413. ITScriptableAudioFormat * This,
  14414. /* [in] */ const long nNewVal);
  14415. void __RPC_STUB ITScriptableAudioFormat_put_FormatTag_Stub(
  14416. IRpcStubBuffer *This,
  14417. IRpcChannelBuffer *_pRpcChannelBuffer,
  14418. PRPC_MESSAGE _pRpcMessage,
  14419. DWORD *_pdwStubPhase);
  14420. #endif /* __ITScriptableAudioFormat_INTERFACE_DEFINED__ */
  14421. /* interface __MIDL_itf_tapi3if_0492 */
  14422. /* [local] */
  14423. /****************************************
  14424. * Terminal Classes
  14425. ****************************************/
  14426. // Video Windows - {F7438990-D6EB-11d0-82A6-00AA00B5CA1B}
  14427. EXTERN_C const CLSID CLSID_VideoWindowTerm;
  14428. // Video input (camera) {AAF578EC-DC70-11d0-8ED3-00C04FB6809F}
  14429. EXTERN_C const CLSID CLSID_VideoInputTerminal;
  14430. // Handset device {AAF578EB-DC70-11d0-8ED3-00C04FB6809F}
  14431. EXTERN_C const CLSID CLSID_HandsetTerminal;
  14432. // Headset device {AAF578ED-DC70-11d0-8ED3-00C04FB6809F}
  14433. EXTERN_C const CLSID CLSID_HeadsetTerminal;
  14434. // Speakerphone device {AAF578EE-DC70-11d0-8ED3-00C04FB6809F}
  14435. EXTERN_C const CLSID CLSID_SpeakerphoneTerminal;
  14436. // Microphone (sound card) {AAF578EF-DC70-11d0-8ED3-00C04FB6809F}
  14437. EXTERN_C const CLSID CLSID_MicrophoneTerminal;
  14438. // Speakers (sound card) {AAF578F0-DC70-11d0-8ED3-00C04FB6809F}
  14439. EXTERN_C const CLSID CLSID_SpeakersTerminal;
  14440. // Media stream terminal {E2F7AEF7-4971-11D1-A671-006097C9A2E8}
  14441. EXTERN_C const CLSID CLSID_MediaStreamTerminal;
  14442. // File Recording terminal {521F3D06-C3D0-4511-8617-86B9A783DA77}
  14443. EXTERN_C const CLSID CLSID_FileRecordingTerminal;
  14444. // File Recording Track {BF14A2E4-E88B-4ef5-9740-5AC5D022F8C9}
  14445. EXTERN_C const CLSID CLSID_FileRecordingTrack;
  14446. // File Playback Terminal {0CB9914C-79CD-47dc-ADB0-327F47CEFB20}
  14447. EXTERN_C const CLSID CLSID_FilePlaybackTerminal;
  14448. // define the media modes
  14449. #define TAPIMEDIATYPE_AUDIO 0x8
  14450. #define TAPIMEDIATYPE_VIDEO 0x8000
  14451. #define TAPIMEDIATYPE_DATAMODEM 0x10
  14452. #define TAPIMEDIATYPE_G3FAX 0x20
  14453. #define TAPIMEDIATYPE_MULTITRACK 0x10000
  14454. // {831CE2D6-83B5-11d1-BB5C-00C04FB6809F}
  14455. EXTERN_C const CLSID TAPIPROTOCOL_PSTN;
  14456. // {831CE2D7-83B5-11d1-BB5C-00C04FB6809F}
  14457. EXTERN_C const CLSID TAPIPROTOCOL_H323;
  14458. // {831CE2D8-83B5-11d1-BB5C-00C04FB6809F}
  14459. EXTERN_C const CLSID TAPIPROTOCOL_Multicast;
  14460. #define __TapiConstants_MODULE_DEFINED__
  14461. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0492_v0_0_c_ifspec;
  14462. extern RPC_IF_HANDLE __MIDL_itf_tapi3if_0492_v0_0_s_ifspec;
  14463. /* Additional Prototypes for ALL interfaces */
  14464. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  14465. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  14466. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  14467. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  14468. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  14469. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  14470. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  14471. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  14472. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  14473. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  14474. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  14475. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  14476. /* end of Additional Prototypes */
  14477. #ifdef __cplusplus
  14478. }
  14479. #endif
  14480. #endif