HRESULT GetPlayerCaps(DPID idPlayer,
LPDPCAPS lpPlayerCaps, DWORD dwFlags);
Retrieves the current capabilities of a specified player.
·Returns DP_OK if successful, or one of the following error values otherwise:
idPlayer
Player ID for which the capabilities should be computed.
lpPlayerCaps
Address of a DPCAPS structure that will be filled with the capabilities. The dwSize member of the DPCAPS structure must be filled in before using IDirectPlay2::GetPlayerCaps.
dwFlags
If this parameter is set to 0, the capabilities will be computed for nonguaranteed messaging.
Retrieves the capabilities for a guaranteed message delivery.
This method returns the capabilities of the requested player, while the IDirectPlay2::GetCaps method returns the capabilities of the current session.