FileTimeToSystemTime (Windows CE 5.0)

Send Feedback

This function converts a 64-bit file time to system time format.

BOOLFileTimeToSystemTime( constFILETIME* lpFileTime, LPSYSTEMTIMElpSystemTime );

Parameters

  • lpFileTime
    [in] Pointer to a FILETIME structure containing the file time to convert to system date and time format.

    The FileTimeToSystemTime function only works with FILETIME values that are less than 0x8000000000000000.

    The function fails with values equal to or greater than that.

  • lpSystemTime
    [out] Pointer to a SYSTEMTIME structure to receive the converted file time.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Remarks

The function fails for FILETIME values that are equal to or greater than 0x8000000000000000.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

Time Functions | SystemTimeToFileTime | FILETIME | SYSTEMTIME | Timer Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.