From 72e8d9fa92eae8f28e89e7c764d767f34e5b4549 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Fri, 9 Mar 2018 13:04:41 +0100 Subject: [PATCH] [CRYPTUI] Sync with Wine Staging 3.3. CORE-14434 --- dll/win32/cryptui/cryptui.rc | 7 +----- dll/win32/cryptui/cryptuires.h | 6 ++--- dll/win32/cryptui/main.c | 40 +++++++++++++++------------------- media/doc/README.WINE | 2 +- 4 files changed, 23 insertions(+), 32 deletions(-) diff --git a/dll/win32/cryptui/cryptui.rc b/dll/win32/cryptui/cryptui.rc index e1e7f01fb1c..3f3027b92dd 100644 --- a/dll/win32/cryptui/cryptui.rc +++ b/dll/win32/cryptui/cryptui.rc @@ -17,11 +17,6 @@ * 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 -//#include "winbase.h" -#include -#include -//#include "dlgs.h" #include "cryptuires.h" @@ -98,4 +93,4 @@ IDB_CERT_HEADER BITMAP "res/certheader.bmp" #endif #ifdef LANGUAGE_ZH_CN #include "lang/cryptui_Zh.rc" -#endif \ No newline at end of file +#endif diff --git a/dll/win32/cryptui/cryptuires.h b/dll/win32/cryptui/cryptuires.h index 9b3edafb7cf..df321df4632 100644 --- a/dll/win32/cryptui/cryptuires.h +++ b/dll/win32/cryptui/cryptuires.h @@ -18,9 +18,9 @@ #ifndef __CRYPTUIRES_H_ #define __CRYPTUIRES_H_ -//#include -//#include -//#include +#include +#include +#include #define IDS_CERTIFICATE 1000 #define IDS_CERTIFICATEINFORMATION 1001 diff --git a/dll/win32/cryptui/main.c b/dll/win32/cryptui/main.c index 010fe5da3cc..a652239bb39 100644 --- a/dll/win32/cryptui/main.c +++ b/dll/win32/cryptui/main.c @@ -16,35 +16,31 @@ * 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 +#include "config.h" #include #define COBJMACROS #define NONAMELESSUNION -#include -#include -//#include "winnls.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "windef.h" +#include "winbase.h" +#include "winnls.h" +#include "winuser.h" +#include "softpub.h" +#include "wingdi.h" +#include "richedit.h" +#include "ole2.h" +#include "richole.h" +#include "commdlg.h" +#include "commctrl.h" +#include "cryptuiapi.h" #include "cryptuires.h" -//#include "urlmon.h" -#include -#include -#include -#include +#include "urlmon.h" +#include "hlink.h" +#include "winreg.h" +#include "wine/debug.h" +#include "wine/unicode.h" WINE_DEFAULT_DEBUG_CHANNEL(cryptui); diff --git a/media/doc/README.WINE b/media/doc/README.WINE index 11662a9f7b4..38f498ab7df 100644 --- a/media/doc/README.WINE +++ b/media/doc/README.WINE @@ -62,7 +62,7 @@ reactos/dll/win32/crypt32 # Synced to WineStaging-3.3 reactos/dll/win32/cryptdlg # Synced to WineStaging-3.3 reactos/dll/win32/cryptdll # Synced to WineStaging-3.3 reactos/dll/win32/cryptnet # Synced to WineStaging-3.3 -reactos/dll/win32/cryptui # Synced to WineStaging-2.16 +reactos/dll/win32/cryptui # Synced to WineStaging-3.3 reactos/dll/win32/dbghelp # Synced to WineStaging-3.3 reactos/dll/win32/dciman32 # Synced to WineStaging-2.9 reactos/dll/win32/faultrep # Synced to WineStaging-2.9