Nikolay Sivov : mfplat: Add MFTRegisterLocalByCLSID() stub.
Alexandre Julliard
julliard at winehq.org
Mon Oct 7 17:02:16 CDT 2019
Module: wine
Branch: master
Commit: 7dcc9ff458fa54c87fba3821d1e073917d875da0
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7dcc9ff458fa54c87fba3821d1e073917d875da0
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Oct 7 15:56:59 2019 +0300
mfplat: Add MFTRegisterLocalByCLSID() stub.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mfplat/main.c | 11 +++++++++++
dlls/mfplat/mfplat.spec | 2 +-
include/mfapi.h | 3 +++
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index 19178d9d51..48e64adeef 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -330,6 +330,17 @@ HRESULT WINAPI MFTRegisterLocal(IClassFactory *factory, REFGUID category, LPCWST
return S_OK;
}
+HRESULT WINAPI MFTRegisterLocalByCLSID(REFCLSID clsid, REFGUID category, LPCWSTR name, UINT32 flags,
+ UINT32 input_count, const MFT_REGISTER_TYPE_INFO *input_types, UINT32 output_count,
+ const MFT_REGISTER_TYPE_INFO *output_types)
+{
+
+ FIXME("%s, %s, %s, %#x, %u, %p, %u, %p.\n", debugstr_guid(clsid), debugstr_guid(category), debugstr_w(name), flags,
+ input_count, input_types, output_count, output_types);
+
+ return E_NOTIMPL;
+}
+
HRESULT WINAPI MFTUnregisterLocal(IClassFactory *factory)
{
FIXME("(%p)\n", factory);
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index cc440c5ee0..e48242fa15 100644
--- a/dlls/mfplat/mfplat.spec
+++ b/dlls/mfplat/mfplat.spec
@@ -147,7 +147,7 @@
@ stub MFTGetInfo
@ stdcall MFTRegister(int128 int128 wstr long long ptr long ptr ptr)
@ stdcall MFTRegisterLocal(ptr ptr wstr long long ptr long ptr)
-@ stub MFTRegisterLocalByCLSID
+@ stdcall MFTRegisterLocalByCLSID(ptr ptr wstr long long ptr long ptr)
@ stdcall MFTUnregister(int128)
@ stdcall MFTUnregisterLocal(ptr)
@ stub MFTUnregisterLocalByCLSID
diff --git a/include/mfapi.h b/include/mfapi.h
index 43f5cd6087..182fb19dbf 100644
--- a/include/mfapi.h
+++ b/include/mfapi.h
@@ -441,6 +441,9 @@ HRESULT WINAPI MFTRegister(CLSID clsid, GUID category, LPWSTR name, UINT32 flags
HRESULT WINAPI MFTRegisterLocal(IClassFactory *factory, REFGUID category, LPCWSTR name,
UINT32 flags, UINT32 cinput, const MFT_REGISTER_TYPE_INFO *input_types,
UINT32 coutput, const MFT_REGISTER_TYPE_INFO* output_types);
+HRESULT WINAPI MFTRegisterLocalByCLSID(REFCLSID clsid, REFGUID category, LPCWSTR name, UINT32 flags,
+ UINT32 input_count, const MFT_REGISTER_TYPE_INFO *input_types, UINT32 output_count,
+ const MFT_REGISTER_TYPE_INFO *output_types);
HRESULT WINAPI MFRemovePeriodicCallback(DWORD key);
HRESULT WINAPI MFShutdown(void);
HRESULT WINAPI MFStartup(ULONG version, DWORD flags);
More information about the wine-cvs
mailing list