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