* COPYRIGHT: Copyright 2006 Ged Murphy <gedmurphy@gmail.com>
*/
-#include "timedate.h"
+#include "w32time.h"
/* Get the domain name from the registry */
static DWORD
}
-DWORD
-SyncTimeNow(VOID)
+DWORD WINAPI
+W32TimeSyncNow(LPCWSTR cmdline,
+ UINT blocking,
+ UINT flags)
{
DWORD dwError;
ULONG ulTime;
+
dwError = GetTimeFromServer(&ulTime);
if (dwError != ERROR_SUCCESS)
{