AddIPAddress function iphlpapi
The AddIPAddress function adds the specified IPv4 address to the specified adapter.
DWORD AddIPAddress(
IPAddr Address,
IPMask IpMask,
DWORD IfIndex,
PULONG NTEContext,
PULONG NTEInstance
);
Implementation
int AddIPAddress(int Address, int IpMask, int IfIndex,
Pointer<Uint32> NTEContext, Pointer<Uint32> NTEInstance) =>
_AddIPAddress(Address, IpMask, IfIndex, NTEContext, NTEInstance);