Platform SDK: Internet Protocol Helper

DeleteIPAddress

Use the DeleteIPAddress to delete an IP address that was previously added using AddIPAddress.

DWORD DeleteIPAddress(
  ULONG NTEContext    // net table entry context
);

Parameters

NTEContext
Specifies the Net Table Entry (NTE) context for the IP address. This context was returned by the previous call to AddIPAddress.

Return Values

If the function succeeds, the return value is NO_ERROR.

If the function fails, use FormatMessage to obtain the message string for the returned error.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Iphlpapi.h.
  Library: Use Iphlpapi.lib.

See Also

AddIPAddress