| 170 | } |
| 171 | |
| 172 | void ThrowIfZero(const FILETIME& ft) |
| 173 | { |
| 174 | // zero'd FILETIME conversions will fail in UTC-n, now they will always fail. |
| 175 | if (ft.dwHighDateTime == 0 && ft.dwLowDateTime == 0) |
| 176 | { |
| 177 | throw std::exception("FILETIME == 0!"); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | FILETIME FileTimeToLocalFileTime(const FILETIME& ft) |
| 182 | { |
no outgoing calls
no test coverage detected