Platform SDK: DirectX |
The DirectPlay4.CreateMessage method creates a message object, which can be packed with data and sent.
object.CreateMessage() As DirectPlayMessage
If it succeeds, the method returns a DirectPlayMessage object.
If the method fails, an error is raised and Err.Number will be set.