[3/9] setupapi: create dialog.c file for functions with dialogs

Ricardo Filipe ricardo_barbano at hotmail.com
Wed Feb 18 17:48:12 CST 2009


this patch just starts the dialog.c file where SetupPromptForDisk code will
go to and other dialog related functions can go to.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20090218/cbe4a477/attachment.htm 
-------------- next part --------------
From aa8902f7678c907a4c03cb365b407745f4b1d9a3 Mon Sep 17 00:00:00 2001
From: Ricardo Filipe <ricardo_barbano at hotmail.com>
Date: Wed, 18 Feb 2009 03:13:10 +0000
Subject: setupapi: create dialog.c file for functions with dialogs

---
 dlls/setupapi/Makefile.in |    3 ++-
 dlls/setupapi/dialog.c    |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 1 deletions(-)
 create mode 100644 dlls/setupapi/dialog.c

diff --git a/dlls/setupapi/Makefile.in b/dlls/setupapi/Makefile.in
index e6d3e80..700fce3 100644
--- a/dlls/setupapi/Makefile.in
+++ b/dlls/setupapi/Makefile.in
@@ -6,10 +6,11 @@ VPATH     = @srcdir@
 MODULE    = setupapi.dll
 IMPORTLIB = setupapi
 IMPORTS   = uuid user32 version advapi32 rpcrt4 kernel32 ntdll
-DELAYIMPORTS = shell32 wintrust ole32 winspool
+DELAYIMPORTS = shell32 wintrust ole32 winspool comdlg32
 
 C_SRCS = \
 	devinst.c \
+	dialog.c \
 	dirid.c \
 	diskspace.c \
 	fakedll.c \
diff --git a/dlls/setupapi/dialog.c b/dlls/setupapi/dialog.c
new file mode 100644
index 0000000..208fa0f
--- /dev/null
+++ b/dlls/setupapi/dialog.c
@@ -0,0 +1,37 @@
+/*
+ * SetupAPI dialog functions
+ *
+ * Copyright 2009 Ricardo Filipe
+ *
+ * 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 "wine/debug.h"
+#include "windef.h"
+#include "winbase.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "winreg.h"
+#include "commdlg.h"
+#include "setupapi.h"
+#include "winnls.h"
+#include "setupapi_private.h"
+
+#include "wine/unicode.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
+
-- 
1.5.6.3


More information about the wine-patches mailing list