| 1 | /*** Autogenerated by WIDL 11.6 from include/dmodshow.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 __dmodshow_h__ |
| 17 | #define __dmodshow_h__ |
| 18 | |
| 19 | /* Forward declarations */ |
| 20 | |
| 21 | #ifndef __IDMOWrapperFilter_FWD_DEFINED__ |
| 22 | #define __IDMOWrapperFilter_FWD_DEFINED__ |
| 23 | typedef interface IDMOWrapperFilter IDMOWrapperFilter; |
| 24 | #ifdef __cplusplus |
| 25 | interface IDMOWrapperFilter; |
| 26 | #endif /* __cplusplus */ |
| 27 | #endif |
| 28 | |
| 29 | /* Headers for imported files */ |
| 30 | |
| 31 | #include <unknwn.h> |
| 32 | |
| 33 | #ifdef __cplusplus |
| 34 | extern "C" { |
| 35 | #endif |
| 36 | |
| 37 | DEFINE_GUID(CLSID_DMOWrapperFilter, 0x94297043, 0xbd82, 0x4dfd, 0xb0, 0xde, 0x81, 0x77, 0x73, 0x9c, 0x6d, 0x20); |
| 38 | /***************************************************************************** |
| 39 | * IDMOWrapperFilter interface |
| 40 | */ |
| 41 | #ifndef __IDMOWrapperFilter_INTERFACE_DEFINED__ |
| 42 | #define __IDMOWrapperFilter_INTERFACE_DEFINED__ |
| 43 | |
| 44 | DEFINE_GUID(IID_IDMOWrapperFilter, 0x52d6f586, 0x9f0f, 0x4824, 0x8f,0xc8, 0xe3,0x2c,0xa0,0x49,0x30,0xc2); |
| 45 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 46 | MIDL_INTERFACE("52d6f586-9f0f-4824-8fc8-e32ca04930c2") |
| 47 | IDMOWrapperFilter : public IUnknown |
| 48 | { |
| 49 | virtual HRESULT STDMETHODCALLTYPE Init( |
| 50 | REFCLSID clsidDMO, |
| 51 | REFCLSID catDMO) = 0; |
| 52 | |
| 53 | }; |
| 54 | #ifdef __CRT_UUID_DECL |
| 55 | __CRT_UUID_DECL(IDMOWrapperFilter, 0x52d6f586, 0x9f0f, 0x4824, 0x8f,0xc8, 0xe3,0x2c,0xa0,0x49,0x30,0xc2) |
| 56 | #endif |
| 57 | #else |
| 58 | typedef struct IDMOWrapperFilterVtbl { |
| 59 | BEGIN_INTERFACE |
| 60 | |
| 61 | /*** IUnknown methods ***/ |
| 62 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 63 | IDMOWrapperFilter *This, |
| 64 | REFIID riid, |
| 65 | void **ppvObject); |
| 66 | |
| 67 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 68 | IDMOWrapperFilter *This); |
| 69 | |
| 70 | ULONG (STDMETHODCALLTYPE *Release)( |
| 71 | IDMOWrapperFilter *This); |
| 72 | |
| 73 | /*** IDMOWrapperFilter methods ***/ |
| 74 | HRESULT (STDMETHODCALLTYPE *Init)( |
| 75 | IDMOWrapperFilter *This, |
| 76 | REFCLSID clsidDMO, |
| 77 | REFCLSID catDMO); |
| 78 | |
| 79 | END_INTERFACE |
| 80 | } IDMOWrapperFilterVtbl; |
| 81 | |
| 82 | interface IDMOWrapperFilter { |
| 83 | CONST_VTBL IDMOWrapperFilterVtbl* lpVtbl; |
| 84 | }; |
| 85 | |
| 86 | #ifdef COBJMACROS |
| 87 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 88 | /*** IUnknown methods ***/ |
| 89 | #define IDMOWrapperFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 90 | #define IDMOWrapperFilter_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 91 | #define IDMOWrapperFilter_Release(This) (This)->lpVtbl->Release(This) |
| 92 | /*** IDMOWrapperFilter methods ***/ |
| 93 | #define IDMOWrapperFilter_Init(This,clsidDMO,catDMO) (This)->lpVtbl->Init(This,clsidDMO,catDMO) |
| 94 | #else |
| 95 | /*** IUnknown methods ***/ |
| 96 | static inline HRESULT IDMOWrapperFilter_QueryInterface(IDMOWrapperFilter* This,REFIID riid,void **ppvObject) { |
| 97 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 98 | } |
| 99 | static inline ULONG IDMOWrapperFilter_AddRef(IDMOWrapperFilter* This) { |
| 100 | return This->lpVtbl->AddRef(This); |
| 101 | } |
| 102 | static inline ULONG IDMOWrapperFilter_Release(IDMOWrapperFilter* This) { |
| 103 | return This->lpVtbl->Release(This); |
| 104 | } |
| 105 | /*** IDMOWrapperFilter methods ***/ |
| 106 | static inline HRESULT IDMOWrapperFilter_Init(IDMOWrapperFilter* This,REFCLSID clsidDMO,REFCLSID catDMO) { |
| 107 | return This->lpVtbl->Init(This,clsidDMO,catDMO); |
| 108 | } |
| 109 | #endif |
| 110 | #endif |
| 111 | |
| 112 | #endif |
| 113 | |
| 114 | |
| 115 | #endif /* __IDMOWrapperFilter_INTERFACE_DEFINED__ */ |
| 116 | |
| 117 | /* Begin additional prototypes for all interfaces */ |
| 118 | |
| 119 | |
| 120 | /* End additional prototypes */ |
| 121 | |
| 122 | #ifdef __cplusplus |
| 123 | } |
| 124 | #endif |
| 125 | |
| 126 | #endif /* __dmodshow_h__ */ |