If the function succeeds the return value will be the status of the DHCP using.
Description:
If AdpCfgGetDhcpState returns TRUE, then DHCP protocol is used by the system to get IP protocol settings dynamically.
If AdpCfgGetDhcpState returns FALSE, then the system uses static IP protocol settings.
Use AdpCfgGetDhcpState to obtain the current DHCP protocol using status in the system IP protocol
settings.