Microsoft DirectX 8.1 (C++)

DVMSGID_DELETEVOICEPLAYER

For clients, Microsoft® DirectPlay® Voice generates the DVMSGID_DELETEVOICEPLAYER message when a player quits the voice session. This message is available only to clients in peer-to-peer voice sessions.

For the host, Microsoft® DirectPlay® Voice generates the DVMSGID_DELETEVOICEPLAYER message when a player quits the voice session.

Players do not leave the voice session until they have called IDirectPlayVoiceClient::Disconnect or they have disconnected from the transport session. Therefore, a client might be part of the transport session but not part of the voice session.

DVMSG_DELETEVOICEPLAYER

The DVMSG_DELETEVOICEPLAYER structure contains information for the DVMSGID_DELETEVOICEPLAYER system message.

typedef struct {
    DWORD  dwSize;
    DVID   dvidPlayer;
    PVOID  pvPlayerContext;
} DVMSG_DELETEVOICEPLAYER, *LPDVMSG_DELETEVOICEPLAYER, *PDVMSG_DELETEVOICEPLAYER;
dwSize
Size of the DVMSG_DELETEVOICEPLAYER message structure.
dvidPlayer
DVID of player who disconnected.
pvPlayerContext
Pointer to the context value set for the player. This value is set through the pvPlayerContext member of the DVMSG_CREATEVOICEPLAYER message structure.

Return Values

Return DV_OK.

Requirements

  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 Dvoice.h.