PxMsgGetBuffersize()
Return the size of a message’s corresponding data area.
- APPLIES TO
-
1.0.0
- SYNOPSIS
-
PxSize_t PxMsgGetBuffersize (PxMsg_t msgid);
- ARGUMENTS
|
- RETURN VALUES
-
-
Message data area size
-
- ERROR CODES
-
PXERR_MSG_ILLMSG
msgid
is not a valid message objectPXERR_MSG_ILLUSER
The caller is not the user of this message
- DESCRIPTION
-
PxMsgGetBuffersize returns the messages data area size. If an invalid message is given, 0 is returned.
- SEE ALSO
- USAGE
-
#include "pxdef.h" PxSize_t Size = PxMsgGetBuffersize(msgid)