Microsoft SDK for Java

getPlayerCaps

This method of the DirectPlay2 Class obtains the current capabilities of a specified player.

Syntax

public void getPlayerCaps(int playerId, DPCaps caps, int flags);

Parameters

playerId The player ID that the capabilities should be computed for.
caps A DPCaps object that receives the capabilities of the player. The size field of the DPCaps object must contain a value before using getPlayerCaps.
flags If this parameter is set to 0, the capabilities will be computed for nonguaranteed messaging.

Remarks

The difference between this method and getCaps is that this method returns the capabilities of the requested player; getCaps returns the capabilities of the current session.

See Also

com.ms.directX.DPCaps, getCaps, send, com.ms.directX.DirectXConstants.DPGETCAPS_GUARANTEED

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