[PATCH] Add RasEntryDlgW stub
Nikolay Sivov
nsivov at codeweavers.com
Mon May 3 06:03:49 CDT 2010
---
dlls/rasdlg/rasdlg.spec | 2 +-
dlls/rasdlg/rasdlg_main.c | 9 +++++++++
include/Makefile.in | 1 +
include/rasdlg.h | 33 +++++++++++++++++++++++++++++++++
4 files changed, 44 insertions(+), 1 deletions(-)
create mode 100644 include/rasdlg.h
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..3418208 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,10 @@ 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..f5cbe33
--- /dev/null
+++ b/include/rasdlg.h
@@ -0,0 +1,33 @@
+/*
+ * 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;
+
--
1.5.6.5
--=-IY/YgBq4e6G4orCSiBmb--
More information about the wine-patches
mailing list