If the function succeeds the return value will be the size of the buffer allocated for packet data,
otherwise it will be 0.
Description:
Use PktGetMaxPacketSize to get the size of the buffer allocated for packet data.
On data sending the size of data may not be greater than MaxPacketSize. Also on data receiving
IncPacketSize[Get/Set]
may not be greater than MaxPacketSize.