Fixed header dependencies to be fully compatible with the Windows
[wine/multimedia.git] / dlls / msdmo / dmoreg.c
blob085943bcca4adfb256280c2ad3dec34d4b29c17c
1 /*
2 * Copyright (C) 2003 Michael Günnewig
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #define COM_NO_WINDOWS_H
20 #include <stdarg.h>
22 #include "windef.h"
23 #include "winbase.h"
24 #include "objbase.h"
25 #include "mediaobj.h"
26 #include "dmoreg.h"
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(msdmo);
32 /***********************************************************************/
34 HRESULT WINAPI DMORegister(LPCWSTR a, REFCLSID b, REFGUID c, DWORD d, DWORD e,
35 const DMO_PARTIAL_MEDIATYPE* f,
36 DWORD g, const DMO_PARTIAL_MEDIATYPE* h)
38 FIXME("(%p,%p,%p,%lu,%lu,%p,%lu,%p),stub!\n",a,b,c,d,e,f,g,h);
40 return E_NOTIMPL;
43 HRESULT WINAPI DMOUnregister(REFCLSID a,REFGUID b)
45 FIXME("(%p,%p),stub!\n",a,b);
47 return E_NOTIMPL;
50 HRESULT WINAPI DMOEnum(REFGUID guidCategory, DWORD dwFlags, DWORD cInTypes,
51 const DMO_PARTIAL_MEDIATYPE*pInTypes, DWORD cOutTypes,
52 const DMO_PARTIAL_MEDIATYPE*pOutTypes,IEnumDMO**ppEnum)
54 FIXME("(%s,0x%lX,%lu,%p,%lu,%p,%p),stub!\n",debugstr_guid(guidCategory),
55 dwFlags,cInTypes,pInTypes,cOutTypes,pOutTypes,ppEnum);
57 if (guidCategory == NULL || ppEnum == NULL)
58 return E_FAIL;
59 if (dwFlags != 0 && dwFlags != DMO_ENUMF_INCLUDE_KEYED)
60 return E_FAIL;
62 *ppEnum = NULL;
64 return E_NOTIMPL;
67 HRESULT WINAPI DMOGetTypes(REFCLSID a, unsigned long b, unsigned long* c,
68 DMO_PARTIAL_MEDIATYPE* d, unsigned long e,
69 unsigned long* f, DMO_PARTIAL_MEDIATYPE* g)
71 FIXME("(%p,%lu,%p,%p,%lu,%p,%p),stub!\n",a,b,c,d,e,f,g);
73 return E_NOTIMPL;
76 HRESULT WINAPI DMOGetName(REFCLSID pclsid, WCHAR* pstr)
78 FIXME("(%s,%p),stub!\n", debugstr_guid(pclsid), pstr);
80 if (pclsid == NULL || pstr == NULL)
81 return E_FAIL;
83 pstr[0] = '\0';
85 return E_NOTIMPL;