Changes between Version 11 and Version 12 of How_Microsoft_Windows_NT_4.0_handles_internal_Time


Ignore:
Timestamp:
01/19/12 16:32:23 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • How_Microsoft_Windows_NT_4.0_handles_internal_Time

    v11 v12  
    2929The author's homepage is http://home1.gte.net/dougho/TimeServ.html 
    3030 
    31 Accuracy Information for Windows NT [BR] 
    32 From !TimeServ documentation [BR] 
     31Accuracy Information for Windows NT [[BR]] 
     32From !TimeServ documentation [[BR]] 
    3333http://home1.gte.net/dougho/TimeServ.html 
    3434 
     
    4040This documentation is from the Microsoft SDK for !SetSystemTimeAdjustment(). 
    4141 
    42 The !SetSystemTimeAdjustment function tells the system to enable or disable periodic time adjustments to its time of day clock. Such time adjustments are used to synchronize the time of day with some other source of time information. When periodic time adjustments are enabled, they are applied at each clock interrupt. [BR] 
     42The !SetSystemTimeAdjustment function tells the system to enable or disable periodic time adjustments to its time of day clock. Such time adjustments are used to synchronize the time of day with some other source of time information. When periodic time adjustments are enabled, they are applied at each clock interrupt. [[BR]] 
    4343BOOL !SetSystemTimeAdjustment(  
    4444 
    45 DWORD dwTimeAdjustment, // size, in 100-nanosecond units, of a periodic time adjustment [BR] 
    46 BOOL bTimeAdjustmentDisabled // whether periodic time adjustment is to be disabled or enabled [BR] 
     45DWORD dwTimeAdjustment, // size, in 100-nanosecond units, of a periodic time adjustment [[BR]] 
     46BOOL bTimeAdjustmentDisabled // whether periodic time adjustment is to be disabled or enabled [[BR]] 
    4747); 
    4848 
    4949Parameters 
    5050 
    51 dwTimeAdjustment [BR] 
     51dwTimeAdjustment [[BR]] 
    5252Specifies the number of 100-nanosecond units added to the time-of-day clock at each clock interrupt if periodic time adjustment is enabled. 
    5353 
     
    5959A value of FALSE specifies that periodic time adjustment is to be enabled, and will be used to adjust the time-of-day clock. The system will not interfere with the time adjustment scheme, and will not attempt to synchronize time of day on its own. The system will add the value of dwTimeAdjustment to the time of day at each clock interrupt. 
    6060 
    61 Return Value [BR] 
    62 If the function succeeds, the return value is TRUE. [BR] 
     61Return Value [[BR]] 
     62If the function succeeds, the return value is TRUE. [[BR]] 
    6363If the function fails, the return value is FALSE. To get extended error information, call !GetLastError. One way the function can fail is if the caller does not possess the SE_SYSTEMTIME_NAME privilege. 
    6464 
     
    7474An application must have system-time privilege (the SE_SYSTEMTIME_NAME privilege) for this function to succeed. The SE_SYSTEMTIME_NAME privilege is disabled by default. Use the !AdjustTokenPrivileges function to enable the privilege before calling !SetSystemTimeAdjustment, and then to disable the privilege after the !SetSystemTimeAdjustment call. 
    7575 
    76 See Also [BR] 
     76See Also [[BR]] 
    7777!AdjustTokenPrivileges, !GetSystemTimeAdjustment, !SetLocalTime, !SetSystemTime, !SystemTimeToTzSpecificLocalTime  
    7878