Author: akhaldi
Date: Fri Dec 27 10:14:26 2013
New Revision: 61437
URL:
http://svn.reactos.org/svn/reactos?rev=61437&view=rev
Log:
[RPCRT4]
* 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/rpcrt4/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/rpcrt4/cproxy.c
trunk/reactos/dll/win32/rpcrt4/cpsf.c
trunk/reactos/dll/win32/rpcrt4/cstub.c
trunk/reactos/dll/win32/rpcrt4/epm_towers.h
trunk/reactos/dll/win32/rpcrt4/ncastatus.h
trunk/reactos/dll/win32/rpcrt4/ndr_clientserver.c
trunk/reactos/dll/win32/rpcrt4/ndr_contexthandle.c
trunk/reactos/dll/win32/rpcrt4/ndr_es.c
trunk/reactos/dll/win32/rpcrt4/ndr_fullpointer.c
trunk/reactos/dll/win32/rpcrt4/ndr_marshall.c
trunk/reactos/dll/win32/rpcrt4/ndr_misc.h
trunk/reactos/dll/win32/rpcrt4/ndr_ole.c
trunk/reactos/dll/win32/rpcrt4/ndr_stubless.c
trunk/reactos/dll/win32/rpcrt4/ndr_stubless.h
trunk/reactos/dll/win32/rpcrt4/rpc_assoc.c
trunk/reactos/dll/win32/rpcrt4/rpc_assoc.h
trunk/reactos/dll/win32/rpcrt4/rpc_async.c
trunk/reactos/dll/win32/rpcrt4/rpc_binding.c
trunk/reactos/dll/win32/rpcrt4/rpc_binding.h
trunk/reactos/dll/win32/rpcrt4/rpc_epmap.c
trunk/reactos/dll/win32/rpcrt4/rpc_message.c
trunk/reactos/dll/win32/rpcrt4/rpc_message.h
trunk/reactos/dll/win32/rpcrt4/rpc_server.c
trunk/reactos/dll/win32/rpcrt4/rpc_server.h
trunk/reactos/dll/win32/rpcrt4/rpc_transport.c
trunk/reactos/dll/win32/rpcrt4/rpcrt4_main.c
Modified: trunk/reactos/dll/win32/rpcrt4/cproxy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/cproxy.c?…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/cproxy.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/cproxy.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -21,27 +21,7 @@
* TODO: Handle non-i386 architectures
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
-
-#include <stdarg.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-
-#include <objbase.h>
-#include <rpcproxy.h>
-
-#include "cpsf.h"
-//#include "ndr_misc.h"
-//#include "ndr_stubless.h"
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/cpsf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/cpsf.c?re…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/cpsf.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/cpsf.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -18,31 +18,9 @@
* 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 <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
+#include "precomp.h"
+
#include <winreg.h>
-
-#include <objbase.h>
-
-#include <rpcproxy.h>
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
-
-#include "cpsf.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/cstub.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/cstub.c?r…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/cstub.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/cstub.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -19,28 +19,7 @@
* 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 <stdarg.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "excpt.h"
-
-#include <objbase.h>
-#include <rpcproxy.h>
-
-#include <wine/debug.h>
-#include <wine/exception.h>
-
-#include "cpsf.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/epm_towers.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/epm_tower…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/epm_towers.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/epm_towers.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
+
+#pragma once
#include <epm_c.h>
Modified: trunk/reactos/dll/win32/rpcrt4/ncastatus.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ncastatus…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ncastatus.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ncastatus.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -17,6 +17,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
*/
+
+#pragma once
#define NCA_S_COMM_FAILURE 0x1C010001
#define NCA_S_OP_RNG_ERROR 0x1C010002
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_clientserver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_clien…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_clientserver.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_clientserver.c [iso-8859-1] Fri Dec 27 10:14:26
2013
@@ -22,25 +22,7 @@
* - check for errors and throw exceptions
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-
-#include <objbase.h>
-
-//#include "rpcproxy.h"
-
-#include <wine/debug.h>
-
-//#include "ndr_misc.h"
-//#include "rpcndr.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_contexthandle.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_conte…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_contexthandle.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_contexthandle.c [iso-8859-1] Fri Dec 27 10:14:26
2013
@@ -19,18 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "ndr_misc.h"
-#include "rpc_assoc.h"
-//#include "rpcndr.h"
-
-//#include "wine/rpcfc.h"
-
-#include <wine/debug.h>
-//#include "wine/list.h"
-
-#ifdef __REACTOS__
-DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
-#endif
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_es.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_es.c?…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_es.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_es.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -18,24 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <stdio.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-#include <rpc.h>
+#include "precomp.h"
+
#include <midles.h>
-//#include "ndrtypes.h"
-
-//#include "ndr_misc.h"
-#include "ndr_stubless.h"
-
-#include <wine/debug.h>
-#include <wine/rpcfc.h>
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_fullpointer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_fullp…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_fullpointer.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_fullpointer.c [iso-8859-1] Fri Dec 27 10:14:26
2013
@@ -18,17 +18,7 @@
* 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 <rpc.h>
-#include <rpcndr.h>
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_marshall.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_marsh…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_marshall.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_marshall.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -27,25 +27,7 @@
* - Checks for integer addition overflow in user marshall functions
*/
-#include <assert.h>
-//#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-//#include <limits.h>
-
-#define NONAMELESSUNION
-//#include "windef.h"
-//#include "winbase.h"
-//#include "winerror.h"
-
-#include "ndr_misc.h"
-//#include "rpcndr.h"
-#include <ndrtypes.h>
-
-#include <wine/unicode.h>
-#include <wine/rpcfc.h>
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_misc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_misc.…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_misc.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_misc.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -20,16 +20,6 @@
#ifndef __WINE_NDR_MISC_H
#define __WINE_NDR_MISC_H
-
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <rpc.h>
-#include <rpcndr.h>
struct IPSFactoryBuffer;
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_ole.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_ole.c…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_ole.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_ole.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -22,30 +22,7 @@
* - finish RpcStream_Vtbl
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#define COBJMACROS
-#define NONAMELESSUNION
-#define NONAMELESSSTRUCT
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-
-#include <objbase.h>
-
-#include "ndr_misc.h"
-//#include "rpcndr.h"
-//#include "rpcproxy.h"
-#include <wine/rpcfc.h>
-//#include "cpsf.h"
-
-#include <wine/debug.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_stubless.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_stubl…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_stubless.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_stubless.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -23,31 +23,7 @@
* - Some types of binding handles
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
-
-//#include <stdarg.h>
-#include <stdio.h>
-//#include <string.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-
-#include <objbase.h>
-//#include "rpc.h"
-#include <rpcproxy.h>
-
-#include <wine/exception.h>
-#include <wine/debug.h>
-#include <wine/rpcfc.h>
-
-#include "cpsf.h"
-#include "ndr_misc.h"
-#include "ndr_stubless.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/ndr_stubless.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/ndr_stubl…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/ndr_stubless.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/ndr_stubless.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -17,6 +17,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
*/
+
+#pragma once
#include <ndrtypes.h>
Added: trunk/reactos/dll/win32/rpcrt4/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/precomp.h (added)
+++ trunk/reactos/dll/win32/rpcrt4/precomp.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -0,0 +1,40 @@
+#ifndef _RPCRT4_PCH_
+#define _RPCRT4_PCH_
+
+#include <config.h>
+
+#include <assert.h>
+#include <stdarg.h>
+#include <stdio.h>
+
+#define _INC_WINDOWS
+
+#define COBJMACROS
+#define NONAMELESSUNION
+#define NONAMELESSSTRUCT
+
+#include <ntstatus.h>
+#define WIN32_NO_STATUS
+#include <windef.h>
+#include <winbase.h>
+#include <winternl.h>
+#include <objbase.h>
+#include <rpcproxy.h>
+#include <security.h>
+
+#include <wine/debug.h>
+#include <wine/exception.h>
+#include <wine/list.h>
+#include <wine/rpcfc.h>
+#include <wine/unicode.h>
+
+#include "cpsf.h"
+#include "ncastatus.h"
+#include "ndr_misc.h"
+#include "ndr_stubless.h"
+#include "rpc_assoc.h"
+#include "rpc_binding.h"
+#include "rpc_message.h"
+#include "rpc_server.h"
+
+#endif /* _RPCRT4_PCH_ */
Propchange: trunk/reactos/dll/win32/rpcrt4/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_assoc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_assoc…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_assoc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_assoc.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -19,24 +19,7 @@
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-#include <assert.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <rpc.h>
-//#include "rpcndr.h"
-#include <winternl.h>
-
-#include <wine/unicode.h>
-#include <wine/debug.h>
-
-//#include "rpc_binding.h"
-#include "rpc_assoc.h"
-#include "rpc_message.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_assoc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_assoc…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_assoc.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_assoc.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -20,7 +20,6 @@
*/
#include "rpc_binding.h"
-//#include "wine/list.h"
typedef struct _RpcAssoc
{
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_async.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_async…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_async.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_async.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -19,22 +19,7 @@
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-
-#include <windef.h>
-#include <winbase.h>
-#include <rpc.h>
-#include <rpcndr.h>
-//#include "rpcasync.h"
-
-#include <wine/debug.h>
-
-//#include "rpc_binding.h"
-//#include "rpc_message.h"
-#include "ndr_stubless.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_binding.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_bindi…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_binding.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_binding.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -21,28 +21,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-//#include <assert.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winnls.h"
-//#include "winerror.h"
-//#include "winternl.h"
-#include <wine/unicode.h>
-
-#include <rpc.h>
-//#include "rpcndr.h"
-
-#include <wine/debug.h>
-
-//#include "rpc_binding.h"
-#include "rpc_assoc.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_binding.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_bindi…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_binding.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_binding.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -21,11 +21,7 @@
#ifndef __WINE_RPC_BINDING_H
#define __WINE_RPC_BINDING_H
-//#include "rpcndr.h"
-#include <security.h>
-#include <wine/list.h>
#include "rpc_defs.h"
-
enum secure_packet_direction
{
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_epmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_epmap…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_epmap.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_epmap.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -20,27 +20,8 @@
* 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 "winerror.h"
-
-#include <rpc.h>
-
-#include <wine/debug.h>
-#include <wine/exception.h>
-
-#include "rpc_binding.h"
-//#include "epm_c.h"
+#include "precomp.h"
#include "epm_towers.h"
-
-#ifdef __REACTOS__
-DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
-#endif
WINE_DEFAULT_DEBUG_CHANNEL(ole);
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_messa…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_message.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_message.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -20,27 +20,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define _INC_WINDOWS
-
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
+#include "precomp.h"
+
#include <winuser.h>
-
-#include <rpc.h>
-//#include "rpcndr.h"
-//#include "rpcdcep.h"
-
-#include <wine/debug.h>
-
-#include "rpc_binding.h"
-//#include "rpc_defs.h"
-#include "rpc_message.h"
-#include "ncastatus.h"
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_message.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_messa…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_message.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_message.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -20,8 +20,6 @@
#ifndef __WINE_RPC_MESSAGE_H
#define __WINE_RPC_MESSAGE_H
-
-//#include "rpc_defs.h"
typedef unsigned int NCA_STATUS;
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_server.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_serve…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_server.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_server.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -20,32 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#define _INC_WINDOWS
-
-#include <config.h>
-//#include "wine/port.h"
-
-#include <stdarg.h>
-//#include <stdio.h>
-//#include <string.h>
-#include <assert.h>
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-
-#include <rpc.h>
-//#include "rpcndr.h"
-//#include "excpt.h"
-
-#include <wine/debug.h>
-#include <wine/exception.h>
-
-#include "rpc_server.h"
-#include "rpc_assoc.h"
-#include "rpc_message.h"
-//#include "rpc_defs.h"
-#include "ncastatus.h"
+#include "precomp.h"
+
#include <secext.h>
WINE_DEFAULT_DEBUG_CHANNEL(rpc);
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_server.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_serve…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_server.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_server.h [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -22,7 +22,6 @@
#define __WINE_RPC_SERVER_H
#include "rpc_binding.h"
-//#include "wine/list.h"
struct protseq_ops;
Modified: trunk/reactos/dll/win32/rpcrt4/rpc_transport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpc_trans…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpc_transport.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpc_transport.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -23,20 +23,7 @@
*
*/
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-
-#include <config.h>
-
-//#include <stdarg.h>
-#include <stdio.h>
-//#include <string.h>
-#include <assert.h>
-//#include <stdlib.h>
-//#include <sys/types.h>
-
-#include <windef.h>
-#include <winbase.h>
+#include "precomp.h"
#if defined(__MINGW32__) || defined (_MSC_VER)
# include <ws2tcpip.h>
@@ -82,21 +69,8 @@
# define ioctlsocket ioctl
#endif /* defined(__MINGW32__) || defined (_MSC_VER) */
-//#include "winnls.h"
-//#include "winerror.h"
#include <wininet.h>
-#include <winternl.h>
-#include <wine/unicode.h>
-
-#include <rpc.h>
-//#include "rpcndr.h"
-
-#include <wine/debug.h>
-
-//#include "rpc_binding.h"
-#include "rpc_assoc.h"
-#include "rpc_message.h"
-#include "rpc_server.h"
+
#include "epm_towers.h"
#ifndef SOL_TCP
Modified: trunk/reactos/dll/win32/rpcrt4/rpcrt4_main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rpcrt4/rpcrt4_ma…
==============================================================================
--- trunk/reactos/dll/win32/rpcrt4/rpcrt4_main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rpcrt4/rpcrt4_main.c [iso-8859-1] Fri Dec 27 10:14:26 2013
@@ -28,36 +28,10 @@
* NT-based native rpcrt4's. Commonly-used transport for self-to-self RPC's.
*/
-#include <config.h>
-
-#include <stdarg.h>
-#include <stdio.h>
-//#include <stdlib.h>
-//#include <string.h>
-
-#include "ntstatus.h"
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#include <windef.h>
-//#include "winerror.h"
-#include <winbase.h>
-//#include "winuser.h"
-//#include "winnt.h"
-#include <winternl.h>
+#include "precomp.h"
+
#include <ntsecapi.h>
-//#include "iptypes.h"
#include <iphlpapi.h>
-#include <wine/unicode.h>
-#include <rpc.h>
-
-//#include "ole2.h"
-//#include "rpcndr.h"
-//#include "rpcproxy.h"
-
-//#include "rpc_binding.h"
-#include "rpc_server.h"
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(rpc);