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.

892 lines
25 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 ih26xcd.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 __ih26xcd_h__
  27. #define __ih26xcd_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IH26XVideoEffects_FWD_DEFINED__
  33. #define __IH26XVideoEffects_FWD_DEFINED__
  34. typedef interface IH26XVideoEffects IH26XVideoEffects;
  35. #endif /* __IH26XVideoEffects_FWD_DEFINED__ */
  36. #ifndef __IH26XEncodeOptions_FWD_DEFINED__
  37. #define __IH26XEncodeOptions_FWD_DEFINED__
  38. typedef interface IH26XEncodeOptions IH26XEncodeOptions;
  39. #endif /* __IH26XEncodeOptions_FWD_DEFINED__ */
  40. #ifndef __IH26XSnapshot_FWD_DEFINED__
  41. #define __IH26XSnapshot_FWD_DEFINED__
  42. typedef interface IH26XSnapshot IH26XSnapshot;
  43. #endif /* __IH26XSnapshot_FWD_DEFINED__ */
  44. #ifndef __IH26XEncoderControl_FWD_DEFINED__
  45. #define __IH26XEncoderControl_FWD_DEFINED__
  46. typedef interface IH26XEncoderControl IH26XEncoderControl;
  47. #endif /* __IH26XEncoderControl_FWD_DEFINED__ */
  48. #ifndef __IH26XRTPControl_FWD_DEFINED__
  49. #define __IH26XRTPControl_FWD_DEFINED__
  50. typedef interface IH26XRTPControl IH26XRTPControl;
  51. #endif /* __IH26XRTPControl_FWD_DEFINED__ */
  52. /* header files for imported files */
  53. #include "unknwn.h"
  54. #ifdef __cplusplus
  55. extern "C"{
  56. #endif
  57. void * __RPC_USER MIDL_user_allocate(size_t);
  58. void __RPC_USER MIDL_user_free( void * );
  59. #ifndef __IH26XVideoEffects_INTERFACE_DEFINED__
  60. #define __IH26XVideoEffects_INTERFACE_DEFINED__
  61. /* interface IH26XVideoEffects */
  62. /* [object][uuid] */
  63. // STRUCTURES
  64. typedef /* [public][public][public][public][public][public] */
  65. enum __MIDL_IH26XVideoEffects_0001
  66. { H26X_VE_UNDEFINED = 0,
  67. H26X_VE_BRIGHTNESS = H26X_VE_UNDEFINED + 1,
  68. H26X_VE_CONTRAST = H26X_VE_BRIGHTNESS + 1,
  69. H26X_VE_SATURATION = H26X_VE_CONTRAST + 1,
  70. H26X_VE_TINT = H26X_VE_SATURATION + 1,
  71. H26X_VE_MIRROR = H26X_VE_TINT + 1,
  72. H26X_VE_ASPECT_CORRECT = H26X_VE_MIRROR + 1
  73. } H26X_VIDEO_EFFECT;
  74. typedef /* [public] */ struct __MIDL_IH26XVideoEffects_0002
  75. {
  76. int iBrightness;
  77. int iSaturation;
  78. int iContrast;
  79. int iMirror;
  80. int iAspectCorrect;
  81. } VIDEO_EFFECT_VALUES;
  82. typedef struct __MIDL_IH26XVideoEffects_0002 *PTR_VIDEO_EFFECT_VALUES;
  83. // METHODS
  84. EXTERN_C const IID IID_IH26XVideoEffects;
  85. #if defined(__cplusplus) && !defined(CINTERFACE)
  86. MIDL_INTERFACE("21555140-9C2B-11cf-90FA-00AA00A729EA")
  87. IH26XVideoEffects : public IUnknown
  88. {
  89. public:
  90. virtual HRESULT STDMETHODCALLTYPE getFactoryDefault(
  91. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  92. /* [out] */ int *pinDefault) = 0;
  93. virtual HRESULT STDMETHODCALLTYPE getFactoryLimits(
  94. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  95. /* [out] */ int *pinLower,
  96. /* [out] */ int *pinUpper) = 0;
  97. virtual HRESULT STDMETHODCALLTYPE getCurrent(
  98. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  99. /* [out] */ int *pinValue) = 0;
  100. virtual HRESULT STDMETHODCALLTYPE setCurrent(
  101. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  102. /* [in] */ int inValue) = 0;
  103. virtual HRESULT STDMETHODCALLTYPE resetCurrent(
  104. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect) = 0;
  105. };
  106. #else /* C style interface */
  107. typedef struct IH26XVideoEffectsVtbl
  108. {
  109. BEGIN_INTERFACE
  110. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  111. IH26XVideoEffects * This,
  112. /* [in] */ REFIID riid,
  113. /* [iid_is][out] */ void **ppvObject);
  114. ULONG ( STDMETHODCALLTYPE *AddRef )(
  115. IH26XVideoEffects * This);
  116. ULONG ( STDMETHODCALLTYPE *Release )(
  117. IH26XVideoEffects * This);
  118. HRESULT ( STDMETHODCALLTYPE *getFactoryDefault )(
  119. IH26XVideoEffects * This,
  120. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  121. /* [out] */ int *pinDefault);
  122. HRESULT ( STDMETHODCALLTYPE *getFactoryLimits )(
  123. IH26XVideoEffects * This,
  124. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  125. /* [out] */ int *pinLower,
  126. /* [out] */ int *pinUpper);
  127. HRESULT ( STDMETHODCALLTYPE *getCurrent )(
  128. IH26XVideoEffects * This,
  129. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  130. /* [out] */ int *pinValue);
  131. HRESULT ( STDMETHODCALLTYPE *setCurrent )(
  132. IH26XVideoEffects * This,
  133. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  134. /* [in] */ int inValue);
  135. HRESULT ( STDMETHODCALLTYPE *resetCurrent )(
  136. IH26XVideoEffects * This,
  137. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect);
  138. END_INTERFACE
  139. } IH26XVideoEffectsVtbl;
  140. interface IH26XVideoEffects
  141. {
  142. CONST_VTBL struct IH26XVideoEffectsVtbl *lpVtbl;
  143. };
  144. #ifdef COBJMACROS
  145. #define IH26XVideoEffects_QueryInterface(This,riid,ppvObject) \
  146. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  147. #define IH26XVideoEffects_AddRef(This) \
  148. (This)->lpVtbl -> AddRef(This)
  149. #define IH26XVideoEffects_Release(This) \
  150. (This)->lpVtbl -> Release(This)
  151. #define IH26XVideoEffects_getFactoryDefault(This,veVideoEffect,pinDefault) \
  152. (This)->lpVtbl -> getFactoryDefault(This,veVideoEffect,pinDefault)
  153. #define IH26XVideoEffects_getFactoryLimits(This,veVideoEffect,pinLower,pinUpper) \
  154. (This)->lpVtbl -> getFactoryLimits(This,veVideoEffect,pinLower,pinUpper)
  155. #define IH26XVideoEffects_getCurrent(This,veVideoEffect,pinValue) \
  156. (This)->lpVtbl -> getCurrent(This,veVideoEffect,pinValue)
  157. #define IH26XVideoEffects_setCurrent(This,veVideoEffect,inValue) \
  158. (This)->lpVtbl -> setCurrent(This,veVideoEffect,inValue)
  159. #define IH26XVideoEffects_resetCurrent(This,veVideoEffect) \
  160. (This)->lpVtbl -> resetCurrent(This,veVideoEffect)
  161. #endif /* COBJMACROS */
  162. #endif /* C style interface */
  163. HRESULT STDMETHODCALLTYPE IH26XVideoEffects_getFactoryDefault_Proxy(
  164. IH26XVideoEffects * This,
  165. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  166. /* [out] */ int *pinDefault);
  167. void __RPC_STUB IH26XVideoEffects_getFactoryDefault_Stub(
  168. IRpcStubBuffer *This,
  169. IRpcChannelBuffer *_pRpcChannelBuffer,
  170. PRPC_MESSAGE _pRpcMessage,
  171. DWORD *_pdwStubPhase);
  172. HRESULT STDMETHODCALLTYPE IH26XVideoEffects_getFactoryLimits_Proxy(
  173. IH26XVideoEffects * This,
  174. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  175. /* [out] */ int *pinLower,
  176. /* [out] */ int *pinUpper);
  177. void __RPC_STUB IH26XVideoEffects_getFactoryLimits_Stub(
  178. IRpcStubBuffer *This,
  179. IRpcChannelBuffer *_pRpcChannelBuffer,
  180. PRPC_MESSAGE _pRpcMessage,
  181. DWORD *_pdwStubPhase);
  182. HRESULT STDMETHODCALLTYPE IH26XVideoEffects_getCurrent_Proxy(
  183. IH26XVideoEffects * This,
  184. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  185. /* [out] */ int *pinValue);
  186. void __RPC_STUB IH26XVideoEffects_getCurrent_Stub(
  187. IRpcStubBuffer *This,
  188. IRpcChannelBuffer *_pRpcChannelBuffer,
  189. PRPC_MESSAGE _pRpcMessage,
  190. DWORD *_pdwStubPhase);
  191. HRESULT STDMETHODCALLTYPE IH26XVideoEffects_setCurrent_Proxy(
  192. IH26XVideoEffects * This,
  193. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect,
  194. /* [in] */ int inValue);
  195. void __RPC_STUB IH26XVideoEffects_setCurrent_Stub(
  196. IRpcStubBuffer *This,
  197. IRpcChannelBuffer *_pRpcChannelBuffer,
  198. PRPC_MESSAGE _pRpcMessage,
  199. DWORD *_pdwStubPhase);
  200. HRESULT STDMETHODCALLTYPE IH26XVideoEffects_resetCurrent_Proxy(
  201. IH26XVideoEffects * This,
  202. /* [in] */ H26X_VIDEO_EFFECT veVideoEffect);
  203. void __RPC_STUB IH26XVideoEffects_resetCurrent_Stub(
  204. IRpcStubBuffer *This,
  205. IRpcChannelBuffer *_pRpcChannelBuffer,
  206. PRPC_MESSAGE _pRpcMessage,
  207. DWORD *_pdwStubPhase);
  208. #endif /* __IH26XVideoEffects_INTERFACE_DEFINED__ */
  209. #ifndef __IH26XEncodeOptions_INTERFACE_DEFINED__
  210. #define __IH26XEncodeOptions_INTERFACE_DEFINED__
  211. /* interface IH26XEncodeOptions */
  212. /* [object][uuid] */
  213. // STRUCTURES
  214. typedef /* [public] */ struct __MIDL_IH26XEncodeOptions_0001
  215. {
  216. int bExtendedMV;
  217. int bPBFrames;
  218. int bAdvPrediction;
  219. } ENCODE_OPTIONS_VALUES;
  220. typedef struct __MIDL_IH26XEncodeOptions_0001 *PTR_ENCODE_OPTIONS_VALUES;
  221. // METHODS
  222. EXTERN_C const IID IID_IH26XEncodeOptions;
  223. #if defined(__cplusplus) && !defined(CINTERFACE)
  224. MIDL_INTERFACE("65698D40-282D-11d0-8800-444553540000")
  225. IH26XEncodeOptions : public IUnknown
  226. {
  227. public:
  228. virtual HRESULT STDMETHODCALLTYPE get_EncodeOptions(
  229. /* [out] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues) = 0;
  230. virtual HRESULT STDMETHODCALLTYPE get_EncodeOptionsDefault(
  231. /* [out] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues) = 0;
  232. virtual HRESULT STDMETHODCALLTYPE set_EncodeOptions(
  233. /* [in] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues) = 0;
  234. };
  235. #else /* C style interface */
  236. typedef struct IH26XEncodeOptionsVtbl
  237. {
  238. BEGIN_INTERFACE
  239. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  240. IH26XEncodeOptions * This,
  241. /* [in] */ REFIID riid,
  242. /* [iid_is][out] */ void **ppvObject);
  243. ULONG ( STDMETHODCALLTYPE *AddRef )(
  244. IH26XEncodeOptions * This);
  245. ULONG ( STDMETHODCALLTYPE *Release )(
  246. IH26XEncodeOptions * This);
  247. HRESULT ( STDMETHODCALLTYPE *get_EncodeOptions )(
  248. IH26XEncodeOptions * This,
  249. /* [out] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues);
  250. HRESULT ( STDMETHODCALLTYPE *get_EncodeOptionsDefault )(
  251. IH26XEncodeOptions * This,
  252. /* [out] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues);
  253. HRESULT ( STDMETHODCALLTYPE *set_EncodeOptions )(
  254. IH26XEncodeOptions * This,
  255. /* [in] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues);
  256. END_INTERFACE
  257. } IH26XEncodeOptionsVtbl;
  258. interface IH26XEncodeOptions
  259. {
  260. CONST_VTBL struct IH26XEncodeOptionsVtbl *lpVtbl;
  261. };
  262. #ifdef COBJMACROS
  263. #define IH26XEncodeOptions_QueryInterface(This,riid,ppvObject) \
  264. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  265. #define IH26XEncodeOptions_AddRef(This) \
  266. (This)->lpVtbl -> AddRef(This)
  267. #define IH26XEncodeOptions_Release(This) \
  268. (This)->lpVtbl -> Release(This)
  269. #define IH26XEncodeOptions_get_EncodeOptions(This,pOptionValues) \
  270. (This)->lpVtbl -> get_EncodeOptions(This,pOptionValues)
  271. #define IH26XEncodeOptions_get_EncodeOptionsDefault(This,pOptionValues) \
  272. (This)->lpVtbl -> get_EncodeOptionsDefault(This,pOptionValues)
  273. #define IH26XEncodeOptions_set_EncodeOptions(This,pOptionValues) \
  274. (This)->lpVtbl -> set_EncodeOptions(This,pOptionValues)
  275. #endif /* COBJMACROS */
  276. #endif /* C style interface */
  277. HRESULT STDMETHODCALLTYPE IH26XEncodeOptions_get_EncodeOptions_Proxy(
  278. IH26XEncodeOptions * This,
  279. /* [out] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues);
  280. void __RPC_STUB IH26XEncodeOptions_get_EncodeOptions_Stub(
  281. IRpcStubBuffer *This,
  282. IRpcChannelBuffer *_pRpcChannelBuffer,
  283. PRPC_MESSAGE _pRpcMessage,
  284. DWORD *_pdwStubPhase);
  285. HRESULT STDMETHODCALLTYPE IH26XEncodeOptions_get_EncodeOptionsDefault_Proxy(
  286. IH26XEncodeOptions * This,
  287. /* [out] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues);
  288. void __RPC_STUB IH26XEncodeOptions_get_EncodeOptionsDefault_Stub(
  289. IRpcStubBuffer *This,
  290. IRpcChannelBuffer *_pRpcChannelBuffer,
  291. PRPC_MESSAGE _pRpcMessage,
  292. DWORD *_pdwStubPhase);
  293. HRESULT STDMETHODCALLTYPE IH26XEncodeOptions_set_EncodeOptions_Proxy(
  294. IH26XEncodeOptions * This,
  295. /* [in] */ PTR_ENCODE_OPTIONS_VALUES pOptionValues);
  296. void __RPC_STUB IH26XEncodeOptions_set_EncodeOptions_Stub(
  297. IRpcStubBuffer *This,
  298. IRpcChannelBuffer *_pRpcChannelBuffer,
  299. PRPC_MESSAGE _pRpcMessage,
  300. DWORD *_pdwStubPhase);
  301. #endif /* __IH26XEncodeOptions_INTERFACE_DEFINED__ */
  302. #ifndef __IH26XSnapshot_INTERFACE_DEFINED__
  303. #define __IH26XSnapshot_INTERFACE_DEFINED__
  304. /* interface IH26XSnapshot */
  305. /* [object][uuid] */
  306. #ifndef _WINGDI_
  307. // STRUCTURES
  308. typedef struct __MIDL_IH26XSnapshot_0001
  309. {
  310. DWORD biSize;
  311. LONG biWidth;
  312. LONG biHeight;
  313. WORD biPlanes;
  314. WORD biBitCount;
  315. DWORD biCompression;
  316. DWORD biSizeImage;
  317. LONG biXPelsPerMeter;
  318. LONG biYPelsPerMeter;
  319. DWORD biClrUsed;
  320. DWORD biClrImportant;
  321. } *LPBITMAPINFOHEADER;
  322. #endif
  323. // METHODS
  324. EXTERN_C const IID IID_IH26XSnapshot;
  325. #if defined(__cplusplus) && !defined(CINTERFACE)
  326. MIDL_INTERFACE("3CB194A0-10AA-11d0-8800-444553540000")
  327. IH26XSnapshot : public IUnknown
  328. {
  329. public:
  330. virtual HRESULT STDMETHODCALLTYPE getBitmapInfoHeader(
  331. /* [out] */ LPBITMAPINFOHEADER lpBmi) = 0;
  332. virtual HRESULT STDMETHODCALLTYPE getSnapshot(
  333. /* [in] */ LPBITMAPINFOHEADER lpBmi,
  334. /* [out] */ unsigned char *pvBuffer,
  335. /* [in] */ DWORD dwTimeout) = 0;
  336. };
  337. #else /* C style interface */
  338. typedef struct IH26XSnapshotVtbl
  339. {
  340. BEGIN_INTERFACE
  341. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  342. IH26XSnapshot * This,
  343. /* [in] */ REFIID riid,
  344. /* [iid_is][out] */ void **ppvObject);
  345. ULONG ( STDMETHODCALLTYPE *AddRef )(
  346. IH26XSnapshot * This);
  347. ULONG ( STDMETHODCALLTYPE *Release )(
  348. IH26XSnapshot * This);
  349. HRESULT ( STDMETHODCALLTYPE *getBitmapInfoHeader )(
  350. IH26XSnapshot * This,
  351. /* [out] */ LPBITMAPINFOHEADER lpBmi);
  352. HRESULT ( STDMETHODCALLTYPE *getSnapshot )(
  353. IH26XSnapshot * This,
  354. /* [in] */ LPBITMAPINFOHEADER lpBmi,
  355. /* [out] */ unsigned char *pvBuffer,
  356. /* [in] */ DWORD dwTimeout);
  357. END_INTERFACE
  358. } IH26XSnapshotVtbl;
  359. interface IH26XSnapshot
  360. {
  361. CONST_VTBL struct IH26XSnapshotVtbl *lpVtbl;
  362. };
  363. #ifdef COBJMACROS
  364. #define IH26XSnapshot_QueryInterface(This,riid,ppvObject) \
  365. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  366. #define IH26XSnapshot_AddRef(This) \
  367. (This)->lpVtbl -> AddRef(This)
  368. #define IH26XSnapshot_Release(This) \
  369. (This)->lpVtbl -> Release(This)
  370. #define IH26XSnapshot_getBitmapInfoHeader(This,lpBmi) \
  371. (This)->lpVtbl -> getBitmapInfoHeader(This,lpBmi)
  372. #define IH26XSnapshot_getSnapshot(This,lpBmi,pvBuffer,dwTimeout) \
  373. (This)->lpVtbl -> getSnapshot(This,lpBmi,pvBuffer,dwTimeout)
  374. #endif /* COBJMACROS */
  375. #endif /* C style interface */
  376. HRESULT STDMETHODCALLTYPE IH26XSnapshot_getBitmapInfoHeader_Proxy(
  377. IH26XSnapshot * This,
  378. /* [out] */ LPBITMAPINFOHEADER lpBmi);
  379. void __RPC_STUB IH26XSnapshot_getBitmapInfoHeader_Stub(
  380. IRpcStubBuffer *This,
  381. IRpcChannelBuffer *_pRpcChannelBuffer,
  382. PRPC_MESSAGE _pRpcMessage,
  383. DWORD *_pdwStubPhase);
  384. HRESULT STDMETHODCALLTYPE IH26XSnapshot_getSnapshot_Proxy(
  385. IH26XSnapshot * This,
  386. /* [in] */ LPBITMAPINFOHEADER lpBmi,
  387. /* [out] */ unsigned char *pvBuffer,
  388. /* [in] */ DWORD dwTimeout);
  389. void __RPC_STUB IH26XSnapshot_getSnapshot_Stub(
  390. IRpcStubBuffer *This,
  391. IRpcChannelBuffer *_pRpcChannelBuffer,
  392. PRPC_MESSAGE _pRpcMessage,
  393. DWORD *_pdwStubPhase);
  394. #endif /* __IH26XSnapshot_INTERFACE_DEFINED__ */
  395. #ifndef __IH26XEncoderControl_INTERFACE_DEFINED__
  396. #define __IH26XEncoderControl_INTERFACE_DEFINED__
  397. /* interface IH26XEncoderControl */
  398. /* [object][uuid] */
  399. // STRUCTURES
  400. typedef /* [public] */ struct __MIDL_IH26XEncoderControl_0001
  401. {
  402. DWORD dwTargetFrameSize;
  403. BOOL bFrameSizeBRC;
  404. BOOL bSendKey;
  405. DWORD dwQuality;
  406. DWORD dwFrameRate;
  407. DWORD dwDataRate;
  408. DWORD dwScale;
  409. DWORD dwWidth;
  410. DWORD dwKeyFrameInterval;
  411. DWORD dwKeyFramePeriod;
  412. } ENC_CMP_DATA;
  413. typedef struct __MIDL_IH26XEncoderControl_0001 *PTR_ENC_CMP_DATA;
  414. // METHODS
  415. EXTERN_C const IID IID_IH26XEncoderControl;
  416. #if defined(__cplusplus) && !defined(CINTERFACE)
  417. MIDL_INTERFACE("F9B78AA1-EA12-11cf-9FEC-00AA00A59F69")
  418. IH26XEncoderControl : public IUnknown
  419. {
  420. public:
  421. virtual HRESULT STDMETHODCALLTYPE get_EncodeCompression(
  422. /* [out] */ PTR_ENC_CMP_DATA pData) = 0;
  423. virtual HRESULT STDMETHODCALLTYPE get_EncodeCompressionDefault(
  424. /* [out] */ PTR_ENC_CMP_DATA pData) = 0;
  425. virtual HRESULT STDMETHODCALLTYPE set_EncodeCompression(
  426. /* [in] */ PTR_ENC_CMP_DATA pData) = 0;
  427. };
  428. #else /* C style interface */
  429. typedef struct IH26XEncoderControlVtbl
  430. {
  431. BEGIN_INTERFACE
  432. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  433. IH26XEncoderControl * This,
  434. /* [in] */ REFIID riid,
  435. /* [iid_is][out] */ void **ppvObject);
  436. ULONG ( STDMETHODCALLTYPE *AddRef )(
  437. IH26XEncoderControl * This);
  438. ULONG ( STDMETHODCALLTYPE *Release )(
  439. IH26XEncoderControl * This);
  440. HRESULT ( STDMETHODCALLTYPE *get_EncodeCompression )(
  441. IH26XEncoderControl * This,
  442. /* [out] */ PTR_ENC_CMP_DATA pData);
  443. HRESULT ( STDMETHODCALLTYPE *get_EncodeCompressionDefault )(
  444. IH26XEncoderControl * This,
  445. /* [out] */ PTR_ENC_CMP_DATA pData);
  446. HRESULT ( STDMETHODCALLTYPE *set_EncodeCompression )(
  447. IH26XEncoderControl * This,
  448. /* [in] */ PTR_ENC_CMP_DATA pData);
  449. END_INTERFACE
  450. } IH26XEncoderControlVtbl;
  451. interface IH26XEncoderControl
  452. {
  453. CONST_VTBL struct IH26XEncoderControlVtbl *lpVtbl;
  454. };
  455. #ifdef COBJMACROS
  456. #define IH26XEncoderControl_QueryInterface(This,riid,ppvObject) \
  457. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  458. #define IH26XEncoderControl_AddRef(This) \
  459. (This)->lpVtbl -> AddRef(This)
  460. #define IH26XEncoderControl_Release(This) \
  461. (This)->lpVtbl -> Release(This)
  462. #define IH26XEncoderControl_get_EncodeCompression(This,pData) \
  463. (This)->lpVtbl -> get_EncodeCompression(This,pData)
  464. #define IH26XEncoderControl_get_EncodeCompressionDefault(This,pData) \
  465. (This)->lpVtbl -> get_EncodeCompressionDefault(This,pData)
  466. #define IH26XEncoderControl_set_EncodeCompression(This,pData) \
  467. (This)->lpVtbl -> set_EncodeCompression(This,pData)
  468. #endif /* COBJMACROS */
  469. #endif /* C style interface */
  470. HRESULT STDMETHODCALLTYPE IH26XEncoderControl_get_EncodeCompression_Proxy(
  471. IH26XEncoderControl * This,
  472. /* [out] */ PTR_ENC_CMP_DATA pData);
  473. void __RPC_STUB IH26XEncoderControl_get_EncodeCompression_Stub(
  474. IRpcStubBuffer *This,
  475. IRpcChannelBuffer *_pRpcChannelBuffer,
  476. PRPC_MESSAGE _pRpcMessage,
  477. DWORD *_pdwStubPhase);
  478. HRESULT STDMETHODCALLTYPE IH26XEncoderControl_get_EncodeCompressionDefault_Proxy(
  479. IH26XEncoderControl * This,
  480. /* [out] */ PTR_ENC_CMP_DATA pData);
  481. void __RPC_STUB IH26XEncoderControl_get_EncodeCompressionDefault_Stub(
  482. IRpcStubBuffer *This,
  483. IRpcChannelBuffer *_pRpcChannelBuffer,
  484. PRPC_MESSAGE _pRpcMessage,
  485. DWORD *_pdwStubPhase);
  486. HRESULT STDMETHODCALLTYPE IH26XEncoderControl_set_EncodeCompression_Proxy(
  487. IH26XEncoderControl * This,
  488. /* [in] */ PTR_ENC_CMP_DATA pData);
  489. void __RPC_STUB IH26XEncoderControl_set_EncodeCompression_Stub(
  490. IRpcStubBuffer *This,
  491. IRpcChannelBuffer *_pRpcChannelBuffer,
  492. PRPC_MESSAGE _pRpcMessage,
  493. DWORD *_pdwStubPhase);
  494. #endif /* __IH26XEncoderControl_INTERFACE_DEFINED__ */
  495. #ifndef __IH26XRTPControl_INTERFACE_DEFINED__
  496. #define __IH26XRTPControl_INTERFACE_DEFINED__
  497. /* interface IH26XRTPControl */
  498. /* [object][uuid] */
  499. // STRUCTURES
  500. typedef /* [public] */ struct __MIDL_IH26XRTPControl_0001
  501. {
  502. BOOL bRTPHeader;
  503. DWORD dwPacketSize;
  504. DWORD dwPacketLoss;
  505. } ENC_RTP_DATA;
  506. typedef struct __MIDL_IH26XRTPControl_0001 *PTR_ENC_RTP_DATA;
  507. // METHODS
  508. EXTERN_C const IID IID_IH26XRTPControl;
  509. #if defined(__cplusplus) && !defined(CINTERFACE)
  510. MIDL_INTERFACE("1FC3F2C0-2BFD-11d0-8800-444553540000")
  511. IH26XRTPControl : public IUnknown
  512. {
  513. public:
  514. virtual HRESULT STDMETHODCALLTYPE get_RTPCompression(
  515. /* [out] */ PTR_ENC_RTP_DATA pData) = 0;
  516. virtual HRESULT STDMETHODCALLTYPE get_RTPCompressionDefault(
  517. /* [out] */ PTR_ENC_RTP_DATA pData) = 0;
  518. virtual HRESULT STDMETHODCALLTYPE set_RTPCompression(
  519. /* [in] */ PTR_ENC_RTP_DATA pData) = 0;
  520. };
  521. #else /* C style interface */
  522. typedef struct IH26XRTPControlVtbl
  523. {
  524. BEGIN_INTERFACE
  525. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  526. IH26XRTPControl * This,
  527. /* [in] */ REFIID riid,
  528. /* [iid_is][out] */ void **ppvObject);
  529. ULONG ( STDMETHODCALLTYPE *AddRef )(
  530. IH26XRTPControl * This);
  531. ULONG ( STDMETHODCALLTYPE *Release )(
  532. IH26XRTPControl * This);
  533. HRESULT ( STDMETHODCALLTYPE *get_RTPCompression )(
  534. IH26XRTPControl * This,
  535. /* [out] */ PTR_ENC_RTP_DATA pData);
  536. HRESULT ( STDMETHODCALLTYPE *get_RTPCompressionDefault )(
  537. IH26XRTPControl * This,
  538. /* [out] */ PTR_ENC_RTP_DATA pData);
  539. HRESULT ( STDMETHODCALLTYPE *set_RTPCompression )(
  540. IH26XRTPControl * This,
  541. /* [in] */ PTR_ENC_RTP_DATA pData);
  542. END_INTERFACE
  543. } IH26XRTPControlVtbl;
  544. interface IH26XRTPControl
  545. {
  546. CONST_VTBL struct IH26XRTPControlVtbl *lpVtbl;
  547. };
  548. #ifdef COBJMACROS
  549. #define IH26XRTPControl_QueryInterface(This,riid,ppvObject) \
  550. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  551. #define IH26XRTPControl_AddRef(This) \
  552. (This)->lpVtbl -> AddRef(This)
  553. #define IH26XRTPControl_Release(This) \
  554. (This)->lpVtbl -> Release(This)
  555. #define IH26XRTPControl_get_RTPCompression(This,pData) \
  556. (This)->lpVtbl -> get_RTPCompression(This,pData)
  557. #define IH26XRTPControl_get_RTPCompressionDefault(This,pData) \
  558. (This)->lpVtbl -> get_RTPCompressionDefault(This,pData)
  559. #define IH26XRTPControl_set_RTPCompression(This,pData) \
  560. (This)->lpVtbl -> set_RTPCompression(This,pData)
  561. #endif /* COBJMACROS */
  562. #endif /* C style interface */
  563. HRESULT STDMETHODCALLTYPE IH26XRTPControl_get_RTPCompression_Proxy(
  564. IH26XRTPControl * This,
  565. /* [out] */ PTR_ENC_RTP_DATA pData);
  566. void __RPC_STUB IH26XRTPControl_get_RTPCompression_Stub(
  567. IRpcStubBuffer *This,
  568. IRpcChannelBuffer *_pRpcChannelBuffer,
  569. PRPC_MESSAGE _pRpcMessage,
  570. DWORD *_pdwStubPhase);
  571. HRESULT STDMETHODCALLTYPE IH26XRTPControl_get_RTPCompressionDefault_Proxy(
  572. IH26XRTPControl * This,
  573. /* [out] */ PTR_ENC_RTP_DATA pData);
  574. void __RPC_STUB IH26XRTPControl_get_RTPCompressionDefault_Stub(
  575. IRpcStubBuffer *This,
  576. IRpcChannelBuffer *_pRpcChannelBuffer,
  577. PRPC_MESSAGE _pRpcMessage,
  578. DWORD *_pdwStubPhase);
  579. HRESULT STDMETHODCALLTYPE IH26XRTPControl_set_RTPCompression_Proxy(
  580. IH26XRTPControl * This,
  581. /* [in] */ PTR_ENC_RTP_DATA pData);
  582. void __RPC_STUB IH26XRTPControl_set_RTPCompression_Stub(
  583. IRpcStubBuffer *This,
  584. IRpcChannelBuffer *_pRpcChannelBuffer,
  585. PRPC_MESSAGE _pRpcMessage,
  586. DWORD *_pdwStubPhase);
  587. #endif /* __IH26XRTPControl_INTERFACE_DEFINED__ */
  588. /* Additional Prototypes for ALL interfaces */
  589. /* end of Additional Prototypes */
  590. #ifdef __cplusplus
  591. }
  592. #endif
  593. #endif