Microsoft DirectX 8.1 (C++)

DPN_MSGID_HOST_MIGRATE

Microsoft® DirectPlay® generates the DPN_MSGID_HOST_MIGRATE message if the DPNSESSION_MIGRATE_HOST flag is set in the DPN_APPLICATION_DESC structure and the host has migrated.

DPNMSG_HOST_MIGRATE

The DPNMSG_HOST_MIGRATE structure contains information for the DPN_MSGID_HOST_MIGRATE system message.

typedef struct _DPNMSG_HOST_MIGRATE{
    DWORD  dwSize;
    DPNID  dpnidNewHost;
    PVOID  pvPlayerContext; 
} DPNMSG_HOST_MIGRATE, *PDPNMSG_HOST_MIGRATE;
dwSize
Size of this structure.
dpnidNewHost
DPNID of the player that is now hosting the session.
pvPlayerContext
Player context value.

Return Values

Return DPN_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 Dplay8.h.