HttpGetContext
Returns the context handle that was associated with the HINTERNET handle.
#include <httpexp.h>
int HttpGetContext (
HINTERNET hndl,
UINT32_PTR *pContext);
If successful, returns 0. Otherwise, returns a nonzero error code.