Platform SDK: DirectX |
The DirectPlayMessage.MoveToTop method moves the read pointer to the beginning of the message data.
object.MoveToTop()
If the method fails, an error is raised and Err.Number will be set.
Each time an element of message data is retrieved by using one of the DirectPlayMessage.ReadX methods, the read pointer is advanced. MoveToTop allows you to start reading the message again from the beginning.