HRESULT GetPlayerCaps(DPID pidID, LPDPCAPS lpDPPlayerCaps);
Obtains the capabilities of the player's connection by querying the DirectPlay object.
·Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDOBJECT DPERR_INVALIDPARAMS
pidID
Player ID for which the communication capabilities are requested.
lpDPPlayerCaps
Address for a DPCAPS structure that will be filled with the communication capabilities of the specified player on this DirectPlay object.
This method is needed because communicating with some players may be slower than communicating with others.