dxtrans: Add DllGetClassObject stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51917
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-10-24 19:20:47 -06:00 committed by Alexandre Julliard
parent d09d4d97e0
commit a0f86f4410
3 changed files with 39 additions and 1 deletions

View File

@ -1 +1,4 @@
MODULE = dxtrans.dll
C_SRCS = \
main.c

View File

@ -6,6 +6,6 @@
@ stub ?DXOverArrayMMX@@YGXPAVDXPMSAMPLE@@PBV1@K@Z
@ stdcall -private DllCanUnloadNow()
@ stub DllEnumClassObjects
@ stub DllGetClassObject
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()

35
dlls/dxtrans/main.c Normal file
View File

@ -0,0 +1,35 @@
/*
* DirectX Transitions
*
* Copyright 2021 Alex Henrie
*
* 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 <stdarg.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dxtrans);
HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, void **out)
{
FIXME("(%s, %s, %p) stub!\n", debugstr_guid(clsid), debugstr_guid(riid), out);
return CLASS_E_CLASSNOTAVAILABLE;
}