Module: wine
Branch: master
Commit: f91c9cc44a93fcc0779ea5c3a256c0fdec052387
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f91c9cc44a93fcc0779ea5c3a…
Author: Stefan Leichter <Stefan.Leichter(a)camline.com>
Date: Fri Mar 9 00:31:49 2012 +0100
mgmtapi: New stub dll.
---
configure | 1 +
configure.ac | 1 +
dlls/mgmtapi/Makefile.in | 5 +++++
dlls/mgmtapi/mgmtapi.c | 41 +++++++++++++++++++++++++++++++++++++++++
dlls/mgmtapi/mgmtapi.spec | 9 +++++++++
5 files changed, 57 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index fc75580..3a62558 100755
--- a/configure
+++ b/configure
@@ -15115,6 +15115,7 @@ wine_fn_config_dll mcicda enable_mcicda
wine_fn_config_dll mciqtz32 enable_mciqtz32
wine_fn_config_dll mciseq enable_mciseq
wine_fn_config_dll mciwave enable_mciwave
+wine_fn_config_dll mgmtapi enable_mgmtapi
wine_fn_config_dll midimap enable_midimap
wine_fn_config_dll mlang enable_mlang implib
wine_fn_config_test dlls/mlang/tests mlang_test
diff --git a/configure.ac b/configure.ac
index 63c2fb4..472ef12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2624,6 +2624,7 @@ WINE_CONFIG_DLL(mcicda)
WINE_CONFIG_DLL(mciqtz32)
WINE_CONFIG_DLL(mciseq)
WINE_CONFIG_DLL(mciwave)
+WINE_CONFIG_DLL(mgmtapi)
WINE_CONFIG_DLL(midimap)
WINE_CONFIG_DLL(mlang,,[implib])
WINE_CONFIG_TEST(dlls/mlang/tests)
diff --git a/dlls/mgmtapi/Makefile.in b/dlls/mgmtapi/Makefile.in
new file mode 100644
index 0000000..fde16ae
--- /dev/null
+++ b/dlls/mgmtapi/Makefile.in
@@ -0,0 +1,5 @@
+MODULE = mgmtapi.dll
+
+C_SRCS = mgmtapi.c
+
+@MAKE_DLL_RULES@
diff --git a/dlls/mgmtapi/mgmtapi.c b/dlls/mgmtapi/mgmtapi.c
new file mode 100644
index 0000000..0cde5d5
--- /dev/null
+++ b/dlls/mgmtapi/mgmtapi.c
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2012 Stefan Leichter
+ *
+ * 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>
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(mgmtapi);
+
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+{
+ TRACE("%p, %u, %p\n", hinst, reason, reserved);
+
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls( hinst );
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+ return TRUE;
+}
diff --git a/dlls/mgmtapi/mgmtapi.spec b/dlls/mgmtapi/mgmtapi.spec
new file mode 100644
index 0000000..9166cd4
--- /dev/null
+++ b/dlls/mgmtapi/mgmtapi.spec
@@ -0,0 +1,9 @@
+@ stub SnmpMgrClose
+@ stub SnmpMgrCtl
+@ stub SnmpMgrGetTrap
+@ stub SnmpMgrGetTrapEx
+@ stub SnmpMgrOidToStr
+@ stub SnmpMgrOpen
+@ stub SnmpMgrrequest
+@ stub SnmpMgrStrToOid
+@ stub SnmpMgrTrapListen
Module: wine
Branch: master
Commit: bec293f3ffe4c62dd83af9ff622ce961e8e2e79b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bec293f3ffe4c62dd83af9ff6…
Author: Austin English <austinenglish(a)gmail.com>
Date: Sun Mar 4 14:34:36 2012 -0800
wusa: Add stub program.
---
configure | 1 +
configure.ac | 1 +
programs/wusa/Makefile.in | 7 +++++++
programs/wusa/main.c | 33 +++++++++++++++++++++++++++++++++
4 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 045d4f5..fc75580 100755
--- a/configure
+++ b/configure
@@ -15510,6 +15510,7 @@ wine_fn_config_program wordpad enable_wordpad install,po
wine_fn_config_program write enable_write install,po
wine_fn_config_program wscript enable_wscript install
wine_fn_config_test programs/wscript/tests wscript.exe_test
+wine_fn_config_program wusa enable_wusa install
wine_fn_config_program xcopy enable_xcopy install,po
wine_fn_config_makefile server enable_server install-lib,manpage
wine_fn_config_tool tools install-dev,install-lib,manpage
diff --git a/configure.ac b/configure.ac
index 27db29c..63c2fb4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3019,6 +3019,7 @@ WINE_CONFIG_PROGRAM(wordpad,,[install,po])
WINE_CONFIG_PROGRAM(write,,[install,po])
WINE_CONFIG_PROGRAM(wscript,,[install])
WINE_CONFIG_TEST(programs/wscript/tests)
+WINE_CONFIG_PROGRAM(wusa,,[install])
WINE_CONFIG_PROGRAM(xcopy,,[install,po])
WINE_CONFIG_MAKEFILE([server],,[install-lib,manpage])
WINE_CONFIG_TOOL(tools,[install-dev,install-lib,manpage])
diff --git a/programs/wusa/Makefile.in b/programs/wusa/Makefile.in
new file mode 100644
index 0000000..01978d5
--- /dev/null
+++ b/programs/wusa/Makefile.in
@@ -0,0 +1,7 @@
+MODULE = wusa.exe
+APPMODE = -mconsole -municode
+
+C_SRCS = \
+ main.c
+
+@MAKE_PROG_RULES@
diff --git a/programs/wusa/main.c b/programs/wusa/main.c
new file mode 100644
index 0000000..aa7a38f
--- /dev/null
+++ b/programs/wusa/main.c
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2012 Austin English
+ *
+ * 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(wusa);
+
+int wmain(int argc, WCHAR *argv[])
+{
+ int i;
+
+ WINE_FIXME("stub:");
+ for (i = 0; i < argc; i++)
+ WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
+ WINE_FIXME("\n");
+
+ return 0;
+}