[PATCH] mfplat: Add MFTEnumEx stub.
Andrey Gusev
andrey.goosev at gmail.com
Mon Aug 14 04:59:27 CDT 2017
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/mfplat/main.c | 12 ++++++++++++
dlls/mfplat/mfplat.spec | 2 +-
include/mfapi.h | 3 +++
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index f71a59538a..9b5c82a654 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -348,6 +348,18 @@ 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);
+ return S_OK;
+}
+
+/***********************************************************************
* MFTUnregister (mfplat.@)
*/
HRESULT WINAPI MFTUnregister(CLSID clsid)
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index 22b7254d9e..efcb1439d5 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 ccea990974..2be063805b 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,
--
2.13.5
More information about the wine-patches
mailing list