https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4f23b0c3dfe8e5151cc4d…
commit 4f23b0c3dfe8e5151cc4d16a3e784cab0548fbcb
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Feb 15 14:58:25 2020 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Feb 15 15:08:19 2020 +0100
[W32TIME] Rename ServiceMain to W32TmServiceMain
---
base/services/w32time/w32time.c | 2 +-
base/services/w32time/w32time.spec | 2 +-
boot/bootdata/hivesys.inf | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/base/services/w32time/w32time.c b/base/services/w32time/w32time.c
index c2b2bfeeeae..69c6bd15abe 100644
--- a/base/services/w32time/w32time.c
+++ b/base/services/w32time/w32time.c
@@ -237,7 +237,7 @@ ControlHandler(DWORD request)
VOID
WINAPI
-ServiceMain(DWORD argc, LPWSTR *argv)
+W32TmServiceMain(DWORD argc, LPWSTR *argv)
{
int result;
DWORD dwInterval;
diff --git a/base/services/w32time/w32time.spec b/base/services/w32time/w32time.spec
index b4893ff346f..75bdeb4176f 100644
--- a/base/services/w32time/w32time.spec
+++ b/base/services/w32time/w32time.spec
@@ -1,2 +1,2 @@
18 stdcall W32TimeSyncNow(wstr long long)
-21 stdcall ServiceMain(long ptr)
+21 stdcall W32TmServiceMain(long ptr)
diff --git a/boot/bootdata/hivesys.inf b/boot/bootdata/hivesys.inf
index c80ab610e0c..a7d15621133 100644
--- a/boot/bootdata/hivesys.inf
+++ b/boot/bootdata/hivesys.inf
@@ -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