aboutsummaryrefslogtreecommitdiff
path: root/source/compat.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-06-28 17:47:19 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-06-28 17:48:11 +0200
commite3ceff428598a688500fdec2ce7e9e82b0b08105 (patch)
tree5289720abc825522e1096f1b76708d8efb348d4e /source/compat.c
parent324f441c9731c5c83261ff8f5564d7af75258a6e (diff)
get path of sysWow64 directory (required later for some sys dll path checks)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'source/compat.c')
-rw-r--r--source/compat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/compat.c b/source/compat.c
index d1ceffc..f1de75c 100644
--- a/source/compat.c
+++ b/source/compat.c
@@ -750,6 +750,11 @@ UINT WINAPI _GetSystemDirectory(LPTSTR lpBuffer, UINT uSize)
return RUN_FUNC(INFO_GETSYSDIR_ENUM, GetSystemDirectoryFunc, lpBuffer, uSize);
}
+UINT WINAPI _GetSystemWow64Directory(LPTSTR lpBuffer, UINT uSize)
+{
+ return RUN_FUNC(INFO_GETSYSWOW64DIR_ENUM, GetSystemDirectoryFunc, lpBuffer, uSize);
+}
+
DWORD WINAPI _GetCurrentDirectory(DWORD nBufferLength, LPTSTR lpBuffer)
{
return RUN_FUNC(INFO_GETCURDIR_ENUM, GetCurrentDirectoryFunc, nBufferLength, lpBuffer);