MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / StaticWinHttpCallback

Function StaticWinHttpCallback

src/network/core/http_winhttp.cpp:198–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static void CALLBACK StaticWinHttpCallback(HINTERNET, DWORD_PTR context, DWORD code, void *info, DWORD length)
199{
200 if (context == 0) return;
201
202 NetworkHTTPRequest *request = (NetworkHTTPRequest *)context;
203 request->WinHttpCallback(code, info, length);
204}
205
206/**
207 * Start the HTTP request handling.

Callers

nothing calls this directly

Calls 1

WinHttpCallbackMethod · 0.80

Tested by

no test coverage detected