[ros-diffs] [tkreuzer] 41495: 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

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Jun 20 22:53:48 CEST 2009


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/include/ndk/lpctypes.h?rev=41495&r1=41494&r2=41495&view=diff
==============================================================================
--- 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



More information about the Ros-diffs mailing list