Module: wine Branch: master Commit: 67bc1db56b2d8db57414190b13ceb41ae1986318 URL: http://source.winehq.org/git/wine.git/?a=commit;h=67bc1db56b2d8db57414190b13...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Mon Aug 14 15:12:23 2017 +0300
mfplat: Add MFTEnumEx stub.
Signed-off-by: Andrey Gusev andrey.goosev@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/mfplat/main.c | 14 ++++++++++++++ dlls/mfplat/mfplat.spec | 2 +- include/mfapi.h | 3 +++ 3 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c index f71a595..e6616c8 100644 --- a/dlls/mfplat/main.c +++ b/dlls/mfplat/main.c @@ -348,6 +348,20 @@ HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *inpu }
/*********************************************************************** + * MFTEnumEx (mfplat.@) + */ +HRESULT WINAPI MFTEnumEx(GUID category, UINT32 flags, const MFT_REGISTER_TYPE_INFO *input_type, + const MFT_REGISTER_TYPE_INFO *output_type, IMFActivate ***activate, + UINT32 *pcount) +{ + FIXME("(%s, %x, %p, %p, %p, %p): stub\n", debugstr_guid(&category), flags, input_type, + output_type, activate, pcount); + + *pcount = 0; + return S_OK; +} + +/*********************************************************************** * MFTUnregister (mfplat.@) */ HRESULT WINAPI MFTUnregister(CLSID clsid) diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec index 22b7254..efcb143 100644 --- a/dlls/mfplat/mfplat.spec +++ b/dlls/mfplat/mfplat.spec @@ -135,7 +135,7 @@ @ stdcall MFStartup(long long) @ stub MFStreamDescriptorProtectMediaType @ stdcall MFTEnum(int128 long ptr ptr ptr ptr ptr) -@ stub MFTEnumEx +@ stdcall MFTEnumEx(int128 long ptr ptr ptr ptr) @ stub MFTGetInfo @ stdcall MFTRegister(int128 int128 wstr long long ptr long ptr ptr) @ stub MFTRegisterLocal diff --git a/include/mfapi.h b/include/mfapi.h index ccea990..2be0638 100644 --- a/include/mfapi.h +++ b/include/mfapi.h @@ -70,6 +70,9 @@ HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity); HRESULT WINAPI MFTEnum(GUID category, UINT32 flags, MFT_REGISTER_TYPE_INFO *input_type, MFT_REGISTER_TYPE_INFO *output_type, IMFAttributes *attributes, CLSID **pclsids, UINT32 *pcount); +HRESULT WINAPI MFTEnumEx(GUID category, UINT32 flags, const MFT_REGISTER_TYPE_INFO *input_type, + const MFT_REGISTER_TYPE_INFO *output_type, IMFActivate ***activate, + UINT32 *pcount); HRESULT WINAPI MFLockPlatform(void); HRESULT WINAPI MFTRegister(CLSID clsid, GUID category, LPWSTR name, UINT32 flags, UINT32 cinput, MFT_REGISTER_TYPE_INFO *input_types, UINT32 coutput,