1 /*** Autogenerated by WIDL 1.5.29 from /tmp/build-mingw64-toolchain-joshualang/src/mingw-w64-svn-r5861/mingw-w64-headers/direct-x/include/dmodshow.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __dmodshow_h__ 16 #define __dmodshow_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __IDMOWrapperFilter_FWD_DEFINED__ 21 #define __IDMOWrapperFilter_FWD_DEFINED__ 22 typedef interface IDMOWrapperFilter IDMOWrapperFilter; 23 #endif 24 25 /* Headers for imported files */ 26 27 #include <unknwn.h> 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 DEFINE_GUID(CLSID_DMOWrapperFilter, 0x94297043, 0xbd82, 0x4dfd, 0xb0, 0xde, 0x81, 0x77, 0x73, 0x9c, 0x6d, 0x20); 34 /***************************************************************************** 35 * IDMOWrapperFilter interface 36 */ 37 #ifndef __IDMOWrapperFilter_INTERFACE_DEFINED__ 38 #define __IDMOWrapperFilter_INTERFACE_DEFINED__ 39 40 DEFINE_GUID(IID_IDMOWrapperFilter, 0x52d6f586, 0x9f0f, 0x4824, 0x8f,0xc8, 0xe3,0x2c,0xa0,0x49,0x30,0xc2); 41 #if defined(__cplusplus) && !defined(CINTERFACE) 42 MIDL_INTERFACE("52d6f586-9f0f-4824-8fc8-e32ca04930c2") 43 IDMOWrapperFilter : public IUnknown 44 { 45 virtual HRESULT STDMETHODCALLTYPE Init( 46 REFCLSID clsidDMO, 47 REFCLSID catDMO) = 0; 48 49 }; 50 #ifdef __CRT_UUID_DECL 51 __CRT_UUID_DECL(IDMOWrapperFilter, 0x52d6f586, 0x9f0f, 0x4824, 0x8f,0xc8, 0xe3,0x2c,0xa0,0x49,0x30,0xc2) 52 #endif 53 #else 54 typedef struct IDMOWrapperFilterVtbl { 55 BEGIN_INTERFACE 56 57 /*** IUnknown methods ***/ 58 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 59 IDMOWrapperFilter* This, 60 REFIID riid, 61 void **ppvObject); 62 63 ULONG (STDMETHODCALLTYPE *AddRef)( 64 IDMOWrapperFilter* This); 65 66 ULONG (STDMETHODCALLTYPE *Release)( 67 IDMOWrapperFilter* This); 68 69 /*** IDMOWrapperFilter methods ***/ 70 HRESULT (STDMETHODCALLTYPE *Init)( 71 IDMOWrapperFilter* This, 72 REFCLSID clsidDMO, 73 REFCLSID catDMO); 74 75 END_INTERFACE 76 } IDMOWrapperFilterVtbl; 77 interface IDMOWrapperFilter { 78 CONST_VTBL IDMOWrapperFilterVtbl* lpVtbl; 79 }; 80 81 #ifdef COBJMACROS 82 #ifndef WIDL_C_INLINE_WRAPPERS 83 /*** IUnknown methods ***/ 84 #define IDMOWrapperFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 85 #define IDMOWrapperFilter_AddRef(This) (This)->lpVtbl->AddRef(This) 86 #define IDMOWrapperFilter_Release(This) (This)->lpVtbl->Release(This) 87 /*** IDMOWrapperFilter methods ***/ 88 #define IDMOWrapperFilter_Init(This,clsidDMO,catDMO) (This)->lpVtbl->Init(This,clsidDMO,catDMO) 89 #else 90 /*** IUnknown methods ***/ 91 static FORCEINLINE HRESULT IDMOWrapperFilter_QueryInterface(IDMOWrapperFilter* This,REFIID riid,void **ppvObject) { 92 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 93 } 94 static FORCEINLINE ULONG IDMOWrapperFilter_AddRef(IDMOWrapperFilter* This) { 95 return This->lpVtbl->AddRef(This); 96 } 97 static FORCEINLINE ULONG IDMOWrapperFilter_Release(IDMOWrapperFilter* This) { 98 return This->lpVtbl->Release(This); 99 } 100 /*** IDMOWrapperFilter methods ***/ 101 static FORCEINLINE HRESULT IDMOWrapperFilter_Init(IDMOWrapperFilter* This,REFCLSID clsidDMO,REFCLSID catDMO) { 102 return This->lpVtbl->Init(This,clsidDMO,catDMO); 103 } 104 #endif 105 #endif 106 107 #endif 108 109 HRESULT STDMETHODCALLTYPE IDMOWrapperFilter_Init_Proxy( 110 IDMOWrapperFilter* This, 111 REFCLSID clsidDMO, 112 REFCLSID catDMO); 113 void __RPC_STUB IDMOWrapperFilter_Init_Stub( 114 IRpcStubBuffer* This, 115 IRpcChannelBuffer* pRpcChannelBuffer, 116 PRPC_MESSAGE pRpcMessage, 117 DWORD* pdwStubPhase); 118 119 #endif /* __IDMOWrapperFilter_INTERFACE_DEFINED__ */ 120 121 /* Begin additional prototypes for all interfaces */ 122 123 124 /* End additional prototypes */ 125 126 #ifdef __cplusplus 127 } 128 #endif 129 130 #endif /* __dmodshow_h__ */ 131