I am adding the value, MaxUserPort, to:

HKLM\System\CurrentControlSet\Services\Tcpip\Parameters

Unfortunately, Windows requires a reboot before this setting takes affect. Is there any sort of Windows message I can pass into SendMessage() to force Windows to reload the registry?

Thanks!