/* function: nsfiletime_to_nstime converts a Windows FILETIME-like value, but given in nanoseconds rather than 10ths of microseconds, to an nstime_t returns TRUE if the conversion succeeds, FALSE if it doesn't (for example, with a 32-bit time_t, the time overflows or underflows time_t)  */
gboolean nsfiletime_to_nstime(nstime_t *nstime, guint64 nsfiletime)
/* function: nsfiletime_to_nstime converts a Windows FILETIME-like value, but given in nanoseconds rather than 10ths of microseconds, to an nstime_t returns TRUE if the conversion succeeds, FALSE if it doesn't (for example, with a 32-bit time_t, the time overflows or underflows time_t)  */
gboolean nsfiletime_to_nstime(nstime_t *nstime, guint64 nsfiletime)
{
    guint64 ftsecs;
    int nsecs;
    ftsecs = nsfiletime / NS_PER_S;
    nsecs = (int)(nsfiletime % NS_PER_S);
    return common_filetime_to_nstime(nstime, ftsecs, nsecs);
}