[ros-diffs] [navaraf] 15991: Fix definition of LPC_MAX_MESSAGE for __USE_W32API case.

navaraf at svn.reactos.com navaraf at svn.reactos.com
Fri Jun 17 18:58:20 CEST 2005


Fix definition of LPC_MAX_MESSAGE for __USE_W32API case.
Modified: trunk/reactos/include/ntos/zwtypes.h
  _____  

Modified: trunk/reactos/include/ntos/zwtypes.h
--- trunk/reactos/include/ntos/zwtypes.h	2005-06-17 16:35:17 UTC
(rev 15990)
+++ trunk/reactos/include/ntos/zwtypes.h	2005-06-17 16:58:15 UTC
(rev 15991)
@@ -1727,11 +1727,22 @@

 
 #define MAX_MESSAGE_DATA   (0x130)
 
+#ifdef __USE_W32API
+typedef union _LPC_MAX_MESSAGE
+{
+   LPC_MESSAGE Header;
+   struct {
+     BYTE LpcHeader[LPC_MESSAGE_BASE_SIZE];
+     BYTE Data[MAX_MESSAGE_DATA];
+   };
+} LPC_MAX_MESSAGE, *PLPC_MAX_MESSAGE;
+#else
 typedef struct _LPC_MAX_MESSAGE
 {
    LPC_MESSAGE Header;
    BYTE Data[MAX_MESSAGE_DATA];
 } LPC_MAX_MESSAGE, *PLPC_MAX_MESSAGE;
+#endif
 
 typedef struct _LPC_PORT_BASIC_INFORMATION
 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050617/1b2dfa20/attachment.html


More information about the Ros-diffs mailing list