Commit 46d06eb4 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

mfplat: Implement stubs for MFStartup and MFShutdown.

parent d64bb047
...@@ -22,6 +22,11 @@ ...@@ -22,6 +22,11 @@
#include "windef.h" #include "windef.h"
#include "winbase.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) BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{ {
...@@ -36,3 +41,21 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) ...@@ -36,3 +41,21 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return TRUE; 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;
}
...@@ -131,8 +131,8 @@ ...@@ -131,8 +131,8 @@
@ stub MFSerializeMediaTypeToStream @ stub MFSerializeMediaTypeToStream
@ stub MFSerializePresentationDescriptor @ stub MFSerializePresentationDescriptor
@ stub MFSetSockaddrAny @ stub MFSetSockaddrAny
@ stub MFShutdown @ stdcall MFShutdown()
@ stub MFStartup @ stdcall MFStartup(long long)
@ stub MFStreamDescriptorProtectMediaType @ stub MFStreamDescriptorProtectMediaType
@ stub MFTEnum @ stub MFTEnum
@ stub MFTEnumEx @ stub MFTEnumEx
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment