Changes between Version 4 and Version 5 of How_Microsoft_Windows_NT_4.0_handles_internal_Time


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

--

Legend:

Unmodified
Added
Removed
Modified
  • How_Microsoft_Windows_NT_4.0_handles_internal_Time

    v4 v5  
    6767The !SetSystemTimeAdjustment function supports two modes of time synchronization: time-adjustment - disabled and time-adjustment - enabled. 
    6868 
    69 In the first mode, bTimeAdjustmentDisabled is set to FALSE. At each clock interrupt, the system adds the value of dwTimeAdjustment to the time of day. The clock interrupt rate may be determined by calling GetSystemTimeAdjustment, and looking at the returned value of the DWORD value pointed to by lpTimeIncrement. 
     69In the first mode, bTimeAdjustmentDisabled is set to FALSE. At each clock interrupt, the system adds the value of dwTimeAdjustment to the time of day. The clock interrupt rate may be determined by calling !GetSystemTimeAdjustment, and looking at the returned value of the DWORD value pointed to by lpTimeIncrement. 
    7070 
    7171In the second mode, bTimeAdjustmentDisabled is set to TRUE. At each clock interrupt, the system adds the interval between clock interrupts to the time of day. No adjustment to that interval is made. The system is free to periodically refresh the time-of-day clock using other techniques. Such other techniques may cause the time-of-day clock to jump noticeably when adjustments are made. 
    7272 
    73 An 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. 
     73An 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. 
    7474 
    7575See Also