Author: akhaldi
Date: Thu Dec 26 18:50:10 2013
New Revision: 61429
URL:
http://svn.reactos.org/svn/reactos?rev=61429&view=rev
Log:
[OLEAUT32]
* Create a main header and move some inclusions to it.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716
Added:
trunk/reactos/dll/win32/oleaut32/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/oleaut32/connpt.c
trunk/reactos/dll/win32/oleaut32/dispatch.c
trunk/reactos/dll/win32/oleaut32/hash.c
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Bg.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cy.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cz.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Da.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_De.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_El.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_En.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Es.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Fr.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_He.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Hu.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_It.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ko.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Lt.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Nl.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_No.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pl.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pt.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ro.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ru.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Si.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Sv.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Th.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Tr.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Uk.rc
trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Zh.rc
trunk/reactos/dll/win32/oleaut32/oleaut.c
trunk/reactos/dll/win32/oleaut32/oleaut32.rc
trunk/reactos/dll/win32/oleaut32/olefont.c
trunk/reactos/dll/win32/oleaut32/olepicture.c
trunk/reactos/dll/win32/oleaut32/olepropframe.c
trunk/reactos/dll/win32/oleaut32/recinfo.c
trunk/reactos/dll/win32/oleaut32/resource.h
trunk/reactos/dll/win32/oleaut32/safearray.c
trunk/reactos/dll/win32/oleaut32/tmarshal.c
trunk/reactos/dll/win32/oleaut32/typelib.c
trunk/reactos/dll/win32/oleaut32/typelib.h
trunk/reactos/dll/win32/oleaut32/usrmarshal.c
trunk/reactos/dll/win32/oleaut32/varformat.c
trunk/reactos/dll/win32/oleaut32/variant.c
trunk/reactos/dll/win32/oleaut32/variant.h
trunk/reactos/dll/win32/oleaut32/vartype.c
Modified: trunk/reactos/dll/win32/oleaut32/connpt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/connpt.…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/connpt.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/connpt.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -22,25 +22,9 @@
* comments just above that function for information.
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
+#include "precomp.h"
#include <assert.h>
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-//#include "wingdi.h"
-//#include "winuser.h"
-#include <ole2.h>
-#include <olectl.h>
-//#include "connpt.h"
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/dispatch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/dispatc…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/dispatch.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/dispatch.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -19,26 +19,7 @@
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <stdlib.h>
-//#include <string.h>
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <ctype.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-#include <oleauto.h>
-//#include "winerror.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/hash.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/hash.c?…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/hash.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/hash.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -18,17 +18,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <winnls.h>
-#include <objbase.h>
-//#include "oaidl.h"
-#include <wine/debug.h>
+
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Bg.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Bg.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Bg.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cy.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cy.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cy.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_WELSH, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cz.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cz.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Cz.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Da.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Da.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Da.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_De.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_De.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_De.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
#pragma code_page(65001)
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_El.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_El.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_El.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_En.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_En.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_En.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Es.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Es.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Es.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Fr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Fr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Fr.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_He.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_He.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_He.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Hu.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Hu.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Hu.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_It.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_It.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_It.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ko.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ko.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ko.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Lt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Lt.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Lt.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Nl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Nl.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Nl.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_No.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_No.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_No.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pl.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pl.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -19,8 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pt.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Pt.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ro.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ro.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ro.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ru.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ru.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Ru.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Si.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Si.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Si.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Sv.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Sv.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Sv.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Th.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Th.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Th.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Tr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Tr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Tr.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Uk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Uk.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Uk.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -20,8 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "resource.h"
-
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Zh.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/lang/ol…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Zh.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/lang/oleaut32_Zh.rc [iso-8859-1] Thu Dec 26 18:50:10
2013
@@ -17,8 +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 "resource.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/oleaut32/oleaut.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/oleaut.…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/oleaut.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/oleaut.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -18,30 +18,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-//#include <limits.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winuser.h"
-//#include "winerror.h"
-
-#include <ole2.h>
-#include <olectl.h>
-//#include "oleauto.h"
+#include "precomp.h"
+
#include <initguid.h>
+#include <oleaut32_oaidl.h>
+
#include "typelib.h"
-#include <oleaut32_oaidl.h>
-
-#include <wine/debug.h>
-//#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
WINE_DECLARE_DEBUG_CHANNEL(heap);
Modified: trunk/reactos/dll/win32/oleaut32/oleaut32.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/oleaut3…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/oleaut32.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/oleaut32.rc [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -18,9 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-//#include "windef.h"
-//#include "winbase.h"
-//#include "resource.h"
+#include <windef.h>
+
+#include "resource.h"
#ifdef LANGUAGE_BG_BG
#include "lang/oleaut32_Bg.rc"
Modified: trunk/reactos/dll/win32/oleaut32/olefont.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/olefont…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/olefont.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/olefont.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -21,31 +21,10 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-//#include <assert.h>
-//#include <stdarg.h>
-#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "winerror.h"
-#include <windef.h>
-//#include "winbase.h"
-#include <wingdi.h>
-//#include "winuser.h"
+
+#include "precomp.h"
+
#include <wine/list.h>
-#include <wine/unicode.h>
-#include <objbase.h>
-#include <oleauto.h> /* for SysAllocString(....) */
-//#include "ole2.h"
-#include <olectl.h>
-#include <wine/debug.h>
-#include "connpt.h" /* for CreateConnectionPoint */
-//#include "oaidl.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/olepicture.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/olepict…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/olepicture.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/olepicture.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -36,38 +36,15 @@
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
+#include "precomp.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
-//#include <stdarg.h>
-#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winuser.h"
+
#include <ole2.h>
-#include <olectl.h>
-//#include "oleauto.h"
-#include "connpt.h"
-//#include "urlmon.h"
#include <initguid.h>
#include <wincodec.h>
-#include <wine/debug.h>
-#include <wine/unicode.h>
-//#include "wine/library.h"
WINE_DEFAULT_DEBUG_CHANNEL(olepicture);
Modified: trunk/reactos/dll/win32/oleaut32/olepropframe.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/oleprop…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/olepropframe.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/olepropframe.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -19,22 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-#include <ole2.h>
-#include <olectl.h>
+#include "precomp.h"
+
#include <oledlg.h>
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Added: trunk/reactos/dll/win32/oleaut32/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/precomp…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/precomp.h (added)
+++ trunk/reactos/dll/win32/oleaut32/precomp.h [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -0,0 +1,30 @@
+#ifndef _OLEAUT32_PCH_
+#define _OLEAUT32_PCH_
+
+#include <config.h>
+
+#include <stdarg.h>
+#include <stdio.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+
+#define COBJMACROS
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <winreg.h>
+#include <objbase.h>
+#include <olectl.h>
+#include <oleauto.h>
+
+#include <wine/debug.h>
+#include <wine/unicode.h>
+
+#include "connpt.h"
+#include "variant.h"
+
+#endif /* _OLEAUT32_PCH_ */
Propchange: trunk/reactos/dll/win32/oleaut32/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/oleaut32/recinfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/recinfo…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/recinfo.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/recinfo.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -16,23 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-//#include "oaidl.h"
-#include <oleauto.h>
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/resourc…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/resource.h [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -17,10 +17,9 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+
#ifndef WINE_OLEAUT32_RESOURCE_H
#define WINE_OLEAUT32_RESOURCE_H
-
-#include <windef.h>
/* Localised boolean text */
#define IDS_TRUE 100
Modified: trunk/reactos/dll/win32/oleaut32/safearray.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/safearr…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/safearray.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/safearray.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -31,22 +31,7 @@
* 0x10: SAFEARRAYBOUNDS[0...]
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <string.h>
-#include <stdarg.h>
-//#include <stdio.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-//#include "winerror.h"
-#include <winbase.h>
-#include <variant.h>
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(variant);
Modified: trunk/reactos/dll/win32/oleaut32/tmarshal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/tmarsha…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/tmarshal.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/tmarshal.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -21,35 +21,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
-
-#include <assert.h>
-//#include <stdlib.h>
-//#include <string.h>
-//#include <stdarg.h>
-#include <stdio.h>
-//#include <ctype.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-#include <winnls.h>
-#include <winreg.h>
-//#include "winuser.h"
+#include "precomp.h"
#include <ole2.h>
-//#include "propidl.h" /* for LPSAFEARRAY_User* functions */
+
#include "typelib.h"
-#include "variant.h"
-#include <wine/debug.h>
+
#include <wine/exception.h>
static const WCHAR IDispatchW[] = {
'I','D','i','s','p','a','t','c','h',0};
Modified: trunk/reactos/dll/win32/oleaut32/typelib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/typelib…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/typelib.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/typelib.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -47,36 +47,13 @@
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
-
-//#include <stdlib.h>
-//#include <string.h>
-//#include <stdarg.h>
-#include <stdio.h>
-//#include <ctype.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <winerror.h>
-#include <windef.h>
-#include <winbase.h>
-//#include "winnls.h"
-#include <winreg.h>
-#include <winuser.h>
+#include "precomp.h"
+
#include <winternl.h>
#include <lzexpand.h>
-#include <wine/unicode.h>
-#include <objbase.h>
#include "typelib.h"
-#include <wine/debug.h>
-#include "variant.h"
+
#include <wine/list.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/typelib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/typelib…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/typelib.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/typelib.h [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -20,12 +20,6 @@
*/
#ifndef _WINE_TYPELIB_H
#define _WINE_TYPELIB_H
-
-//#include <stdarg.h>
-
-//#include "windef.h"
-//#include "winbase.h"
-#include <oleauto.h>
#define HELPDLLFLAG (0x0100)
#define DO_NOT_SEEK (-1)
Modified: trunk/reactos/dll/win32/oleaut32/usrmarshal.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/usrmars…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/usrmarshal.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/usrmarshal.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -19,27 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "wingdi.h"
-//#include "winuser.h"
-//#include "winerror.h"
+#include "precomp.h"
#include <ole2.h>
-//#include "oleauto.h"
-//#include "typelib.h"
-#include <ocidl.h>
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/oleaut32/varformat.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/varform…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/varformat.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/varformat.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -25,24 +25,7 @@
* Please submit a test case if you find a difference.
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <string.h>
-//#include <stdlib.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-//#include "windef.h"
-//#include "winbase.h"
-#include <wine/unicode.h>
-//#include "winerror.h"
-#include "variant.h"
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(variant);
Modified: trunk/reactos/dll/win32/oleaut32/variant.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/variant…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/variant.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/variant.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -25,26 +25,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <string.h>
-//#include <stdlib.h>
-//#include <stdarg.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-//#include "windef.h"
-//#include "winbase.h"
-#include <wine/unicode.h>
-//#include "winerror.h"
-#include "variant.h"
+#include "precomp.h"
+
#include "resource.h"
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(variant);
Modified: trunk/reactos/dll/win32/oleaut32/variant.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/variant…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/variant.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/variant.h [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -17,12 +17,9 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-//#include "windef.h"
-//#include "winerror.h"
-#include <objbase.h>
-#include <oleauto.h>
+
+#pragma once
+
#include <math.h>
/* Get just the type from a variant pointer */
Modified: trunk/reactos/dll/win32/oleaut32/vartype.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oleaut32/vartype…
==============================================================================
--- trunk/reactos/dll/win32/oleaut32/vartype.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/oleaut32/vartype.c [iso-8859-1] Thu Dec 26 18:50:10 2013
@@ -18,19 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <wine/debug.h>
-#include <wine/unicode.h>
-//#include "winbase.h"
-#include <winuser.h>
-//#include "winnt.h"
-#include "variant.h"
+#include "precomp.h"
+
#include "resource.h"
WINE_DEFAULT_DEBUG_CHANNEL(variant);