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-01-13 00:55:29 +0300
committerTavis Ormandy <taviso@gmail.com>2021-01-13 00:55:29 +0300
commitbdedcb0b67264d4bd3eb57d1b3778866d9d73f7c (patch)
tree9439c0a6deec2498012a4a3d6983fea6a22f0e33
parent3602f396227bd42ee2b667a245dab23650a4baa2 (diff)
stub GetLocaleInfoEx, required for some samples.
-rw-r--r--peloader/winapi/Locale.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/peloader/winapi/Locale.c b/peloader/winapi/Locale.c
index 6ee2d0e..f8344cb 100644
--- a/peloader/winapi/Locale.c
+++ b/peloader/winapi/Locale.c
@@ -77,9 +77,16 @@ STATIC WINAPI int LCMapStringEx(PVOID lpLocaleName, DWORD dwMapFlags, PVOID lpSr
return cchDest > cchSrc ? cchSrc : cchDest;
}
+STATIC WINAPI int GetLocaleInfoEx(LPCWSTR lpLocaleName, DWORD LCType, LPWSTR lpLCData, int cchData)
+{
+ DebugLog("%S, %d, %S, %d", lpLocaleName, LCType, lpLCData, cchData);
+ return 0;
+}
+
DECLARE_CRT_EXPORT("GetACP", GetACP);
DECLARE_CRT_EXPORT("IsValidCodePage", IsValidCodePage);
DECLARE_CRT_EXPORT("GetCPInfo", GetCPInfo);
DECLARE_CRT_EXPORT("LocaleNameToLCID", LocaleNameToLCID);
DECLARE_CRT_EXPORT("LCMapStringW", LCMapStringW);
DECLARE_CRT_EXPORT("LCMapStringEx", LCMapStringEx);
+DECLARE_CRT_EXPORT("GetLocaleInfoEx", GetLocaleInfoEx);