mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:53:02 +00:00
[SMSS][CSRSRV] Undefine CreateProcess symbol. Name the union inside SB_API_MSG.
Undefine CreateProcess because it can be #define'd (to CreateProcessA/W) if winbase.h is included prior (as it is in SMSS).
This commit is contained in:
parent
9c8a8cf2aa
commit
06a0451415
4 changed files with 9 additions and 5 deletions
|
@ -211,6 +211,10 @@ C_ASSERT(sizeof(SB_CREATE_PROCESS_MSG) == 0x18);
|
|||
C_ASSERT(sizeof(SB_CREATE_PROCESS_MSG) == 0x28);
|
||||
#endif
|
||||
|
||||
#ifdef CreateProcess
|
||||
#undef CreateProcess
|
||||
#endif
|
||||
|
||||
//
|
||||
// When the server connects to a client, this structure is exchanged
|
||||
//
|
||||
|
@ -239,7 +243,7 @@ typedef struct _SB_API_MSG
|
|||
SB_TERMINATE_SESSION_MSG TerminateSession;
|
||||
SB_FOREIGN_SESSION_COMPLETE_MSG ForeignSessionComplete;
|
||||
SB_CREATE_PROCESS_MSG CreateProcess;
|
||||
};
|
||||
} u;
|
||||
};
|
||||
};
|
||||
} SB_API_MSG, *PSB_API_MSG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue