MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / ThrowIfZero

Function ThrowIfZero

Win32Lib/Win32Lib.cpp:172–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void 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
181FILETIME FileTimeToLocalFileTime(const FILETIME& ft)
182{

Callers 3

FileTimeToLocalFileTimeFunction · 0.85
LocalFileTimeToFileTimeFunction · 0.85
FileTimeToSystemTimeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected