Author: akhaldi
Date: Mon Jan 13 13:08:47 2014
New Revision: 61613
URL:
http://svn.reactos.org/svn/reactos?rev=61613&view=rev
Log:
[MSIEXEC]
* Create a main header and move some inclusions to it.
CORE-7716
Added:
trunk/reactos/base/system/msiexec/precomp.h (with props)
Modified:
trunk/reactos/base/system/msiexec/msiexec.c
trunk/reactos/base/system/msiexec/service.c
Modified: trunk/reactos/base/system/msiexec/msiexec.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/msiexec/msiexe…
==============================================================================
--- trunk/reactos/base/system/msiexec/msiexec.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/msiexec/msiexec.c [iso-8859-1] Mon Jan 13 13:08:47 2014
@@ -19,23 +19,14 @@
* 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>
-#include <windef.h>
-#include <winbase.h>
+#include "precomp.h"
+
#include <winreg.h>
-#include <winsvc.h>
#include <winuser.h>
#include <msi.h>
#include <objbase.h>
-#include <stdio.h>
-
-#include <wine/debug.h>
+
#include <wine/unicode.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
typedef HRESULT (WINAPI *DLLREGISTERSERVER)(void);
typedef HRESULT (WINAPI *DLLUNREGISTERSERVER)(void);
Added: trunk/reactos/base/system/msiexec/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/msiexec/precom…
==============================================================================
--- trunk/reactos/base/system/msiexec/precomp.h (added)
+++ trunk/reactos/base/system/msiexec/precomp.h [iso-8859-1] Mon Jan 13 13:08:47 2014
@@ -0,0 +1,17 @@
+#ifndef _MSIEXEC_PCH_
+#define _MSIEXEC_PCH_
+
+#include <stdio.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
+#include <winbase.h>
+#include <winsvc.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
+
+#endif /* _MSIEXEC_PCH_ */
Propchange: trunk/reactos/base/system/msiexec/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/base/system/msiexec/service.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/msiexec/servic…
==============================================================================
--- trunk/reactos/base/system/msiexec/service.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/msiexec/service.c [iso-8859-1] Mon Jan 13 13:08:47 2014
@@ -18,15 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winsvc.h>
-#include <stdio.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msiexec);
+#include "precomp.h"
static SERVICE_STATUS_HANDLE hstatus;