Desktop Functions: Smart Device Functions:
|
InternetOpen (wininet)
C# Signature:
[DllImport("wininet.dll", SetLastError=true, CharSet=CharSet.Auto)] VB Signature:
' InternetOpenTypes Const INTERNET_OPEN_TYPE_PRECONFIG = 0 ' // use registry configuration Const INTERNET_OPEN_TYPE_DIRECT = 1 ' // direct to net Const INTERNET_OPEN_TYPE_PROXY = 3 ' // via named proxy Const INTERNET_OPEN_TYPE_PRECONFIG_WITH_NO_AUTOPROXY = 4 ' // prevent using java/script/INS
Declare Function InternetOpen Lib "wininet.dll" Alias "InternetOpenA" ( _ Notes:
sAgent can be any string, it is just to identify the conection None. Tips & Tricks:Please add some! Sample Code:VB Sample:
Dim hInet As Int32 = InternetOpen(HttpAgent, INTERNET_OPEN_TYPE_PRECONFIG, _ Alternative Managed API:Do you know one? Please contribute it! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|