Author: akhaldi
Date: Wed Dec 25 11:26:57 2013
New Revision: 61398
URL:
http://svn.reactos.org/svn/reactos?rev=61398&view=rev
Log:
[MPR]
* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header/resource file.
CORE-7716
Added:
trunk/reactos/dll/win32/mpr/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/mpr/auth.c
trunk/reactos/dll/win32/mpr/lang/mpr_Bg.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Cs.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Da.rc
trunk/reactos/dll/win32/mpr/lang/mpr_De.rc
trunk/reactos/dll/win32/mpr/lang/mpr_En.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Es.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Fr.rc
trunk/reactos/dll/win32/mpr/lang/mpr_He.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Hu.rc
trunk/reactos/dll/win32/mpr/lang/mpr_It.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Ja.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Ko.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Lt.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Nl.rc
trunk/reactos/dll/win32/mpr/lang/mpr_No.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Pl.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Pt.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Ro.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Ru.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Si.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Sv.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Tr.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Uk.rc
trunk/reactos/dll/win32/mpr/lang/mpr_Zh.rc
trunk/reactos/dll/win32/mpr/mpr.rc
trunk/reactos/dll/win32/mpr/mpr_main.c
trunk/reactos/dll/win32/mpr/mprres.h
trunk/reactos/dll/win32/mpr/multinet.c
trunk/reactos/dll/win32/mpr/netspi.h
trunk/reactos/dll/win32/mpr/nps.c
trunk/reactos/dll/win32/mpr/pwcache.c
trunk/reactos/dll/win32/mpr/wnet.c
Modified: trunk/reactos/dll/win32/mpr/auth.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/auth.c?rev=6…
==============================================================================
--- trunk/reactos/dll/win32/mpr/auth.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/auth.c [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,17 +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 <winnetwk.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(mpr);
-
+#include "precomp.h"
/*****************************************************************
* WNetLogoffA [MPR.@]
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Bg.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Bg.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Bg.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Bg.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Cs.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Cs.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Cs.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Cs.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Da.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Da.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Da.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Da.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_De.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_De.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_De.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_De.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_En.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_En.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_En.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_En.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Es.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Es.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Es.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Es.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Fr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Fr.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Fr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Fr.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_He.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_He.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_He.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_He.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -19,8 +19,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 "mprres.h"
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Hu.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Hu.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Hu.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Hu.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_It.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_It.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_It.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_It.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Ja.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Ja.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Ja.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Ja.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Ko.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Ko.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Ko.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Ko.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Lt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Lt.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Lt.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Lt.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Nl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Nl.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Nl.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Nl.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_No.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_No.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_No.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_No.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Pl.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Pl.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Pl.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Pl.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Pt.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Pt.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Pt.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Pt.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Ro.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Ro.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Ro.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Ro.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -16,8 +16,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 "mprres.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Ru.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Ru.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Ru.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Ru.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Si.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Si.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Si.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Si.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Sv.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Sv.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Sv.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Sv.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Tr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Tr.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Tr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Tr.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Uk.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Uk.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Uk.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Uk.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,8 +18,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 "mprres.h"
/* UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/lang/mpr_Zh.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/lang/mpr_Zh.…
==============================================================================
--- trunk/reactos/dll/win32/mpr/lang/mpr_Zh.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/lang/mpr_Zh.rc [iso-8859-1] Wed Dec 25 11:26:57 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 "mprres.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
Modified: trunk/reactos/dll/win32/mpr/mpr.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/mpr.rc?rev=6…
==============================================================================
--- trunk/reactos/dll/win32/mpr/mpr.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/mpr.rc [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -17,10 +17,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
*/
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winuser.h"
-//#include "mprres.h"
+
+#include <winuser.h>
+
+#include "mprres.h"
#include "version.rc"
Modified: trunk/reactos/dll/win32/mpr/mpr_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/mpr_main.c?r…
==============================================================================
--- trunk/reactos/dll/win32/mpr/mpr_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/mpr_main.c [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,18 +18,8 @@
* 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 "objbase.h"
-//#include "winnetwk.h"
-#include <wine/debug.h>
+#include "precomp.h"
#include "wnetpriv.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(mpr);
/*
* FIXME: The following routines should use a private heap ...
Modified: trunk/reactos/dll/win32/mpr/mprres.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/mprres.h?rev…
==============================================================================
--- trunk/reactos/dll/win32/mpr/mprres.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/mprres.h [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,9 +18,6 @@
#ifndef __WINE_MPRRES_H__
#define __WINE_MPRRES_H__
-//#include <windef.h>
-#include <winuser.h>
-
#define IDS_ENTIRENETWORK 1
#define IDD_PROXYDLG 0x400
Modified: trunk/reactos/dll/win32/mpr/multinet.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/multinet.c?r…
==============================================================================
--- trunk/reactos/dll/win32/mpr/multinet.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/multinet.c [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -18,17 +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 <winnetwk.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(mpr);
-
+#include "precomp.h"
/*****************************************************************
* MultinetGetConnectionPerformanceA [MPR.@]
Modified: trunk/reactos/dll/win32/mpr/netspi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/netspi.h?rev…
==============================================================================
--- trunk/reactos/dll/win32/mpr/netspi.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/netspi.h [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -23,9 +23,6 @@
#ifndef _NETSPI_H_
#define _NETSPI_H_
-
-//#include "windef.h"
-#include <winnetwk.h>
/*
* Note: The Unicode variants of all these routines/structures
Modified: trunk/reactos/dll/win32/mpr/nps.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/nps.c?rev=61…
==============================================================================
--- trunk/reactos/dll/win32/mpr/nps.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/nps.c [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -19,23 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-#include <config.h>
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
-#include <netspi.h>
-#include <wine/debug.h>
-//#include "winerror.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(mpr);
-
-//#include "wine/unicode.h"
-
+#include "precomp.h"
+
+#include "netspi.h"
#include "mprres.h"
/***********************************************************************
Added: trunk/reactos/dll/win32/mpr/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/precomp.h?re…
==============================================================================
--- trunk/reactos/dll/win32/mpr/precomp.h (added)
+++ trunk/reactos/dll/win32/mpr/precomp.h [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -0,0 +1,18 @@
+#ifndef _MPR_PCH_
+#define _MPR_PCH_
+
+#include <config.h>
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#include <windef.h>
+#include <winbase.h>
+#include <winuser.h>
+#include <winreg.h>
+#include <winnetwk.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(mpr);
+
+#endif /* _MPR_PCH_ */
Propchange: trunk/reactos/dll/win32/mpr/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/mpr/pwcache.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/pwcache.c?re…
==============================================================================
--- trunk/reactos/dll/win32/mpr/pwcache.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/pwcache.c [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -19,18 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-
-//#include <stdarg.h>
+#include "precomp.h"
+
#include <stdio.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <winnetwk.h>
-#include <winreg.h>
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(mpr);
static const char mpr_key[] = "Software\\Wine\\Wine\\Mpr\\";
Modified: trunk/reactos/dll/win32/mpr/wnet.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mpr/wnet.c?rev=6…
==============================================================================
--- trunk/reactos/dll/win32/mpr/wnet.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/mpr/wnet.c [iso-8859-1] Wed Dec 25 11:26:57 2013
@@ -20,25 +20,15 @@
* 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 "winnls.h"
+#include "precomp.h"
+
#include <winioctl.h>
-#include <winnetwk.h>
#include <npapi.h>
-#include <winreg.h>
-//#include "winuser.h"
#define WINE_MOUNTMGR_EXTENSIONS
#include <ddk/mountmgr.h>
-#include <wine/debug.h>
#include <wine/unicode.h>
+
#include "mprres.h"
-//#include "wnetpriv.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(mpr);
/* Data structures representing network service providers. Assumes only one
* thread creates them, and that they are constant for the life of the process