Microsoft DirectX 8.1 (C++) |
Retrieves the player context value for the specified peer.
HRESULT GetPlayerContext( const DPNID dpnid, PVOID *const ppvPlayerContext, const DWORD dwFlags );
Returns S_OK if successful, or one of the following error values.
DPNERR_INVALIDPARAM |
DPNERR_INVALIDPLAYER |
Player context values are set by pointing the pvPlayerContext member of the DPN_MSGID_CREATE_PLAYER system message to the context value data.
Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
Windows 98/Me: Available as a redistributable for Windows 98 and later.
Header: Declared in Dplay8.h.