Skip to content

Commit

Permalink
[net] drop direct hooking into wininet DLL and use delay-loading instead
Browse files Browse the repository at this point in the history
  • Loading branch information
memoarfaa committed Jul 1, 2024
1 parent bdff2dc commit a5912fa
Show file tree
Hide file tree
Showing 8 changed files with 10,484 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .mingw/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ TARGET := $(word 1,$(subst -, ,$(TUPLE)))
DEF_SUFFIX := $(if $(TARGET:x86_64=),.def,.def64)

.PHONY: all
all: dwmapi-delaylib.lib version-delaylib.lib wintrust-delaylib.lib
all: dwmapi-delaylib.lib version-delaylib.lib wininet-delaylib.lib wintrust-delaylib.lib

%.def64: %.def
$(AM_V_SED) "s/@.*//" $< >$@
Expand Down
2 changes: 1 addition & 1 deletion .mingw/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ uninstall-am:


.PHONY: all
all: dwmapi-delaylib.lib version-delaylib.lib wintrust-delaylib.lib
all: dwmapi-delaylib.lib version-delaylib.lib wininet-delaylib.lib wintrust-delaylib.lib

%.def64: %.def
$(AM_V_SED) "s/@.*//" $< >$@
Expand Down
13 changes: 13 additions & 0 deletions .mingw/wininet.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
EXPORTS
HttpQueryInfoA@20
HttpOpenRequestA@32
HttpSendRequestA@20
InternetCloseHandle@4
InternetConnectA@32
InternetCrackUrlA@16
InternetGetConnectedState@8
InternetGetLastResponseInfoA@12
InternetOpenA@20
InternetReadFile@16
InternetSetOptionA@16

Loading

0 comments on commit a5912fa

Please sign in to comment.