mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +00:00
Fix definition of LPC_MAX_MESSAGE for __USE_W32API case.
svn path=/trunk/; revision=15991
This commit is contained in:
parent
300fd866a2
commit
c57e3d0690
1 changed files with 11 additions and 0 deletions
|
@ -1727,11 +1727,22 @@ typedef struct _LPC_MESSAGE
|
||||||
|
|
||||||
#define MAX_MESSAGE_DATA (0x130)
|
#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
|
typedef struct _LPC_MAX_MESSAGE
|
||||||
{
|
{
|
||||||
LPC_MESSAGE Header;
|
LPC_MESSAGE Header;
|
||||||
BYTE Data[MAX_MESSAGE_DATA];
|
BYTE Data[MAX_MESSAGE_DATA];
|
||||||
} LPC_MAX_MESSAGE, *PLPC_MAX_MESSAGE;
|
} LPC_MAX_MESSAGE, *PLPC_MAX_MESSAGE;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct _LPC_PORT_BASIC_INFORMATION
|
typedef struct _LPC_PORT_BASIC_INFORMATION
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue