Microsoft DirectX 8.1 (C++)

DVMSGID_SESSIONLOST

Microsoft® DirectPlay® Voice generates the DVMSGID_SESSIONLOST message when the voice session terminates.

DVMSG_SESSIONLOST

The DVMSG_SESSIONLOST structure contains information for the DVMSGID_SESSIONLOST system message.

typedef struct {
    DWORD   dwSize;
    HRESULT hrResult; 
} DVMSG_SESSIONLOST, *LPDVMSG_SESSIONLOST, *PDVMSG_SESSIONLOST;
dwSize
Size of the DVMSG_SESSIONLOST message structure.
hrResult
HRESULT indicating why the session was terminated.

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.