This function converts a system time to a file time.
At a Glance
Header file: | Winbase.h |
Windows CE versions: | 1.0 and later |
Syntax
BOOL SystemTimeToFileTime( const SYSTEMTIME *lpSystemTime,
LPFILETIME lpFileTime );
Parameters
lpSystemTime
[in] Pointer to a SYSTEMTIME structure that contains the time to be converted.
The wDayOfWeek member of the SYSTEMTIME structure is ignored.
lpFileTime
[out] Pointer to a FILETIME structure to receive the converted system time.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
See Also