[W32TIME] Rename ServiceMain to W32TmServiceMain

This commit is contained in:
Eric Kohl 2020-02-15 14:58:25 +01:00
parent 9da842a647
commit 4f23b0c3df
3 changed files with 3 additions and 2 deletions

View file

@ -237,7 +237,7 @@ ControlHandler(DWORD request)
VOID
WINAPI
ServiceMain(DWORD argc, LPWSTR *argv)
W32TmServiceMain(DWORD argc, LPWSTR *argv)
{
int result;
DWORD dwInterval;

View file

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

View file

@ -2024,6 +2024,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","Type",0x00010000,"NTP"
HKLM,"SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient","SpecialPollInterval",0x00010001,0x00093a80