Platform SDK: Internet Protocol Helper |
The CreateProxyArpEnry function creates a Proxy Address Resolution Protocol (PARP) entry on the local computer for the specified IP address.
DWORD CreateProxyArpEntry( DWORD dwAddress, // IP address for which to act as proxy DWORD dwMask, // subnet mask for IP address DWORD dwIfIndex // interface on which to proxy );
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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Iphlpapi.h.
Library: Use Iphlpapi.lib.