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
{
Show replies by date