IDirectPlayNATHelp Interface

DirectPlay

 
Microsoft DirectX 9.0 SDK Update (Summer 2003)

IDirectPlayNATHelp Interface


Applications use the methods of the IDirectPlayNATHelp interface to simplify traversal through the Internet Connection Sharing (ICS) features available in Microsoft® Windows® Millennium Edition (Windows Me) and Windows XP.

IDirectPlayNATHelp Members

Close

Closes and unregisters this application with any Internet gateway servers. This method must be called on any object successfully initialized with IDirectPlayNATHelp.

GetCaps

Retrieves the capabilities of the Internet gateway server(s) and information about leased ports.

GetRegisteredAddresses

Returns the current public address mappings for the specified registered port group.

Initialize

Initializes an IDirectPlayNATHelp object. This method must be called before using any other functions.

QueryAddress

Determine a private alias for a given public address.

RegisterPorts

Asks for public realm port(s) that are aliases for the local port(s) on this private realm node.

SetAlertEvent

Specifies an event that will be set when maintenance needs to be performed.

Interface Information

Inherits fromIUnknown
Headerdpnathlp.h
Minimum operating systems Windows 98, Pocket PC 2002

© 2003 Microsoft Corporation. All rights reserved.