3.1.5.14 DPSP_MSG_DELETEPLAYER

Each DirectPlay client has a system player allocated to it by the computing system. In addition, a client can create as many non-system players as it desires, where each player has a unique identity.

A DirectPlay client can delete any player it created by sending the DPSP_MSG_DELETEPLAYER (section 2.2.25) message. A client MUST NOT delete the players of another peer.

When a DirectPlay client is instructed to leave the game session by the game session host, the client MUST delete all of its players and disconnect from the game session. The disconnect process results in the deletion of the client's system player.

When a DirectPlay client receives a DPSP_MSG_DELETEPLAYER (section 2.2.25) message, it MUST locate the specified PlayerID in the Player List using the information contained in the message and remove the player associated with the PlayerID. The DirectPlay client SHOULD inform any higher-level entity of the arrival of this message.