[CSRSRV/BASESRV/CONSRV/WINSRV]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 6 Dec 2012 23:43:31 +0000 (23:43 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 6 Dec 2012 23:43:31 +0000 (23:43 +0000)
commit80d0bde83986ad9d64abb1a0d433bfebb46adc55
tree703ef6af2761b84ce2f49a43af816531617d7eb6
parent5127a493a39d71b1f81229dfbe7d9bc299bfe3a2
[CSRSRV/BASESRV/CONSRV/WINSRV]
- Add a useful CHECK_API_MSG_SIZE macro to check whether a server message structure can hold in a CSR_API_MESSAGE structure. These checks are required because LPC will use the generic CSR_API_MESSAGE structure for communicating all the different servers' messages, and thus we avoid possible buffer overflows with this method.
- Effectively use this macro for all the server message structures.
- Remove a hack regarding the maximum data size we can pass through the CSR LPC port.
- Remove the now unused CSRSS_HEADER_SIZE symbol.

svn path=/branches/ros-csrss/; revision=57810
include/reactos/subsys/csr/csrmsg.h
include/reactos/subsys/win/basemsg.h
include/reactos/subsys/win/conmsg.h
include/reactos/subsys/win/winmsg.h
subsystems/win32/csrsrv/api.c