Search the Community
Showing results for tags 'wininet error messages'.
-
Constant: ; WinHTTP Error Constant #Region Constant WinHTTP Global Const $WINHTTP_ERROR_BASE = 12000 Global Const $ERROR_WINHTTP_OUT_OF_HANDLES = 12001 Global Const $ERROR_WINHTTP_TIMEOUT = 12002 Global Const $ERROR_WINHTTP_INTERNAL_ERROR = 12004 Global Const $ERROR_WINHTTP_INVALID_URL = 12005 Global Const $ERROR_WINHTTP_UNRECOGNIZED_SCHEME = 12006 Global Const $ERROR_WINHTTP_NAME_NOT_RESOLVED = 12007 Global Const $ERROR_WINHTTP_INVALID_OPTION = 12009 Global Const $ERROR_WINHTTP_OPTION_NOT_SETTABLE = 12011 Global Const $ERROR_WINHTTP_SHUTDOWN = 12012 Global Const $ERROR_WINHTTP_LOGIN_FAILURE = 12015 Global Const $ERROR_WINHTTP_OPERATION_CANCELLED = 12017 Global Const $ERROR_WINHTTP_INCORRECT_HANDLE_TYPE = 12018 Global Const $ERROR_WINHTTP_INCORRECT_HANDLE_STATE = 12019 Global Const $ERROR_WINHTTP_CANNOT_CONNECT = 12029 Global Const $ERROR_WINHTTP_CONNECTION_ERROR = 12030 Global Const $ERROR_WINHTTP_RESEND_REQUEST = 12032 Global Const $ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED = 12044 Global Const $ERROR_WINHTTP_HEADER_NOT_FOUND = 12150 Global Const $ERROR_WINHTTP_INVALID_SERVER_RESPONSE = 12152 Global Const $ERROR_WINHTTP_INVALID_HEADER = 12153 Global Const $ERROR_WINHTTP_INVALID_QUERY_REQUEST = 12154 Global Const $ERROR_WINHTTP_HEADER_ALREADY_EXISTS = 12155 Global Const $ERROR_WINHTTP_REDIRECT_FAILED = 12156 Global Const $ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR = 12178 Global Const $ERROR_WINHTTP_BAD_AUTO_PROXY_SCRIPT = 12166 Global Const $ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT = 12167 Global Const $ERROR_WINHTTP_UNHANDLED_SCRIPT_TYPE = 12176 Global Const $ERROR_WINHTTP_SCRIPT_EXECUTION_ERROR = 12177 Global Const $ERROR_WINHTTP_NOT_INITIALIZED = 12172 Global Const $ERROR_WINHTTP_SECURE_FAILURE = 12175 Global Const $ERROR_WINHTTP_SECURE_CERT_DATE_INVALID = 12037 Global Const $ERROR_WINHTTP_SECURE_CERT_CN_INVALID = 12038 Global Const $ERROR_WINHTTP_SECURE_INVALID_CA = 12045 Global Const $ERROR_WINHTTP_SECURE_CERT_REV_FAILED = 12057 Global Const $ERROR_WINHTTP_SECURE_CHANNEL_ERROR = 12157 Global Const $ERROR_WINHTTP_SECURE_INVALID_CERT = 12169 Global Const $ERROR_WINHTTP_SECURE_CERT_REVOKED = 12170 Global Const $ERROR_WINHTTP_SECURE_CERT_WRONG_USAGE = 12179 Global Const $ERROR_WINHTTP_AUTODETECTION_FAILED = 12180 Global Const $ERROR_WINHTTP_HEADER_COUNT_EXCEEDED = 12181 Global Const $ERROR_WINHTTP_HEADER_SIZE_OVERFLOW = 12182 Global Const $ERROR_WINHTTP_CHUNKED_ENCODING_HEADER_SIZE_OVERFLOW = 12183 Global Const $ERROR_WINHTTP_RESPONSE_DRAIN_OVERFLOW = 12184 Global Const $ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY = 12185 Global Const $ERROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY = 12186 Global Const $ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED_PROXY = 12187 Global Const $ERROR_WINHTTP_SECURE_FAILURE_PROXY = 12188 Global Const $ERROR_WINHTTP_RESERVED_189 = 12189 Global Const $ERROR_WINHTTP_HTTP_PROTOCOL_MISMATCH = 12190 Global Const $ERROR_WINHTTP_GLOBAL_CALLBACK_FAILED = 12191 Global Const $ERROR_WINHTTP_FEATURE_DISABLED = 12192 Global Const $WINHTTP_ERROR_LAST = $ERROR_WINHTTP_FEATURE_DISABLED #EndRegion Constant WinHTTP ; WinINET Error Constant #Region Constant WinINET Global Const $INTERNET_ERROR_BASE = 12000 Global Const $ERROR_INTERNET_OUT_OF_HANDLES = 12001 Global Const $ERROR_INTERNET_TIMEOUT = 12002 Global Const $ERROR_INTERNET_EXTENDED_ERROR = 12003 Global Const $ERROR_INTERNET_INTERNAL_ERROR = 12004 Global Const $ERROR_INTERNET_INVALID_URL = 12005 Global Const $ERROR_INTERNET_UNRECOGNIZED_SCHEME = 12006 Global Const $ERROR_INTERNET_NAME_NOT_RESOLVED = 12007 Global Const $ERROR_INTERNET_PROTOCOL_NOT_FOUND = 12008 Global Const $ERROR_INTERNET_INVALID_OPTION = 12009 Global Const $ERROR_INTERNET_BAD_OPTION_LENGTH = 12010 Global Const $ERROR_INTERNET_OPTION_NOT_SETTABLE = 12011 Global Const $ERROR_INTERNET_SHUTDOWN = 12012 Global Const $ERROR_INTERNET_INCORRECT_USER_NAME = 12013 Global Const $ERROR_INTERNET_INCORRECT_PASSWORD = 12014 Global Const $ERROR_INTERNET_LOGIN_FAILURE = 12015 Global Const $ERROR_INTERNET_INVALID_OPERATION = 12016 Global Const $ERROR_INTERNET_OPERATION_CANCELLED = 12017 Global Const $ERROR_INTERNET_INCORRECT_HANDLE_TYPE = 12018 Global Const $ERROR_INTERNET_INCORRECT_HANDLE_STATE = 12019 Global Const $ERROR_INTERNET_NOT_PROXY_REQUEST = 12020 Global Const $ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND = 12021 Global Const $ERROR_INTERNET_BAD_REGISTRY_PARAMETER = 12022 Global Const $ERROR_INTERNET_NO_DIRECT_ACCESS = 12023 Global Const $ERROR_INTERNET_NO_CONTEXT = 12024 Global Const $ERROR_INTERNET_NO_CALLBACK = 12025 Global Const $ERROR_INTERNET_REQUEST_PENDING = 12026 Global Const $ERROR_INTERNET_INCORRECT_FORMAT = 12027 Global Const $ERROR_INTERNET_ITEM_NOT_FOUND = 12028 Global Const $ERROR_INTERNET_CANNOT_CONNECT = 12029 Global Const $ERROR_INTERNET_CONNECTION_ABORTED = 12030 Global Const $ERROR_INTERNET_CONNECTION_RESET = 12031 Global Const $ERROR_INTERNET_FORCE_RETRY = 12032 Global Const $ERROR_INTERNET_INVALID_PROXY_REQUEST = 12033 Global Const $ERROR_INTERNET_NEED_UI = 12034 Global Const $ERROR_INTERNET_HANDLE_EXISTS = 12036 Global Const $ERROR_INTERNET_SEC_CERT_DATE_INVALID = 12037 Global Const $ERROR_INTERNET_SEC_CERT_CN_INVALID = 12038 Global Const $ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR = 12039 Global Const $ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR = 12040 Global Const $ERROR_INTERNET_MIXED_SECURITY = 12041 Global Const $ERROR_INTERNET_CHG_POST_IS_NON_SECURE = 12042 Global Const $ERROR_INTERNET_POST_IS_NON_SECURE = 12043 Global Const $ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED = 12044 Global Const $ERROR_INTERNET_INVALID_CA = 12045 Global Const $ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP = 12046 Global Const $ERROR_INTERNET_ASYNC_THREAD_FAILED = 12047 Global Const $ERROR_INTERNET_REDIRECT_SCHEME_CHANGE = 12048 Global Const $ERROR_INTERNET_DIALOG_PENDING = 12049 Global Const $ERROR_INTERNET_RETRY_DIALOG = 12050 Global Const $ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR = 12052 Global Const $ERROR_INTERNET_INSERT_CDROM = 12053 Global Const $ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED = 12054 Global Const $ERROR_INTERNET_SEC_CERT_ERRORS = 12055 Global Const $ERROR_INTERNET_SEC_CERT_NO_REV = 12056 Global Const $ERROR_INTERNET_SEC_CERT_REV_FAILED = 12057 Global Const $ERROR_HTTP_HSTS_REDIRECT_REQUIRED = 12060 Global Const $ERROR_INTERNET_SEC_CERT_WEAK_SIGNATURE = 12062 Global Const $ERROR_FTP_TRANSFER_IN_PROGRESS = 12110 Global Const $ERROR_FTP_DROPPED = 12111 Global Const $ERROR_FTP_NO_PASSIVE_MODE = 12112 Global Const $ERROR_GOPHER_PROTOCOL_ERROR = 12130 Global Const $ERROR_GOPHER_NOT_FILE = 12131 Global Const $ERROR_GOPHER_DATA_ERROR = 12132 Global Const $ERROR_GOPHER_END_OF_DATA = 12133 Global Const $ERROR_GOPHER_INVALID_LOCATOR = 12134 Global Const $ERROR_GOPHER_INCORRECT_LOCATOR_TYPE = 12135 Global Const $ERROR_GOPHER_NOT_GOPHER_PLUS = 12136 Global Const $ERROR_GOPHER_ATTRIBUTE_NOT_FOUND = 12137 Global Const $ERROR_GOPHER_UNKNOWN_LOCATOR = 12138 Global Const $ERROR_HTTP_HEADER_NOT_FOUND = 12150 Global Const $ERROR_HTTP_DOWNLEVEL_SERVER = 12151 Global Const $ERROR_HTTP_INVALID_SERVER_RESPONSE = 12152 Global Const $ERROR_HTTP_INVALID_HEADER = 12153 Global Const $ERROR_HTTP_INVALID_QUERY_REQUEST = 12154 Global Const $ERROR_HTTP_HEADER_ALREADY_EXISTS = 12155 Global Const $ERROR_HTTP_REDIRECT_FAILED = 12156 Global Const $ERROR_HTTP_NOT_REDIRECTED = 12160 Global Const $ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION = 12161 Global Const $ERROR_HTTP_COOKIE_DECLINED = 12162 Global Const $ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION = 12168 Global Const $ERROR_INTERNET_SECURITY_CHANNEL_ERROR = 12157 Global Const $ERROR_INTERNET_UNABLE_TO_CACHE_FILE = 12158 Global Const $ERROR_INTERNET_TCPIP_NOT_INSTALLED = 12159 Global Const $ERROR_INTERNET_DISCONNECTED = 12163 Global Const $ERROR_INTERNET_SERVER_UNREACHABLE = 12164 Global Const $ERROR_INTERNET_PROXY_SERVER_UNREACHABLE = 12165 Global Const $ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT = 12166 Global Const $ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT = 12167 Global Const $ERROR_INTERNET_SEC_INVALID_CERT = 12169 Global Const $ERROR_INTERNET_SEC_CERT_REVOKED = 12170 Global Const $ERROR_INTERNET_FAILED_DUETOSECURITYCHECK = 12171 Global Const $ERROR_INTERNET_NOT_INITIALIZED = 12172 Global Const $ERROR_INTERNET_NEED_MSN_SSPI_PKG = 12173 Global Const $ERROR_INTERNET_LOGIN_FAILURE_DISPLAY_ENTITY_BODY = 12174 Global Const $ERROR_INTERNET_DECODING_FAILED = 12175 Global Const $ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED_PROXY = 12187 Global Const $ERROR_INTERNET_SECURE_FAILURE_PROXY = 12188 Global Const $ERROR_INTERNET_HTTP_PROTOCOL_MISMATCH = 12190 Global Const $ERROR_INTERNET_GLOBAL_CALLBACK_FAILED = 12191 Global Const $ERROR_INTERNET_FEATURE_DISABLED = 12192 Global Const $INTERNET_ERROR_LAST = $ERROR_INTERNET_FEATURE_DISABLED Global Const $FLAGS_ERROR_UI_SHOW_IDN_HOSTNAME = 0x20 Global Const $ERROR_INTERNET_NO_NEW_CONTAINERS = 12051 Global Const $ERROR_INTERNET_SOURCE_PORT_IN_USE = 12058 Global Const $ERROR_INTERNET_INSECURE_FALLBACK_REQUIRED = 12059 Global Const $ERROR_INTERNET_PROXY_ALERT = 12061 Global Const $ERROR_INTERNET_NO_CM_CONNECTION = 12080 Global Const $ERROR_HTTP_PUSH_STATUS_CODE_NOT_SUPPORTED = 12147 Global Const $ERROR_HTTP_PUSH_RETRY_NOT_SUPPORTED = 12148 Global Const $ERROR_HTTP_PUSH_ENABLE_FAILED = 12149 Global Const $ERROR_INTERNET_DISALLOW_INPRIVATE = 12189 Global Const $ERROR_INTERNET_OFFLINE = $ERROR_INTERNET_DISCONNECTED Global Const $INTERNET_INTERNAL_ERROR_BASE = 12900 Global Const $ERROR_INTERNET_INTERNAL_SOCKET_ERROR = 12901 Global Const $ERROR_INTERNET_CONNECTION_AVAILABLE = 12902 Global Const $ERROR_INTERNET_NO_KNOWN_SERVERS = 12903 Global Const $ERROR_INTERNET_PING_FAILED = 12904 Global Const $ERROR_INTERNET_NO_PING_SUPPORT = 12905 Global Const $ERROR_INTERNET_CACHE_SUCCESS = 12906 Global Const $ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION_EX = 12907 #EndRegion Constant WinINET ; By Dao Van Trong - TRONG.LIVE UDF: ; WinHTTP Error Messages #Region WinHTTP Func _WinHTTP_GetCode_ErrorName($sErrorName = '') ; By Dao Van Trong - TRONG.LIVE Switch $sErrorName Case 'ERROR_WINHTTP_OUT_OF_HANDLES' Return 12001 Case 'ERROR_WINHTTP_TIMEOUT' Return 12002 Case 'ERROR_WINHTTP_INTERNAL_ERROR' Return 12004 Case 'ERROR_WINHTTP_INVALID_URL' Return 12005 Case 'ERROR_WINHTTP_UNRECOGNIZED_SCHEME' Return 12006 Case 'ERROR_WINHTTP_NAME_NOT_RESOLVED' Return 12007 Case 'ERROR_WINHTTP_INVALID_OPTION' Return 12009 Case 'ERROR_WINHTTP_OPTION_NOT_SETTABLE' Return 12011 Case 'ERROR_WINHTTP_SHUTDOWN' Return 12012 Case 'ERROR_WINHTTP_LOGIN_FAILURE' Return 12015 Case 'ERROR_WINHTTP_OPERATION_CANCELLED' Return 12017 Case 'ERROR_WINHTTP_INCORRECT_HANDLE_TYPE' Return 12018 Case 'ERROR_WINHTTP_INCORRECT_HANDLE_STATE' Return 12019 Case 'ERROR_WINHTTP_CANNOT_CONNECT' Return 12029 Case 'ERROR_WINHTTP_CONNECTION_ERROR' Return 12030 Case 'ERROR_WINHTTP_RESEND_REQUEST' Return 12032 Case 'ERROR_WINHTTP_SECURE_CERT_DATE_INVALID' Return 12037 Case 'ERROR_WINHTTP_SECURE_CERT_CN_INVALID' Return 12038 Case 'ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED' Return 12044 Case 'ERROR_WINHTTP_SECURE_INVALID_CA' Return 12045 Case 'ERROR_WINHTTP_SECURE_CERT_REV_FAILED' Return 12057 Case 'ERROR_WINHTTP_HEADER_NOT_FOUND' Return 12150 Case 'ERROR_WINHTTP_INVALID_SERVER_RESPONSE' Return 12152 Case 'ERROR_WINHTTP_INVALID_HEADER' Return 12153 Case 'ERROR_WINHTTP_INVALID_QUERY_REQUEST' Return 12154 Case 'ERROR_WINHTTP_HEADER_ALREADY_EXISTS' Return 12155 Case 'ERROR_WINHTTP_REDIRECT_FAILED' Return 12156 Case 'ERROR_WINHTTP_SECURE_CHANNEL_ERROR' Return 12157 Case 'ERROR_WINHTTP_BAD_AUTO_PROXY_SCRIPT' Return 12166 Case 'ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT' Return 12167 Case 'ERROR_WINHTTP_SECURE_INVALID_CERT' Return 12169 Case 'ERROR_WINHTTP_SECURE_CERT_REVOKED' Return 12170 Case 'ERROR_WINHTTP_NOT_INITIALIZED' Return 12172 Case 'ERROR_WINHTTP_SECURE_FAILURE' Return 12175 Case 'ERROR_WINHTTP_UNHANDLED_SCRIPT_TYPE' Return 12176 Case 'ERROR_WINHTTP_SCRIPT_EXECUTION_ERROR' Return 12177 Case 'ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR' Return 12178 Case 'ERROR_WINHTTP_SECURE_CERT_WRONG_USAGE' Return 12179 Case 'ERROR_WINHTTP_AUTODETECTION_FAILED' Return 12180 Case 'ERROR_WINHTTP_HEADER_COUNT_EXCEEDED' Return 12181 Case 'ERROR_WINHTTP_HEADER_SIZE_OVERFLOW' Return 12182 Case 'ERROR_WINHTTP_CHUNKED_ENCODING_HEADER_SIZE_OVERFLOW' Return 12183 Case 'ERROR_WINHTTP_RESPONSE_DRAIN_OVERFLOW' Return 12184 Case 'ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY' Return 12185 Case 'ERROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY' Return 12186 Case 'ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED_PROXY' Return 12187 Case 'ERROR_WINHTTP_SECURE_FAILURE_PROXY' Return 12188 Case 'ERROR_WINHTTP_RESERVED_189' Return 12189 Case 'ERROR_WINHTTP_HTTP_PROTOCOL_MISMATCH' Return 12190 Case 'ERROR_WINHTTP_GLOBAL_CALLBACK_FAILED' Return 12191 Case 'ERROR_WINHTTP_FEATURE_DISABLED', 'WINHTTP_ERROR_LAST' Return 12192 Case Else Return SetError(1, 0, "") EndSwitch EndFunc ;==>_WinHTTP_GetCode_ErrorName Func _WinHTTP_GetName_ErrorCode($nErrorCode = 0) ; By Dao Van Trong - TRONG.LIVE Switch $nErrorCode Case 12001 Return "ERROR_WINHTTP_OUT_OF_HANDLES" Case 12002 Return "ERROR_WINHTTP_TIMEOUT" Case 12004 Return "ERROR_WINHTTP_INTERNAL_ERROR" Case 12005 Return "ERROR_WINHTTP_INVALID_URL" Case 12006 Return "ERROR_WINHTTP_UNRECOGNIZED_SCHEME" Case 12007 Return "ERROR_WINHTTP_NAME_NOT_RESOLVED" Case 12009 Return "ERROR_WINHTTP_INVALID_OPTION" Case 12011 Return "ERROR_WINHTTP_OPTION_NOT_SETTABLE" Case 12012 Return "ERROR_WINHTTP_SHUTDOWN" Case 12015 Return "ERROR_WINHTTP_LOGIN_FAILURE" Case 12017 Return "ERROR_WINHTTP_OPERATION_CANCELLED" Case 12018 Return "ERROR_WINHTTP_INCORRECT_HANDLE_TYPE" Case 12019 Return "ERROR_WINHTTP_INCORRECT_HANDLE_STATE" Case 12029 Return "ERROR_WINHTTP_CANNOT_CONNECT" Case 12030 Return "ERROR_WINHTTP_CONNECTION_ERROR" Case 12032 Return "ERROR_WINHTTP_RESEND_REQUEST" Case 12044 Return "ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED" Case 12150 Return "ERROR_WINHTTP_HEADER_NOT_FOUND" Case 12152 Return "ERROR_WINHTTP_INVALID_SERVER_RESPONSE" Case 12153 Return "ERROR_WINHTTP_INVALID_HEADER" Case 12154 Return "ERROR_WINHTTP_INVALID_QUERY_REQUEST" Case 12155 Return "ERROR_WINHTTP_HEADER_ALREADY_EXISTS" Case 12156 Return "ERROR_WINHTTP_REDIRECT_FAILED" Case 12178 Return "ERROR_WINHTTP_AUTO_PROXY_SERVICE_ERROR" Case 12166 Return "ERROR_WINHTTP_BAD_AUTO_PROXY_SCRIPT" Case 12167 Return "ERROR_WINHTTP_UNABLE_TO_DOWNLOAD_SCRIPT" Case 12176 Return "ERROR_WINHTTP_UNHANDLED_SCRIPT_TYPE" Case 12177 Return "ERROR_WINHTTP_SCRIPT_EXECUTION_ERROR" Case 12172 Return "ERROR_WINHTTP_NOT_INITIALIZED" Case 12175 Return "ERROR_WINHTTP_SECURE_FAILURE" Case 12037 Return "ERROR_WINHTTP_SECURE_CERT_DATE_INVALID" Case 12038 Return "ERROR_WINHTTP_SECURE_CERT_CN_INVALID" Case 12045 Return "ERROR_WINHTTP_SECURE_INVALID_CA" Case 12057 Return "ERROR_WINHTTP_SECURE_CERT_REV_FAILED" Case 12157 Return "ERROR_WINHTTP_SECURE_CHANNEL_ERROR" Case 12169 Return "ERROR_WINHTTP_SECURE_INVALID_CERT" Case 12170 Return "ERROR_WINHTTP_SECURE_CERT_REVOKED" Case 12179 Return "ERROR_WINHTTP_SECURE_CERT_WRONG_USAGE" Case 12180 Return "ERROR_WINHTTP_AUTODETECTION_FAILED" Case 12181 Return "ERROR_WINHTTP_HEADER_COUNT_EXCEEDED" Case 12182 Return "ERROR_WINHTTP_HEADER_SIZE_OVERFLOW" Case 12183 Return "ERROR_WINHTTP_CHUNKED_ENCODING_HEADER_SIZE_OVERFLOW" Case 12184 Return "ERROR_WINHTTP_RESPONSE_DRAIN_OVERFLOW" Case 12185 Return "ERROR_WINHTTP_CLIENT_CERT_NO_PRIVATE_KEY" Case 12186 Return "ERROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY" Case 12187 Return "ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED_PROXY" Case 12188 Return "ERROR_WINHTTP_SECURE_FAILURE_PROXY" Case 12189 Return "ERROR_WINHTTP_RESERVED_189" Case 12190 Return "ERROR_WINHTTP_HTTP_PROTOCOL_MISMATCH" Case 12191 Return "ERROR_WINHTTP_GLOBAL_CALLBACK_FAILED" Case 12192 Return "ERROR_WINHTTP_FEATURE_DISABLED" Return "WINHTTP_ERROR_LAST" Case Else Return SetError(1, 0, "") EndSwitch EndFunc ;==>_WinHTTP_GetName_ErrorCode #EndRegion WinHTTP ; WinINET Error Messages #Region WinINET Func _WinInet_GetCode_ErrorName($sErrorName = '') ; By Dao Van Trong - TRONG.LIVE Switch $sErrorName Case "INTERNET_ERROR_BASE" Return 12000 Case "ERROR_INTERNET_OUT_OF_HANDLES" Return 12001 Case "ERROR_INTERNET_TIMEOUT" Return 12002 Case "ERROR_INTERNET_EXTENDED_ERROR" Return 12003 Case "ERROR_INTERNET_INTERNAL_ERROR" Return 12004 Case "ERROR_INTERNET_INVALID_URL" Return 12005 Case "ERROR_INTERNET_UNRECOGNIZED_SCHEME" Return 12006 Case "ERROR_INTERNET_NAME_NOT_RESOLVED" Return 12007 Case "ERROR_INTERNET_PROTOCOL_NOT_FOUND" Return 12008 Case "ERROR_INTERNET_INVALID_OPTION" Return 12009 Case "ERROR_INTERNET_BAD_OPTION_LENGTH" Return 12010 Case "ERROR_INTERNET_OPTION_NOT_SETTABLE" Return 12011 Case "ERROR_INTERNET_SHUTDOWN" Return 12012 Case "ERROR_INTERNET_INCORRECT_USER_NAME" Return 12013 Case "ERROR_INTERNET_INCORRECT_PASSWORD" Return 12014 Case "ERROR_INTERNET_LOGIN_FAILURE" Return 12015 Case "ERROR_INTERNET_INVALID_OPERATION" Return 12016 Case "ERROR_INTERNET_OPERATION_CANCELLED" Return 12017 Case "ERROR_INTERNET_INCORRECT_HANDLE_TYPE" Return 12018 Case "ERROR_INTERNET_INCORRECT_HANDLE_STATE" Return 12019 Case "ERROR_INTERNET_NOT_PROXY_REQUEST" Return 12020 Case "ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND" Return 12021 Case "ERROR_INTERNET_BAD_REGISTRY_PARAMETER" Return 12022 Case "ERROR_INTERNET_NO_DIRECT_ACCESS" Return 12023 Case "ERROR_INTERNET_NO_CONTEXT" Return 12024 Case "ERROR_INTERNET_NO_CALLBACK" Return 12025 Case "ERROR_INTERNET_REQUEST_PENDING" Return 12026 Case "ERROR_INTERNET_INCORRECT_FORMAT" Return 12027 Case "ERROR_INTERNET_ITEM_NOT_FOUND" Return 12028 Case "ERROR_INTERNET_CANNOT_CONNECT" Return 12029 Case "ERROR_INTERNET_CONNECTION_ABORTED" Return 12030 Case "ERROR_INTERNET_CONNECTION_RESET" Return 12031 Case "ERROR_INTERNET_FORCE_RETRY" Return 12032 Case "ERROR_INTERNET_INVALID_PROXY_REQUEST" Return 12033 Case "ERROR_INTERNET_NEED_UI" Return 12034 Case "ERROR_INTERNET_HANDLE_EXISTS" Return 12036 Case "ERROR_INTERNET_SEC_CERT_DATE_INVALID" Return 12037 Case "ERROR_INTERNET_SEC_CERT_CN_INVALID" Return 12038 Case "ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR" Return 12039 Case "ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR" Return 12040 Case "ERROR_INTERNET_MIXED_SECURITY" Return 12041 Case "ERROR_INTERNET_CHG_POST_IS_NON_SECURE" Return 12042 Case "ERROR_INTERNET_POST_IS_NON_SECURE" Return 12043 Case "ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED" Return 12044 Case "ERROR_INTERNET_INVALID_CA" Return 12045 Case "ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP" Return 12046 Case "ERROR_INTERNET_ASYNC_THREAD_FAILED" Return 12047 Case "ERROR_INTERNET_REDIRECT_SCHEME_CHANGE" Return 12048 Case "ERROR_INTERNET_DIALOG_PENDING" Return 12049 Case "ERROR_INTERNET_RETRY_DIALOG" Return 12050 Case "ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR" Return 12052 Case "ERROR_INTERNET_INSERT_CDROM" Return 12053 Case "ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED" Return 12054 Case "ERROR_INTERNET_SEC_CERT_ERRORS" Return 12055 Case "ERROR_INTERNET_SEC_CERT_NO_REV" Return 12056 Case "ERROR_INTERNET_SEC_CERT_REV_FAILED" Return 12057 Case "ERROR_HTTP_HSTS_REDIRECT_REQUIRED" Return 12060 Case "ERROR_INTERNET_SEC_CERT_WEAK_SIGNATURE" Return 12062 Case "ERROR_FTP_TRANSFER_IN_PROGRESS" Return 12110 Case "ERROR_FTP_DROPPED" Return 12111 Case "ERROR_FTP_NO_PASSIVE_MODE" Return 12112 Case "ERROR_GOPHER_PROTOCOL_ERROR" Return 12130 Case "ERROR_GOPHER_NOT_FILE" Return 12131 Case "ERROR_GOPHER_DATA_ERROR" Return 12132 Case "ERROR_GOPHER_END_OF_DATA" Return 12133 Case "ERROR_GOPHER_INVALID_LOCATOR" Return 12134 Case "ERROR_GOPHER_INCORRECT_LOCATOR_TYPE" Return 12135 Case "ERROR_GOPHER_NOT_GOPHER_PLUS" Return 12136 Case "ERROR_GOPHER_ATTRIBUTE_NOT_FOUND" Return 12137 Case "ERROR_GOPHER_UNKNOWN_LOCATOR" Return 12138 Case "ERROR_HTTP_HEADER_NOT_FOUND" Return 12150 Case "ERROR_HTTP_DOWNLEVEL_SERVER" Return 12151 Case "ERROR_HTTP_INVALID_SERVER_RESPONSE" Return 12152 Case "ERROR_HTTP_INVALID_HEADER" Return 12153 Case "ERROR_HTTP_INVALID_QUERY_REQUEST" Return 12154 Case "ERROR_HTTP_HEADER_ALREADY_EXISTS" Return 12155 Case "ERROR_HTTP_REDIRECT_FAILED" Return 12156 Case "ERROR_HTTP_NOT_REDIRECTED" Return 12160 Case "ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION" Return 12161 Case "ERROR_HTTP_COOKIE_DECLINED" Return 12162 Case "ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION" Return 12168 Case "ERROR_INTERNET_SECURITY_CHANNEL_ERROR" Return 12157 Case "ERROR_INTERNET_UNABLE_TO_CACHE_FILE" Return 12158 Case "ERROR_INTERNET_TCPIP_NOT_INSTALLED" Return 12159 Case "ERROR_INTERNET_DISCONNECTED", "ERROR_INTERNET_OFFLINE" Return 12163 Case "ERROR_INTERNET_SERVER_UNREACHABLE" Return 12164 Case "ERROR_INTERNET_PROXY_SERVER_UNREACHABLE" Return 12165 Case "ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT" Return 12166 Case "ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT" Return 12167 Case "ERROR_INTERNET_SEC_INVALID_CERT" Return 12169 Case "ERROR_INTERNET_SEC_CERT_REVOKED" Return 12170 Case "ERROR_INTERNET_FAILED_DUETOSECURITYCHECK" Return 12171 Case "ERROR_INTERNET_NOT_INITIALIZED" Return 12172 Case "ERROR_INTERNET_NEED_MSN_SSPI_PKG" Return 12173 Case "ERROR_INTERNET_LOGIN_FAILURE_DISPLAY_ENTITY_BODY" Return 12174 Case "ERROR_INTERNET_DECODING_FAILED" Return 12175 Case "ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED_PROXY" Return 12187 Case "ERROR_INTERNET_SECURE_FAILURE_PROXY" Return 12188 Case "ERROR_INTERNET_HTTP_PROTOCOL_MISMATCH" Return 12190 Case "ERROR_INTERNET_GLOBAL_CALLBACK_FAILED" Return 12191 Case "ERROR_INTERNET_FEATURE_DISABLED", "INTERNET_ERROR_LAST" Return 12192 Case "ERROR_INTERNET_NO_NEW_CONTAINERS" Return 12051 Case "ERROR_INTERNET_SOURCE_PORT_IN_USE" Return 12058 Case "ERROR_INTERNET_INSECURE_FALLBACK_REQUIRED" Return 12059 Case "ERROR_INTERNET_PROXY_ALERT" Return 12061 Case "ERROR_INTERNET_NO_CM_CONNECTION" Return 12080 Case "ERROR_HTTP_PUSH_STATUS_CODE_NOT_SUPPORTED" Return 12147 Case "ERROR_HTTP_PUSH_RETRY_NOT_SUPPORTED" Return 12148 Case "ERROR_HTTP_PUSH_ENABLE_FAILED" Return 12149 Case "ERROR_INTERNET_DISALLOW_INPRIVATE" Return 12189 Case "INTERNET_INTERNAL_ERROR_BASE" Return 12900 Case "ERROR_INTERNET_INTERNAL_SOCKET_ERROR" Return 12901 Case "ERROR_INTERNET_CONNECTION_AVAILABLE" Return 12902 Case "ERROR_INTERNET_NO_KNOWN_SERVERS" Return 12903 Case "ERROR_INTERNET_PING_FAILED" Return 12904 Case "ERROR_INTERNET_NO_PING_SUPPORT" Return 12905 Case "ERROR_INTERNET_CACHE_SUCCESS" Return 12906 Case "ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION_EX" Return 12907 Case Else Return SetError(1, 0, "") EndSwitch EndFunc ;==>_WinInet_GetCode_ErrorName Func _WinInet_GetName_ErrorCode($nErrorCode = 0) ; By Dao Van Trong - TRONG.LIVE Switch $nErrorCode Case 12000 Return "INTERNET_ERROR_BASE" Case 12001 Return "ERROR_INTERNET_OUT_OF_HANDLES" Case 12002 Return "ERROR_INTERNET_TIMEOUT" Case 12003 Return "ERROR_INTERNET_EXTENDED_ERROR" Case 12004 Return "ERROR_INTERNET_INTERNAL_ERROR" Case 12005 Return "ERROR_INTERNET_INVALID_URL" Case 12006 Return "ERROR_INTERNET_UNRECOGNIZED_SCHEME" Case 12007 Return "ERROR_INTERNET_NAME_NOT_RESOLVED" Case 12008 Return "ERROR_INTERNET_PROTOCOL_NOT_FOUND" Case 12009 Return "ERROR_INTERNET_INVALID_OPTION" Case 12010 Return "ERROR_INTERNET_BAD_OPTION_LENGTH" Case 12011 Return "ERROR_INTERNET_OPTION_NOT_SETTABLE" Case 12012 Return "ERROR_INTERNET_SHUTDOWN" Case 12013 Return "ERROR_INTERNET_INCORRECT_USER_NAME" Case 12014 Return "ERROR_INTERNET_INCORRECT_PASSWORD" Case 12015 Return "ERROR_INTERNET_LOGIN_FAILURE" Case 12016 Return "ERROR_INTERNET_INVALID_OPERATION" Case 12017 Return "ERROR_INTERNET_OPERATION_CANCELLED" Case 12018 Return "ERROR_INTERNET_INCORRECT_HANDLE_TYPE" Case 12019 Return "ERROR_INTERNET_INCORRECT_HANDLE_STATE" Case 12020 Return "ERROR_INTERNET_NOT_PROXY_REQUEST" Case 12021 Return "ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND" Case 12022 Return "ERROR_INTERNET_BAD_REGISTRY_PARAMETER" Case 12023 Return "ERROR_INTERNET_NO_DIRECT_ACCESS" Case 12024 Return "ERROR_INTERNET_NO_CONTEXT" Case 12025 Return "ERROR_INTERNET_NO_CALLBACK" Case 12026 Return "ERROR_INTERNET_REQUEST_PENDING" Case 12027 Return "ERROR_INTERNET_INCORRECT_FORMAT" Case 12028 Return "ERROR_INTERNET_ITEM_NOT_FOUND" Case 12029 Return "ERROR_INTERNET_CANNOT_CONNECT" Case 12030 Return "ERROR_INTERNET_CONNECTION_ABORTED" Case 12031 Return "ERROR_INTERNET_CONNECTION_RESET" Case 12032 Return "ERROR_INTERNET_FORCE_RETRY" Case 12033 Return "ERROR_INTERNET_INVALID_PROXY_REQUEST" Case 12034 Return "ERROR_INTERNET_NEED_UI" Case 12036 Return "ERROR_INTERNET_HANDLE_EXISTS" Case 12037 Return "ERROR_INTERNET_SEC_CERT_DATE_INVALID" Case 12038 Return "ERROR_INTERNET_SEC_CERT_CN_INVALID" Case 12039 Return "ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR" Case 12040 Return "ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR" Case 12041 Return "ERROR_INTERNET_MIXED_SECURITY" Case 12042 Return "ERROR_INTERNET_CHG_POST_IS_NON_SECURE" Case 12043 Return "ERROR_INTERNET_POST_IS_NON_SECURE" Case 12044 Return "ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED" Case 12045 Return "ERROR_INTERNET_INVALID_CA" Case 12046 Return "ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP" Case 12047 Return "ERROR_INTERNET_ASYNC_THREAD_FAILED" Case 12048 Return "ERROR_INTERNET_REDIRECT_SCHEME_CHANGE" Case 12049 Return "ERROR_INTERNET_DIALOG_PENDING" Case 12050 Return "ERROR_INTERNET_RETRY_DIALOG" Case 12052 Return "ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR" Case 12053 Return "ERROR_INTERNET_INSERT_CDROM" Case 12054 Return "ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED" Case 12055 Return "ERROR_INTERNET_SEC_CERT_ERRORS" Case 12056 Return "ERROR_INTERNET_SEC_CERT_NO_REV" Case 12057 Return "ERROR_INTERNET_SEC_CERT_REV_FAILED" Case 12060 Return "ERROR_HTTP_HSTS_REDIRECT_REQUIRED" Case 12062 Return "ERROR_INTERNET_SEC_CERT_WEAK_SIGNATURE" Case 12110 Return "ERROR_FTP_TRANSFER_IN_PROGRESS" Case 12111 Return "ERROR_FTP_DROPPED" Case 12112 Return "ERROR_FTP_NO_PASSIVE_MODE" Case 12130 Return "ERROR_GOPHER_PROTOCOL_ERROR" Case 12131 Return "ERROR_GOPHER_NOT_FILE" Case 12132 Return "ERROR_GOPHER_DATA_ERROR" Case 12133 Return "ERROR_GOPHER_END_OF_DATA" Case 12134 Return "ERROR_GOPHER_INVALID_LOCATOR" Case 12135 Return "ERROR_GOPHER_INCORRECT_LOCATOR_TYPE" Case 12136 Return "ERROR_GOPHER_NOT_GOPHER_PLUS" Case 12137 Return "ERROR_GOPHER_ATTRIBUTE_NOT_FOUND" Case 12138 Return "ERROR_GOPHER_UNKNOWN_LOCATOR" Case 12150 Return "ERROR_HTTP_HEADER_NOT_FOUND" Case 12151 Return "ERROR_HTTP_DOWNLEVEL_SERVER" Case 12152 Return "ERROR_HTTP_INVALID_SERVER_RESPONSE" Case 12153 Return "ERROR_HTTP_INVALID_HEADER" Case 12154 Return "ERROR_HTTP_INVALID_QUERY_REQUEST" Case 12155 Return "ERROR_HTTP_HEADER_ALREADY_EXISTS" Case 12156 Return "ERROR_HTTP_REDIRECT_FAILED" Case 12160 Return "ERROR_HTTP_NOT_REDIRECTED" Case 12161 Return "ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION" Case 12162 Return "ERROR_HTTP_COOKIE_DECLINED" Case 12168 Return "ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION" Case 12157 Return "ERROR_INTERNET_SECURITY_CHANNEL_ERROR" Case 12158 Return "ERROR_INTERNET_UNABLE_TO_CACHE_FILE" Case 12159 Return "ERROR_INTERNET_TCPIP_NOT_INSTALLED" Case 12163 Return "ERROR_INTERNET_DISCONNECTED" Return "ERROR_INTERNET_OFFLINE" Case 12164 Return "ERROR_INTERNET_SERVER_UNREACHABLE" Case 12165 Return "ERROR_INTERNET_PROXY_SERVER_UNREACHABLE" Case 12166 Return "ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT" Case 12167 Return "ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT" Case 12169 Return "ERROR_INTERNET_SEC_INVALID_CERT" Case 12170 Return "ERROR_INTERNET_SEC_CERT_REVOKED" Case 12171 Return "ERROR_INTERNET_FAILED_DUETOSECURITYCHECK" Case 12172 Return "ERROR_INTERNET_NOT_INITIALIZED" Case 12173 Return "ERROR_INTERNET_NEED_MSN_SSPI_PKG" Case 12174 Return "ERROR_INTERNET_LOGIN_FAILURE_DISPLAY_ENTITY_BODY" Case 12175 Return "ERROR_INTERNET_DECODING_FAILED" Case 12187 Return "ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED_PROXY" Case 12188 Return "ERROR_INTERNET_SECURE_FAILURE_PROXY" Case 12190 Return "ERROR_INTERNET_HTTP_PROTOCOL_MISMATCH" Case 12191 Return "ERROR_INTERNET_GLOBAL_CALLBACK_FAILED" Case 12192 Return "ERROR_INTERNET_FEATURE_DISABLED" Return "INTERNET_ERROR_LAST" Case 12051 Return "ERROR_INTERNET_NO_NEW_CONTAINERS" Case 12058 Return "ERROR_INTERNET_SOURCE_PORT_IN_USE" Case 12059 Return "ERROR_INTERNET_INSECURE_FALLBACK_REQUIRED" Case 12061 Return "ERROR_INTERNET_PROXY_ALERT" Case 12080 Return "ERROR_INTERNET_NO_CM_CONNECTION" Case 12147 Return "ERROR_HTTP_PUSH_STATUS_CODE_NOT_SUPPORTED" Case 12148 Return "ERROR_HTTP_PUSH_RETRY_NOT_SUPPORTED" Case 12149 Return "ERROR_HTTP_PUSH_ENABLE_FAILED" Case 12189 Return "ERROR_INTERNET_DISALLOW_INPRIVATE" Case 12900 Return "INTERNET_INTERNAL_ERROR_BASE" Case 12901 Return "ERROR_INTERNET_INTERNAL_SOCKET_ERROR" Case 12902 Return "ERROR_INTERNET_CONNECTION_AVAILABLE" Case 12903 Return "ERROR_INTERNET_NO_KNOWN_SERVERS" Case 12904 Return "ERROR_INTERNET_PING_FAILED" Case 12905 Return "ERROR_INTERNET_NO_PING_SUPPORT" Case 12906 Return "ERROR_INTERNET_CACHE_SUCCESS" Case 12907 Return "ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION_EX" Case Else Return SetError(1, 0, "") EndSwitch EndFunc ;==>_WinInet_GetName_ErrorCode #EndRegion WinInet ; By Dao Van Trong - TRONG.LIVE
-
- wininet error messages
- winhttp error messages
- (and 2 more)