mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
14 lines
262 B
C
14 lines
262 B
C
#pragma once
|
|
#ifdef Q_OS_WIN
|
|
#include <qt_windows.h>
|
|
|
|
#include <QObject>
|
|
|
|
uint64_t FileTimeToInt64( const FILETIME& ft ) {
|
|
ULARGE_INTEGER uli = { };
|
|
uli.LowPart = ft.dwLowDateTime;
|
|
uli.HighPart = ft.dwHighDateTime;
|
|
return uli.QuadPart;
|
|
}
|
|
#endif
|