Re: Stub for SetSystemTimeAdjustment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try the attached patch, it will work MUCH better :-)

         Lionel

On Fri, May 02, 2003 at 10:51:54PM +0200, Lionel Ulmer wrote:
> Changelog:
>  - added stub for SetSystemTimeAdjustment

-- 
		 Lionel Ulmer - http://www.bbrox.org/
Index: dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.99
diff -u -r1.99 kernel32.spec
--- dlls/kernel/kernel32.spec	8 Apr 2003 19:40:37 -0000	1.99
+++ dlls/kernel/kernel32.spec	2 May 2003 21:03:26 -0000
@@ -781,7 +781,7 @@
 @ stdcall SetStdHandle(long long)
 @ stdcall SetSystemPowerState(long long)
 @ stdcall SetSystemTime(ptr)
-@ stub SetSystemTimeAdjustment
+@ stdcall SetSystemTimeAdjustment(long long)
 @ stdcall SetTapeParameters(ptr long ptr)
 @ stdcall SetTapePosition(ptr long long long long long)
 @ stdcall SetThreadAffinityMask(long long)
Index: dlls/kernel/time.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/time.c,v
retrieving revision 1.33
diff -u -r1.33 time.c
--- dlls/kernel/time.c	17 Apr 2003 02:14:38 -0000	1.33
+++ dlls/kernel/time.c	2 May 2003 21:03:26 -0000
@@ -126,6 +126,23 @@
     return !status;
 }
 
+/***********************************************************************
+ *              SetSystemTimeAdjustment  (KERNEL32.@)
+ *
+ *  Enables or disables the timing adjustments to the system's clock.
+ *
+ * RETURNS
+ *  Success: TRUE.
+ *  Failure: FALSE.
+ */
+BOOL WINAPI SetSystemTimeAdjustment(
+    DWORD dwTimeAdjustment,
+    BOOL bTimeAdjustmentDisabled)
+{
+    /* Fake function for now... */
+    return TRUE;
+}
+
 
 /***********************************************************************
  *              GetTimeZoneInformation  (KERNEL32.@)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux