DirectX SDK

DirectPlayMessage.GetMessageSize

The DirectPlayMessage.GetMessageSize method retrieves the size of the message.

object.GetMessageSize() As Long

Parameters

object
Object expression that resolves to a DirectPlayMessage object.

Return Values

The message returns the size of the message in bytes.

Error Codes

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