@@ -54,7 +54,23 @@ I have tested on Windows 10 22H2 10.0.19045.2311 x64 with WSA 2210.40000.7.0.
5454
5555If you don't want to build WsaPatch.dll and patch icu.dll yourself,
5656you can download the prebuilt binaries from the [ release page] ( https://github.com/cinit/WSAPatch/releases ) .
57- (They are marked as "pre-release" because I don't know if they are stable enough.)
57+
58+ #### About winhttp.dll
59+
60+ - WsaClient.exe does use GetProcAddress to get some functions from winhttp.dll.
61+ - Some functions exist in winhttp.dll of Windows 11 22H2, but not in Windows 10 22H2.
62+ - If you create a file ` EnableDebugConsole ` in WsaClient directory or set ` wsapatch::kDebug ` in [ WsaPatch.cpp] ( WsaPatch.cpp ) to true,
63+ you will see the following message from log console.
64+ - If you copy a winhttp.dll from Windows 11 22H2 to WsaClient directory, WsaClient.exe will be able to find these functions.
65+ - WSA will still run even if you don't copy a winhttp.dll with these symbols.
66+
67+ ``` text
68+ 12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpRegisterProxyChangeNotification, result=NULL
69+ 12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpUnregisterProxyChangeNotification, result=NULL
70+ 12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpGetProxySettingsEx, result=NULL
71+ 12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpGetProxySettingsResultEx, result=NULL
72+ 12-10 16:16:29.474 W WsaPatch: -GetProcAddress: hModule=C:\WINDOWS\SYSTEM32\WINHTTP.dll(00007FFC64780000), lpProcName=WinHttpFreeProxySettingsEx, result=NULL
73+ ```
5874
5975### Problems I met
6076
0 commit comments