This is an example of how to use the SysMessageRead function along with the MessageReadType structure.