The function GetAdaptersInfo allows to retrieve the address information including netmask and default gateway for all adapters.
This function is deprecated since Windows Embedded Compact 7. The "Functionality To Use Instead" list the function GetAdaptersAddresses as a replacement. But this function doesn't report netmask and default gateway.
How can I get the netmask and the default gateway of the network adapters?