This method of the DirectPlay2 Class retrieves the capabilities of this DirectPlay object.
public void getCaps(DPCaps caps, int flags);
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.
Retrieves the capabilities for a guaranteed message delivery. |
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.
com.ms.directX.DPCaps, getPlayerCaps, send