diff options
Diffstat (limited to 'src/Mayaqua/Microsoft.c')
-rw-r--r-- | src/Mayaqua/Microsoft.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Mayaqua/Microsoft.c b/src/Mayaqua/Microsoft.c index 29273186..66ab9900 100644 --- a/src/Mayaqua/Microsoft.c +++ b/src/Mayaqua/Microsoft.c @@ -15710,6 +15710,20 @@ wchar_t *MsGetWinTempDirW() return ms->WinTempDirW;
}
+UINT64 MsGetCurrentFileTime()
+{
+ SYSTEMTIME t;
+ UINT64 r = 0;
+
+ Zero(&t, sizeof(t));
+
+ GetSystemTime(&t);
+
+ SystemTimeToFileTime(&t, (FILETIME *)&r);
+
+ return r;
+}
+
#endif // WIN32
|