Compartilhar via


FileTimeToLocalFileTime (Windows CE 5.0)

Send Feedback

This function converts a file time based on the UTC to a local file time.

BOOLFileTimeToLocalFileTime( constFILETIME* lpFileTime, LPFILETIMElpLocalFileTime );

Parameters

  • lpFileTime
    [in] Pointer to a FILETIME structure containing the UTC-based file time to be converted into a local file time.

  • lpLocalFileTime
    [out] Pointer to a FILETIME structure to receive the converted local file time.

    This parameter cannot be the same as the lpFileTime parameter.

Return Values

Nonzero indicates success.

Zero indicates failure.

To get extended error information, call GetLastError.

Remarks

This function uses the current settings for the time zone and daylight saving time. Therefore, if it is daylight saving time, this function will take daylight saving time into account, even if you are converting standard time.

Requirements

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

See Also

Time Functions | LocalFileTimeToFileTime | FILETIME | Timer Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.