Home
Česky
Deutsch
Ελληυικά
English
Español
Français
Italiano
Nederlands
Polski
Português
Русский
Suomi
Svenska
Uutiset
Esittely
Imuroi
Kuvia
Dokumentaatio
Yhteyden otto
Ansiot
Acknowledgements
Tukijat
Linkit toisaalta
Linkkejä
Index
ULONG ReadBattClock();
Return the value stored in the battery back up clock. This value is the number of seconds that have elapsed since midnight on the 1st of January 1978 (00:00:00 1.1.1978). If the value of the battery clock is invalid, then the clock will be reset.
The number of seconds since 1.1.1978 00:00:00
WriteBattClock() ResetBattClock()
void ResetBattClock();
Reset the system battery-backed-up clock. This will reset the clock back to 0 seconds (or midnight, 1st Jan 1978).
None.
The clock will be reset.
This function may do nothing when the battery backed up clock either doesn't exist, or may not be writable by the operating system.
ReadBattClock() WriteBattClock()
void WriteBattClock( ULONG time );
Set the system's battery backed up clock to the time specified. The value should be the number of seconds since 00:00:00 on 1.1.1978.
time - The number of seconds elapsed since 00:00:00 1.1.1978
The clock will be set.
This may not do anything on some systems where the battery backed up clock either doesn't exist, or may not be writable.
ReadBattClock() ResetBattClock()