From 6243093fba2feb0f1fcbb2e6ab3a39bcd757a79c Mon Sep 17 00:00:00 2001 From: Mohamad Al-Jaf Date: Sat, 13 May 2023 06:40:00 -0400 Subject: [PATCH] msauddecmft: Add DllGetClassObject() stub. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54934 --- dlls/msauddecmft/Makefile.in | 3 +++ dlls/msauddecmft/main.c | 27 +++++++++++++++++++++++++++ dlls/msauddecmft/msauddecmft.spec | 2 +- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 dlls/msauddecmft/main.c diff --git a/dlls/msauddecmft/Makefile.in b/dlls/msauddecmft/Makefile.in index abce4d1cfe4..832f203d6ba 100644 --- a/dlls/msauddecmft/Makefile.in +++ b/dlls/msauddecmft/Makefile.in @@ -1 +1,4 @@ MODULE = msauddecmft.dll + +C_SRCS = \ + main.c diff --git a/dlls/msauddecmft/main.c b/dlls/msauddecmft/main.c new file mode 100644 index 00000000000..ae3ebf162c1 --- /dev/null +++ b/dlls/msauddecmft/main.c @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2023 Mohamad Al-Jaf + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msauddecmft); + +HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID riid, void **out ) +{ + FIXME( "clsid %s, riid %s, out %p stub!\n", debugstr_guid(clsid), debugstr_guid(riid), out ); + return CLASS_E_CLASSNOTAVAILABLE; +} diff --git a/dlls/msauddecmft/msauddecmft.spec b/dlls/msauddecmft/msauddecmft.spec index a9b7505d360..b16365d0c9f 100644 --- a/dlls/msauddecmft/msauddecmft.spec +++ b/dlls/msauddecmft/msauddecmft.spec @@ -1,4 +1,4 @@ @ stdcall -private DllCanUnloadNow() -@ stub DllGetClassObject +@ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllRegisterServer() @ stdcall -private DllUnregisterServer()