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>2019-08-21 00:28:43 +0300
committerTavis Ormandy <taviso@gmail.com>2019-08-21 00:28:43 +0300
commite364b4c705973c6d0cda72306c9a1f5f07e17963 (patch)
tree8240fd28b6b67f619466db345818b9db70c7b77d
parentcbe8dc034e4f056f5bcbbf2f18cbbb877b07c2e3 (diff)
define DosDateTimeToFileTime
-rw-r--r--peloader/winapi/SystemTime.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/peloader/winapi/SystemTime.c b/peloader/winapi/SystemTime.c
index da831c7..0795e76 100644
--- a/peloader/winapi/SystemTime.c
+++ b/peloader/winapi/SystemTime.c
@@ -75,6 +75,13 @@ STATIC BOOL WINAPI GetProcessTimes(HANDLE hProcess, PFILETIME lpCreationTime, PF
return FALSE;
}
+STATIC BOOL WINAPI DosDateTimeToFileTime(WORD wFatDate, WORD wFatTime, PFILETIME lpFileTime)
+{
+ DebugLog("");
+ return FALSE;
+}
+
+
DECLARE_CRT_EXPORT("GetSystemTime", GetSystemTime);
DECLARE_CRT_EXPORT("SystemTimeToFileTime", SystemTimeToFileTime);
DECLARE_CRT_EXPORT("GetSystemTimePreciseAsFileTime", GetSystemTimePreciseAsFileTime);
@@ -83,3 +90,4 @@ DECLARE_CRT_EXPORT("QueryPerformanceCounter", QueryPerformanceCounter);
DECLARE_CRT_EXPORT("QueryPerformanceFrequency", QueryPerformanceFrequency);
DECLARE_CRT_EXPORT("GetTickCount", GetTickCount);
DECLARE_CRT_EXPORT("GetProcessTimes", GetProcessTimes);
+DECLARE_CRT_EXPORT("DosDateTimeToFileTime", DosDateTimeToFileTime);