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.

1555 lines
48 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 ipmsp.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 __ipmsp_h__
  27. #define __ipmsp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ITParticipant_FWD_DEFINED__
  33. #define __ITParticipant_FWD_DEFINED__
  34. typedef interface ITParticipant ITParticipant;
  35. #endif /* __ITParticipant_FWD_DEFINED__ */
  36. #ifndef __ITFormatControl_FWD_DEFINED__
  37. #define __ITFormatControl_FWD_DEFINED__
  38. typedef interface ITFormatControl ITFormatControl;
  39. #endif /* __ITFormatControl_FWD_DEFINED__ */
  40. #ifndef __ITStreamQualityControl_FWD_DEFINED__
  41. #define __ITStreamQualityControl_FWD_DEFINED__
  42. typedef interface ITStreamQualityControl ITStreamQualityControl;
  43. #endif /* __ITStreamQualityControl_FWD_DEFINED__ */
  44. #ifndef __ITCallQualityControl_FWD_DEFINED__
  45. #define __ITCallQualityControl_FWD_DEFINED__
  46. typedef interface ITCallQualityControl ITCallQualityControl;
  47. #endif /* __ITCallQualityControl_FWD_DEFINED__ */
  48. #ifndef __ITAudioDeviceControl_FWD_DEFINED__
  49. #define __ITAudioDeviceControl_FWD_DEFINED__
  50. typedef interface ITAudioDeviceControl ITAudioDeviceControl;
  51. #endif /* __ITAudioDeviceControl_FWD_DEFINED__ */
  52. #ifndef __ITAudioSettings_FWD_DEFINED__
  53. #define __ITAudioSettings_FWD_DEFINED__
  54. typedef interface ITAudioSettings ITAudioSettings;
  55. #endif /* __ITAudioSettings_FWD_DEFINED__ */
  56. #ifndef __ITQOSApplicationID_FWD_DEFINED__
  57. #define __ITQOSApplicationID_FWD_DEFINED__
  58. typedef interface ITQOSApplicationID ITQOSApplicationID;
  59. #endif /* __ITQOSApplicationID_FWD_DEFINED__ */
  60. /* header files for imported files */
  61. #include "tapi3if.h"
  62. #ifdef __cplusplus
  63. extern "C"{
  64. #endif
  65. void * __RPC_USER MIDL_user_allocate(size_t);
  66. void __RPC_USER MIDL_user_free( void * );
  67. /* interface __MIDL_itf_ipmsp_0000 */
  68. /* [local] */
  69. #define MAX_PARTICIPANT_TYPED_INFO_LENGTH ( 256 )
  70. #define MAX_QOS_ID_LEN ( 128 )
  71. typedef
  72. enum PARTICIPANT_TYPED_INFO
  73. { PTI_CANONICALNAME = 0,
  74. PTI_NAME = PTI_CANONICALNAME + 1,
  75. PTI_EMAILADDRESS = PTI_NAME + 1,
  76. PTI_PHONENUMBER = PTI_EMAILADDRESS + 1,
  77. PTI_LOCATION = PTI_PHONENUMBER + 1,
  78. PTI_TOOL = PTI_LOCATION + 1,
  79. PTI_NOTES = PTI_TOOL + 1,
  80. PTI_PRIVATE = PTI_NOTES + 1
  81. } PARTICIPANT_TYPED_INFO;
  82. typedef
  83. enum PARTICIPANT_EVENT
  84. { PE_NEW_PARTICIPANT = 0,
  85. PE_INFO_CHANGE = PE_NEW_PARTICIPANT + 1,
  86. PE_PARTICIPANT_LEAVE = PE_INFO_CHANGE + 1,
  87. PE_NEW_SUBSTREAM = PE_PARTICIPANT_LEAVE + 1,
  88. PE_SUBSTREAM_REMOVED = PE_NEW_SUBSTREAM + 1,
  89. PE_SUBSTREAM_MAPPED = PE_SUBSTREAM_REMOVED + 1,
  90. PE_SUBSTREAM_UNMAPPED = PE_SUBSTREAM_MAPPED + 1,
  91. PE_PARTICIPANT_TIMEOUT = PE_SUBSTREAM_UNMAPPED + 1,
  92. PE_PARTICIPANT_RECOVERED = PE_PARTICIPANT_TIMEOUT + 1,
  93. PE_PARTICIPANT_ACTIVE = PE_PARTICIPANT_RECOVERED + 1,
  94. PE_PARTICIPANT_INACTIVE = PE_PARTICIPANT_ACTIVE + 1,
  95. PE_LOCAL_TALKING = PE_PARTICIPANT_INACTIVE + 1,
  96. PE_LOCAL_SILENT = PE_LOCAL_TALKING + 1
  97. } PARTICIPANT_EVENT;
  98. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0000_v0_0_c_ifspec;
  99. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0000_v0_0_s_ifspec;
  100. #ifndef __ITParticipant_INTERFACE_DEFINED__
  101. #define __ITParticipant_INTERFACE_DEFINED__
  102. /* interface ITParticipant */
  103. /* [object][dual][unique][helpstring][uuid] */
  104. EXTERN_C const IID IID_ITParticipant;
  105. #if defined(__cplusplus) && !defined(CINTERFACE)
  106. MIDL_INTERFACE("5899b820-5a34-11d2-95a0-00a0244d2298")
  107. ITParticipant : public IDispatch
  108. {
  109. public:
  110. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ParticipantTypedInfo(
  111. /* [in] */ PARTICIPANT_TYPED_INFO InfoType,
  112. /* [retval][out] */ BSTR *ppInfo) = 0;
  113. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_MediaTypes(
  114. /* [retval][out] */ long *plMediaType) = 0;
  115. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Status(
  116. /* [in] */ ITStream *pITStream,
  117. /* [in] */ VARIANT_BOOL fEnable) = 0;
  118. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Status(
  119. /* [in] */ ITStream *pITStream,
  120. /* [retval][out] */ VARIANT_BOOL *pStatus) = 0;
  121. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Streams(
  122. /* [retval][out] */ VARIANT *pVariant) = 0;
  123. virtual /* [hidden][id] */ HRESULT STDMETHODCALLTYPE EnumerateStreams(
  124. /* [retval][out] */ IEnumStream **ppEnumStream) = 0;
  125. };
  126. #else /* C style interface */
  127. typedef struct ITParticipantVtbl
  128. {
  129. BEGIN_INTERFACE
  130. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  131. ITParticipant * This,
  132. /* [in] */ REFIID riid,
  133. /* [iid_is][out] */ void **ppvObject);
  134. ULONG ( STDMETHODCALLTYPE *AddRef )(
  135. ITParticipant * This);
  136. ULONG ( STDMETHODCALLTYPE *Release )(
  137. ITParticipant * This);
  138. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  139. ITParticipant * This,
  140. /* [out] */ UINT *pctinfo);
  141. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  142. ITParticipant * This,
  143. /* [in] */ UINT iTInfo,
  144. /* [in] */ LCID lcid,
  145. /* [out] */ ITypeInfo **ppTInfo);
  146. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  147. ITParticipant * This,
  148. /* [in] */ REFIID riid,
  149. /* [size_is][in] */ LPOLESTR *rgszNames,
  150. /* [in] */ UINT cNames,
  151. /* [in] */ LCID lcid,
  152. /* [size_is][out] */ DISPID *rgDispId);
  153. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  154. ITParticipant * This,
  155. /* [in] */ DISPID dispIdMember,
  156. /* [in] */ REFIID riid,
  157. /* [in] */ LCID lcid,
  158. /* [in] */ WORD wFlags,
  159. /* [out][in] */ DISPPARAMS *pDispParams,
  160. /* [out] */ VARIANT *pVarResult,
  161. /* [out] */ EXCEPINFO *pExcepInfo,
  162. /* [out] */ UINT *puArgErr);
  163. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ParticipantTypedInfo )(
  164. ITParticipant * This,
  165. /* [in] */ PARTICIPANT_TYPED_INFO InfoType,
  166. /* [retval][out] */ BSTR *ppInfo);
  167. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_MediaTypes )(
  168. ITParticipant * This,
  169. /* [retval][out] */ long *plMediaType);
  170. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Status )(
  171. ITParticipant * This,
  172. /* [in] */ ITStream *pITStream,
  173. /* [in] */ VARIANT_BOOL fEnable);
  174. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  175. ITParticipant * This,
  176. /* [in] */ ITStream *pITStream,
  177. /* [retval][out] */ VARIANT_BOOL *pStatus);
  178. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Streams )(
  179. ITParticipant * This,
  180. /* [retval][out] */ VARIANT *pVariant);
  181. /* [hidden][id] */ HRESULT ( STDMETHODCALLTYPE *EnumerateStreams )(
  182. ITParticipant * This,
  183. /* [retval][out] */ IEnumStream **ppEnumStream);
  184. END_INTERFACE
  185. } ITParticipantVtbl;
  186. interface ITParticipant
  187. {
  188. CONST_VTBL struct ITParticipantVtbl *lpVtbl;
  189. };
  190. #ifdef COBJMACROS
  191. #define ITParticipant_QueryInterface(This,riid,ppvObject) \
  192. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  193. #define ITParticipant_AddRef(This) \
  194. (This)->lpVtbl -> AddRef(This)
  195. #define ITParticipant_Release(This) \
  196. (This)->lpVtbl -> Release(This)
  197. #define ITParticipant_GetTypeInfoCount(This,pctinfo) \
  198. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  199. #define ITParticipant_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  200. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  201. #define ITParticipant_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  202. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  203. #define ITParticipant_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  204. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  205. #define ITParticipant_get_ParticipantTypedInfo(This,InfoType,ppInfo) \
  206. (This)->lpVtbl -> get_ParticipantTypedInfo(This,InfoType,ppInfo)
  207. #define ITParticipant_get_MediaTypes(This,plMediaType) \
  208. (This)->lpVtbl -> get_MediaTypes(This,plMediaType)
  209. #define ITParticipant_put_Status(This,pITStream,fEnable) \
  210. (This)->lpVtbl -> put_Status(This,pITStream,fEnable)
  211. #define ITParticipant_get_Status(This,pITStream,pStatus) \
  212. (This)->lpVtbl -> get_Status(This,pITStream,pStatus)
  213. #define ITParticipant_get_Streams(This,pVariant) \
  214. (This)->lpVtbl -> get_Streams(This,pVariant)
  215. #define ITParticipant_EnumerateStreams(This,ppEnumStream) \
  216. (This)->lpVtbl -> EnumerateStreams(This,ppEnumStream)
  217. #endif /* COBJMACROS */
  218. #endif /* C style interface */
  219. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITParticipant_get_ParticipantTypedInfo_Proxy(
  220. ITParticipant * This,
  221. /* [in] */ PARTICIPANT_TYPED_INFO InfoType,
  222. /* [retval][out] */ BSTR *ppInfo);
  223. void __RPC_STUB ITParticipant_get_ParticipantTypedInfo_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITParticipant_get_MediaTypes_Proxy(
  229. ITParticipant * This,
  230. /* [retval][out] */ long *plMediaType);
  231. void __RPC_STUB ITParticipant_get_MediaTypes_Stub(
  232. IRpcStubBuffer *This,
  233. IRpcChannelBuffer *_pRpcChannelBuffer,
  234. PRPC_MESSAGE _pRpcMessage,
  235. DWORD *_pdwStubPhase);
  236. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE ITParticipant_put_Status_Proxy(
  237. ITParticipant * This,
  238. /* [in] */ ITStream *pITStream,
  239. /* [in] */ VARIANT_BOOL fEnable);
  240. void __RPC_STUB ITParticipant_put_Status_Stub(
  241. IRpcStubBuffer *This,
  242. IRpcChannelBuffer *_pRpcChannelBuffer,
  243. PRPC_MESSAGE _pRpcMessage,
  244. DWORD *_pdwStubPhase);
  245. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITParticipant_get_Status_Proxy(
  246. ITParticipant * This,
  247. /* [in] */ ITStream *pITStream,
  248. /* [retval][out] */ VARIANT_BOOL *pStatus);
  249. void __RPC_STUB ITParticipant_get_Status_Stub(
  250. IRpcStubBuffer *This,
  251. IRpcChannelBuffer *_pRpcChannelBuffer,
  252. PRPC_MESSAGE _pRpcMessage,
  253. DWORD *_pdwStubPhase);
  254. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ITParticipant_get_Streams_Proxy(
  255. ITParticipant * This,
  256. /* [retval][out] */ VARIANT *pVariant);
  257. void __RPC_STUB ITParticipant_get_Streams_Stub(
  258. IRpcStubBuffer *This,
  259. IRpcChannelBuffer *_pRpcChannelBuffer,
  260. PRPC_MESSAGE _pRpcMessage,
  261. DWORD *_pdwStubPhase);
  262. /* [hidden][id] */ HRESULT STDMETHODCALLTYPE ITParticipant_EnumerateStreams_Proxy(
  263. ITParticipant * This,
  264. /* [retval][out] */ IEnumStream **ppEnumStream);
  265. void __RPC_STUB ITParticipant_EnumerateStreams_Stub(
  266. IRpcStubBuffer *This,
  267. IRpcChannelBuffer *_pRpcChannelBuffer,
  268. PRPC_MESSAGE _pRpcMessage,
  269. DWORD *_pdwStubPhase);
  270. #endif /* __ITParticipant_INTERFACE_DEFINED__ */
  271. /* interface __MIDL_itf_ipmsp_0495 */
  272. /* [local] */
  273. #ifndef STREAM_INTERFACES_DEFINED
  274. #define STREAM_INTERFACES_DEFINED
  275. #define MAX_DESCRIPTION_LEN ( 256 )
  276. typedef struct _TAPI_AUDIO_STREAM_CONFIG_CAPS
  277. {
  278. WCHAR Description[ 256 ];
  279. ULONG MinimumChannels;
  280. ULONG MaximumChannels;
  281. ULONG ChannelsGranularity;
  282. ULONG MinimumBitsPerSample;
  283. ULONG MaximumBitsPerSample;
  284. ULONG BitsPerSampleGranularity;
  285. ULONG MinimumSampleFrequency;
  286. ULONG MaximumSampleFrequency;
  287. ULONG SampleFrequencyGranularity;
  288. ULONG MinimumAvgBytesPerSec;
  289. ULONG MaximumAvgBytesPerSec;
  290. ULONG AvgBytesPerSecGranularity;
  291. } TAPI_AUDIO_STREAM_CONFIG_CAPS;
  292. typedef struct _TAPI_AUDIO_STREAM_CONFIG_CAPS *PTAPI_AUDIO_STREAM_CONFIG_CAPS;
  293. typedef struct _TAPI_VIDEO_STREAM_CONFIG_CAPS
  294. {
  295. WCHAR Description[ 256 ];
  296. ULONG VideoStandard;
  297. SIZE InputSize;
  298. SIZE MinCroppingSize;
  299. SIZE MaxCroppingSize;
  300. int CropGranularityX;
  301. int CropGranularityY;
  302. int CropAlignX;
  303. int CropAlignY;
  304. SIZE MinOutputSize;
  305. SIZE MaxOutputSize;
  306. int OutputGranularityX;
  307. int OutputGranularityY;
  308. int StretchTapsX;
  309. int StretchTapsY;
  310. int ShrinkTapsX;
  311. int ShrinkTapsY;
  312. LONGLONG MinFrameInterval;
  313. LONGLONG MaxFrameInterval;
  314. LONG MinBitsPerSecond;
  315. LONG MaxBitsPerSecond;
  316. } TAPI_VIDEO_STREAM_CONFIG_CAPS;
  317. typedef struct _TAPI_VIDEO_STREAM_CONFIG_CAPS *PTAPI_VIDEO_STREAM_CONFIG_CAPS;
  318. typedef
  319. enum tagStreamConfigCapsType
  320. { AudioStreamConfigCaps = 0,
  321. VideoStreamConfigCaps = AudioStreamConfigCaps + 1
  322. } StreamConfigCapsType;
  323. typedef struct tagTAPI_STREAM_CONFIG_CAPS
  324. {
  325. StreamConfigCapsType CapsType;
  326. union
  327. {
  328. TAPI_VIDEO_STREAM_CONFIG_CAPS VideoCap;
  329. TAPI_AUDIO_STREAM_CONFIG_CAPS AudioCap;
  330. } ;
  331. } TAPI_STREAM_CONFIG_CAPS;
  332. typedef struct tagTAPI_STREAM_CONFIG_CAPS *PTAPI_STREAM_CONFIG_CAPS;
  333. typedef
  334. enum tagTAPIControlFlags
  335. { TAPIControl_Flags_None = 0,
  336. TAPIControl_Flags_Auto = 0x1,
  337. TAPIControl_Flags_Manual = 0x2
  338. } TAPIControlFlags;
  339. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0495_v0_0_c_ifspec;
  340. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0495_v0_0_s_ifspec;
  341. #ifndef __ITFormatControl_INTERFACE_DEFINED__
  342. #define __ITFormatControl_INTERFACE_DEFINED__
  343. /* interface ITFormatControl */
  344. /* [hidden][unique][uuid][local][object] */
  345. EXTERN_C const IID IID_ITFormatControl;
  346. #if defined(__cplusplus) && !defined(CINTERFACE)
  347. MIDL_INTERFACE("6c0ab6c1-21e3-11d3-a577-00c04f8ef6e3")
  348. ITFormatControl : public IUnknown
  349. {
  350. public:
  351. virtual HRESULT STDMETHODCALLTYPE GetCurrentFormat(
  352. /* [out] */ AM_MEDIA_TYPE **ppMediaType) = 0;
  353. virtual HRESULT STDMETHODCALLTYPE ReleaseFormat(
  354. /* [in] */ AM_MEDIA_TYPE *pMediaType) = 0;
  355. virtual HRESULT STDMETHODCALLTYPE GetNumberOfCapabilities(
  356. /* [out] */ DWORD *pdwCount) = 0;
  357. virtual HRESULT STDMETHODCALLTYPE GetStreamCaps(
  358. /* [in] */ DWORD dwIndex,
  359. /* [out] */ AM_MEDIA_TYPE **ppMediaType,
  360. /* [out] */ TAPI_STREAM_CONFIG_CAPS *pStreamConfigCaps,
  361. /* [out] */ BOOL *pfEnabled) = 0;
  362. virtual HRESULT STDMETHODCALLTYPE ReOrderCapabilities(
  363. /* [in] */ DWORD *pdwIndices,
  364. /* [in] */ BOOL *pfEnabled,
  365. /* [in] */ BOOL *pfPublicize,
  366. /* [in] */ DWORD dwNumIndices) = 0;
  367. };
  368. #else /* C style interface */
  369. typedef struct ITFormatControlVtbl
  370. {
  371. BEGIN_INTERFACE
  372. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  373. ITFormatControl * This,
  374. /* [in] */ REFIID riid,
  375. /* [iid_is][out] */ void **ppvObject);
  376. ULONG ( STDMETHODCALLTYPE *AddRef )(
  377. ITFormatControl * This);
  378. ULONG ( STDMETHODCALLTYPE *Release )(
  379. ITFormatControl * This);
  380. HRESULT ( STDMETHODCALLTYPE *GetCurrentFormat )(
  381. ITFormatControl * This,
  382. /* [out] */ AM_MEDIA_TYPE **ppMediaType);
  383. HRESULT ( STDMETHODCALLTYPE *ReleaseFormat )(
  384. ITFormatControl * This,
  385. /* [in] */ AM_MEDIA_TYPE *pMediaType);
  386. HRESULT ( STDMETHODCALLTYPE *GetNumberOfCapabilities )(
  387. ITFormatControl * This,
  388. /* [out] */ DWORD *pdwCount);
  389. HRESULT ( STDMETHODCALLTYPE *GetStreamCaps )(
  390. ITFormatControl * This,
  391. /* [in] */ DWORD dwIndex,
  392. /* [out] */ AM_MEDIA_TYPE **ppMediaType,
  393. /* [out] */ TAPI_STREAM_CONFIG_CAPS *pStreamConfigCaps,
  394. /* [out] */ BOOL *pfEnabled);
  395. HRESULT ( STDMETHODCALLTYPE *ReOrderCapabilities )(
  396. ITFormatControl * This,
  397. /* [in] */ DWORD *pdwIndices,
  398. /* [in] */ BOOL *pfEnabled,
  399. /* [in] */ BOOL *pfPublicize,
  400. /* [in] */ DWORD dwNumIndices);
  401. END_INTERFACE
  402. } ITFormatControlVtbl;
  403. interface ITFormatControl
  404. {
  405. CONST_VTBL struct ITFormatControlVtbl *lpVtbl;
  406. };
  407. #ifdef COBJMACROS
  408. #define ITFormatControl_QueryInterface(This,riid,ppvObject) \
  409. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  410. #define ITFormatControl_AddRef(This) \
  411. (This)->lpVtbl -> AddRef(This)
  412. #define ITFormatControl_Release(This) \
  413. (This)->lpVtbl -> Release(This)
  414. #define ITFormatControl_GetCurrentFormat(This,ppMediaType) \
  415. (This)->lpVtbl -> GetCurrentFormat(This,ppMediaType)
  416. #define ITFormatControl_ReleaseFormat(This,pMediaType) \
  417. (This)->lpVtbl -> ReleaseFormat(This,pMediaType)
  418. #define ITFormatControl_GetNumberOfCapabilities(This,pdwCount) \
  419. (This)->lpVtbl -> GetNumberOfCapabilities(This,pdwCount)
  420. #define ITFormatControl_GetStreamCaps(This,dwIndex,ppMediaType,pStreamConfigCaps,pfEnabled) \
  421. (This)->lpVtbl -> GetStreamCaps(This,dwIndex,ppMediaType,pStreamConfigCaps,pfEnabled)
  422. #define ITFormatControl_ReOrderCapabilities(This,pdwIndices,pfEnabled,pfPublicize,dwNumIndices) \
  423. (This)->lpVtbl -> ReOrderCapabilities(This,pdwIndices,pfEnabled,pfPublicize,dwNumIndices)
  424. #endif /* COBJMACROS */
  425. #endif /* C style interface */
  426. HRESULT STDMETHODCALLTYPE ITFormatControl_GetCurrentFormat_Proxy(
  427. ITFormatControl * This,
  428. /* [out] */ AM_MEDIA_TYPE **ppMediaType);
  429. void __RPC_STUB ITFormatControl_GetCurrentFormat_Stub(
  430. IRpcStubBuffer *This,
  431. IRpcChannelBuffer *_pRpcChannelBuffer,
  432. PRPC_MESSAGE _pRpcMessage,
  433. DWORD *_pdwStubPhase);
  434. HRESULT STDMETHODCALLTYPE ITFormatControl_ReleaseFormat_Proxy(
  435. ITFormatControl * This,
  436. /* [in] */ AM_MEDIA_TYPE *pMediaType);
  437. void __RPC_STUB ITFormatControl_ReleaseFormat_Stub(
  438. IRpcStubBuffer *This,
  439. IRpcChannelBuffer *_pRpcChannelBuffer,
  440. PRPC_MESSAGE _pRpcMessage,
  441. DWORD *_pdwStubPhase);
  442. HRESULT STDMETHODCALLTYPE ITFormatControl_GetNumberOfCapabilities_Proxy(
  443. ITFormatControl * This,
  444. /* [out] */ DWORD *pdwCount);
  445. void __RPC_STUB ITFormatControl_GetNumberOfCapabilities_Stub(
  446. IRpcStubBuffer *This,
  447. IRpcChannelBuffer *_pRpcChannelBuffer,
  448. PRPC_MESSAGE _pRpcMessage,
  449. DWORD *_pdwStubPhase);
  450. HRESULT STDMETHODCALLTYPE ITFormatControl_GetStreamCaps_Proxy(
  451. ITFormatControl * This,
  452. /* [in] */ DWORD dwIndex,
  453. /* [out] */ AM_MEDIA_TYPE **ppMediaType,
  454. /* [out] */ TAPI_STREAM_CONFIG_CAPS *pStreamConfigCaps,
  455. /* [out] */ BOOL *pfEnabled);
  456. void __RPC_STUB ITFormatControl_GetStreamCaps_Stub(
  457. IRpcStubBuffer *This,
  458. IRpcChannelBuffer *_pRpcChannelBuffer,
  459. PRPC_MESSAGE _pRpcMessage,
  460. DWORD *_pdwStubPhase);
  461. HRESULT STDMETHODCALLTYPE ITFormatControl_ReOrderCapabilities_Proxy(
  462. ITFormatControl * This,
  463. /* [in] */ DWORD *pdwIndices,
  464. /* [in] */ BOOL *pfEnabled,
  465. /* [in] */ BOOL *pfPublicize,
  466. /* [in] */ DWORD dwNumIndices);
  467. void __RPC_STUB ITFormatControl_ReOrderCapabilities_Stub(
  468. IRpcStubBuffer *This,
  469. IRpcChannelBuffer *_pRpcChannelBuffer,
  470. PRPC_MESSAGE _pRpcMessage,
  471. DWORD *_pdwStubPhase);
  472. #endif /* __ITFormatControl_INTERFACE_DEFINED__ */
  473. /* interface __MIDL_itf_ipmsp_0496 */
  474. /* [local] */
  475. typedef
  476. enum tagStreamQualityProperty
  477. { StreamQuality_MaxBitrate = 0,
  478. StreamQuality_CurrBitrate = StreamQuality_MaxBitrate + 1,
  479. StreamQuality_MinFrameInterval = StreamQuality_CurrBitrate + 1,
  480. StreamQuality_AvgFrameInterval = StreamQuality_MinFrameInterval + 1
  481. } StreamQualityProperty;
  482. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0496_v0_0_c_ifspec;
  483. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0496_v0_0_s_ifspec;
  484. #ifndef __ITStreamQualityControl_INTERFACE_DEFINED__
  485. #define __ITStreamQualityControl_INTERFACE_DEFINED__
  486. /* interface ITStreamQualityControl */
  487. /* [hidden][unique][uuid][local][object] */
  488. EXTERN_C const IID IID_ITStreamQualityControl;
  489. #if defined(__cplusplus) && !defined(CINTERFACE)
  490. MIDL_INTERFACE("6c0ab6c2-21e3-11d3-a577-00c04f8ef6e3")
  491. ITStreamQualityControl : public IUnknown
  492. {
  493. public:
  494. virtual HRESULT STDMETHODCALLTYPE GetRange(
  495. /* [in] */ StreamQualityProperty Property,
  496. /* [out] */ long *plMin,
  497. /* [out] */ long *plMax,
  498. /* [out] */ long *plSteppingDelta,
  499. /* [out] */ long *plDefault,
  500. /* [out] */ TAPIControlFlags *plFlags) = 0;
  501. virtual HRESULT STDMETHODCALLTYPE Get(
  502. /* [in] */ StreamQualityProperty Property,
  503. /* [out] */ long *plValue,
  504. /* [out] */ TAPIControlFlags *plFlags) = 0;
  505. virtual HRESULT STDMETHODCALLTYPE Set(
  506. /* [in] */ StreamQualityProperty Property,
  507. /* [in] */ long lValue,
  508. /* [in] */ TAPIControlFlags lFlags) = 0;
  509. };
  510. #else /* C style interface */
  511. typedef struct ITStreamQualityControlVtbl
  512. {
  513. BEGIN_INTERFACE
  514. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  515. ITStreamQualityControl * This,
  516. /* [in] */ REFIID riid,
  517. /* [iid_is][out] */ void **ppvObject);
  518. ULONG ( STDMETHODCALLTYPE *AddRef )(
  519. ITStreamQualityControl * This);
  520. ULONG ( STDMETHODCALLTYPE *Release )(
  521. ITStreamQualityControl * This);
  522. HRESULT ( STDMETHODCALLTYPE *GetRange )(
  523. ITStreamQualityControl * This,
  524. /* [in] */ StreamQualityProperty Property,
  525. /* [out] */ long *plMin,
  526. /* [out] */ long *plMax,
  527. /* [out] */ long *plSteppingDelta,
  528. /* [out] */ long *plDefault,
  529. /* [out] */ TAPIControlFlags *plFlags);
  530. HRESULT ( STDMETHODCALLTYPE *Get )(
  531. ITStreamQualityControl * This,
  532. /* [in] */ StreamQualityProperty Property,
  533. /* [out] */ long *plValue,
  534. /* [out] */ TAPIControlFlags *plFlags);
  535. HRESULT ( STDMETHODCALLTYPE *Set )(
  536. ITStreamQualityControl * This,
  537. /* [in] */ StreamQualityProperty Property,
  538. /* [in] */ long lValue,
  539. /* [in] */ TAPIControlFlags lFlags);
  540. END_INTERFACE
  541. } ITStreamQualityControlVtbl;
  542. interface ITStreamQualityControl
  543. {
  544. CONST_VTBL struct ITStreamQualityControlVtbl *lpVtbl;
  545. };
  546. #ifdef COBJMACROS
  547. #define ITStreamQualityControl_QueryInterface(This,riid,ppvObject) \
  548. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  549. #define ITStreamQualityControl_AddRef(This) \
  550. (This)->lpVtbl -> AddRef(This)
  551. #define ITStreamQualityControl_Release(This) \
  552. (This)->lpVtbl -> Release(This)
  553. #define ITStreamQualityControl_GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags) \
  554. (This)->lpVtbl -> GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags)
  555. #define ITStreamQualityControl_Get(This,Property,plValue,plFlags) \
  556. (This)->lpVtbl -> Get(This,Property,plValue,plFlags)
  557. #define ITStreamQualityControl_Set(This,Property,lValue,lFlags) \
  558. (This)->lpVtbl -> Set(This,Property,lValue,lFlags)
  559. #endif /* COBJMACROS */
  560. #endif /* C style interface */
  561. HRESULT STDMETHODCALLTYPE ITStreamQualityControl_GetRange_Proxy(
  562. ITStreamQualityControl * This,
  563. /* [in] */ StreamQualityProperty Property,
  564. /* [out] */ long *plMin,
  565. /* [out] */ long *plMax,
  566. /* [out] */ long *plSteppingDelta,
  567. /* [out] */ long *plDefault,
  568. /* [out] */ TAPIControlFlags *plFlags);
  569. void __RPC_STUB ITStreamQualityControl_GetRange_Stub(
  570. IRpcStubBuffer *This,
  571. IRpcChannelBuffer *_pRpcChannelBuffer,
  572. PRPC_MESSAGE _pRpcMessage,
  573. DWORD *_pdwStubPhase);
  574. HRESULT STDMETHODCALLTYPE ITStreamQualityControl_Get_Proxy(
  575. ITStreamQualityControl * This,
  576. /* [in] */ StreamQualityProperty Property,
  577. /* [out] */ long *plValue,
  578. /* [out] */ TAPIControlFlags *plFlags);
  579. void __RPC_STUB ITStreamQualityControl_Get_Stub(
  580. IRpcStubBuffer *This,
  581. IRpcChannelBuffer *_pRpcChannelBuffer,
  582. PRPC_MESSAGE _pRpcMessage,
  583. DWORD *_pdwStubPhase);
  584. HRESULT STDMETHODCALLTYPE ITStreamQualityControl_Set_Proxy(
  585. ITStreamQualityControl * This,
  586. /* [in] */ StreamQualityProperty Property,
  587. /* [in] */ long lValue,
  588. /* [in] */ TAPIControlFlags lFlags);
  589. void __RPC_STUB ITStreamQualityControl_Set_Stub(
  590. IRpcStubBuffer *This,
  591. IRpcChannelBuffer *_pRpcChannelBuffer,
  592. PRPC_MESSAGE _pRpcMessage,
  593. DWORD *_pdwStubPhase);
  594. #endif /* __ITStreamQualityControl_INTERFACE_DEFINED__ */
  595. /* interface __MIDL_itf_ipmsp_0497 */
  596. /* [local] */
  597. typedef
  598. enum tagCallQualityProperty
  599. { CallQuality_ControlInterval = 0,
  600. CallQuality_ConfBitrate = CallQuality_ControlInterval + 1,
  601. CallQuality_MaxInputBitrate = CallQuality_ConfBitrate + 1,
  602. CallQuality_CurrInputBitrate = CallQuality_MaxInputBitrate + 1,
  603. CallQuality_MaxOutputBitrate = CallQuality_CurrInputBitrate + 1,
  604. CallQuality_CurrOutputBitrate = CallQuality_MaxOutputBitrate + 1,
  605. CallQuality_MaxCPULoad = CallQuality_CurrOutputBitrate + 1,
  606. CallQuality_CurrCPULoad = CallQuality_MaxCPULoad + 1
  607. } CallQualityProperty;
  608. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0497_v0_0_c_ifspec;
  609. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0497_v0_0_s_ifspec;
  610. #ifndef __ITCallQualityControl_INTERFACE_DEFINED__
  611. #define __ITCallQualityControl_INTERFACE_DEFINED__
  612. /* interface ITCallQualityControl */
  613. /* [hidden][unique][uuid][local][object] */
  614. EXTERN_C const IID IID_ITCallQualityControl;
  615. #if defined(__cplusplus) && !defined(CINTERFACE)
  616. MIDL_INTERFACE("fe1d8ae0-edc4-49b5-8f8c-4de40f9cdfaf")
  617. ITCallQualityControl : public IUnknown
  618. {
  619. public:
  620. virtual HRESULT STDMETHODCALLTYPE GetRange(
  621. /* [in] */ CallQualityProperty Property,
  622. /* [out] */ long *plMin,
  623. /* [out] */ long *plMax,
  624. /* [out] */ long *plSteppingDelta,
  625. /* [out] */ long *plDefault,
  626. /* [out] */ TAPIControlFlags *plFlags) = 0;
  627. virtual HRESULT STDMETHODCALLTYPE Get(
  628. /* [in] */ CallQualityProperty Property,
  629. /* [out] */ long *plValue,
  630. /* [out] */ TAPIControlFlags *plFlags) = 0;
  631. virtual HRESULT STDMETHODCALLTYPE Set(
  632. /* [in] */ CallQualityProperty Property,
  633. /* [in] */ long lValue,
  634. /* [in] */ TAPIControlFlags lFlags) = 0;
  635. };
  636. #else /* C style interface */
  637. typedef struct ITCallQualityControlVtbl
  638. {
  639. BEGIN_INTERFACE
  640. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  641. ITCallQualityControl * This,
  642. /* [in] */ REFIID riid,
  643. /* [iid_is][out] */ void **ppvObject);
  644. ULONG ( STDMETHODCALLTYPE *AddRef )(
  645. ITCallQualityControl * This);
  646. ULONG ( STDMETHODCALLTYPE *Release )(
  647. ITCallQualityControl * This);
  648. HRESULT ( STDMETHODCALLTYPE *GetRange )(
  649. ITCallQualityControl * This,
  650. /* [in] */ CallQualityProperty Property,
  651. /* [out] */ long *plMin,
  652. /* [out] */ long *plMax,
  653. /* [out] */ long *plSteppingDelta,
  654. /* [out] */ long *plDefault,
  655. /* [out] */ TAPIControlFlags *plFlags);
  656. HRESULT ( STDMETHODCALLTYPE *Get )(
  657. ITCallQualityControl * This,
  658. /* [in] */ CallQualityProperty Property,
  659. /* [out] */ long *plValue,
  660. /* [out] */ TAPIControlFlags *plFlags);
  661. HRESULT ( STDMETHODCALLTYPE *Set )(
  662. ITCallQualityControl * This,
  663. /* [in] */ CallQualityProperty Property,
  664. /* [in] */ long lValue,
  665. /* [in] */ TAPIControlFlags lFlags);
  666. END_INTERFACE
  667. } ITCallQualityControlVtbl;
  668. interface ITCallQualityControl
  669. {
  670. CONST_VTBL struct ITCallQualityControlVtbl *lpVtbl;
  671. };
  672. #ifdef COBJMACROS
  673. #define ITCallQualityControl_QueryInterface(This,riid,ppvObject) \
  674. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  675. #define ITCallQualityControl_AddRef(This) \
  676. (This)->lpVtbl -> AddRef(This)
  677. #define ITCallQualityControl_Release(This) \
  678. (This)->lpVtbl -> Release(This)
  679. #define ITCallQualityControl_GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags) \
  680. (This)->lpVtbl -> GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags)
  681. #define ITCallQualityControl_Get(This,Property,plValue,plFlags) \
  682. (This)->lpVtbl -> Get(This,Property,plValue,plFlags)
  683. #define ITCallQualityControl_Set(This,Property,lValue,lFlags) \
  684. (This)->lpVtbl -> Set(This,Property,lValue,lFlags)
  685. #endif /* COBJMACROS */
  686. #endif /* C style interface */
  687. HRESULT STDMETHODCALLTYPE ITCallQualityControl_GetRange_Proxy(
  688. ITCallQualityControl * This,
  689. /* [in] */ CallQualityProperty Property,
  690. /* [out] */ long *plMin,
  691. /* [out] */ long *plMax,
  692. /* [out] */ long *plSteppingDelta,
  693. /* [out] */ long *plDefault,
  694. /* [out] */ TAPIControlFlags *plFlags);
  695. void __RPC_STUB ITCallQualityControl_GetRange_Stub(
  696. IRpcStubBuffer *This,
  697. IRpcChannelBuffer *_pRpcChannelBuffer,
  698. PRPC_MESSAGE _pRpcMessage,
  699. DWORD *_pdwStubPhase);
  700. HRESULT STDMETHODCALLTYPE ITCallQualityControl_Get_Proxy(
  701. ITCallQualityControl * This,
  702. /* [in] */ CallQualityProperty Property,
  703. /* [out] */ long *plValue,
  704. /* [out] */ TAPIControlFlags *plFlags);
  705. void __RPC_STUB ITCallQualityControl_Get_Stub(
  706. IRpcStubBuffer *This,
  707. IRpcChannelBuffer *_pRpcChannelBuffer,
  708. PRPC_MESSAGE _pRpcMessage,
  709. DWORD *_pdwStubPhase);
  710. HRESULT STDMETHODCALLTYPE ITCallQualityControl_Set_Proxy(
  711. ITCallQualityControl * This,
  712. /* [in] */ CallQualityProperty Property,
  713. /* [in] */ long lValue,
  714. /* [in] */ TAPIControlFlags lFlags);
  715. void __RPC_STUB ITCallQualityControl_Set_Stub(
  716. IRpcStubBuffer *This,
  717. IRpcChannelBuffer *_pRpcChannelBuffer,
  718. PRPC_MESSAGE _pRpcMessage,
  719. DWORD *_pdwStubPhase);
  720. #endif /* __ITCallQualityControl_INTERFACE_DEFINED__ */
  721. /* interface __MIDL_itf_ipmsp_0498 */
  722. /* [local] */
  723. typedef
  724. enum tagAudioDeviceProperty
  725. { AudioDevice_DuplexMode = 0,
  726. AudioDevice_AutomaticGainControl = AudioDevice_DuplexMode + 1,
  727. AudioDevice_AcousticEchoCancellation = AudioDevice_AutomaticGainControl + 1
  728. } AudioDeviceProperty;
  729. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0498_v0_0_c_ifspec;
  730. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0498_v0_0_s_ifspec;
  731. #ifndef __ITAudioDeviceControl_INTERFACE_DEFINED__
  732. #define __ITAudioDeviceControl_INTERFACE_DEFINED__
  733. /* interface ITAudioDeviceControl */
  734. /* [hidden][unique][uuid][local][object] */
  735. EXTERN_C const IID IID_ITAudioDeviceControl;
  736. #if defined(__cplusplus) && !defined(CINTERFACE)
  737. MIDL_INTERFACE("6c0ab6c5-21e3-11d3-a577-00c04f8ef6e3")
  738. ITAudioDeviceControl : public IUnknown
  739. {
  740. public:
  741. virtual HRESULT STDMETHODCALLTYPE GetRange(
  742. /* [in] */ AudioDeviceProperty Property,
  743. /* [out] */ long *plMin,
  744. /* [out] */ long *plMax,
  745. /* [out] */ long *plSteppingDelta,
  746. /* [out] */ long *plDefault,
  747. /* [out] */ TAPIControlFlags *plFlags) = 0;
  748. virtual HRESULT STDMETHODCALLTYPE Get(
  749. /* [in] */ AudioDeviceProperty Property,
  750. /* [out] */ long *plValue,
  751. /* [out] */ TAPIControlFlags *plFlags) = 0;
  752. virtual HRESULT STDMETHODCALLTYPE Set(
  753. /* [in] */ AudioDeviceProperty Property,
  754. /* [in] */ long lValue,
  755. /* [in] */ TAPIControlFlags lFlags) = 0;
  756. };
  757. #else /* C style interface */
  758. typedef struct ITAudioDeviceControlVtbl
  759. {
  760. BEGIN_INTERFACE
  761. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  762. ITAudioDeviceControl * This,
  763. /* [in] */ REFIID riid,
  764. /* [iid_is][out] */ void **ppvObject);
  765. ULONG ( STDMETHODCALLTYPE *AddRef )(
  766. ITAudioDeviceControl * This);
  767. ULONG ( STDMETHODCALLTYPE *Release )(
  768. ITAudioDeviceControl * This);
  769. HRESULT ( STDMETHODCALLTYPE *GetRange )(
  770. ITAudioDeviceControl * This,
  771. /* [in] */ AudioDeviceProperty Property,
  772. /* [out] */ long *plMin,
  773. /* [out] */ long *plMax,
  774. /* [out] */ long *plSteppingDelta,
  775. /* [out] */ long *plDefault,
  776. /* [out] */ TAPIControlFlags *plFlags);
  777. HRESULT ( STDMETHODCALLTYPE *Get )(
  778. ITAudioDeviceControl * This,
  779. /* [in] */ AudioDeviceProperty Property,
  780. /* [out] */ long *plValue,
  781. /* [out] */ TAPIControlFlags *plFlags);
  782. HRESULT ( STDMETHODCALLTYPE *Set )(
  783. ITAudioDeviceControl * This,
  784. /* [in] */ AudioDeviceProperty Property,
  785. /* [in] */ long lValue,
  786. /* [in] */ TAPIControlFlags lFlags);
  787. END_INTERFACE
  788. } ITAudioDeviceControlVtbl;
  789. interface ITAudioDeviceControl
  790. {
  791. CONST_VTBL struct ITAudioDeviceControlVtbl *lpVtbl;
  792. };
  793. #ifdef COBJMACROS
  794. #define ITAudioDeviceControl_QueryInterface(This,riid,ppvObject) \
  795. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  796. #define ITAudioDeviceControl_AddRef(This) \
  797. (This)->lpVtbl -> AddRef(This)
  798. #define ITAudioDeviceControl_Release(This) \
  799. (This)->lpVtbl -> Release(This)
  800. #define ITAudioDeviceControl_GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags) \
  801. (This)->lpVtbl -> GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags)
  802. #define ITAudioDeviceControl_Get(This,Property,plValue,plFlags) \
  803. (This)->lpVtbl -> Get(This,Property,plValue,plFlags)
  804. #define ITAudioDeviceControl_Set(This,Property,lValue,lFlags) \
  805. (This)->lpVtbl -> Set(This,Property,lValue,lFlags)
  806. #endif /* COBJMACROS */
  807. #endif /* C style interface */
  808. HRESULT STDMETHODCALLTYPE ITAudioDeviceControl_GetRange_Proxy(
  809. ITAudioDeviceControl * This,
  810. /* [in] */ AudioDeviceProperty Property,
  811. /* [out] */ long *plMin,
  812. /* [out] */ long *plMax,
  813. /* [out] */ long *plSteppingDelta,
  814. /* [out] */ long *plDefault,
  815. /* [out] */ TAPIControlFlags *plFlags);
  816. void __RPC_STUB ITAudioDeviceControl_GetRange_Stub(
  817. IRpcStubBuffer *This,
  818. IRpcChannelBuffer *_pRpcChannelBuffer,
  819. PRPC_MESSAGE _pRpcMessage,
  820. DWORD *_pdwStubPhase);
  821. HRESULT STDMETHODCALLTYPE ITAudioDeviceControl_Get_Proxy(
  822. ITAudioDeviceControl * This,
  823. /* [in] */ AudioDeviceProperty Property,
  824. /* [out] */ long *plValue,
  825. /* [out] */ TAPIControlFlags *plFlags);
  826. void __RPC_STUB ITAudioDeviceControl_Get_Stub(
  827. IRpcStubBuffer *This,
  828. IRpcChannelBuffer *_pRpcChannelBuffer,
  829. PRPC_MESSAGE _pRpcMessage,
  830. DWORD *_pdwStubPhase);
  831. HRESULT STDMETHODCALLTYPE ITAudioDeviceControl_Set_Proxy(
  832. ITAudioDeviceControl * This,
  833. /* [in] */ AudioDeviceProperty Property,
  834. /* [in] */ long lValue,
  835. /* [in] */ TAPIControlFlags lFlags);
  836. void __RPC_STUB ITAudioDeviceControl_Set_Stub(
  837. IRpcStubBuffer *This,
  838. IRpcChannelBuffer *_pRpcChannelBuffer,
  839. PRPC_MESSAGE _pRpcMessage,
  840. DWORD *_pdwStubPhase);
  841. #endif /* __ITAudioDeviceControl_INTERFACE_DEFINED__ */
  842. /* interface __MIDL_itf_ipmsp_0499 */
  843. /* [local] */
  844. typedef
  845. enum tagAudioSettingsProperty
  846. { AudioSettings_SignalLevel = 0,
  847. AudioSettings_SilenceThreshold = AudioSettings_SignalLevel + 1,
  848. AudioSettings_Volume = AudioSettings_SilenceThreshold + 1,
  849. AudioSettings_Balance = AudioSettings_Volume + 1,
  850. AudioSettings_Loudness = AudioSettings_Balance + 1,
  851. AudioSettings_Treble = AudioSettings_Loudness + 1,
  852. AudioSettings_Bass = AudioSettings_Treble + 1,
  853. AudioSettings_Mono = AudioSettings_Bass + 1
  854. } AudioSettingsProperty;
  855. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0499_v0_0_c_ifspec;
  856. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0499_v0_0_s_ifspec;
  857. #ifndef __ITAudioSettings_INTERFACE_DEFINED__
  858. #define __ITAudioSettings_INTERFACE_DEFINED__
  859. /* interface ITAudioSettings */
  860. /* [hidden][unique][uuid][local][object] */
  861. EXTERN_C const IID IID_ITAudioSettings;
  862. #if defined(__cplusplus) && !defined(CINTERFACE)
  863. MIDL_INTERFACE("6c0ab6c6-21e3-11d3-a577-00c04f8ef6e3")
  864. ITAudioSettings : public IUnknown
  865. {
  866. public:
  867. virtual HRESULT STDMETHODCALLTYPE GetRange(
  868. /* [in] */ AudioSettingsProperty Property,
  869. /* [out] */ long *plMin,
  870. /* [out] */ long *plMax,
  871. /* [out] */ long *plSteppingDelta,
  872. /* [out] */ long *plDefault,
  873. /* [out] */ TAPIControlFlags *plFlags) = 0;
  874. virtual HRESULT STDMETHODCALLTYPE Get(
  875. /* [in] */ AudioSettingsProperty Property,
  876. /* [out] */ long *plValue,
  877. /* [out] */ TAPIControlFlags *plFlags) = 0;
  878. virtual HRESULT STDMETHODCALLTYPE Set(
  879. /* [in] */ AudioSettingsProperty Property,
  880. /* [in] */ long lValue,
  881. /* [in] */ TAPIControlFlags lFlags) = 0;
  882. };
  883. #else /* C style interface */
  884. typedef struct ITAudioSettingsVtbl
  885. {
  886. BEGIN_INTERFACE
  887. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  888. ITAudioSettings * This,
  889. /* [in] */ REFIID riid,
  890. /* [iid_is][out] */ void **ppvObject);
  891. ULONG ( STDMETHODCALLTYPE *AddRef )(
  892. ITAudioSettings * This);
  893. ULONG ( STDMETHODCALLTYPE *Release )(
  894. ITAudioSettings * This);
  895. HRESULT ( STDMETHODCALLTYPE *GetRange )(
  896. ITAudioSettings * This,
  897. /* [in] */ AudioSettingsProperty Property,
  898. /* [out] */ long *plMin,
  899. /* [out] */ long *plMax,
  900. /* [out] */ long *plSteppingDelta,
  901. /* [out] */ long *plDefault,
  902. /* [out] */ TAPIControlFlags *plFlags);
  903. HRESULT ( STDMETHODCALLTYPE *Get )(
  904. ITAudioSettings * This,
  905. /* [in] */ AudioSettingsProperty Property,
  906. /* [out] */ long *plValue,
  907. /* [out] */ TAPIControlFlags *plFlags);
  908. HRESULT ( STDMETHODCALLTYPE *Set )(
  909. ITAudioSettings * This,
  910. /* [in] */ AudioSettingsProperty Property,
  911. /* [in] */ long lValue,
  912. /* [in] */ TAPIControlFlags lFlags);
  913. END_INTERFACE
  914. } ITAudioSettingsVtbl;
  915. interface ITAudioSettings
  916. {
  917. CONST_VTBL struct ITAudioSettingsVtbl *lpVtbl;
  918. };
  919. #ifdef COBJMACROS
  920. #define ITAudioSettings_QueryInterface(This,riid,ppvObject) \
  921. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  922. #define ITAudioSettings_AddRef(This) \
  923. (This)->lpVtbl -> AddRef(This)
  924. #define ITAudioSettings_Release(This) \
  925. (This)->lpVtbl -> Release(This)
  926. #define ITAudioSettings_GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags) \
  927. (This)->lpVtbl -> GetRange(This,Property,plMin,plMax,plSteppingDelta,plDefault,plFlags)
  928. #define ITAudioSettings_Get(This,Property,plValue,plFlags) \
  929. (This)->lpVtbl -> Get(This,Property,plValue,plFlags)
  930. #define ITAudioSettings_Set(This,Property,lValue,lFlags) \
  931. (This)->lpVtbl -> Set(This,Property,lValue,lFlags)
  932. #endif /* COBJMACROS */
  933. #endif /* C style interface */
  934. HRESULT STDMETHODCALLTYPE ITAudioSettings_GetRange_Proxy(
  935. ITAudioSettings * This,
  936. /* [in] */ AudioSettingsProperty Property,
  937. /* [out] */ long *plMin,
  938. /* [out] */ long *plMax,
  939. /* [out] */ long *plSteppingDelta,
  940. /* [out] */ long *plDefault,
  941. /* [out] */ TAPIControlFlags *plFlags);
  942. void __RPC_STUB ITAudioSettings_GetRange_Stub(
  943. IRpcStubBuffer *This,
  944. IRpcChannelBuffer *_pRpcChannelBuffer,
  945. PRPC_MESSAGE _pRpcMessage,
  946. DWORD *_pdwStubPhase);
  947. HRESULT STDMETHODCALLTYPE ITAudioSettings_Get_Proxy(
  948. ITAudioSettings * This,
  949. /* [in] */ AudioSettingsProperty Property,
  950. /* [out] */ long *plValue,
  951. /* [out] */ TAPIControlFlags *plFlags);
  952. void __RPC_STUB ITAudioSettings_Get_Stub(
  953. IRpcStubBuffer *This,
  954. IRpcChannelBuffer *_pRpcChannelBuffer,
  955. PRPC_MESSAGE _pRpcMessage,
  956. DWORD *_pdwStubPhase);
  957. HRESULT STDMETHODCALLTYPE ITAudioSettings_Set_Proxy(
  958. ITAudioSettings * This,
  959. /* [in] */ AudioSettingsProperty Property,
  960. /* [in] */ long lValue,
  961. /* [in] */ TAPIControlFlags lFlags);
  962. void __RPC_STUB ITAudioSettings_Set_Stub(
  963. IRpcStubBuffer *This,
  964. IRpcChannelBuffer *_pRpcChannelBuffer,
  965. PRPC_MESSAGE _pRpcMessage,
  966. DWORD *_pdwStubPhase);
  967. #endif /* __ITAudioSettings_INTERFACE_DEFINED__ */
  968. #ifndef __ITQOSApplicationID_INTERFACE_DEFINED__
  969. #define __ITQOSApplicationID_INTERFACE_DEFINED__
  970. /* interface ITQOSApplicationID */
  971. /* [object][dual][unique][helpstring][uuid] */
  972. EXTERN_C const IID IID_ITQOSApplicationID;
  973. #if defined(__cplusplus) && !defined(CINTERFACE)
  974. MIDL_INTERFACE("e8c89d27-a3bd-47d5-a6fc-d2ae40cdbc6e")
  975. ITQOSApplicationID : public IDispatch
  976. {
  977. public:
  978. virtual HRESULT STDMETHODCALLTYPE SetQOSApplicationID(
  979. /* [in] */ BSTR pApplicationID,
  980. /* [in] */ BSTR pApplicationGUID,
  981. /* [in] */ BSTR pSubIDs) = 0;
  982. };
  983. #else /* C style interface */
  984. typedef struct ITQOSApplicationIDVtbl
  985. {
  986. BEGIN_INTERFACE
  987. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  988. ITQOSApplicationID * This,
  989. /* [in] */ REFIID riid,
  990. /* [iid_is][out] */ void **ppvObject);
  991. ULONG ( STDMETHODCALLTYPE *AddRef )(
  992. ITQOSApplicationID * This);
  993. ULONG ( STDMETHODCALLTYPE *Release )(
  994. ITQOSApplicationID * This);
  995. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  996. ITQOSApplicationID * This,
  997. /* [out] */ UINT *pctinfo);
  998. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  999. ITQOSApplicationID * This,
  1000. /* [in] */ UINT iTInfo,
  1001. /* [in] */ LCID lcid,
  1002. /* [out] */ ITypeInfo **ppTInfo);
  1003. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  1004. ITQOSApplicationID * This,
  1005. /* [in] */ REFIID riid,
  1006. /* [size_is][in] */ LPOLESTR *rgszNames,
  1007. /* [in] */ UINT cNames,
  1008. /* [in] */ LCID lcid,
  1009. /* [size_is][out] */ DISPID *rgDispId);
  1010. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  1011. ITQOSApplicationID * This,
  1012. /* [in] */ DISPID dispIdMember,
  1013. /* [in] */ REFIID riid,
  1014. /* [in] */ LCID lcid,
  1015. /* [in] */ WORD wFlags,
  1016. /* [out][in] */ DISPPARAMS *pDispParams,
  1017. /* [out] */ VARIANT *pVarResult,
  1018. /* [out] */ EXCEPINFO *pExcepInfo,
  1019. /* [out] */ UINT *puArgErr);
  1020. HRESULT ( STDMETHODCALLTYPE *SetQOSApplicationID )(
  1021. ITQOSApplicationID * This,
  1022. /* [in] */ BSTR pApplicationID,
  1023. /* [in] */ BSTR pApplicationGUID,
  1024. /* [in] */ BSTR pSubIDs);
  1025. END_INTERFACE
  1026. } ITQOSApplicationIDVtbl;
  1027. interface ITQOSApplicationID
  1028. {
  1029. CONST_VTBL struct ITQOSApplicationIDVtbl *lpVtbl;
  1030. };
  1031. #ifdef COBJMACROS
  1032. #define ITQOSApplicationID_QueryInterface(This,riid,ppvObject) \
  1033. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1034. #define ITQOSApplicationID_AddRef(This) \
  1035. (This)->lpVtbl -> AddRef(This)
  1036. #define ITQOSApplicationID_Release(This) \
  1037. (This)->lpVtbl -> Release(This)
  1038. #define ITQOSApplicationID_GetTypeInfoCount(This,pctinfo) \
  1039. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1040. #define ITQOSApplicationID_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1041. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1042. #define ITQOSApplicationID_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1043. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1044. #define ITQOSApplicationID_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1045. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1046. #define ITQOSApplicationID_SetQOSApplicationID(This,pApplicationID,pApplicationGUID,pSubIDs) \
  1047. (This)->lpVtbl -> SetQOSApplicationID(This,pApplicationID,pApplicationGUID,pSubIDs)
  1048. #endif /* COBJMACROS */
  1049. #endif /* C style interface */
  1050. HRESULT STDMETHODCALLTYPE ITQOSApplicationID_SetQOSApplicationID_Proxy(
  1051. ITQOSApplicationID * This,
  1052. /* [in] */ BSTR pApplicationID,
  1053. /* [in] */ BSTR pApplicationGUID,
  1054. /* [in] */ BSTR pSubIDs);
  1055. void __RPC_STUB ITQOSApplicationID_SetQOSApplicationID_Stub(
  1056. IRpcStubBuffer *This,
  1057. IRpcChannelBuffer *_pRpcChannelBuffer,
  1058. PRPC_MESSAGE _pRpcMessage,
  1059. DWORD *_pdwStubPhase);
  1060. #endif /* __ITQOSApplicationID_INTERFACE_DEFINED__ */
  1061. /* interface __MIDL_itf_ipmsp_0501 */
  1062. /* [local] */
  1063. #endif // STREAM_INTERFACES_DEFINED
  1064. #ifndef RTP_MEDIATYPE_DEFINED
  1065. #define RTP_MEDIATYPE_DEFINED
  1066. struct DECLSPEC_UUID("14099BC0-787B-11d0-9CD3-00A0C9081C19") MEDIATYPE_RTP_Single_Stream;
  1067. #endif //RTP_MEDIATYPE_DEFINED
  1068. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0501_v0_0_c_ifspec;
  1069. extern RPC_IF_HANDLE __MIDL_itf_ipmsp_0501_v0_0_s_ifspec;
  1070. /* Additional Prototypes for ALL interfaces */
  1071. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  1072. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  1073. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  1074. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  1075. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  1076. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  1077. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  1078. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  1079. /* end of Additional Prototypes */
  1080. #ifdef __cplusplus
  1081. }
  1082. #endif
  1083. #endif