[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] New functions for the Time Module
From: |
Aleksander Morgado |
Subject: |
Re: [pdf-devel] New functions for the Time Module |
Date: |
Sat, 26 Jul 2008 12:22:27 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080724) |
> pdf_status_t
> pdf_time_w32_set_from_filetime(pdf_time_t time_var, const FILETIME
> *p_filetime);
>
>
In fact, this is better as I don't need to convert FILETIME to
pdf_i64_t. We can transform it in a SYSTEMTIME structure (calendar
view), then back to our pdf_time_cal_s calendar type, and set it with
pdf_time_from_cal().
A faster way would be to read the contents of the FILETIME structure
directly and try the conversion to pdf_i64_t, but I'm not sure if that
structure should be used as a non-opaque type.
Cheers,
-Aleksander