wmdxva.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:13k
源码类别:

Delphi控件源码

开发平台:

Delphi

  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 wmdxva.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 __wmdxva_h__
  27. #define __wmdxva_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __IWMPlayerTimestampHook_FWD_DEFINED__
  33. #define __IWMPlayerTimestampHook_FWD_DEFINED__
  34. typedef interface IWMPlayerTimestampHook IWMPlayerTimestampHook;
  35. #endif  /* __IWMPlayerTimestampHook_FWD_DEFINED__ */
  36. #ifndef __IWMCodecAMVideoAccelerator_FWD_DEFINED__
  37. #define __IWMCodecAMVideoAccelerator_FWD_DEFINED__
  38. typedef interface IWMCodecAMVideoAccelerator IWMCodecAMVideoAccelerator;
  39. #endif  /* __IWMCodecAMVideoAccelerator_FWD_DEFINED__ */
  40. #ifndef __IWMCodecVideoAccelerator_FWD_DEFINED__
  41. #define __IWMCodecVideoAccelerator_FWD_DEFINED__
  42. typedef interface IWMCodecVideoAccelerator IWMCodecVideoAccelerator;
  43. #endif  /* __IWMCodecVideoAccelerator_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "mediaobj.h"
  46. #include "videoacc.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif 
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * ); 
  52. /* interface __MIDL_itf_wmdxva_0000 */
  53. /* [local] */ 
  54. //=========================================================================
  55. //
  56. // Microsoft Windows Media Technologies
  57. // Copyright (C) Microsoft Corporation.  All Rights Reserved.
  58. //
  59. //=========================================================================
  60. EXTERN_GUID( IID_IWMPlayerTimestampHook,   0x28580dda, 0xd98e, 0x48d0, 0xb7, 0xae, 0x69, 0xe4, 0x73, 0xa0, 0x28, 0x25);
  61. EXTERN_GUID( IID_IWMCodecVideoAccelerator, 0x990641b0, 0x739f, 0x4e94, 0xa8, 0x08, 0x98, 0x88, 0xda, 0x8f, 0x75, 0xaf);
  62. EXTERN_GUID( IID_IWMCodecAMVideoAccelerator, 0xd98ee251, 0x34e0, 0x4a2d, 0x93, 0x12, 0x9b, 0x4c, 0x78, 0x8d, 0x9f, 0xa1);
  63. extern RPC_IF_HANDLE __MIDL_itf_wmdxva_0000_v0_0_c_ifspec;
  64. extern RPC_IF_HANDLE __MIDL_itf_wmdxva_0000_v0_0_s_ifspec;
  65. #ifndef __IWMPlayerTimestampHook_INTERFACE_DEFINED__
  66. #define __IWMPlayerTimestampHook_INTERFACE_DEFINED__
  67. /* interface IWMPlayerTimestampHook */
  68. /* [local][unique][helpstring][uuid][object] */ 
  69. EXTERN_C const IID IID_IWMPlayerTimestampHook;
  70. #if defined(__cplusplus) && !defined(CINTERFACE)
  71.     
  72.     MIDL_INTERFACE("28580dda-d98e-48d0-b7ae-69e473a02825")
  73.     IWMPlayerTimestampHook : public IUnknown
  74.     {
  75.     public:
  76.         virtual HRESULT STDMETHODCALLTYPE MapTimestamp( 
  77.             /* [in] */ REFERENCE_TIME rtIn,
  78.             /* [out] */ REFERENCE_TIME *prtOut) = 0;
  79.         
  80.     };
  81.     
  82. #else  /* C style interface */
  83.     typedef struct IWMPlayerTimestampHookVtbl
  84.     {
  85.         BEGIN_INTERFACE
  86.         
  87.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  88.             IWMPlayerTimestampHook * This,
  89.             /* [in] */ REFIID riid,
  90.             /* [iid_is][out] */ void **ppvObject);
  91.         
  92.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  93.             IWMPlayerTimestampHook * This);
  94.         
  95.         ULONG ( STDMETHODCALLTYPE *Release )( 
  96.             IWMPlayerTimestampHook * This);
  97.         
  98.         HRESULT ( STDMETHODCALLTYPE *MapTimestamp )( 
  99.             IWMPlayerTimestampHook * This,
  100.             /* [in] */ REFERENCE_TIME rtIn,
  101.             /* [out] */ REFERENCE_TIME *prtOut);
  102.         
  103.         END_INTERFACE
  104.     } IWMPlayerTimestampHookVtbl;
  105.     interface IWMPlayerTimestampHook
  106.     {
  107.         CONST_VTBL struct IWMPlayerTimestampHookVtbl *lpVtbl;
  108.     };
  109.     
  110. #ifdef COBJMACROS
  111. #define IWMPlayerTimestampHook_QueryInterface(This,riid,ppvObject)
  112.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  113. #define IWMPlayerTimestampHook_AddRef(This)
  114.     (This)->lpVtbl -> AddRef(This)
  115. #define IWMPlayerTimestampHook_Release(This)
  116.     (This)->lpVtbl -> Release(This)
  117. #define IWMPlayerTimestampHook_MapTimestamp(This,rtIn,prtOut)
  118.     (This)->lpVtbl -> MapTimestamp(This,rtIn,prtOut)
  119. #endif /* COBJMACROS */
  120. #endif  /* C style interface */
  121. HRESULT STDMETHODCALLTYPE IWMPlayerTimestampHook_MapTimestamp_Proxy( 
  122.     IWMPlayerTimestampHook * This,
  123.     /* [in] */ REFERENCE_TIME rtIn,
  124.     /* [out] */ REFERENCE_TIME *prtOut);
  125. void __RPC_STUB IWMPlayerTimestampHook_MapTimestamp_Stub(
  126.     IRpcStubBuffer *This,
  127.     IRpcChannelBuffer *_pRpcChannelBuffer,
  128.     PRPC_MESSAGE _pRpcMessage,
  129.     DWORD *_pdwStubPhase);
  130. #endif  /* __IWMPlayerTimestampHook_INTERFACE_DEFINED__ */
  131. #ifndef __IWMCodecAMVideoAccelerator_INTERFACE_DEFINED__
  132. #define __IWMCodecAMVideoAccelerator_INTERFACE_DEFINED__
  133. /* interface IWMCodecAMVideoAccelerator */
  134. /* [local][unique][helpstring][uuid][object] */ 
  135. EXTERN_C const IID IID_IWMCodecAMVideoAccelerator;
  136. #if defined(__cplusplus) && !defined(CINTERFACE)
  137.     
  138.     MIDL_INTERFACE("d98ee251-34e0-4a2d-9312-9b4c788d9fa1")
  139.     IWMCodecAMVideoAccelerator : public IUnknown
  140.     {
  141.     public:
  142.         virtual HRESULT STDMETHODCALLTYPE SetAcceleratorInterface( 
  143.             /* [in] */ IAMVideoAccelerator *pIAMVA) = 0;
  144.         
  145.         virtual HRESULT STDMETHODCALLTYPE NegotiateConnection( 
  146.             /* [in] */ DMO_MEDIA_TYPE *pMediaType) = 0;
  147.         
  148.         virtual HRESULT STDMETHODCALLTYPE SetPlayerNotify( 
  149.             /* [in] */ IWMPlayerTimestampHook *pHook) = 0;
  150.         
  151.     };
  152.     
  153. #else  /* C style interface */
  154.     typedef struct IWMCodecAMVideoAcceleratorVtbl
  155.     {
  156.         BEGIN_INTERFACE
  157.         
  158.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  159.             IWMCodecAMVideoAccelerator * This,
  160.             /* [in] */ REFIID riid,
  161.             /* [iid_is][out] */ void **ppvObject);
  162.         
  163.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  164.             IWMCodecAMVideoAccelerator * This);
  165.         
  166.         ULONG ( STDMETHODCALLTYPE *Release )( 
  167.             IWMCodecAMVideoAccelerator * This);
  168.         
  169.         HRESULT ( STDMETHODCALLTYPE *SetAcceleratorInterface )( 
  170.             IWMCodecAMVideoAccelerator * This,
  171.             /* [in] */ IAMVideoAccelerator *pIAMVA);
  172.         
  173.         HRESULT ( STDMETHODCALLTYPE *NegotiateConnection )( 
  174.             IWMCodecAMVideoAccelerator * This,
  175.             /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  176.         
  177.         HRESULT ( STDMETHODCALLTYPE *SetPlayerNotify )( 
  178.             IWMCodecAMVideoAccelerator * This,
  179.             /* [in] */ IWMPlayerTimestampHook *pHook);
  180.         
  181.         END_INTERFACE
  182.     } IWMCodecAMVideoAcceleratorVtbl;
  183.     interface IWMCodecAMVideoAccelerator
  184.     {
  185.         CONST_VTBL struct IWMCodecAMVideoAcceleratorVtbl *lpVtbl;
  186.     };
  187.     
  188. #ifdef COBJMACROS
  189. #define IWMCodecAMVideoAccelerator_QueryInterface(This,riid,ppvObject)
  190.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  191. #define IWMCodecAMVideoAccelerator_AddRef(This)
  192.     (This)->lpVtbl -> AddRef(This)
  193. #define IWMCodecAMVideoAccelerator_Release(This)
  194.     (This)->lpVtbl -> Release(This)
  195. #define IWMCodecAMVideoAccelerator_SetAcceleratorInterface(This,pIAMVA)
  196.     (This)->lpVtbl -> SetAcceleratorInterface(This,pIAMVA)
  197. #define IWMCodecAMVideoAccelerator_NegotiateConnection(This,pMediaType)
  198.     (This)->lpVtbl -> NegotiateConnection(This,pMediaType)
  199. #define IWMCodecAMVideoAccelerator_SetPlayerNotify(This,pHook)
  200.     (This)->lpVtbl -> SetPlayerNotify(This,pHook)
  201. #endif /* COBJMACROS */
  202. #endif  /* C style interface */
  203. HRESULT STDMETHODCALLTYPE IWMCodecAMVideoAccelerator_SetAcceleratorInterface_Proxy( 
  204.     IWMCodecAMVideoAccelerator * This,
  205.     /* [in] */ IAMVideoAccelerator *pIAMVA);
  206. void __RPC_STUB IWMCodecAMVideoAccelerator_SetAcceleratorInterface_Stub(
  207.     IRpcStubBuffer *This,
  208.     IRpcChannelBuffer *_pRpcChannelBuffer,
  209.     PRPC_MESSAGE _pRpcMessage,
  210.     DWORD *_pdwStubPhase);
  211. HRESULT STDMETHODCALLTYPE IWMCodecAMVideoAccelerator_NegotiateConnection_Proxy( 
  212.     IWMCodecAMVideoAccelerator * This,
  213.     /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  214. void __RPC_STUB IWMCodecAMVideoAccelerator_NegotiateConnection_Stub(
  215.     IRpcStubBuffer *This,
  216.     IRpcChannelBuffer *_pRpcChannelBuffer,
  217.     PRPC_MESSAGE _pRpcMessage,
  218.     DWORD *_pdwStubPhase);
  219. HRESULT STDMETHODCALLTYPE IWMCodecAMVideoAccelerator_SetPlayerNotify_Proxy( 
  220.     IWMCodecAMVideoAccelerator * This,
  221.     /* [in] */ IWMPlayerTimestampHook *pHook);
  222. void __RPC_STUB IWMCodecAMVideoAccelerator_SetPlayerNotify_Stub(
  223.     IRpcStubBuffer *This,
  224.     IRpcChannelBuffer *_pRpcChannelBuffer,
  225.     PRPC_MESSAGE _pRpcMessage,
  226.     DWORD *_pdwStubPhase);
  227. #endif  /* __IWMCodecAMVideoAccelerator_INTERFACE_DEFINED__ */
  228. #ifndef __IWMCodecVideoAccelerator_INTERFACE_DEFINED__
  229. #define __IWMCodecVideoAccelerator_INTERFACE_DEFINED__
  230. /* interface IWMCodecVideoAccelerator */
  231. /* [local][unique][helpstring][uuid][object] */ 
  232. EXTERN_C const IID IID_IWMCodecVideoAccelerator;
  233. #if defined(__cplusplus) && !defined(CINTERFACE)
  234.     
  235.     MIDL_INTERFACE("990641b0-739f-4e94-a808-9888da8f75af")
  236.     IWMCodecVideoAccelerator : public IUnknown
  237.     {
  238.     public:
  239.         virtual HRESULT STDMETHODCALLTYPE NegotiateConnection( 
  240.             /* [in] */ IAMVideoAccelerator *pIAMVA,
  241.             /* [in] */ DMO_MEDIA_TYPE *pMediaType) = 0;
  242.         
  243.         virtual HRESULT STDMETHODCALLTYPE SetPlayerNotify( 
  244.             /* [in] */ IWMPlayerTimestampHook *pHook) = 0;
  245.         
  246.     };
  247.     
  248. #else  /* C style interface */
  249.     typedef struct IWMCodecVideoAcceleratorVtbl
  250.     {
  251.         BEGIN_INTERFACE
  252.         
  253.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  254.             IWMCodecVideoAccelerator * This,
  255.             /* [in] */ REFIID riid,
  256.             /* [iid_is][out] */ void **ppvObject);
  257.         
  258.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  259.             IWMCodecVideoAccelerator * This);
  260.         
  261.         ULONG ( STDMETHODCALLTYPE *Release )( 
  262.             IWMCodecVideoAccelerator * This);
  263.         
  264.         HRESULT ( STDMETHODCALLTYPE *NegotiateConnection )( 
  265.             IWMCodecVideoAccelerator * This,
  266.             /* [in] */ IAMVideoAccelerator *pIAMVA,
  267.             /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  268.         
  269.         HRESULT ( STDMETHODCALLTYPE *SetPlayerNotify )( 
  270.             IWMCodecVideoAccelerator * This,
  271.             /* [in] */ IWMPlayerTimestampHook *pHook);
  272.         
  273.         END_INTERFACE
  274.     } IWMCodecVideoAcceleratorVtbl;
  275.     interface IWMCodecVideoAccelerator
  276.     {
  277.         CONST_VTBL struct IWMCodecVideoAcceleratorVtbl *lpVtbl;
  278.     };
  279.     
  280. #ifdef COBJMACROS
  281. #define IWMCodecVideoAccelerator_QueryInterface(This,riid,ppvObject)
  282.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  283. #define IWMCodecVideoAccelerator_AddRef(This)
  284.     (This)->lpVtbl -> AddRef(This)
  285. #define IWMCodecVideoAccelerator_Release(This)
  286.     (This)->lpVtbl -> Release(This)
  287. #define IWMCodecVideoAccelerator_NegotiateConnection(This,pIAMVA,pMediaType)
  288.     (This)->lpVtbl -> NegotiateConnection(This,pIAMVA,pMediaType)
  289. #define IWMCodecVideoAccelerator_SetPlayerNotify(This,pHook)
  290.     (This)->lpVtbl -> SetPlayerNotify(This,pHook)
  291. #endif /* COBJMACROS */
  292. #endif  /* C style interface */
  293. HRESULT STDMETHODCALLTYPE IWMCodecVideoAccelerator_NegotiateConnection_Proxy( 
  294.     IWMCodecVideoAccelerator * This,
  295.     /* [in] */ IAMVideoAccelerator *pIAMVA,
  296.     /* [in] */ DMO_MEDIA_TYPE *pMediaType);
  297. void __RPC_STUB IWMCodecVideoAccelerator_NegotiateConnection_Stub(
  298.     IRpcStubBuffer *This,
  299.     IRpcChannelBuffer *_pRpcChannelBuffer,
  300.     PRPC_MESSAGE _pRpcMessage,
  301.     DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE IWMCodecVideoAccelerator_SetPlayerNotify_Proxy( 
  303.     IWMCodecVideoAccelerator * This,
  304.     /* [in] */ IWMPlayerTimestampHook *pHook);
  305. void __RPC_STUB IWMCodecVideoAccelerator_SetPlayerNotify_Stub(
  306.     IRpcStubBuffer *This,
  307.     IRpcChannelBuffer *_pRpcChannelBuffer,
  308.     PRPC_MESSAGE _pRpcMessage,
  309.     DWORD *_pdwStubPhase);
  310. #endif  /* __IWMCodecVideoAccelerator_INTERFACE_DEFINED__ */
  311. /* Additional Prototypes for ALL interfaces */
  312. /* end of Additional Prototypes */
  313. #ifdef __cplusplus
  314. }
  315. #endif
  316. #endif