Using Win32 functions in Visual FoxPro Image Gallery
Time
..msdn
CompareFileTime
FileTimeToLocalFileTime
FileTimeToSystemTime
GetFileTime
GetLocalTime
GetSystemTime
GetSystemTimeAdjustment
GetSystemTimeAsFileTime
GetTickCount
GetTimeZoneInformation
LocalFileTimeToFileTime
QueryPerformanceCounter
QueryPerformanceFrequency
SetFileTime
SetTimeZoneInformation
SystemTimeToFileTime
Code examples:
Retrieving the System Time adjustment
GetSystemTimeAdjustment
    Add comment     W32 Constants      Translate this page
Determines whether the system is applying periodic time adjustments to its time-of-day clock at each clock interrupt, along with the value and period of any such adjustments.
Code examples:
Retrieving the System Time adjustment
Declaration:
BOOL GetSystemTimeAdjustment(
  PDWORD lpTimeAdjustment,       // size of time adjustment
  PDWORD lpTimeIncrement,        // time between adjustments
  PBOOL lpTimeAdjustmentDisabled // disable option
);
FoxPro declaration:
DECLARE SHORT GetSystemTimeAdjustment IN kernel32.dll;
    INTEGER @ lpTimeAdjustment,;
    INTEGER @ lpTimeIncrement,;
    SHORT   @ lpTimeAdjustmentDisabled
Parameters:
lpTimeAdjustment
[out] Pointer to a DWORD that the function sets to the number of 100-nanosecond units added to the time-of-day clock at each periodic time adjustment.

lpTimeIncrement
[out] Pointer to a DWORD that the function sets to the interval, counted in 100-nanosecond units, between periodic time adjustments. This interval is the time period between a system"s clock interrupts.

lpTimeAdjustmentDisabled
[out] Pointer to a BOOL that the function sets to indicate whether periodic time adjustment is in effect.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
Under Win9* this function returns the error code 120 -- "This function is not supported on this system".
Word Index links for the GetSystemTimeAdjustment :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-25 12:00:00
Modified: 2001-11-26 16:02:41
Visited in last 7 days: 15
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.81.79.128)
3 sec.Function: 'GetFileNameFromBrowse'
6 sec.Function: 'GetShellWindow'
9 sec.Function: 'IcmpCloseHandle'
13 sec.Function: 'WNetGetUniversalName'
15 sec.Function: 'GetKeyboardLayoutList'
18 sec.Function: 'GdipCreateBitmapFromHICON'
21 sec.Function: 'GdipScaleMatrix'
23 sec.Function: 'RealGetWindowClass'
27 sec.Function: 'SetLayeredWindowAttributes'
31 sec.Function: 'GdipGetImageHorizontalResolution'
Google
Advertise here!