?/TD>
Microsoft DirectX 9.0

DVMSGID_SESSIONLOST Message


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

The DVMSG_SESSIONLOST structure contains information for the DVMSGID_SESSIONLOST system message.

Syntax

typedef struct {
    DWORD dwSize;
    HRESULT hrResult;
}  DVMSG_SESSIONLOST *LPDVMSG_SESSIONLOST, *PDVMSG_SESSIONLOST;

Members

dwSize
Size of the DVMSG_SESSIONLOST message structure.
hrResult
HRESULT value indicating why the session was terminated.

Remarks

Return from the message callback function with DV_OK.

DirectPlay and DirectPlay Voice sessions are separate entities. While there are guarantees about message order for each interface, there are no guarantees about message order between interfaces.

Message Information

Headerdvoice.h
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.