gameux: Add gameux.dll library stub.

oldstable
Mariusz Pluciński 2010-07-22 23:59:34 +02:00 committed by Alexandre Julliard
parent abd0e08953
commit b3a9ce4432
6 changed files with 106 additions and 0 deletions

1
configure vendored
View File

@ -14507,6 +14507,7 @@ wine_fn_config_dll fltlib enable_fltlib
wine_fn_config_dll fusion enable_fusion
wine_fn_config_test dlls/fusion/tests fusion_test
wine_fn_config_dll fwpuclnt enable_fwpuclnt
wine_fn_config_dll gameux enable_gameux
wine_fn_config_dll gdi.exe16 enable_win16
wine_fn_config_dll gdi32 enable_gdi32 gdi32
wine_fn_config_test dlls/gdi32/tests gdi32_test

View File

@ -2363,6 +2363,7 @@ WINE_CONFIG_DLL(fltlib)
WINE_CONFIG_DLL(fusion)
WINE_CONFIG_TEST(dlls/fusion/tests)
WINE_CONFIG_DLL(fwpuclnt)
WINE_CONFIG_DLL(gameux)
WINE_CONFIG_DLL(gdi.exe16,enable_win16)
WINE_CONFIG_DLL(gdi32,,[gdi32])
WINE_CONFIG_TEST(dlls/gdi32/tests)

View File

@ -0,0 +1,13 @@
EXTRADEFS = -DCOM_NO_WINDOWS_H
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = gameux.dll
C_SRCS = \
main.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@

View File

@ -0,0 +1,5 @@
@ stub GameUxShimW
@ stdcall -private DllCanUnloadNow()
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer

57
dlls/gameux/main.c 100644
View File

@ -0,0 +1,57 @@
/*
* Gameux library main file
*
* Copyright (C) 2010 Mariusz Pluciński
*
* 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 "config.h"
#define COBJMACROS
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "shobjidl.h"
#include "initguid.h"
#include "gameux.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(gameux);
HRESULT WINAPI DllCanUnloadNow(void)
{
FIXME("stub\n");
return S_FALSE;
}
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
TRACE("(%p, %d, %p)\n", hInstDLL, fdwReason, lpv);
switch(fdwReason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

View File

@ -0,0 +1,29 @@
/*
* Gameux library version resource
*
* Copyright (C) 2010 Mariusz Pluciński
*
* 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
*/
#define WINE_OLESELFREGISTER
#define WINE_FILEDESCRIPTION_STR "Wine Games Explorer"
#define WINE_FILENAME_STR "gameux.dll"
#define WINE_FILEVERSION 6,1,7600,16385
#define WINE_FILEVERSION_STR "6.1.7600.16385"
#define WINE_PRODUCTVERSION 6,1,7600,16385
#define WINE_PRODUCTVERSION_STR "6.1.7600.16385"
#include "wine/wine_common_ver.rc"