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