Share via


GetIPAddress

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function prompts the user for the IP address if the Serial Line Internet Protocol (SLIP) connection does not have a valid IP address. Point-to-Point Protocol (PPP) calls this function.

Syntax

DWORD GetIPAddress(
  HWND hParent
);

Parameters

  • hParent
    Handle to the parent window to which the IP address is attached.

Return Value

The returned DWORD is a user's IP address.

Requirements

Header netui.h
Library Netui.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Other Resources

Network User Interface Functions