Microsoft SDK for Java

getCaps

This method of the DirectPlay2 Class retrieves the capabilities of this DirectPlay object.

Syntax

public void getCaps(DPCaps caps, int flags);

Parameters

caps A DPCaps object that receives the capabilities of the DirectPlay object. The size field of the DPCaps object must be filled in before using getCaps.
flags If this parameter is set to 0, the capabilities will be computed for nonguaranteed messaging.

DPGETCAPS_GUARANTEED

Retrieves the capabilities for a guaranteed message delivery.


Remarks

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

See Also

com.ms.directX.DPCaps, getPlayerCaps, send

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