Re: Stub for SetSystemTimeAdjustment

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

 



> Please add a FIXME with a stub message, so we don't forget about it...

Oh well, since it's something that we will never support I did not bother.
But if you insist (and I know you will), here it is.

          Lionel

-- 
		 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:24:21 -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:24:22 -0000
@@ -126,6 +126,24 @@
     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... */
+    FIXME("(%08lx,%d): stub !\n", dwTimeAdjustment, bTimeAdjustmentDisabled);
+    return TRUE;
+}
+
 
 /***********************************************************************
  *              GetTimeZoneInformation  (KERNEL32.@)

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

  Powered by Linux