call UrlMkSetSessionOption with INTERNET_OPTION_PROXYPrivate Declare Sub UrlMkSetSessionOption Lib "urlmon.dll" _ (ByVal dwoption As Long, ByVal pbuffer As string, _ ByVal dwbufferlength As Long, _ ByVal dwreserved As Long)
UrlMkSetSessionOption这个涵数竟然在所有API浏览器中都找不到,郁闷
//jiangsheng(蒋晟.Net[MVP]) call UrlMkSetSessionOption with INTERNET_OPTION_PROXYPrivate Declare Sub UrlMkSetSessionOption Lib "urlmon.dll" _ (ByVal dwoption As Long, ByVal pbuffer As string, _ ByVal dwbufferlength As Long, _ ByVal dwreserved As Long) 详细一点可以吗。
Private Declare Sub UrlMkSetSessionOption Lib "urlmon.dll" _ (ByVal dwoption As Long, ByVal pbuffer As string, _ ByVal dwbufferlength As Long, _ ByVal dwreserved As Long) Private Const URLMON_OPTION_USERAGENT = &H10000001 Private Sub Form1_Load(...) UrlMkSetSessionOption(URLMON_OPTION_USERAGENT, "test", 4, 0) End Sub
请人请教一下哈
(ByVal dwoption As Long, ByVal pbuffer As string, _
ByVal dwbufferlength As Long, _
ByVal dwreserved As Long)
call UrlMkSetSessionOption with INTERNET_OPTION_PROXYPrivate Declare Sub UrlMkSetSessionOption Lib "urlmon.dll" _
(ByVal dwoption As Long, ByVal pbuffer As string, _
ByVal dwbufferlength As Long, _
ByVal dwreserved As Long) 详细一点可以吗。
(ByVal dwoption As Long, ByVal pbuffer As string, _
ByVal dwbufferlength As Long, _
ByVal dwreserved As Long)
Private Const URLMON_OPTION_USERAGENT = &H10000001 Private Sub Form1_Load(...) UrlMkSetSessionOption(URLMON_OPTION_USERAGENT, "test", 4, 0)
End Sub