Mariusz Pluciński : gameux: Add gameux. dll library stub.
Alexandre Julliard
julliard at winehq.org
Wed Jul 28 10:45:11 CDT 2010
Module: wine
Branch: master
Commit: b3a9ce44327bae77dbe3c5e3facaefcb40696834
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3a9ce44327bae77dbe3c5e3facaefcb40696834
Author: Mariusz Pluciński <vshader at gmail.com>
Date: Thu Jul 22 23:59:34 2010 +0200
gameux: Add gameux.dll library stub.
---
configure | 1 +
configure.ac | 1 +
dlls/gameux/Makefile.in | 13 ++++++++++
dlls/gameux/gameux.spec | 5 ++++
dlls/gameux/main.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++
dlls/gameux/version.rc | 29 ++++++++++++++++++++++++
6 files changed, 106 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index ead05fb..925df23 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/configure.ac b/configure.ac
index a3a6c67..2888d1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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)
diff --git a/dlls/gameux/Makefile.in b/dlls/gameux/Makefile.in
new file mode 100644
index 0000000..d26a8ab
--- /dev/null
+++ b/dlls/gameux/Makefile.in
@@ -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
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/gameux/gameux.spec b/dlls/gameux/gameux.spec
new file mode 100644
index 0000000..1c89098
--- /dev/null
+++ b/dlls/gameux/gameux.spec
@@ -0,0 +1,5 @@
+@ stub GameUxShimW
+@ stdcall -private DllCanUnloadNow()
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
diff --git a/dlls/gameux/main.c b/dlls/gameux/main.c
new file mode 100644
index 0000000..205d48e
--- /dev/null
+++ b/dlls/gameux/main.c
@@ -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;
+}
diff --git a/dlls/gameux/version.rc b/dlls/gameux/version.rc
new file mode 100644
index 0000000..a637163
--- /dev/null
+++ b/dlls/gameux/version.rc
@@ -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"
More information about the wine-cvs
mailing list