From f56e9ff07c102fe0a5264b9ecb54b860c559fee7 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 13 Jul 2019 17:47:35 +0530 Subject: [PATCH] seems sysallocstringbytelen is used mostly with null --- texthook/engine/native/pchooks.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/texthook/engine/native/pchooks.cc b/texthook/engine/native/pchooks.cc index 39a7135..40e026f 100644 --- a/texthook/engine/native/pchooks.cc +++ b/texthook/engine/native/pchooks.cc @@ -293,7 +293,6 @@ void PcHooks::hookOtherPcFunctions() if (HMODULE module = GetModuleHandleW(L"OLEAUT32.dll")) { NEW_MODULE_HOOK(module, SysAllocString, s_arg1, 0, 0, 0, USING_UNICODE|USING_STRING, 0) - NEW_MODULE_HOOK(module, SysAllocStringByteLen, s_arg1, 0, 0, 0, USING_STRING, s_arg2 / arg_sz) NEW_MODULE_HOOK(module, SysAllocStringLen, s_arg1, 0, 0, 0, USING_UNICODE|USING_STRING, s_arg2 / arg_sz) } }