diff --git a/lib/winapi/sysinfo.c b/lib/winapi/sysinfo.c index 69a28a082..2479b6d60 100644 --- a/lib/winapi/sysinfo.c +++ b/lib/winapi/sysinfo.c @@ -28,6 +28,11 @@ void GetSystemTime (LPSYSTEMTIME lpSystemTime) lpSystemTime->wDayOfWeek = timeFields.Weekday; } +void GetSystemTimeAsFileTime (LPFILETIME lpSystemTimeAsFileTime) +{ + GetSystemTimePreciseAsFileTime(lpSystemTimeAsFileTime); +} + void GetSystemTimePreciseAsFileTime (LPFILETIME lpSystemTimeAsFileTime) { assert(lpSystemTimeAsFileTime != NULL); diff --git a/lib/winapi/sysinfoapi.h b/lib/winapi/sysinfoapi.h index cdc3edd8e..c4540ff7a 100644 --- a/lib/winapi/sysinfoapi.h +++ b/lib/winapi/sysinfoapi.h @@ -13,6 +13,7 @@ extern "C" { #endif void GetSystemTime (LPSYSTEMTIME lpSystemTime); +void GetSystemTimeAsFileTime (LPFILETIME lpSystemTimeAsFileTime); void GetSystemTimePreciseAsFileTime (LPFILETIME lpSystemTimeAsFileTime); DWORD GetTickCount (void); void GetLocalTime (LPSYSTEMTIME lpSystemTime);