https://git.reactos.org/?p=reactos.git;a=commitdiff;h=28a3cf7b47254d9ff1a87…
commit 28a3cf7b47254d9ff1a87700d1c1d3bf7807b861
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Wed Mar 21 13:07:10 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Wed Mar 21 13:07:10 2018 +0100
[PRINTUI] Sync with Wine Staging 3.3. CORE-14434
---
dll/win32/printui/printui.c | 29 ++++++++++++-----------------
dll/win32/printui/printui.rc | 4 ++--
media/doc/README.WINE | 2 +-
3 files changed, 15 insertions(+), 20 deletions(-)
diff --git a/dll/win32/printui/printui.c b/dll/win32/printui/printui.c
index f47e8f67db..32e7b52e3d 100644
--- a/dll/win32/printui/printui.c
+++ b/dll/win32/printui/printui.c
@@ -18,26 +18,21 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
#include <stdarg.h>
#define COBJMACROS
-#define NONAMELESSUNION
-
-#include <windef.h>
-#include <winbase.h>
-//#include "wingdi.h"
-//#include "winuser.h"
-//#include "winreg.h"
-//#include "winver.h"
-//#include "winnls.h"
-#include <shellapi.h>
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "winreg.h"
+#include "winver.h"
+#include "winnls.h"
+#include "shellapi.h"
+
+#include "wine/unicode.h"
+#include "wine/debug.h"
#include "printui_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(printui);
diff --git a/dll/win32/printui/printui.rc b/dll/win32/printui/printui.rc
index 1deadb19e8..bfbae9820a 100644
--- a/dll/win32/printui/printui.rc
+++ b/dll/win32/printui/printui.rc
@@ -19,7 +19,7 @@
*
*/
-//#include "winver.h"
+#include "winver.h"
#define WINE_FILENAME_STR "printui.dll"
#define WINE_FILEDESCRIPTION_STR "User Interface for Printing"
@@ -31,4 +31,4 @@
#define WINE_PRODUCTVERSION 5,1,2600,2180
#define WINE_PRODUCTVERSION_STR "5.1.2600.2180"
-#include <wine/wine_common_ver.rc>
+#include "wine/wine_common_ver.rc"
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 9b77c6c519..a6afb21f40 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -150,7 +150,7 @@ reactos/dll/win32/olethk32 # Synced to WineStaging-3.3
reactos/dll/win32/pdh # Synced to WineStaging-3.3
reactos/dll/win32/pidgen # Synced to WineStaging-3.3
reactos/dll/win32/powrprof # Forked at Wine-1.0rc5
-reactos/dll/win32/printui # Synced to WineStaging-2.9
+reactos/dll/win32/printui # Synced to WineStaging-3.3
reactos/dll/win32/propsys # Synced to Wine-3.0
reactos/dll/win32/pstorec # Synced to WineStaging-2.2
reactos/dll/win32/qmgr # Synced to WineStaging-2.9