Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/taviso/loadlibrary.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gmail.com>2021-02-03 18:50:18 +0300
committerTavis Ormandy <taviso@gmail.com>2021-02-03 18:50:18 +0300
commit19c781901cc1ab000527dee9883d1c47b67e7c13 (patch)
tree1be3e378af619403a8abb759942218ddb19f4471
parent890a53efd1e6d3c5f65a6cb1343cafce17e5213a (diff)
mising stub for FileTimeToSystemTimex86_64
-rw-r--r--peloader/winapi/SystemTime.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/peloader/winapi/SystemTime.c b/peloader/winapi/SystemTime.c
index 72146bf..26b65d7 100644
--- a/peloader/winapi/SystemTime.c
+++ b/peloader/winapi/SystemTime.c
@@ -106,6 +106,11 @@ STATIC BOOL WINAPI DosDateTimeToFileTime(WORD wFatDate, WORD wFatTime, PFILETIME
return FALSE;
}
+STATIC BOOL WINAPI FileTimeToSystemTime(PFILETIME lpFileTime, PSYSTEMTIME lpSystemTime)
+{
+ DebugLog("");
+ return FALSE;
+}
DECLARE_CRT_EXPORT("GetSystemTime", GetSystemTime);
DECLARE_CRT_EXPORT("SystemTimeToFileTime", SystemTimeToFileTime);
@@ -117,3 +122,4 @@ DECLARE_CRT_EXPORT("GetTickCount", GetTickCount);
DECLARE_CRT_EXPORT("GetTickCount64", GetTickCount64);
DECLARE_CRT_EXPORT("GetProcessTimes", GetProcessTimes);
DECLARE_CRT_EXPORT("DosDateTimeToFileTime", DosDateTimeToFileTime);
+DECLARE_CRT_EXPORT("FileTimeToSystemTime", FileTimeToSystemTime);