diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index b4cc8ae8403..9a22d6b5a13 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -423,7 +423,7 @@ import ntdll.dll 404 stdcall GetSystemInfo(ptr) GetSystemInfo 405 stdcall GetSystemPowerStatus(ptr) GetSystemPowerStatus 406 stdcall GetSystemTime(ptr) GetSystemTime -407 stub GetSystemTimeAdjustment +407 stdcall GetSystemTimeAdjustment(ptr ptr ptr) GetSystemTimeAdjustment 408 stdcall GetSystemTimeAsFileTime(ptr) GetSystemTimeAsFileTime 409 stdcall GetTapeParameters(ptr long ptr ptr) GetTapeParameters 410 stdcall GetTapePosition(ptr long ptr ptr ptr) GetTapePosition diff --git a/win32/time.c b/win32/time.c index 82c63dd40ae..42d422c71de 100644 --- a/win32/time.c +++ b/win32/time.c @@ -99,6 +99,21 @@ BOOL WINAPI SetLocalTime(const SYSTEMTIME *systime) } +/*********************************************************************** + * GetSystemTimeAdjustment (KERNEL32.407) + * + */ +DWORD WINAPI GetSystemTimeAdjustment( LPDWORD lpTimeAdjustment, + LPDWORD lpTimeIncrement, + LPBOOL lpTimeAdjustmentDisabled ) +{ + *lpTimeAdjustment = 0; + *lpTimeIncrement = 0; + *lpTimeAdjustmentDisabled = TRUE; + return TRUE; +} + + /*********************************************************************** * GetSystemTime (KERNEL32.285) */