Microsoft DirectX 9.0 SDK Update (Summer 2003)

DPN_MSGID_HOST_MIGRATE Message


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.

The DPNMSG_HOST_MIGRATE structure contains information for the DPN_MSGID_HOST_MIGRATE system message.

Syntax

typedef struct _DPNMSG_HOST_MIGRATE {
    DWORD dwSize;
    DPNID dpnidNewHost;
    PVOID pvPlayerContext;
}  DPNMSG_HOST_MIGRATE, *PDPNMSG_HOST_MIGRATE;

Members

dwSize
Size of this structure.
dpnidNewHost
DPNID of the player that is now hosting the session.
pvPlayerContext
Player context value.

Remarks

Return from the message callback function with DPN_OK.

Message Information

Headerdplay8.h
Minimum operating systems Windows 98, Pocket PC 2002


© 2003 Microsoft Corporation. All rights reserved.