The DirectPlayMessage.WriteByte method writes a Byte to the message data and advances the write pointer.
object.WriteByte(val As Byte)
If the method fails, an error is raised and Err.Number will be set.