This method of the DirectPlay2 Class obtains the current capabilities of a specified player.
public void getPlayerCaps(int playerId, DPCaps caps, int flags);
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. |
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.
com.ms.directX.DPCaps, getCaps, send, com.ms.directX.DirectXConstants.DPGETCAPS_GUARANTEED