DPN_MSGID_NAT_RESOLVER_QUERY Message

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

DPN_MSGID_NAT_RESOLVER_QUERY Message


Microsoft® DirectPlay® generates the DPN_MSGID_NAT_RESOLVER_QUERY message when a player using the Network Address Translation (NAT) Resolver calls Host, EnumHosts, or Connect.

The DPNMSG_NAT_RESOLVER_QUERY structure contains information for the DPN_MSGID_NAT_RESOLVER_QUERY system message.

Syntax

typedef struct _DPNMSG_NAT_RESOLVER_QUERY {
    DWORD dwSize;
    IDirectPlay8Address pAddressSender;
    IDirectPlay8Address pAddressDevice;
    WCHAR pwszUserString;
}  DPNMSG_NAT_RESOLVER_QUERY, *PDPNMSG_NAT_RESOLVER_QUERY;

Members

dwSize
Size of this structure.
pAddressSender
Address of the client that sent the query.
pAddressDevice
Address of the device that received the query.
pwszUserString
User specified string or NULL if no string was specified.

Remarks

Return from the message callback function with DPN_OK

A player will be using the NAT Resolver if they have called IDirectPlay8Address::AddComponent with the pwszName parameter set to DPNA_KEY_NAT_RESOLVER on the device address.

Message Information

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

© 2003 Microsoft Corporation. All rights reserved.