Index Topic Contents | |||
Previous Topic: IDirectPlay3::GetPlayerData Next Topic: IDirectPlay3::GetPlayerName |
IDirectPlay3::GetPlayerFlags
IDirectPlay3 InterfaceReturns the flags describing the player.
HRESULT GetPlayerFlags(
DPID idPlayer,
LPDWORD lpdwFlags
);Parameters
- idPlayer
- The DPID of the player whose flag settings are to be retrieved.
- lpdwFlags
- Pointer to a DWORD to be set to the player's flag settings. Can be one or more of the following:
- DPPLAYER_LOCAL the player was created by this application. If this flag is not specified, the player is a remote player.
- DPPLAYER_SERVERPLAYER the player is a server player for client/server communications.
- DPPLAYER_SPECTATOR the player was created as a spectator.
Return Values
Returns DP_OK if successful, or one of the following error values otherwise:
- DPERR_INVALIDPARAMS
- DPERR_INVALIDPLAYER
See Also
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.