From b0bc996f703c92f105d83237ad56a6bd2ed0f431 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 27 May 2007 11:38:03 +0000 Subject: [PATCH] adding dmodshow.idl compatible with ms dxsdk 2004 dec svn path=/trunk/; revision=26918 --- reactos/include/dxsdk/dmodshow.h | 100 ----------------------------- reactos/include/dxsdk/dmodshow.idl | 18 ++++++ reactos/include/dxsdk/dxsdk.rbuild | 4 +- 3 files changed, 20 insertions(+), 102 deletions(-) delete mode 100644 reactos/include/dxsdk/dmodshow.h create mode 100644 reactos/include/dxsdk/dmodshow.idl diff --git a/reactos/include/dxsdk/dmodshow.h b/reactos/include/dxsdk/dmodshow.h deleted file mode 100644 index b6a399ed2c1..00000000000 --- a/reactos/include/dxsdk/dmodshow.h +++ /dev/null @@ -1,100 +0,0 @@ - - -#ifndef __REQUIRED_RPCNDR_H_VERSION__ - #define __REQUIRED_RPCNDR_H_VERSION__ 475 -#endif - -#include "rpc.h" -#include "rpcndr.h" - -#ifndef __RPCNDR_H_VERSION__ - #error this stub requires an updated version of -#endif - -#ifndef COM_NO_WINDOWS_H - #include "windows.h" - #include "ole2.h" -#endif - -#ifndef __dmodshow_h__ - #define __dmodshow_h__ - -#if defined(_MSC_VER) && (_MSC_VER >= 1020) - #pragma once -#endif - -#ifndef __IDMOWrapperFilter_FWD_DEFINED__ - #define __IDMOWrapperFilter_FWD_DEFINED__ - typedef interface IDMOWrapperFilter IDMOWrapperFilter; -#endif - -#include "unknwn.h" -#include "objidl.h" -#include "mediaobj.h" - -#ifdef __cplusplus -extern "C"{ -#endif - -DEFINE_GUID(CLSID_DMOWrapperFilter, 0x94297043,0xBD82,0x4DFD,0xB0,0xDE,0x81,0x77,0x73,0x9C,0x6D,0x20); -DEFINE_GUID(CLSID_DMOFilterCategory,0xBCD5796C,0xBD52,0x4D30,0xAB,0x76,0x70,0xF9,0x75,0xB8,0x91,0x99); - -extern RPC_IF_HANDLE __MIDL_itf_dmodshow_0000_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_dmodshow_0000_v0_0_s_ifspec; - -void * __RPC_USER MIDL_user_allocate(size_t); -void __RPC_USER MIDL_user_free( void * ); - -#ifndef __IDMOWrapperFilter_INTERFACE_DEFINED__ - #define __IDMOWrapperFilter_INTERFACE_DEFINED__ - EXTERN_C const IID IID_IDMOWrapperFilter; - #if defined(__cplusplus) && !defined(CINTERFACE) - MIDL_INTERFACE("52D6F586-9F0F-4824-8FC8-E32CA04930C2") - IDMOWrapperFilter : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE Init(REFCLSID clsidDMO, REFCLSID catDMO) = 0; - }; - #else - typedef struct IDMOWrapperFilterVtbl - { - BEGIN_INTERFACE - HRESULT ( STDMETHODCALLTYPE *QueryInterface )(IDMOWrapperFilter * This, REFIID riid, void **ppvObject); - ULONG ( STDMETHODCALLTYPE *AddRef )(IDMOWrapperFilter * This); - ULONG ( STDMETHODCALLTYPE *Release )(IDMOWrapperFilter * This); - HRESULT ( STDMETHODCALLTYPE *Init )(IDMOWrapperFilter * This, REFCLSID clsidDMO, REFCLSID catDMO); - END_INTERFACE - } IDMOWrapperFilterVtbl; - - interface IDMOWrapperFilter - { - CONST_VTBL struct IDMOWrapperFilterVtbl *lpVtbl; - }; - - #ifdef COBJMACROS - #define IDMOWrapperFilter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) - #define IDMOWrapperFilter_AddRef(This) (This)->lpVtbl -> AddRef(This) - #define IDMOWrapperFilter_Release(This) (This)->lpVtbl -> Release(This) - #define IDMOWrapperFilter_Init(This,clsidDMO,catDMO) (This)->lpVtbl -> Init(This,clsidDMO,catDMO) - #endif - #endif - -HRESULT STDMETHODCALLTYPE -IDMOWrapperFilter_Init_Proxy( - IDMOWrapperFilter * This, - REFCLSID clsidDMO, - REFCLSID catDMO); - - -void __RPC_STUB - IDMOWrapperFilter_Init_Stub( - IRpcStubBuffer *This, - IRpcChannelBuffer *_pRpcChannelBuffer, - PRPC_MESSAGE _pRpcMessage, - DWORD *_pdwStubPhase); -#endif - -#ifdef __cplusplus -} -#endif -#endif diff --git a/reactos/include/dxsdk/dmodshow.idl b/reactos/include/dxsdk/dmodshow.idl new file mode 100644 index 00000000000..450c6024c49 --- /dev/null +++ b/reactos/include/dxsdk/dmodshow.idl @@ -0,0 +1,18 @@ + + +import "unknwn.idl"; +import "objidl.idl"; +import "mediaobj.idl"; + +cpp_quote("DEFINE_GUID(CLSID_DMOWrapperFilter, 0x94297043,0xbd82,0x4dfd,0xb0,0xde,0x81,0x77,0x73,0x9c,0x6d,0x20);") +cpp_quote("DEFINE_GUID(CLSID_DMOFilterCategory, 0xbcd5796c,0xbd52,0x4d30,0xab,0x76,0x70,0xf9,0x75,0xb8,0x91,0x99);") + +[ + object, + uuid(52d6f586-9f0f-4824-8fc8-e32ca04930c2), +] +interface IDMOWrapperFilter : IUnknown +{ + HRESULT Init(REFCLSID clsidDMO, REFCLSID catDMO); +} + diff --git a/reactos/include/dxsdk/dxsdk.rbuild b/reactos/include/dxsdk/dxsdk.rbuild index 9e1ef0382ab..6976f817eed 100644 --- a/reactos/include/dxsdk/dxsdk.rbuild +++ b/reactos/include/dxsdk/dxsdk.rbuild @@ -2,13 +2,13 @@ amstream.idl austream.idl ddstream.idl + dmodshow.idl mixerocx.idl mediaobj.idl medparam.idl mmstream.idl regbag.idl + tvratings.idl vidcap.idl Videoacc.idl - tvratings.idl - \ No newline at end of file