Chris Shearer Cooper
2008-08-15 14:03:19 UTC
I need to copy the IE proxy settings for use by my WinHTTP-based
application, and I found this web site that describes 90% of what I
need to know ...
http://msdn.microsoft.com/en-us/library/aa384075.aspx
but do I need to change the 'dwAccessType' flag that I pass to
WinHttpOpen? I'm guessing that if either lpszProxy or lpszProxyBypass
is non-NULL in the WINHTTP_CURRENT_USER_IE_PROXY_CONFIG structure, I
need to set the dwAccessType flag to WINHTTP_ACCESS_TYPE_NAMED_PROXY
instead of WINHTTP_ACCESS_TYPE_DEFAULT_PROXY - is that correct?
Thanks,
Chris
application, and I found this web site that describes 90% of what I
need to know ...
http://msdn.microsoft.com/en-us/library/aa384075.aspx
but do I need to change the 'dwAccessType' flag that I pass to
WinHttpOpen? I'm guessing that if either lpszProxy or lpszProxyBypass
is non-NULL in the WINHTTP_CURRENT_USER_IE_PROXY_CONFIG structure, I
need to set the dwAccessType flag to WINHTTP_ACCESS_TYPE_NAMED_PROXY
instead of WINHTTP_ACCESS_TYPE_DEFAULT_PROXY - is that correct?
Thanks,
Chris