Microsoft SDK for Java

receiveLobbyMessageSize

This method of the DirectPlayLobby Class retrieves the size of the message sent between a lobby client application and a DirectPlay application.

Syntax

public void receiveLobbyMessageSize(int applicationId, int[] flags, int[] dataSize);

Parameters

applicationId Identifies which application's message to retrieve when this method is called from a lobby client (that communicates with several applications).
flags The flags indicating the type of message being returned.
dataSize The size of the buffer before this method is called. After the method returns, dataSize will be set to the size (in bytes) of the message. If the buffer was too small (DPERR_BUFFERTOOSMALL), dataSize will be set to the minimum buffer size required.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.