[W32TIME][BOOTDATA] Export SvchostEntry_W32Time() as an alias to W32TmServiceMain, and use the former as the service entry point specified in the registry, for Windows compatibility.

This commit is contained in:
Hermès Bélusca-Maïto 2020-04-09 23:20:54 +02:00
parent 033102fdb1
commit 622c7ed609
No known key found for this signature in database
GPG Key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
6 stdcall SvchostEntry_W32Time(long ptr) W32TmServiceMain
18 stdcall W32TimeSyncNow(wstr long long)
21 stdcall W32TmServiceMain(long ptr)

View File

@ -2032,7 +2032,7 @@ HKLM,"SYSTEM\CurrentControlSet\Services\W32Time","ObjectName",0x00000000,"LocalS
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time","Start",0x00010001,0x00000002
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time","Type",0x00010001,0x00000020
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time\Parameters","ServiceDll",0x00020000,"%SystemRoot%\system32\w32time.dll"
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time\Parameters","ServiceMain",0x00000000,"W32TmServiceMain"
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time\Parameters","ServiceMain",0x00000000,"SvchostEntry_W32Time"
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time\Parameters","Type",0x00010000,"NTP"
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient","SpecialPollInterval",0x00010001,0x00093a80