> 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


Reply via email to