[SYSSETUP]
[reactos.git] / reactos / media / inf / nettcpip.inf
index 397ff14..70f58f5 100644 (file)
@@ -234,6 +234,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\Winsock2\Parameters\Protocol_Catalog9\Ca
 \r
 [MS_TCPIP.PrimaryInstall.Services]\r
 AddService = Tcpip, , tcpip_Service_Inst\r
+AddService = DHCP, , dhcp_Service_Inst\r
 \r
 [tcpip_Service_Inst]\r
 ServiceType   = 1\r
@@ -254,6 +255,20 @@ HKR,"Parameters","SearchList",0x00000000,""
 HKR,"Parameters","EnableSecurityFilters",0x00010001,0x00000000\r
 ;HKR,"Parameters","PersistentRoutes",,0x00000010\r
 \r
+[dhcp_Service_Inst]\r
+DisplayName   = "DHCP Client"\r
+Description   = "Attempts to obtain network settings automatically from an available DHCP server"\r
+ServiceType   = 0x20\r
+StartType     = 2\r
+ErrorControl  = 1\r
+ServiceBinary = "%11%\svchost.exe -k netsvcs"\r
+LoadOrderGroup = TDI\r
+AddReg=dhcp_AddReg\r
+\r
+[dhcp_AddReg]\r
+HKR,,"ObjectName",0x00000000,"LocalSystem"\r
+HKR,"Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\dhcpcsvc.dll"\r
+\r
 ;-------------------------------- STRINGS -------------------------------\r
 \r
 [Strings]\r