IDirectPlay4::GetPlayerFlags
IDirectPlay4 InterfaceReturns the flags describing the player.
Syntax
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 Value
Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDPARAMS DPERR_INVALIDPLAYER See Also
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.