Fix (USERMODE=0) build :
[reactos.git] / include / ndk / lpctypes.h
index 7586c31..4441961 100644 (file)
@@ -31,11 +31,6 @@ Author:
 #define N_ROUND_UP(x,s) \
     (((ULONG)(x)+(s)-1) & ~((ULONG)(s)-1))
 
-//
-// Maximum message size that can be sent through an LPC Port without a section
-//
-#define PORT_MAXIMUM_MESSAGE_LENGTH     256
-
 //
 // Port Object Access Masks
 //
@@ -85,6 +80,15 @@ typedef enum _PORT_INFORMATION_CLASS
 
 #ifdef NTOS_MODE_USER
 
+//
+// Maximum message size that can be sent through an LPC Port without a section
+//
+#ifdef _WIN64
+#define PORT_MAXIMUM_MESSAGE_LENGTH 512
+#else
+#define PORT_MAXIMUM_MESSAGE_LENGTH 256
+#endif
+
 //
 // Portable LPC Types for 32/64-bit compatibility
 //