?/TD> |
Microsoft DirectX 9.0 |
Used to set and retrieve parameters for service providers.
Syntax
typedef struct _DPNHCAPS { DWORD dwSize; DWORD dwFlags; DWORD dwNumRegisteredPorts; DWORD dwMinLeaseTimeRemaining; DWORD dwRecommendedGetCapsInterval; } DPNHCAPS, *PDPNHCAPS;
Members
- dwSize
- Size of this structure. Must be filled prior to calling IDirectPlayNATHelp::GetCaps.
- dwFlags
- Flags indicating capabilities of the Internet gateway server. Possible values are:
- DPNHCAPSFLAGS_LOCALFIREWALLPRESENT
- At least one network connection has a local firewall present.
- DPNHCAPSFLAGS_GATEWAYPRESENT
- At least one network connection has an Internet gateway present.
- DPNHCAPSFLAGS_GATEWAYISLOCAL
- A detected Internet gateway is local.
- DPNHCAPSFLAGS_PUBLICADDRESSAVAILABLE
- At least one server has a valid public address for registered mappings.
- DPNHCAPSFLAGS_NOTALLSUPPORTACTIVENOTIFY
- At least one available server does not support an active notification mechanism and must be polled.
- dwNumRegisteredPorts
- Number of ports currently registered, including multiple ports registered at the same time.
- dwMinLeaseTimeRemaining
- Time remaining on the lease that will expire first, in milliseconds.
- dwRecommendedGetCapsInterval
- Recommended time between calls to IDirectPlayNATHelp::GetCaps, in milliseconds.
Structure Information
Header dpnathlp.h Minimum operating systems Windows 98, Pocket PC 2002