DirectX SDK |
The IDirectPlay4::GetPlayerCaps method retrieves the current capabilities of a specified player.
HRESULT GetPlayerCaps( DPID idPlayer, LPDPCAPS lpPlayerCaps, DWORD dwFlags );
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDOBJECT |
DPERR_INVALIDPARAMS |
DPERR_INVALIDPLAYER |
This method returns the capabilities of the requested player, while the IDirectPlay4::GetCaps method returns the capabilities of the current session.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dplay.h.
Import Library: Use dplayx.lib.