For those who might need the list, here it is:
http://msdn.microsoft.com/en-us/library/aa385465%28v=VS.85%29.aspx
Thanks to TGC support for pointing me to that url ^_^
Most notable of the error codes are:
ERROR_INTERNET_INVALID_URL
12005
The URL is invalid.
I encountered that error when I did this:
http connect "http://www.domain.tld"
instead of doing this
http connect "www.domain.tld"
ERROR_INTERNET_INVALID_CA
12045
The function is unfamiliar with the Certificate Authority that generated the server's certificate.
I encountered that error when i tried to connect securely to a website that uses self-signed certificate which is normally considered as invalid by the browser.
I hope those who encounter those error can benefit from this post.
---
http://www.yaten.me