1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-08 12:02:36 +01:00
ScreenPlay/ScreenPlaySysInfo/mathhelper.h

14 lines
262 B
C
Raw Normal View History

2018-12-02 21:22:12 +01:00
#pragma once
2019-04-01 13:03:49 +02:00
#ifdef Q_OS_WIN
2018-12-02 21:22:12 +01:00
#include <qt_windows.h>
2019-04-01 13:03:49 +02:00
2018-12-02 21:22:12 +01:00
#include <QObject>
uint64_t FileTimeToInt64( const FILETIME& ft ) {
ULARGE_INTEGER uli = { };
uli.LowPart = ft.dwLowDateTime;
uli.HighPart = ft.dwHighDateTime;
return uli.QuadPart;
}
2019-04-01 13:03:49 +02:00
#endif