benilla-re systems structs docs

fnInternetCallback

function · unassigned · host

Address
0x7a6b20 · 313 bytes, up to 0x7a6c58
Signature
void __stdcall (void *internet, void *context, uint32_t status, void *info, uint32_t infoLength)
Meaning
Tracks a download's WinINet status: handles, completions, the worker start and the final callback
Confidence
verified, proof one
Name from
the community database (idb)
Finding
glue/manager#the-downloads-replies

Finding: The download's replies in glue: the manager

The status callback 0x7a6b20 keeps each new handle and, on the send's first completion, its error, and starts the worker 0x7a69a0, which reads the status. From 200 to 299 each read of up to 0x4000 bytes goes to callback(param, data, size, 0, 0), the last one empty; else the result is 3 for 404 and 1 otherwise, and 2 when the send timed out. The worker then closes the connection, whose closing status frees the context and calls callback(param, 0, 0, 1, result). A read failing with an error other than pending stores no result, so the final call reports 0, as for a whole body. Nothing closes the session or the four events.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.