MCPcopy Create free account
hub / github.com/aixed/WeChat-Hook / LoadRealDll

Function LoadRealDll

src/version_proxy.cpp:19–31  ·  view source on GitHub ↗

========================= 加载真实 version.dll ========================= */

Source from the content-addressed store, hash-verified

17 加载真实 version.dll
18 ========================= */
19static void LoadRealDll()
20{
21 if (g_hRealVersion)
22 return;
23
24 wchar_t sysDir[MAX_PATH]{};
25 GetSystemDirectoryW(sysDir, MAX_PATH);
26
27 std::wstring path = sysDir;
28 path += L"\\version.dll";
29
30 g_hRealVersion = LoadLibraryW(path.c_str());
31}
32
33/* =========================
34 真实函数指针类型定义

Callers 1

InitRealDllFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected