Platform SDK: DirectX

DirectPlayMessage.MoveToSecureMessage

The DirectPlayMessage.MoveToSecureMessage moves the read pointer to the beginning of the message data in a secure message.

object.MoveToSecureMessage()

Parameters

object
Object expression that resolves to a DirectPlayMessage object.

Error Codes

If the method fails, an error is raised and Err.Number will be set.

Remarks

A secure system message consists of a Long for the message type (DPSYS_SECUREMESSAGE), a Long for the flags, a Long for the ID of the player who originated the message, and then a pointer to the message data. The MoveToSecureMessage method moves the read pointer to the start of the data so that an application can parse it by using other methods such as DirectPlayMessage.ReadLong.

See Also

CONST_DPSYSMSGTYPES