Changeset 540
- Timestamp:
- Jul 13, 2008, 12:06:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/api_wininet.sbp
r497 r540 9 9 Const _FuncName_FtpFindFirstFile = "FtpFindFirstFileW" 10 10 Const _FuncName_InternetFindNextFile = "InternetFindNextFileW" 11 Const _FuncName_InternetOpenUrl = "InternetOpenUrlW" 12 Const _FuncName_HttpQueryInfo = "HttpQueryInfoW" 11 13 #else 12 14 Const _FuncName_InternetOpen = "InternetOpenA" … … 17 19 Const _FuncName_FtpFindFirstFile = "FtpFindFirstFileA" 18 20 Const _FuncName_InternetFindNextFile = "InternetFindNextFileA" 21 Const _FuncName_InternetOpenUrl = "InternetOpenUrlA" 22 Const _FuncName_HttpQueryInfo = "HttpQueryInfoA" 19 23 #endif 20 24 … … 69 73 Declare Function InternetCloseHandle Lib "wininet.dll" (hInternet As HINTERNET) As BOOL 70 74 75 Declare Function InternetOpenUrl Lib "wininet.dll" Alias _FuncName_InternetOpenUrl ( 76 hInternet As HINTERNET, 77 lpszUrl As LPCTSTR, 78 lpszHeaders As LPCTSTR, 79 dwHeadersLength As DWord, 80 dwFlags As DWord, 81 dwContext As DWORD_PTR ) As HINTERNET 82 83 84 85 '---------------- 86 ' HTTP 87 '---------------- 88 89 Const HTTP_QUERY_MIME_VERSION = 0 90 Const HTTP_QUERY_CONTENT_TYPE = 1 91 Const HTTP_QUERY_CONTENT_TRANSFER_ENCODING = 2 92 Const HTTP_QUERY_CONTENT_ID = 3 93 Const HTTP_QUERY_CONTENT_DESCRIPTION = 4 94 Const HTTP_QUERY_CONTENT_LENGTH = 5 95 Const HTTP_QUERY_CONTENT_LANGUAGE = 6 96 Const HTTP_QUERY_ALLOW = 7 97 Const HTTP_QUERY_PUBLIC = 8 98 Const HTTP_QUERY_DATE = 9 99 Const HTTP_QUERY_EXPIRES = 10 100 Const HTTP_QUERY_LAST_MODIFIED = 11 101 Const HTTP_QUERY_MESSAGE_ID = 12 102 Const HTTP_QUERY_URI = 13 103 Const HTTP_QUERY_DERIVED_FROM = 14 104 Const HTTP_QUERY_COST = 15 105 Const HTTP_QUERY_LINK = 16 106 Const HTTP_QUERY_PRAGMA = 17 107 Const HTTP_QUERY_VERSION = 18 ' special: part of status line 108 Const HTTP_QUERY_STATUS_CODE = 19 ' special: part of status line 109 Const HTTP_QUERY_STATUS_TEXT = 20 ' special: part of status line 110 Const HTTP_QUERY_RAW_HEADERS = 21 ' special: all headers as ASCIIZ 111 Const HTTP_QUERY_RAW_HEADERS_CRLF = 22 ' special: all headers 112 Const HTTP_QUERY_CONNECTION = 23 113 Const HTTP_QUERY_ACCEPT = 24 114 Const HTTP_QUERY_ACCEPT_CHARSET = 25 115 Const HTTP_QUERY_ACCEPT_ENCODING = 26 116 Const HTTP_QUERY_ACCEPT_LANGUAGE = 27 117 Const HTTP_QUERY_AUTHORIZATION = 28 118 Const HTTP_QUERY_CONTENT_ENCODING = 29 119 Const HTTP_QUERY_FORWARDED = 30 120 Const HTTP_QUERY_FROM = 31 121 Const HTTP_QUERY_IF_MODIFIED_SINCE = 32 122 Const HTTP_QUERY_LOCATION = 33 123 Const HTTP_QUERY_ORIG_URI = 34 124 Const HTTP_QUERY_REFERER = 35 125 Const HTTP_QUERY_RETRY_AFTER = 36 126 Const HTTP_QUERY_SERVER = 37 127 Const HTTP_QUERY_TITLE = 38 128 Const HTTP_QUERY_USER_AGENT = 39 129 Const HTTP_QUERY_WWW_AUTHENTICATE = 40 130 Const HTTP_QUERY_PROXY_AUTHENTICATE = 41 131 Const HTTP_QUERY_ACCEPT_RANGES = 42 132 Const HTTP_QUERY_SET_COOKIE = 43 133 Const HTTP_QUERY_COOKIE = 44 134 Const HTTP_QUERY_REQUEST_METHOD = 45 ' special: GET/POST etc. 135 Const HTTP_QUERY_REFRESH = 46 136 Const HTTP_QUERY_CONTENT_DISPOSITION = 47 137 138 Declare Function HttpQueryInfo Lib "wininet.dll" Alias _FuncName_HttpQueryInfo ( 139 hRequest As HINTERNET, 140 dwInfoLevel As DWord, 141 lpBuffer As VoidPtr, 142 ByRef lpdwBufferLength As DWord, 143 ByRef lpdwIndex As DWord ) As BOOL 71 144 72 145
Note:
See TracChangeset
for help on using the changeset viewer.