Author: tkreuzer
Date: Sun Jun 21 00:53:47 2009
New Revision: 41495
URL:
http://svn.reactos.org/svn/reactos?rev=41495&view=rev
Log:
Fix _WIN64 definition of PORT_MAXIMUM_MESSAGE_LENGTH in the NDK and only define it for
NTOS_MODE_USER as it's also defined by wdm.h
Modified:
branches/ros-amd64-bringup/reactos/include/ndk/lpctypes.h
Modified: branches/ros-amd64-bringup/reactos/include/ndk/lpctypes.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/inclu…
==============================================================================
--- branches/ros-amd64-bringup/reactos/include/ndk/lpctypes.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/include/ndk/lpctypes.h [iso-8859-1] Sun Jun 21
00:53:47 2009
@@ -34,7 +34,13 @@
//
// Maximum message size that can be sent through an LPC Port without a section
//
-#define PORT_MAXIMUM_MESSAGE_LENGTH 256
+#ifdef NTOS_MODE_USER
+#ifdef _WIN64
+#define PORT_MAXIMUM_MESSAGE_LENGTH 512
+#else
+#define PORT_MAXIMUM_MESSAGE_LENGTH 256
+#endif
+#endif
//
// Port Object Access Masks