diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c index a72f634e02b..56086443eb3 100644 --- a/dlls/mfplat/main.c +++ b/dlls/mfplat/main.c @@ -22,6 +22,11 @@ #include "windef.h" #include "winbase.h" +#include "mferror.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(mfplat); BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) { @@ -36,3 +41,21 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) return TRUE; } + +/*********************************************************************** + * MFStartup (mfplat.@) + */ +HRESULT WINAPI MFStartup(ULONG version, DWORD flags) +{ + FIXME("(%u, %u): stub\n", version, flags); + return MF_E_BAD_STARTUP_VERSION; +} + +/*********************************************************************** + * MFShutdown (mfplat.@) + */ +HRESULT WINAPI MFShutdown(void) +{ + FIXME("(): stub\n"); + return S_OK; +} diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec index 98a7147a8c5..7100dfd317b 100644 --- a/dlls/mfplat/mfplat.spec +++ b/dlls/mfplat/mfplat.spec @@ -131,8 +131,8 @@ @ stub MFSerializeMediaTypeToStream @ stub MFSerializePresentationDescriptor @ stub MFSetSockaddrAny -@ stub MFShutdown -@ stub MFStartup +@ stdcall MFShutdown() +@ stdcall MFStartup(long long) @ stub MFStreamDescriptorProtectMediaType @ stub MFTEnum @ stub MFTEnumEx