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.

489 lines
13 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 mixerocx.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 __mixerocx_h__
  27. #define __mixerocx_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IMixerOCXNotify_FWD_DEFINED__
  33. #define __IMixerOCXNotify_FWD_DEFINED__
  34. typedef interface IMixerOCXNotify IMixerOCXNotify;
  35. #endif /* __IMixerOCXNotify_FWD_DEFINED__ */
  36. #ifndef __IMixerOCX_FWD_DEFINED__
  37. #define __IMixerOCX_FWD_DEFINED__
  38. typedef interface IMixerOCX IMixerOCX;
  39. #endif /* __IMixerOCX_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "unknwn.h"
  42. #ifdef __cplusplus
  43. extern "C"{
  44. #endif
  45. void * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void * );
  47. /* interface __MIDL_itf_mixerocx_0000 */
  48. /* [local] */
  49. extern RPC_IF_HANDLE __MIDL_itf_mixerocx_0000_v0_0_c_ifspec;
  50. extern RPC_IF_HANDLE __MIDL_itf_mixerocx_0000_v0_0_s_ifspec;
  51. #ifndef __IMixerOCXNotify_INTERFACE_DEFINED__
  52. #define __IMixerOCXNotify_INTERFACE_DEFINED__
  53. /* interface IMixerOCXNotify */
  54. /* [unique][helpstring][uuid][object] */
  55. EXTERN_C const IID IID_IMixerOCXNotify;
  56. #if defined(__cplusplus) && !defined(CINTERFACE)
  57. MIDL_INTERFACE("81A3BD31-DEE1-11d1-8508-00A0C91F9CA0")
  58. IMixerOCXNotify : public IUnknown
  59. {
  60. public:
  61. virtual HRESULT STDMETHODCALLTYPE OnInvalidateRect(
  62. /* [in] */ LPCRECT lpcRect) = 0;
  63. virtual HRESULT STDMETHODCALLTYPE OnStatusChange(
  64. /* [in] */ ULONG ulStatusFlags) = 0;
  65. virtual HRESULT STDMETHODCALLTYPE OnDataChange(
  66. /* [in] */ ULONG ulDataFlags) = 0;
  67. };
  68. #else /* C style interface */
  69. typedef struct IMixerOCXNotifyVtbl
  70. {
  71. BEGIN_INTERFACE
  72. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  73. IMixerOCXNotify * This,
  74. /* [in] */ REFIID riid,
  75. /* [iid_is][out] */ void **ppvObject);
  76. ULONG ( STDMETHODCALLTYPE *AddRef )(
  77. IMixerOCXNotify * This);
  78. ULONG ( STDMETHODCALLTYPE *Release )(
  79. IMixerOCXNotify * This);
  80. HRESULT ( STDMETHODCALLTYPE *OnInvalidateRect )(
  81. IMixerOCXNotify * This,
  82. /* [in] */ LPCRECT lpcRect);
  83. HRESULT ( STDMETHODCALLTYPE *OnStatusChange )(
  84. IMixerOCXNotify * This,
  85. /* [in] */ ULONG ulStatusFlags);
  86. HRESULT ( STDMETHODCALLTYPE *OnDataChange )(
  87. IMixerOCXNotify * This,
  88. /* [in] */ ULONG ulDataFlags);
  89. END_INTERFACE
  90. } IMixerOCXNotifyVtbl;
  91. interface IMixerOCXNotify
  92. {
  93. CONST_VTBL struct IMixerOCXNotifyVtbl *lpVtbl;
  94. };
  95. #ifdef COBJMACROS
  96. #define IMixerOCXNotify_QueryInterface(This,riid,ppvObject) \
  97. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  98. #define IMixerOCXNotify_AddRef(This) \
  99. (This)->lpVtbl -> AddRef(This)
  100. #define IMixerOCXNotify_Release(This) \
  101. (This)->lpVtbl -> Release(This)
  102. #define IMixerOCXNotify_OnInvalidateRect(This,lpcRect) \
  103. (This)->lpVtbl -> OnInvalidateRect(This,lpcRect)
  104. #define IMixerOCXNotify_OnStatusChange(This,ulStatusFlags) \
  105. (This)->lpVtbl -> OnStatusChange(This,ulStatusFlags)
  106. #define IMixerOCXNotify_OnDataChange(This,ulDataFlags) \
  107. (This)->lpVtbl -> OnDataChange(This,ulDataFlags)
  108. #endif /* COBJMACROS */
  109. #endif /* C style interface */
  110. HRESULT STDMETHODCALLTYPE IMixerOCXNotify_OnInvalidateRect_Proxy(
  111. IMixerOCXNotify * This,
  112. /* [in] */ LPCRECT lpcRect);
  113. void __RPC_STUB IMixerOCXNotify_OnInvalidateRect_Stub(
  114. IRpcStubBuffer *This,
  115. IRpcChannelBuffer *_pRpcChannelBuffer,
  116. PRPC_MESSAGE _pRpcMessage,
  117. DWORD *_pdwStubPhase);
  118. HRESULT STDMETHODCALLTYPE IMixerOCXNotify_OnStatusChange_Proxy(
  119. IMixerOCXNotify * This,
  120. /* [in] */ ULONG ulStatusFlags);
  121. void __RPC_STUB IMixerOCXNotify_OnStatusChange_Stub(
  122. IRpcStubBuffer *This,
  123. IRpcChannelBuffer *_pRpcChannelBuffer,
  124. PRPC_MESSAGE _pRpcMessage,
  125. DWORD *_pdwStubPhase);
  126. HRESULT STDMETHODCALLTYPE IMixerOCXNotify_OnDataChange_Proxy(
  127. IMixerOCXNotify * This,
  128. /* [in] */ ULONG ulDataFlags);
  129. void __RPC_STUB IMixerOCXNotify_OnDataChange_Stub(
  130. IRpcStubBuffer *This,
  131. IRpcChannelBuffer *_pRpcChannelBuffer,
  132. PRPC_MESSAGE _pRpcMessage,
  133. DWORD *_pdwStubPhase);
  134. #endif /* __IMixerOCXNotify_INTERFACE_DEFINED__ */
  135. #ifndef __IMixerOCX_INTERFACE_DEFINED__
  136. #define __IMixerOCX_INTERFACE_DEFINED__
  137. /* interface IMixerOCX */
  138. /* [unique][helpstring][uuid][object] */
  139. EXTERN_C const IID IID_IMixerOCX;
  140. #if defined(__cplusplus) && !defined(CINTERFACE)
  141. MIDL_INTERFACE("81A3BD32-DEE1-11d1-8508-00A0C91F9CA0")
  142. IMixerOCX : public IUnknown
  143. {
  144. public:
  145. virtual HRESULT STDMETHODCALLTYPE OnDisplayChange(
  146. /* [in] */ ULONG ulBitsPerPixel,
  147. /* [in] */ ULONG ulScreenWidth,
  148. /* [in] */ ULONG ulScreenHeight) = 0;
  149. virtual HRESULT STDMETHODCALLTYPE GetAspectRatio(
  150. /* [out] */ LPDWORD pdwPictAspectRatioX,
  151. /* [out] */ LPDWORD pdwPictAspectRatioY) = 0;
  152. virtual HRESULT STDMETHODCALLTYPE GetVideoSize(
  153. /* [out] */ LPDWORD pdwVideoWidth,
  154. /* [out] */ LPDWORD pdwVideoHeight) = 0;
  155. virtual HRESULT STDMETHODCALLTYPE GetStatus(
  156. /* [out] */ LPDWORD *pdwStatus) = 0;
  157. virtual HRESULT STDMETHODCALLTYPE OnDraw(
  158. /* [in] */ HDC hdcDraw,
  159. /* [in] */ LPCRECT prcDraw) = 0;
  160. virtual HRESULT STDMETHODCALLTYPE SetDrawRegion(
  161. /* [in] */ LPPOINT lpptTopLeftSC,
  162. /* [in] */ LPCRECT prcDrawCC,
  163. /* [in] */ LPCRECT lprcClip) = 0;
  164. virtual HRESULT STDMETHODCALLTYPE Advise(
  165. /* [in] */ IMixerOCXNotify *pmdns) = 0;
  166. virtual HRESULT STDMETHODCALLTYPE UnAdvise( void) = 0;
  167. };
  168. #else /* C style interface */
  169. typedef struct IMixerOCXVtbl
  170. {
  171. BEGIN_INTERFACE
  172. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  173. IMixerOCX * This,
  174. /* [in] */ REFIID riid,
  175. /* [iid_is][out] */ void **ppvObject);
  176. ULONG ( STDMETHODCALLTYPE *AddRef )(
  177. IMixerOCX * This);
  178. ULONG ( STDMETHODCALLTYPE *Release )(
  179. IMixerOCX * This);
  180. HRESULT ( STDMETHODCALLTYPE *OnDisplayChange )(
  181. IMixerOCX * This,
  182. /* [in] */ ULONG ulBitsPerPixel,
  183. /* [in] */ ULONG ulScreenWidth,
  184. /* [in] */ ULONG ulScreenHeight);
  185. HRESULT ( STDMETHODCALLTYPE *GetAspectRatio )(
  186. IMixerOCX * This,
  187. /* [out] */ LPDWORD pdwPictAspectRatioX,
  188. /* [out] */ LPDWORD pdwPictAspectRatioY);
  189. HRESULT ( STDMETHODCALLTYPE *GetVideoSize )(
  190. IMixerOCX * This,
  191. /* [out] */ LPDWORD pdwVideoWidth,
  192. /* [out] */ LPDWORD pdwVideoHeight);
  193. HRESULT ( STDMETHODCALLTYPE *GetStatus )(
  194. IMixerOCX * This,
  195. /* [out] */ LPDWORD *pdwStatus);
  196. HRESULT ( STDMETHODCALLTYPE *OnDraw )(
  197. IMixerOCX * This,
  198. /* [in] */ HDC hdcDraw,
  199. /* [in] */ LPCRECT prcDraw);
  200. HRESULT ( STDMETHODCALLTYPE *SetDrawRegion )(
  201. IMixerOCX * This,
  202. /* [in] */ LPPOINT lpptTopLeftSC,
  203. /* [in] */ LPCRECT prcDrawCC,
  204. /* [in] */ LPCRECT lprcClip);
  205. HRESULT ( STDMETHODCALLTYPE *Advise )(
  206. IMixerOCX * This,
  207. /* [in] */ IMixerOCXNotify *pmdns);
  208. HRESULT ( STDMETHODCALLTYPE *UnAdvise )(
  209. IMixerOCX * This);
  210. END_INTERFACE
  211. } IMixerOCXVtbl;
  212. interface IMixerOCX
  213. {
  214. CONST_VTBL struct IMixerOCXVtbl *lpVtbl;
  215. };
  216. #ifdef COBJMACROS
  217. #define IMixerOCX_QueryInterface(This,riid,ppvObject) \
  218. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  219. #define IMixerOCX_AddRef(This) \
  220. (This)->lpVtbl -> AddRef(This)
  221. #define IMixerOCX_Release(This) \
  222. (This)->lpVtbl -> Release(This)
  223. #define IMixerOCX_OnDisplayChange(This,ulBitsPerPixel,ulScreenWidth,ulScreenHeight) \
  224. (This)->lpVtbl -> OnDisplayChange(This,ulBitsPerPixel,ulScreenWidth,ulScreenHeight)
  225. #define IMixerOCX_GetAspectRatio(This,pdwPictAspectRatioX,pdwPictAspectRatioY) \
  226. (This)->lpVtbl -> GetAspectRatio(This,pdwPictAspectRatioX,pdwPictAspectRatioY)
  227. #define IMixerOCX_GetVideoSize(This,pdwVideoWidth,pdwVideoHeight) \
  228. (This)->lpVtbl -> GetVideoSize(This,pdwVideoWidth,pdwVideoHeight)
  229. #define IMixerOCX_GetStatus(This,pdwStatus) \
  230. (This)->lpVtbl -> GetStatus(This,pdwStatus)
  231. #define IMixerOCX_OnDraw(This,hdcDraw,prcDraw) \
  232. (This)->lpVtbl -> OnDraw(This,hdcDraw,prcDraw)
  233. #define IMixerOCX_SetDrawRegion(This,lpptTopLeftSC,prcDrawCC,lprcClip) \
  234. (This)->lpVtbl -> SetDrawRegion(This,lpptTopLeftSC,prcDrawCC,lprcClip)
  235. #define IMixerOCX_Advise(This,pmdns) \
  236. (This)->lpVtbl -> Advise(This,pmdns)
  237. #define IMixerOCX_UnAdvise(This) \
  238. (This)->lpVtbl -> UnAdvise(This)
  239. #endif /* COBJMACROS */
  240. #endif /* C style interface */
  241. HRESULT STDMETHODCALLTYPE IMixerOCX_OnDisplayChange_Proxy(
  242. IMixerOCX * This,
  243. /* [in] */ ULONG ulBitsPerPixel,
  244. /* [in] */ ULONG ulScreenWidth,
  245. /* [in] */ ULONG ulScreenHeight);
  246. void __RPC_STUB IMixerOCX_OnDisplayChange_Stub(
  247. IRpcStubBuffer *This,
  248. IRpcChannelBuffer *_pRpcChannelBuffer,
  249. PRPC_MESSAGE _pRpcMessage,
  250. DWORD *_pdwStubPhase);
  251. HRESULT STDMETHODCALLTYPE IMixerOCX_GetAspectRatio_Proxy(
  252. IMixerOCX * This,
  253. /* [out] */ LPDWORD pdwPictAspectRatioX,
  254. /* [out] */ LPDWORD pdwPictAspectRatioY);
  255. void __RPC_STUB IMixerOCX_GetAspectRatio_Stub(
  256. IRpcStubBuffer *This,
  257. IRpcChannelBuffer *_pRpcChannelBuffer,
  258. PRPC_MESSAGE _pRpcMessage,
  259. DWORD *_pdwStubPhase);
  260. HRESULT STDMETHODCALLTYPE IMixerOCX_GetVideoSize_Proxy(
  261. IMixerOCX * This,
  262. /* [out] */ LPDWORD pdwVideoWidth,
  263. /* [out] */ LPDWORD pdwVideoHeight);
  264. void __RPC_STUB IMixerOCX_GetVideoSize_Stub(
  265. IRpcStubBuffer *This,
  266. IRpcChannelBuffer *_pRpcChannelBuffer,
  267. PRPC_MESSAGE _pRpcMessage,
  268. DWORD *_pdwStubPhase);
  269. HRESULT STDMETHODCALLTYPE IMixerOCX_GetStatus_Proxy(
  270. IMixerOCX * This,
  271. /* [out] */ LPDWORD *pdwStatus);
  272. void __RPC_STUB IMixerOCX_GetStatus_Stub(
  273. IRpcStubBuffer *This,
  274. IRpcChannelBuffer *_pRpcChannelBuffer,
  275. PRPC_MESSAGE _pRpcMessage,
  276. DWORD *_pdwStubPhase);
  277. HRESULT STDMETHODCALLTYPE IMixerOCX_OnDraw_Proxy(
  278. IMixerOCX * This,
  279. /* [in] */ HDC hdcDraw,
  280. /* [in] */ LPCRECT prcDraw);
  281. void __RPC_STUB IMixerOCX_OnDraw_Stub(
  282. IRpcStubBuffer *This,
  283. IRpcChannelBuffer *_pRpcChannelBuffer,
  284. PRPC_MESSAGE _pRpcMessage,
  285. DWORD *_pdwStubPhase);
  286. HRESULT STDMETHODCALLTYPE IMixerOCX_SetDrawRegion_Proxy(
  287. IMixerOCX * This,
  288. /* [in] */ LPPOINT lpptTopLeftSC,
  289. /* [in] */ LPCRECT prcDrawCC,
  290. /* [in] */ LPCRECT lprcClip);
  291. void __RPC_STUB IMixerOCX_SetDrawRegion_Stub(
  292. IRpcStubBuffer *This,
  293. IRpcChannelBuffer *_pRpcChannelBuffer,
  294. PRPC_MESSAGE _pRpcMessage,
  295. DWORD *_pdwStubPhase);
  296. HRESULT STDMETHODCALLTYPE IMixerOCX_Advise_Proxy(
  297. IMixerOCX * This,
  298. /* [in] */ IMixerOCXNotify *pmdns);
  299. void __RPC_STUB IMixerOCX_Advise_Stub(
  300. IRpcStubBuffer *This,
  301. IRpcChannelBuffer *_pRpcChannelBuffer,
  302. PRPC_MESSAGE _pRpcMessage,
  303. DWORD *_pdwStubPhase);
  304. HRESULT STDMETHODCALLTYPE IMixerOCX_UnAdvise_Proxy(
  305. IMixerOCX * This);
  306. void __RPC_STUB IMixerOCX_UnAdvise_Stub(
  307. IRpcStubBuffer *This,
  308. IRpcChannelBuffer *_pRpcChannelBuffer,
  309. PRPC_MESSAGE _pRpcMessage,
  310. DWORD *_pdwStubPhase);
  311. #endif /* __IMixerOCX_INTERFACE_DEFINED__ */
  312. /* Additional Prototypes for ALL interfaces */
  313. unsigned long __RPC_USER HDC_UserSize( unsigned long *, unsigned long , HDC * );
  314. unsigned char * __RPC_USER HDC_UserMarshal( unsigned long *, unsigned char *, HDC * );
  315. unsigned char * __RPC_USER HDC_UserUnmarshal(unsigned long *, unsigned char *, HDC * );
  316. void __RPC_USER HDC_UserFree( unsigned long *, HDC * );
  317. /* end of Additional Prototypes */
  318. #ifdef __cplusplus
  319. }
  320. #endif
  321. #endif