DirectX SDK

DirectPlayMessage.ReadShort

The DirectPlayMessage.ReadShort method reads an Integer from the message data and advances the read pointer.

object.ReadShort() As Integer

Parameters

object
Object expression that resolves to a DirectPlayMessage object.

Return Values

The method returns an Integer from the message.

Error Codes

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