Module: wine
Branch: master
Commit: dc04cee787b053d2436909d320d5f6e941fb03ee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dc04cee787b053d2436909d32…
Author: Nikolay Sivov <nsivov(a)codeweavers.com>
Date: Mon May 3 15:03:49 2010 +0400
rasdlg: Add RasEntryDlgW stub.
---
dlls/rasdlg/rasdlg.spec | 2 +-
dlls/rasdlg/rasdlg_main.c | 8 ++++++++
include/Makefile.in | 1 +
include/rasdlg.h | 32 ++++++++++++++++++++++++++++++++
4 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/dlls/rasdlg/rasdlg.spec b/dlls/rasdlg/rasdlg.spec
index f6a36d6..0dbd7b0 100644
--- a/dlls/rasdlg/rasdlg.spec
+++ b/dlls/rasdlg/rasdlg.spec
@@ -7,7 +7,7 @@
@ stub RasDialDlgA
@ stub RasDialDlgW
@ stub RasEntryDlgA
-@ stub RasEntryDlgW
+@ stdcall RasEntryDlgW(wstr wstr ptr)
@ stub RasMonitorDlgA
@ stub RasMonitorDlgW
@ stub RasPhonebookDlgA
diff --git a/dlls/rasdlg/rasdlg_main.c b/dlls/rasdlg/rasdlg_main.c
index 00ceb89..255e6e6 100644
--- a/dlls/rasdlg/rasdlg_main.c
+++ b/dlls/rasdlg/rasdlg_main.c
@@ -21,6 +21,8 @@
#include "windef.h"
#include "winbase.h"
+#include "rasdlg.h"
+
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(rasdlg);
@@ -42,3 +44,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
+
+BOOL WINAPI RasEntryDlgW(LPWSTR phonebook, LPWSTR entry, RASENTRYDLGW *lpInfo)
+{
+ FIXME("(%s %s %p) stub\n", debugstr_w(phonebook), debugstr_w(entry), lpInfo);
+ return FALSE;
+}
diff --git a/include/Makefile.in b/include/Makefile.in
index 3f9b43b..a064076 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -414,6 +414,7 @@ SRCDIR_INCLUDES = \
pshpack4.h \
pshpack8.h \
ras.h \
+ rasdlg.h \
raserror.h \
reason.h \
regstr.h \
diff --git a/include/rasdlg.h b/include/rasdlg.h
new file mode 100644
index 0000000..7f2a6d8
--- /dev/null
+++ b/include/rasdlg.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
+ *
+ * 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 <ras.h>
+
+typedef struct tagRASENTRYDLGW
+{
+ DWORD dwSize;
+ HWND hwndOwner;
+ DWORD dwFlags;
+ LONG xDlg;
+ LONG yDlg;
+ WCHAR szEntry[ RAS_MaxEntryName + 1 ];
+ DWORD dwError;
+ ULONG_PTR reserved;
+ ULONG_PTR reserved2;
+} RASENTRYDLGW;
Module: wine
Branch: master
Commit: 544da28e5396e6803f46ff1409330db009844c70
URL: http://source.winehq.org/git/wine.git/?a=commit;h=544da28e5396e6803f46ff140…
Author: Hans Leidekker <hans(a)meelstraat.net>
Date: Mon May 3 12:56:58 2010 +0200
programs: Add a stubbed sc.exe.
This is a command line tool used to create and configure services.
It's included in XP and used by the Akamai client installer.
---
configure | 1 +
configure.ac | 1 +
programs/sc/Makefile.in | 12 ++++++++++++
programs/sc/sc.c | 27 +++++++++++++++++++++++++++
4 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index e1cdce7..52410fb 100755
--- a/configure
+++ b/configure
@@ -14768,6 +14768,7 @@ wine_fn_config_program regedit enable_regedit installbin
wine_fn_config_program regsvr32 enable_regsvr32 installbin
wine_fn_config_program rpcss enable_rpcss install
wine_fn_config_program rundll32 enable_rundll32 install
+wine_fn_config_program sc enable_sc install
wine_fn_config_program secedit enable_secedit install
wine_fn_config_program services enable_services install
wine_fn_config_program spoolsv enable_spoolsv install
diff --git a/configure.ac b/configure.ac
index ac18264..227dee5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2696,6 +2696,7 @@ WINE_CONFIG_PROGRAM(regedit,installbin)
WINE_CONFIG_PROGRAM(regsvr32,installbin)
WINE_CONFIG_PROGRAM(rpcss,install)
WINE_CONFIG_PROGRAM(rundll32,install)
+WINE_CONFIG_PROGRAM(sc,install)
WINE_CONFIG_PROGRAM(secedit,install)
WINE_CONFIG_PROGRAM(services,install)
WINE_CONFIG_PROGRAM(spoolsv,install)
diff --git a/programs/sc/Makefile.in b/programs/sc/Makefile.in
new file mode 100644
index 0000000..71a20cc
--- /dev/null
+++ b/programs/sc/Makefile.in
@@ -0,0 +1,12 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = sc.exe
+APPMODE = -mconsole -municode
+IMPORTS = kernel32
+EXTRADEFS = -DWINE_NO_UNICODE_MACROS
+
+C_SRCS = sc.c
+
+@MAKE_PROG_RULES@
diff --git a/programs/sc/sc.c b/programs/sc/sc.c
new file mode 100644
index 0000000..6eb9c9e
--- /dev/null
+++ b/programs/sc/sc.c
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2010 Hans Leidekker
+ *
+ * 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(sc);
+
+int wmain( int argc, WCHAR *argv[] )
+{
+ WINE_FIXME("stub\n");
+ return 1;
+}