FileTimeToSystemTime
FileTimeToSystemTime converts a 64-bit file time to system time format.
Syntax
BOOL FileTimeToSystemTime( const FILETIME* lpFileTime, LPSYSTEMTIME lpSystemTime );
Parameters
lpFileTime
Pointer to a FILETIME structure containing the file time to convert to system date and time format.
The FileTimeToSystemTime function works only with FILETIME values that are less than 0x8000000000000000. The function fails with values equal to or greater than that.
lpSystemTime
Pointer to a SYSTEMTIME structure to receive the converted file time.
Return Value
A non-zero value if the function succeeds, 0 (zero) if the function fails
To get extended error information, call GetLastError.
Remarks
The function fails for FILETIME values that are equal to or greater than 0x8000000000000000.
Requirements
Minimum Supported Version | RTX64 2013 |
Header | windows.h |
Library | Rtx_Rtss.lib |