This function sets the current system time and date. The system time is expressed in Coordinated Universal Time (UTC).
At a Glance
Header file: | Winbase.h |
Windows CE versions: | 1.0 and later |
Syntax
BOOL SetSystemTime( const SYSTEMTIME *lpSystemTime );
Parameters
lpSystemTime
[in] Pointer to a SYSTEMTIME structure that contains the current system date and time.
The wDayOfWeek member of the SYSTEMTIME structure is ignored.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
See Also