确定当前平台是否支持当前版本的Microsoft Windows HTTP Services (WinHTTP)
#Include <WinHttp.au3>
_WinHttpCheckPlatform()
None. |
成功: | 返回 1 ,当前平台受到支持 |
失败: | 返回 0 并设置 @error: |
1 - DllCall 失败 |
#AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include "WinHttp.au3"
Opt("MustDeclareVars", 1)
If Not _WinHttpCheckPlatform() Then
MsgBox(48, "Caution", "WinHTTP not available on your system!")
Exit 1
EndIf
;... 代码的剩余部分