Fix definition of PORT_MAXIMUM_MESSAGE_LENGTH for 64 bit
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 14 Oct 2009 17:05:51 +0000 (17:05 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 14 Oct 2009 17:05:51 +0000 (17:05 +0000)
svn path=/trunk/; revision=43460

reactos/include/ndk/lpctypes.h

index 444130c..4441961 100644 (file)
@@ -83,7 +83,11 @@ typedef enum _PORT_INFORMATION_CLASS
 //
 // Maximum message size that can be sent through an LPC Port without a section
 //
-#define PORT_MAXIMUM_MESSAGE_LENGTH     256
+#ifdef _WIN64
+#define PORT_MAXIMUM_MESSAGE_LENGTH 512
+#else
+#define PORT_MAXIMUM_MESSAGE_LENGTH 256
+#endif
 
 //
 // Portable LPC Types for 32/64-bit compatibility