[PATCH] mf: Add MFGetSupportedMimeTypes stub.
Andrey Gusev <[email protected]> Mon, 6 Nov 2017 11:47:11 +0200
| Newsgroups | gmane.comp.emulators.wine.patches |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Andrey Gusev <[email protected]> --- dlls/mf/main.c | 16 ++++++++++++++++ dlls/mf/mf.spec | 2 +- include/mfidl.idl | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dlls/mf/main.c b/dlls/mf/main.c index 1b223adc11..2ad2e5d37b 100644 --- a/dlls/mf/main.c +++ b/dlls/mf/main.c @@ -15,12 +15,18 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ + #include "config.h" #include <stdarg.h> #include "windef.h" #include "winbase.h" +#include "mfidl.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(mfplat); BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) { @@ -35,3 +41,13 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) return TRUE; } + +/*********************************************************************** + * MFGetSupportedMimeTypes (mf.@) + */ +HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array) +{ + FIXME("(%p) stub\n", array); + + return E_NOTIMPL; +} diff --git a/dlls/mf/mf.spec b/dlls/mf/mf.spec index 3b02bd25f1..54fa1f3dbe 100644 --- a/dlls/mf/mf.spec +++ b/dlls/mf/mf.spec @@ -73,7 +73,7 @@ @ stub MFEnumDeviceSources @ stub MFGetMultipleServiceProviders @ stub MFGetService -@ stub MFGetSupportedMimeTypes +@ stdcall MFGetSupportedMimeTypes(ptr) @ stub MFGetSupportedSchemes @ stub MFGetTopoNodeCurrentType @ stub MFReadSequencerSegmentOffset diff --git a/include/mfidl.idl b/include/mfidl.idl index 80fa5ec093..2792d383db 100644 --- a/include/mfidl.idl +++ b/include/mfidl.idl @@ -255,3 +255,4 @@ cpp_quote("HRESULT WINAPI MFCreateSourceResolver(IMFSourceResolver **resolver);" cpp_quote("HRESULT WINAPI MFCreateStreamDescriptor(DWORD identifier, DWORD cMediaTypes,") cpp_quote(" IMFMediaType **types, IMFStreamDescriptor **descriptor);") cpp_quote("HRESULT WINAPI MFCreateTopology(IMFTopology **topology);") +cpp_quote("HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array);") -- 2.13.6