mfplat: Implement stubs for MFStartup and MFShutdown.

This commit is contained in:
Sebastian Lackner 2014-12-12 00:56:54 +01:00 committed by Alexandre Julliard
parent d64bb04764
commit 46d06eb431
2 changed files with 25 additions and 2 deletions

View File

@ -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;
}

View File

@ -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