wmpservices.h 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*** Autogenerated by WIDL 7.7 from include/wmpservices.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __wmpservices_h__
  14. #define __wmpservices_h__
  15. /* Forward declarations */
  16. #ifndef __IWMPGraphCreation_FWD_DEFINED__
  17. #define __IWMPGraphCreation_FWD_DEFINED__
  18. typedef interface IWMPGraphCreation IWMPGraphCreation;
  19. #ifdef __cplusplus
  20. interface IWMPGraphCreation;
  21. #endif /* __cplusplus */
  22. #endif
  23. /* Headers for imported files */
  24. #include <oaidl.h>
  25. #include <ocidl.h>
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. #define WMPGC_FLAGS_SUPPRESS_DIALOGS 0x00000002
  30. /*****************************************************************************
  31. * IWMPGraphCreation interface
  32. */
  33. #ifndef __IWMPGraphCreation_INTERFACE_DEFINED__
  34. #define __IWMPGraphCreation_INTERFACE_DEFINED__
  35. DEFINE_GUID(IID_IWMPGraphCreation, 0xbfb377e5, 0xc594, 0x4369, 0xa9,0x70, 0xde,0x89,0x6d,0x5e,0xce,0x74);
  36. #if defined(__cplusplus) && !defined(CINTERFACE)
  37. MIDL_INTERFACE("bfb377e5-c594-4369-a970-de896d5ece74")
  38. IWMPGraphCreation : public IUnknown
  39. {
  40. virtual HRESULT STDMETHODCALLTYPE GraphCreationPreRender(
  41. IUnknown *filter_graph,
  42. IUnknown *reserved) = 0;
  43. virtual HRESULT STDMETHODCALLTYPE GraphCreationPostRender(
  44. IUnknown *filter_graph) = 0;
  45. virtual HRESULT STDMETHODCALLTYPE GetGraphCreationFlags(
  46. DWORD *flags) = 0;
  47. };
  48. #ifdef __CRT_UUID_DECL
  49. __CRT_UUID_DECL(IWMPGraphCreation, 0xbfb377e5, 0xc594, 0x4369, 0xa9,0x70, 0xde,0x89,0x6d,0x5e,0xce,0x74)
  50. #endif
  51. #else
  52. typedef struct IWMPGraphCreationVtbl {
  53. BEGIN_INTERFACE
  54. /*** IUnknown methods ***/
  55. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  56. IWMPGraphCreation *This,
  57. REFIID riid,
  58. void **ppvObject);
  59. ULONG (STDMETHODCALLTYPE *AddRef)(
  60. IWMPGraphCreation *This);
  61. ULONG (STDMETHODCALLTYPE *Release)(
  62. IWMPGraphCreation *This);
  63. /*** IWMPGraphCreation methods ***/
  64. HRESULT (STDMETHODCALLTYPE *GraphCreationPreRender)(
  65. IWMPGraphCreation *This,
  66. IUnknown *filter_graph,
  67. IUnknown *reserved);
  68. HRESULT (STDMETHODCALLTYPE *GraphCreationPostRender)(
  69. IWMPGraphCreation *This,
  70. IUnknown *filter_graph);
  71. HRESULT (STDMETHODCALLTYPE *GetGraphCreationFlags)(
  72. IWMPGraphCreation *This,
  73. DWORD *flags);
  74. END_INTERFACE
  75. } IWMPGraphCreationVtbl;
  76. interface IWMPGraphCreation {
  77. CONST_VTBL IWMPGraphCreationVtbl* lpVtbl;
  78. };
  79. #ifdef COBJMACROS
  80. #ifndef WIDL_C_INLINE_WRAPPERS
  81. /*** IUnknown methods ***/
  82. #define IWMPGraphCreation_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  83. #define IWMPGraphCreation_AddRef(This) (This)->lpVtbl->AddRef(This)
  84. #define IWMPGraphCreation_Release(This) (This)->lpVtbl->Release(This)
  85. /*** IWMPGraphCreation methods ***/
  86. #define IWMPGraphCreation_GraphCreationPreRender(This,filter_graph,reserved) (This)->lpVtbl->GraphCreationPreRender(This,filter_graph,reserved)
  87. #define IWMPGraphCreation_GraphCreationPostRender(This,filter_graph) (This)->lpVtbl->GraphCreationPostRender(This,filter_graph)
  88. #define IWMPGraphCreation_GetGraphCreationFlags(This,flags) (This)->lpVtbl->GetGraphCreationFlags(This,flags)
  89. #else
  90. /*** IUnknown methods ***/
  91. static FORCEINLINE HRESULT IWMPGraphCreation_QueryInterface(IWMPGraphCreation* This,REFIID riid,void **ppvObject) {
  92. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  93. }
  94. static FORCEINLINE ULONG IWMPGraphCreation_AddRef(IWMPGraphCreation* This) {
  95. return This->lpVtbl->AddRef(This);
  96. }
  97. static FORCEINLINE ULONG IWMPGraphCreation_Release(IWMPGraphCreation* This) {
  98. return This->lpVtbl->Release(This);
  99. }
  100. /*** IWMPGraphCreation methods ***/
  101. static FORCEINLINE HRESULT IWMPGraphCreation_GraphCreationPreRender(IWMPGraphCreation* This,IUnknown *filter_graph,IUnknown *reserved) {
  102. return This->lpVtbl->GraphCreationPreRender(This,filter_graph,reserved);
  103. }
  104. static FORCEINLINE HRESULT IWMPGraphCreation_GraphCreationPostRender(IWMPGraphCreation* This,IUnknown *filter_graph) {
  105. return This->lpVtbl->GraphCreationPostRender(This,filter_graph);
  106. }
  107. static FORCEINLINE HRESULT IWMPGraphCreation_GetGraphCreationFlags(IWMPGraphCreation* This,DWORD *flags) {
  108. return This->lpVtbl->GetGraphCreationFlags(This,flags);
  109. }
  110. #endif
  111. #endif
  112. #endif
  113. #endif /* __IWMPGraphCreation_INTERFACE_DEFINED__ */
  114. /* Begin additional prototypes for all interfaces */
  115. /* End additional prototypes */
  116. #ifdef __cplusplus
  117. }
  118. #endif
  119. #endif /* __wmpservices_h__ */