source: trunk/include/win/wininet.h@ 2226

Last change on this file since 2226 was 2226, checked in by sandervl, 26 years ago

Wininet stub dll created

File size: 51.9 KB
Line 
1/* $Id: wininet.h,v 1.1 1999-12-28 13:03:25 sandervl Exp $ */
2#ifndef __WININET_H__
3#define __WININET_H__
4
5#define INTERNETAPI
6#define URLCACHEAPI
7
8typedef LPVOID HINTERNET;
9typedef HINTERNET * LPHINTERNET;
10typedef WORD INTERNET_PORT;
11typedef INTERNET_PORT * LPINTERNET_PORT;
12
13#define INTERNET_INVALID_PORT_NUMBER 0
14
15#define INTERNET_DEFAULT_FTP_PORT 21
16#define INTERNET_DEFAULT_GOPHER_PORT 70
17#define INTERNET_DEFAULT_HTTP_PORT 80
18#define INTERNET_DEFAULT_HTTPS_PORT 443
19
20#define MAX_CACHE_ENTRY_INFO_SIZE 4096
21
22#define INTERNET_MAX_HOST_NAME_LENGTH 256
23#define INTERNET_MAX_USER_NAME_LENGTH 128
24#define INTERNET_MAX_PASSWORD_LENGTH 128
25#define INTERNET_MAX_PORT_NUMBER_LENGTH
26#define INTERNET_MAX_PORT_NUMBER_VALUE 65535
27#define INTERNET_MAX_PATH_LENGTH 1024
28#define INTERNET_MAX_PROTOCOL_NAME "gopher"
29#define INTERNET_MAX_URL_LENGTH ((sizeof(INTERNET_MAX_PROTOCOL_NAME) - 1) \
30 + sizeof("://") \
31 + INTERNET_MAX_PATH_LENGTH)
32
33#define INTERNET_KEEP_ALIVE_UNKNOWN ((DWORD)-1)
34#define INTERNET_KEEP_ALIVE_ENABLED 1
35#define INTERNET_KEEP_ALIVE_DISABLED 0
36
37#define INTERNET_REQFLAG_FROM_CACHE 0x00000001
38#define INTERNET_REQFLAG_ASYNC 0x00000002
39
40
41#define INTERNET_FLAG_IGNORE_CERT_CN_INVALID 0x00001000
42#define INTERNET_FLAG_IGNORE_CERT_DATE_INVALID 0x00002000
43#define INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS 0x00004000
44#define INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP 0x00008000
45#define INTERNET_FLAG_TRANSFER_ASCII FTP_TRANSFER_TYPE_ASCII
46#define INTERNET_FLAG_TRANSFER_BINARY FTP_TRANSFER_TYPE_BINARY
47#define INTERNET_FLAG_READ_PREFETCH 0x00100000
48#define INTERNET_FLAG_NO_AUTO_REDIRECT 0x00200000
49#define INTERNET_FLAG_KEEP_CONNECTION 0x00400000
50#define INTERNET_FLAG_SECURE 0x00800000
51#define INTERNET_FLAG_OFFLINE 0x01000000
52#define INTERNET_FLAG_MAKE_PERSISTENT 0x02000000
53#define INTERNET_FLAG_NO_CACHE_WRITE 0x04000000
54#define INTERNET_FLAG_DONT_CACHE INTERNET_FLAG_NO_CACHE_WRITE
55#define INTERNET_FLAG_PASSIVE 0x08000000
56#define INTERNET_FLAG_ASYNC 0x10000000
57#define INTERNET_FLAG_EXISTING_CONNECT 0x20000000
58#define INTERNET_FLAG_RAW_DATA 0x40000000
59#define INTERNET_FLAG_RELOAD 0x80000000
60
61
62#define SECURITY_INTERNET_MASK (INTERNET_FLAG_IGNORE_CERT_CN_INVALID | \
63 INTERNET_FLAG_IGNORE_CERT_DATE_INVALID | \
64 INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS | \
65 INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP )
66
67#define SECURITY_SET_MASK SECURITY_INTERNET_MASK
68
69#define INTERNET_FLAGS_MASK (INTERNET_FLAG_RELOAD \
70 | INTERNET_FLAG_RAW_DATA \
71 | INTERNET_FLAG_EXISTING_CONNECT \
72 | INTERNET_FLAG_ASYNC \
73 | INTERNET_FLAG_PASSIVE \
74 | INTERNET_FLAG_DONT_CACHE \
75 | INTERNET_FLAG_MAKE_PERSISTENT \
76 | INTERNET_FLAG_OFFLINE \
77 | INTERNET_FLAG_SECURE \
78 | INTERNET_FLAG_KEEP_CONNECTION \
79 | INTERNET_FLAG_NO_AUTO_REDIRECT \
80 | INTERNET_FLAG_READ_PREFETCH \
81 | SECURITY_INTERNET_MASK \
82 | INTERNET_FLAG_TRANSFER_ASCII \
83 | INTERNET_FLAG_TRANSFER_BINARY \
84 )
85
86#define INTERNET_OPTIONS_MASK (~INTERNET_FLAGS_MASK)
87
88#define INTERNET_NO_CALLBACK 0
89
90#define INTERNET_PREFETCH_PROGRESS 0
91#define INTERNET_PREFETCH_COMPLETE 1
92#define INTERNET_PREFETCH_ABORTED 2
93
94#define INTERNET_RFC1123_FORMAT 0
95#define INTERNET_RFC1123_BUFSIZE 30
96
97#define ICU_ENCODE_SPACES_ONLY 0x04000000
98#define ICU_NO_META 0x08000000
99#define ICU_DECODE 0x10000000
100#define ICU_NO_ENCODE 0x20000000
101#define ICU_USERNAME 0x40000000
102#define ICU_ESCAPE 0x80000000
103
104#define INTERNET_OPEN_TYPE_PRECONFIG 0
105#define INTERNET_OPEN_TYPE_DIRECT 1
106#define INTERNET_OPEN_TYPE_PROXY 3
107
108#define PRE_CONFIG_INTERNET_ACCESS INTERNET_OPEN_TYPE_PRECONFIG
109#define LOCAL_INTERNET_ACCESS INTERNET_OPEN_TYPE_DIRECT
110#define GATEWAY_INTERNET_ACCESS 2
111#define CERN_PROXY_INTERNET_ACCESS INTERNET_OPEN_TYPE_PROXY
112
113#define INTERNET_SERVICE_FTP 1
114#define INTERNET_SERVICE_GOPHER 2
115#define INTERNET_SERVICE_HTTP 3
116
117#define ISO_GLOBAL 0x00000001
118#define ISO_REGISTRY 0x00000002
119#define ISO_VALID_FLAGS (ISO_GLOBAL | ISO_REGISTRY)
120
121#define INTERNET_OPTION_CALLBACK 1
122#define INTERNET_OPTION_CONNECT_TIME 2
123#define INTERNET_OPTION_CONNECT_RETRIES 3
124#define INTERNET_OPTION_CONNECT_BACKOFF 4
125#define INTERNET_OPTION_SEND_TIME 5
126#define INTERNET_OPTION_CONTROL_SEND_TIME INTERNET_OPTION_SEND_TIMEOUT
127#define INTERNET_OPTION_RECEIVE_TIME 6
128#define INTERNET_OPTION_CONTROL_RECEIVE_TIME INTERNET_OPTION_RECEIVE_TIMEOUT
129#define INTERNET_OPTION_DATA_SEND_TIME 7
130#define INTERNET_OPTION_DATA_RECEIVE_TIME 8
131#define INTERNET_OPTION_HANDLE_TYPE 9
132#define INTERNET_OPTION_CONTEXT_VALUE 10
133#define INTERNET_OPTION_READ_BUFFER_SIZE 12
134#define INTERNET_OPTION_WRITE_BUFFER_SIZE 13
135#define INTERNET_OPTION_ASYNC_ID 15
136#define INTERNET_OPTION_ASYNC_PRIORITY 16
137#define INTERNET_OPTION_PARENT_HANDLE 21
138#define INTERNET_OPTION_KEEP_CONNECTION 22
139#define INTERNET_OPTION_REQUEST_FLAGS 23
140#define INTERNET_OPTION_EXTENDED_ERROR 24
141#define INTERNET_OPTION_OFFLINE_MODE 26
142#define INTERNET_OPTION_CACHE_STREAM_HANDLE 27
143#define INTERNET_OPTION_USERNAME 28
144#define INTERNET_OPTION_PASSWORD 29
145#define INTERNET_OPTION_ASYNC 30
146#define INTERNET_OPTION_SECURITY_FLAGS 31
147#define INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT 32
148#define INTERNET_OPTION_DATAFILE_NAME 33
149#define INTERNET_OPTION_URL 34
150#define INTERNET_OPTION_SECURITY_CERTIFICATE 35
151#define INTERNET_OPTION_SECURITY_KEY_BITNESS 36
152#define INTERNET_OPTION_REFRESH 37
153#define INTERNET_OPTION_PROXY 38
154#define INTERNET_FIRST_OPTION INTERNET_OPTION_CALLBACK
155#define INTERNET_LAST_OPTION INTERNET_OPTION_PROXY
156
157#define INTERNET_PRIORITY_FOREGROUND 1000
158
159#define INTERNET_HANDLE_TYPE_INTERNET 1
160#define INTERNET_HANDLE_TYPE_CONNECT_FTP 2
161#define INTERNET_HANDLE_TYPE_CONNECT_GOPHER 3
162#define INTERNET_HANDLE_TYPE_CONNECT_HTTP 4
163#define INTERNET_HANDLE_TYPE_FTP_FIND 5
164#define INTERNET_HANDLE_TYPE_FTP_FIND_HTML 6
165#define INTERNET_HANDLE_TYPE_FTP_FILE 7
166#define INTERNET_HANDLE_TYPE_FTP_FILE_HTML 8
167#define INTERNET_HANDLE_TYPE_GOPHER_FIND 9
168#define INTERNET_HANDLE_TYPE_GOPHER_FIND_HTML 10
169#define INTERNET_HANDLE_TYPE_GOPHER_FILE 11
170#define INTERNET_HANDLE_TYPE_GOPHER_FILE_HTML 12
171#define INTERNET_HANDLE_TYPE_HTTP_REQUEST 13
172
173#define SECURITY_FLAG_SECURE 0x00000001 // can query only
174#define SECURITY_FLAG_SSL 0x00000002
175#define SECURITY_FLAG_SSL3 0x00000004
176#define SECURITY_FLAG_PCT 0x00000008
177#define SECURITY_FLAG_PCT4 0x00000010
178#define SECURITY_FLAG_IETFSSL4 0x00000020
179#define SECURITY_FLAG_40BIT 0x10000000
180#define SECURITY_FLAG_128BIT 0x20000000
181#define SECURITY_FLAG_56BIT 0x40000000
182#define SECURITY_FLAG_UNKNOWNBIT 0x80000000
183#define SECURITY_FLAG_NORMALBITNESS SECURITY_FLAG_40BIT
184#define SECURITY_FLAG_IGNORE_CERT_CN_INVALID INTERNET_FLAG_IGNORE_CERT_CN_INVALID
185#define SECURITY_FLAG_IGNORE_CERT_DATE_INVALID INTERNET_FLAG_IGNORE_CERT_DATE_INVALID
186#define SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTPS INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTPS
187#define SECURITY_FLAG_IGNORE_REDIRECT_TO_HTTP INTERNET_FLAG_IGNORE_REDIRECT_TO_HTTP
188
189
190#define INTERNET_STATUS_RESOLVING_NAME 10
191#define INTERNET_STATUS_NAME_RESOLVED 11
192#define INTERNET_STATUS_CONNECTING_TO_SERVER 20
193#define INTERNET_STATUS_CONNECTED_TO_SERVER 21
194#define INTERNET_STATUS_SENDING_REQUEST 30
195#define INTERNET_STATUS_REQUEST_SENT 31
196#define INTERNET_STATUS_RECEIVING_RESPONSE 40
197#define INTERNET_STATUS_RESPONSE_RECEIVED 41
198#define INTERNET_STATUS_CTL_RESPONSE_RECEIVED 42
199#define INTERNET_STATUS_PREFETCH 43
200#define INTERNET_STATUS_CLOSING_CONNECTION 50
201#define INTERNET_STATUS_CONNECTION_CLOSED 51
202#define INTERNET_STATUS_HANDLE_CREATED 60
203#define INTERNET_STATUS_HANDLE_CLOSING 70
204#define INTERNET_STATUS_REQUEST_COMPLETE 100
205#define INTERNET_STATUS_REDIRECT 110
206#define INTERNET_INVALID_STATUS_CALLBACK ((INTERNET_STATUS_CALLBACK)(-1L))
207
208#define FTP_TRANSFER_TYPE_UNKNOWN 0x00000000
209#define FTP_TRANSFER_TYPE_ASCII 0x00000001
210#define FTP_TRANSFER_TYPE_BINARY 0x00000002
211#define FTP_TRANSFER_TYPE_MASK (FTP_TRANSFER_TYPE_ASCII | FTP_TRANSFER_TYPE_BINARY)
212
213
214#define MAX_GOPHER_DISPLAY_TEXT 128
215#define MAX_GOPHER_SELECTOR_TEXT 256
216#define MAX_GOPHER_HOST_NAME INTERNET_MAX_HOST_NAME_LENGTH
217#define MAX_GOPHER_LOCATOR_LENGTH (1 + MAX_GOPHER_DISPLAY_TEXT \
218 + 1 \
219 + MAX_GOPHER_SELECTOR_TEXT \
220 + 1 \
221 + MAX_GOPHER_HOST_NAME \
222 + 1 \
223 + INTERNET_MAX_PORT_NUMBER_LENGTH \
224 + 1 \
225 + 1 \
226 + 2)
227
228
229#define MAX_GOPHER_CATEGORY_NAME 128
230#define MAX_GOPHER_ATTRIBUTE_NAME 128
231#define MIN_GOPHER_ATTRIBUTE_LENGTH 256
232
233
234#define GOPHER_INFO_CATEGORY TEXT("+INFO")
235#define GOPHER_ADMIN_CATEGORY TEXT("+ADMIN")
236#define GOPHER_VIEWS_CATEGORY TEXT("+VIEWS")
237#define GOPHER_ABSTRACT_CATEGORY TEXT("+ABSTRACT")
238#define GOPHER_VERONICA_CATEGORY TEXT("+VERONICA")
239
240#define GOPHER_ADMIN_ATTRIBUTE TEXT("Admin")
241#define GOPHER_MOD_DATE_ATTRIBUTE TEXT("Mod-Date")
242#define GOPHER_TTL_ATTRIBUTE TEXT("TTL")
243#define GOPHER_SCORE_ATTRIBUTE TEXT("Score")
244#define GOPHER_RANGE_ATTRIBUTE TEXT("Score-range")
245#define GOPHER_SITE_ATTRIBUTE TEXT("Site")
246#define GOPHER_ORG_ATTRIBUTE TEXT("Org")
247#define GOPHER_LOCATION_ATTRIBUTE TEXT("Loc")
248#define GOPHER_GEOG_ATTRIBUTE TEXT("Geog")
249#define GOPHER_TIMEZONE_ATTRIBUTE TEXT("TZ")
250#define GOPHER_PROVIDER_ATTRIBUTE TEXT("Provider")
251#define GOPHER_VERSION_ATTRIBUTE TEXT("Version")
252#define GOPHER_ABSTRACT_ATTRIBUTE TEXT("Abstract")
253#define GOPHER_VIEW_ATTRIBUTE TEXT("View")
254#define GOPHER_TREEWALK_ATTRIBUTE TEXT("treewalk")
255
256#define GOPHER_ATTRIBUTE_ID_BASE 0xabcccc00
257
258#define GOPHER_CATEGORY_ID_ALL (GOPHER_ATTRIBUTE_ID_BASE + 1)
259#define GOPHER_CATEGORY_ID_INFO (GOPHER_ATTRIBUTE_ID_BASE + 2)
260#define GOPHER_CATEGORY_ID_ADM (GOPHER_ATTRIBUTE_ID_BASE + 3)
261#define GOPHER_CATEGORY_ID_VIEWS (GOPHER_ATTRIBUTE_ID_BASE + 4)
262#define GOPHER_CATEGORY_ID_ABSTRACT (GOPHER_ATTRIBUTE_ID_BASE + 5)
263#define GOPHER_CATEGORY_ID_VERONICA (GOPHER_ATTRIBUTE_ID_BASE + 6)
264#define GOPHER_CATEGORY_ID_ASK (GOPHER_ATTRIBUTE_ID_BASE + 7)
265#define GOPHER_CATEGORY_ID_UNKNOWN (GOPHER_ATTRIBUTE_ID_BASE + 8)
266
267#define GOPHER_ATTRIBUTE_ID_ALL (GOPHER_ATTRIBUTE_ID_BASE + 9)
268#define GOPHER_ATTRIBUTE_ID_ADM (GOPHER_ATTRIBUTE_ID_BASE + 10)
269#define GOPHER_ATTRIBUTE_ID_MOD_DATE (GOPHER_ATTRIBUTE_ID_BASE + 11)
270#define GOPHER_ATTRIBUTE_ID_TTL (GOPHER_ATTRIBUTE_ID_BASE + 12)
271#define GOPHER_ATTRIBUTE_ID_SCORE (GOPHER_ATTRIBUTE_ID_BASE + 13)
272#define GOPHER_ATTRIBUTE_ID_RANGE (GOPHER_ATTRIBUTE_ID_BASE + 14)
273#define GOPHER_ATTRIBUTE_ID_SITE (GOPHER_ATTRIBUTE_ID_BASE + 15)
274#define GOPHER_ATTRIBUTE_ID_ORG (GOPHER_ATTRIBUTE_ID_BASE + 16)
275#define GOPHER_ATTRIBUTE_ID_LOCATION (GOPHER_ATTRIBUTE_ID_BASE + 17)
276#define GOPHER_ATTRIBUTE_ID_GEOG (GOPHER_ATTRIBUTE_ID_BASE + 18)
277#define GOPHER_ATTRIBUTE_ID_TIMEZONE (GOPHER_ATTRIBUTE_ID_BASE + 19)
278#define GOPHER_ATTRIBUTE_ID_PROVIDER (GOPHER_ATTRIBUTE_ID_BASE + 20)
279#define GOPHER_ATTRIBUTE_ID_VERSION (GOPHER_ATTRIBUTE_ID_BASE + 21)
280#define GOPHER_ATTRIBUTE_ID_ABSTRACT (GOPHER_ATTRIBUTE_ID_BASE + 22)
281#define GOPHER_ATTRIBUTE_ID_VIEW (GOPHER_ATTRIBUTE_ID_BASE + 23)
282#define GOPHER_ATTRIBUTE_ID_TREEWALK (GOPHER_ATTRIBUTE_ID_BASE + 24)
283#define GOPHER_ATTRIBUTE_ID_UNKNOWN (GOPHER_ATTRIBUTE_ID_BASE + 25)
284
285#define GOPHER_TYPE_TEXT_FILE 0x00000001
286#define GOPHER_TYPE_DIRECTORY 0x00000002
287#define GOPHER_TYPE_CSO 0x00000004
288#define GOPHER_TYPE_ERROR 0x00000008
289#define GOPHER_TYPE_MAC_BINHEX 0x00000010
290#define GOPHER_TYPE_DOS_ARCHIVE 0x00000020
291#define GOPHER_TYPE_UNIX_UUENCODED 0x00000040
292#define GOPHER_TYPE_INDEX_SERVER 0x00000080
293#define GOPHER_TYPE_TELNET 0x00000100
294#define GOPHER_TYPE_BINARY 0x00000200
295#define GOPHER_TYPE_REDUNDANT 0x00000400
296#define GOPHER_TYPE_TN3270 0x00000800
297#define GOPHER_TYPE_GIF 0x00001000
298#define GOPHER_TYPE_IMAGE 0x00002000
299#define GOPHER_TYPE_BITMAP 0x00004000
300#define GOPHER_TYPE_MOVIE 0x00008000
301#define GOPHER_TYPE_SOUND 0x00010000
302#define GOPHER_TYPE_HTML 0x00020000
303#define GOPHER_TYPE_PDF 0x00040000
304#define GOPHER_TYPE_CALENDAR 0x00080000
305#define GOPHER_TYPE_INLINE 0x00100000
306#define GOPHER_TYPE_UNKNOWN 0x20000000
307#define GOPHER_TYPE_ASK 0x40000000
308#define GOPHER_TYPE_GOPHER_PLUS 0x80000000
309
310#define IS_GOPHER_FILE(type) (((type) & GOPHER_TYPE_FILE_MASK) ? TRUE : FALSE)
311#define IS_GOPHER_DIRECTORY(type) (((type) & GOPHER_TYPE_DIRECTORY) ? TRUE : FALSE)
312#define IS_GOPHER_PHONE_SERVER(type) (((type) & GOPHER_TYPE_CSO) ? TRUE : FALSE)
313#define IS_GOPHER_ERROR(type) (((type) & GOPHER_TYPE_ERROR) ? TRUE : FALSE)
314#define IS_GOPHER_INDEX_SERVER(type) (((type) & GOPHER_TYPE_INDEX_SERVER) ? TRUE : FALSE)
315#define IS_GOPHER_TELNET_SESSION(type) (((type) & GOPHER_TYPE_TELNET) ? TRUE : FALSE)
316#define IS_GOPHER_BACKUP_SERVER(type) (((type) & GOPHER_TYPE_REDUNDANT) ? TRUE : FALSE)
317#define IS_GOPHER_TN3270_SESSION(type) (((type) & GOPHER_TYPE_TN3270) ? TRUE : FALSE)
318#define IS_GOPHER_ASK(type) (((type) & GOPHER_TYPE_ASK) ? TRUE : FALSE)
319#define IS_GOPHER_PLUS(type) (((type) & GOPHER_TYPE_GOPHER_PLUS) ? TRUE : FALSE)
320#define IS_GOPHER_TYPE_KNOWN(type) (((type) & GOPHER_TYPE_UNKNOWN) ? FALSE : TRUE)
321
322#define GOPHER_TYPE_FILE_MASK (GOPHER_TYPE_TEXT_FILE \
323 | GOPHER_TYPE_MAC_BINHEX \
324 | GOPHER_TYPE_DOS_ARCHIVE \
325 | GOPHER_TYPE_UNIX_UUENCODED \
326 | GOPHER_TYPE_BINARY \
327 | GOPHER_TYPE_GIF \
328 | GOPHER_TYPE_IMAGE \
329 | GOPHER_TYPE_BITMAP \
330 | GOPHER_TYPE_MOVIE \
331 | GOPHER_TYPE_SOUND \
332 | GOPHER_TYPE_HTML \
333 | GOPHER_TYPE_PDF \
334 | GOPHER_TYPE_CALENDAR \
335 | GOPHER_TYPE_INLINE \
336 )
337
338
339#define HTTP_MAJOR_VERSION 1
340#define HTTP_MINOR_VERSION 0
341
342#define HTTP_VERSION TEXT("HTTP/1.0")
343
344#define HTTP_QUERY_MIME_VERSION 0
345#define HTTP_QUERY_CONTENT_TYPE 1
346#define HTTP_QUERY_CONTENT_TRANSFER_ENCODING 2
347#define HTTP_QUERY_CONTENT_ID 3
348#define HTTP_QUERY_CONTENT_DESCRIPTION 4
349#define HTTP_QUERY_CONTENT_LENGTH 5
350#define HTTP_QUERY_CONTENT_LANGUAGE 6
351#define HTTP_QUERY_ALLOW 7
352#define HTTP_QUERY_PUBLIC 8
353#define HTTP_QUERY_DATE 9
354#define HTTP_QUERY_EXPIRES 10
355#define HTTP_QUERY_LAST_MODIFIED 11
356#define HTTP_QUERY_MESSAGE_ID 12
357#define HTTP_QUERY_URI 13
358#define HTTP_QUERY_DERIVED_FROM 14
359#define HTTP_QUERY_COST 15
360#define HTTP_QUERY_LINK 16
361#define HTTP_QUERY_PRAGMA 17
362#define HTTP_QUERY_VERSION 18
363#define HTTP_QUERY_STATUS_CODE 19
364#define HTTP_QUERY_STATUS_TEXT 20
365#define HTTP_QUERY_RAW_HEADERS 21
366#define HTTP_QUERY_RAW_HEADERS_CRLF 22
367#define HTTP_QUERY_CONNECTION 23
368#define HTTP_QUERY_ACCEPT 24
369#define HTTP_QUERY_ACCEPT_CHARSET 25
370#define HTTP_QUERY_ACCEPT_ENCODING 26
371#define HTTP_QUERY_ACCEPT_LANGUAGE 27
372#define HTTP_QUERY_AUTHORIZATION 28
373#define HTTP_QUERY_CONTENT_ENCODING 29
374#define HTTP_QUERY_FORWARDED 30
375#define HTTP_QUERY_FROM 31
376#define HTTP_QUERY_IF_MODIFIED_SINCE 32
377#define HTTP_QUERY_LOCATION 33
378#define HTTP_QUERY_ORIG_URI 34
379#define HTTP_QUERY_REFERER 35
380#define HTTP_QUERY_RETRY_AFTER 36
381#define HTTP_QUERY_SERVER 37
382#define HTTP_QUERY_TITLE 38
383#define HTTP_QUERY_USER_AGENT 39
384#define HTTP_QUERY_WWW_AUTHENTICATE 40
385#define HTTP_QUERY_PROXY_AUTHENTICATE 41
386#define HTTP_QUERY_ACCEPT_RANGES 42
387#define HTTP_QUERY_SET_COOKIE 43
388#define HTTP_QUERY_COOKIE 44
389#define HTTP_QUERY_MAX 44
390#define HTTP_QUERY_CUSTOM 65535
391
392#define HTTP_QUERY_FLAG_REQUEST_HEADERS 0x80000000
393#define HTTP_QUERY_FLAG_SYSTEMTIME 0x40000000
394#define HTTP_QUERY_FLAG_NUMBER 0x20000000
395#define HTTP_QUERY_FLAG_COALESCE 0x10000000
396#define HTTP_QUERY_MODIFIER_FLAGS_MASK (HTTP_QUERY_FLAG_REQUEST_HEADERS \
397 | HTTP_QUERY_FLAG_SYSTEMTIME \
398 | HTTP_QUERY_FLAG_NUMBER \
399 | HTTP_QUERY_FLAG_COALESCE \
400 )
401
402#define HTTP_QUERY_HEADER_MASK (~HTTP_QUERY_MODIFIER_FLAGS_MASK)
403
404#define HTTP_STATUS_OK 200
405#define HTTP_STATUS_CREATED 201
406#define HTTP_STATUS_ACCEPTED 202
407#define HTTP_STATUS_PARTIAL 203
408#define HTTP_STATUS_NO_CONTENT 204
409
410#define HTTP_STATUS_AMBIGUOUS 300
411#define HTTP_STATUS_MOVED 301
412#define HTTP_STATUS_REDIRECT 302
413#define HTTP_STATUS_REDIRECT_METHOD 303
414#define HTTP_STATUS_NOT_MODIFIED 304
415
416#define HTTP_STATUS_BAD_REQUEST 400
417#define HTTP_STATUS_DENIED 401
418#define HTTP_STATUS_PAYMENT_REQ 402
419#define HTTP_STATUS_FORBIDDEN 403
420#define HTTP_STATUS_NOT_FOUND 404
421#define HTTP_STATUS_BAD_METHOD 405
422#define HTTP_STATUS_NONE_ACCEPTABLE 406
423#define HTTP_STATUS_PROXY_AUTH_REQ 407
424#define HTTP_STATUS_REQUEST_TIME 408
425#define HTTP_STATUS_CONFLICT 409
426#define HTTP_STATUS_GONE 410
427#define HTTP_STATUS_AUTH_REFUSED 411
428
429#define HTTP_STATUS_SERVER_ERROR 500
430#define HTTP_STATUS_NOT_SUPPORTED 501
431#define HTTP_STATUS_BAD_GATEWAY 502
432#define HTTP_STATUS_SERVICE_UNAVAIL 503
433#define HTTP_STATUS_GATEWAY_TIME 504
434
435#define HTTP_ADDREQ_INDEX_MASK 0x0000FFFF
436#define HTTP_ADDREQ_FLAGS_MASK 0xFFFF0000
437#define HTTP_ADDREQ_FLAG_ADD_IF_NEW 0x10000000
438#define HTTP_ADDREQ_FLAG_ADD 0x20000000
439#define HTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA 0x40000000
440#define HTTP_ADDREQ_FLAG_COALESCE_WITH_SEMICOLON 0x01000000
441#define HTTP_ADDREQ_FLAG_COALESCE HTTP_ADDREQ_FLAG_COALESCE_WITH_COMMA
442#define HTTP_ADDREQ_FLAG_REPLACE 0x80000000
443
444#define FLAGS_ERROR_UI_FILTER_FOR_ERRORS 0x01
445#define FLAGS_ERROR_UI_FLAGS_CHANGE_OPTIONS 0x02
446#define FLAGS_ERROR_UI_FLAGS_GENERATE_DATA 0x04
447#define FLAGS_ERROR_UI_FLAGS_NO_UI 0x08
448
449#define INTERNET_ERROR_BASE 12000
450
451#define ERROR_INTERNET_OUT_OF_HANDLES (INTERNET_ERROR_BASE + 1)
452#define ERROR_INTERNET_TIME (INTERNET_ERROR_BASE + 2)
453#define ERROR_INTERNET_EXTENDED_ERROR (INTERNET_ERROR_BASE + 3)
454#define ERROR_INTERNET_INTERNAL_ERROR (INTERNET_ERROR_BASE + 4)
455#define ERROR_INTERNET_INVALID_URL (INTERNET_ERROR_BASE + 5)
456#define ERROR_INTERNET_UNRECOGNIZED_SCHEME (INTERNET_ERROR_BASE + 6)
457#define ERROR_INTERNET_NAME_NOT_RESOLVED (INTERNET_ERROR_BASE + 7)
458#define ERROR_INTERNET_PROTOCOL_NOT_FOUND (INTERNET_ERROR_BASE + 8)
459#define ERROR_INTERNET_INVALID_OPTION (INTERNET_ERROR_BASE + 9)
460#define ERROR_INTERNET_BAD_OPTION_LENGTH (INTERNET_ERROR_BASE + 10)
461#define ERROR_INTERNET_OPTION_NOT_SETTABLE (INTERNET_ERROR_BASE + 11)
462#define ERROR_INTERNET_SHUTDOWN (INTERNET_ERROR_BASE + 12)
463#define ERROR_INTERNET_INCORRECT_USER_NAME (INTERNET_ERROR_BASE + 13)
464#define ERROR_INTERNET_INCORRECT_PASSWORD (INTERNET_ERROR_BASE + 14)
465#define ERROR_INTERNET_LOGIN_FAILURE (INTERNET_ERROR_BASE + 15)
466#define ERROR_INTERNET_INVALID_OPERATION (INTERNET_ERROR_BASE + 16)
467#define ERROR_INTERNET_OPERATION_CANCELLED (INTERNET_ERROR_BASE + 17)
468#define ERROR_INTERNET_INCORRECT_HANDLE_TYPE (INTERNET_ERROR_BASE + 18)
469#define ERROR_INTERNET_INCORRECT_HANDLE_STATE (INTERNET_ERROR_BASE + 19)
470#define ERROR_INTERNET_NOT_PROXY_REQUEST (INTERNET_ERROR_BASE + 20)
471#define ERROR_INTERNET_REGISTRY_VALUE_NOT_FOUND (INTERNET_ERROR_BASE + 21)
472#define ERROR_INTERNET_BAD_REGISTRY_PARAMETER (INTERNET_ERROR_BASE + 22)
473#define ERROR_INTERNET_NO_DIRECT_ACCESS (INTERNET_ERROR_BASE + 23)
474#define ERROR_INTERNET_NO_CONTEXT (INTERNET_ERROR_BASE + 24)
475#define ERROR_INTERNET_NO_CALLBACK (INTERNET_ERROR_BASE + 25)
476#define ERROR_INTERNET_REQUEST_PENDING (INTERNET_ERROR_BASE + 26)
477#define ERROR_INTERNET_INCORRECT_FORMAT (INTERNET_ERROR_BASE + 27)
478#define ERROR_INTERNET_ITEM_NOT_FOUND (INTERNET_ERROR_BASE + 28)
479#define ERROR_INTERNET_CANNOT_CONNECT (INTERNET_ERROR_BASE + 29)
480#define ERROR_INTERNET_CONNECTION_ABORTED (INTERNET_ERROR_BASE + 30)
481#define ERROR_INTERNET_CONNECTION_RESET (INTERNET_ERROR_BASE + 31)
482#define ERROR_INTERNET_FORCE_RETRY (INTERNET_ERROR_BASE + 32)
483#define ERROR_INTERNET_INVALID_PROXY_REQUEST (INTERNET_ERROR_BASE + 33)
484
485#define ERROR_INTERNET_HANDLE_EXISTS (INTERNET_ERROR_BASE + 36)
486#define ERROR_INTERNET_SEC_CERT_DATE_INVALID (INTERNET_ERROR_BASE + 37)
487#define ERROR_INTERNET_SEC_CERT_CN_INVALID (INTERNET_ERROR_BASE + 38)
488#define ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR (INTERNET_ERROR_BASE + 39)
489#define ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR (INTERNET_ERROR_BASE + 40)
490#define ERROR_INTERNET_MIXED_SECURITY (INTERNET_ERROR_BASE + 41)
491#define ERROR_INTERNET_CHG_POST_IS_NON_SECURE (INTERNET_ERROR_BASE + 42)
492#define ERROR_INTERNET_POST_IS_NON_SECURE (INTERNET_ERROR_BASE + 43)
493
494#define ERROR_FTP_TRANSFER_IN_PROGRESS (INTERNET_ERROR_BASE + 110)
495#define ERROR_FTP_DROPPED (INTERNET_ERROR_BASE + 111)
496
497#define ERROR_GOPHER_PROTOCOL_ERROR (INTERNET_ERROR_BASE + 130)
498#define ERROR_GOPHER_NOT_FILE (INTERNET_ERROR_BASE + 131)
499#define ERROR_GOPHER_DATA_ERROR (INTERNET_ERROR_BASE + 132)
500#define ERROR_GOPHER_END_OF_DATA (INTERNET_ERROR_BASE + 133)
501#define ERROR_GOPHER_INVALID_LOCATOR (INTERNET_ERROR_BASE + 134)
502#define ERROR_GOPHER_INCORRECT_LOCATOR_TYPE (INTERNET_ERROR_BASE + 135)
503#define ERROR_GOPHER_NOT_GOPHER_PLUS (INTERNET_ERROR_BASE + 136)
504#define ERROR_GOPHER_ATTRIBUTE_NOT_FOUND (INTERNET_ERROR_BASE + 137)
505#define ERROR_GOPHER_UNKNOWN_LOCATOR (INTERNET_ERROR_BASE + 138)
506
507#define ERROR_HTTP_HEADER_NOT_FOUND (INTERNET_ERROR_BASE + 150)
508#define ERROR_HTTP_DOWNLEVEL_SERVER (INTERNET_ERROR_BASE + 151)
509#define ERROR_HTTP_INVALID_SERVER_RESPONSE (INTERNET_ERROR_BASE + 152)
510#define ERROR_HTTP_INVALID_HEADER (INTERNET_ERROR_BASE + 153)
511#define ERROR_HTTP_INVALID_QUERY_REQUEST (INTERNET_ERROR_BASE + 154)
512#define ERROR_HTTP_HEADER_ALREADY_EXISTS (INTERNET_ERROR_BASE + 155)
513#define ERROR_HTTP_REDIRECT_FAILED (INTERNET_ERROR_BASE + 156)
514
515#define INTERNET_ERROR_LAST ERROR_HTTP_REDIRECT_FAILED
516
517#define CACHE_ENTRY_ATTRIBUTE_FC 0x00000004
518#define CACHE_ENTRY_HITRATE_FC 0x00000010
519#define CACHE_ENTRY_MODTIME_FC 0x00000040
520#define CACHE_ENTRY_EXPTIME_FC 0x00000080
521#define CACHE_ENTRY_ACCTIME_FC 0x00000100
522#define CACHE_ENTRY_SYNCTIME_FC 0x00000200
523#define CACHE_ENTRY_HEADERINFO_FC 0x00000400
524
525#define NORMAL_CACHE_ENTRY 0x00000001
526#define STABLE_CACHE_ENTRY 0x00000002
527#define STICKY_CACHE_ENTRY 0x00000004
528
529#define SPARSE_CACHE_ENTRY 0x00010000
530#define OCX_CACHE_ENTRY 0x00020000
531
532//
533// INTERNET_CACHE_ENTRY_INFO -
534//
535
536typedef struct _INTERNET_CACHE_ENTRY_INFOA {
537 DWORD dwStructSize;
538 LPSTR lpszSourceUrlName;
539 LPSTR lpszLocalFileName;
540 DWORD CacheEntryType;
541 DWORD dwUseCount;
542 DWORD dwHitRate;
543 DWORD dwSizeLow;
544 DWORD dwSizeHigh;
545 FILETIME LastModifiedTime;
546 FILETIME ExpireTime;
547 FILETIME LastAccessTime;
548 FILETIME LastSyncTime;
549 LPBYTE lpHeaderInfo;
550 DWORD dwHeaderInfoSize;
551 LPSTR lpszFileExtension;
552 DWORD dwReserved;
553} INTERNET_CACHE_ENTRY_INFOA, *LPINTERNET_CACHE_ENTRY_INFOA;
554
555typedef struct _INTERNET_CACHE_ENTRY_INFOW {
556 DWORD dwStructSize;
557 LPSTR lpszSourceUrlName;
558 LPWSTR lpszLocalFileName;
559 DWORD CacheEntryType;
560 DWORD dwUseCount;
561 DWORD dwHitRate;
562 DWORD dwSizeLow;
563 DWORD dwSizeHigh;
564 FILETIME LastModifiedTime;
565 FILETIME ExpireTime;
566 FILETIME LastAccessTime;
567 FILETIME LastSyncTime;
568 LPBYTE lpHeaderInfo;
569 DWORD dwHeaderInfoSize;
570 LPWSTR lpszFileExtension;
571 DWORD dwReserved;
572} INTERNET_CACHE_ENTRY_INFOW, *LPINTERNET_CACHE_ENTRY_INFOW;
573
574#define INTERNET_CACHE_ENTRY_INFO WINELIB_NAME_AW(INTERNET_CACHE_ENTRY_INFO)
575#define LPINTERNET_CACHE_ENTRY_INFO WINELIB_NAME_AW(LPINTERNET_CACHE_ENTRY_INFO)
576
577typedef enum {
578 INTERNET_SCHEME_PARTIAL = -2,
579 INTERNET_SCHEME_UNKNOWN = -1,
580 INTERNET_SCHEME_DEFAULT = 0,
581 INTERNET_SCHEME_FTP,
582 INTERNET_SCHEME_GOPHER,
583 INTERNET_SCHEME_HTTP,
584 INTERNET_SCHEME_HTTPS,
585 INTERNET_SCHEME_FILE,
586 INTERNET_SCHEME_NEWS,
587 INTERNET_SCHEME_MAILTO,
588 INTERNET_SCHEME_FIRST = INTERNET_SCHEME_FTP,
589 INTERNET_SCHEME_LAST = INTERNET_SCHEME_MAILTO
590} INTERNET_SCHEME, *LPINTERNET_SCHEME;
591
592typedef struct {
593 DWORD dwResult;
594 DWORD dwError;
595} INTERNET_ASYNC_RESULT, *LPINTERNET_ASYNC_RESULT;
596
597typedef struct {
598 DWORD dwStatus;
599 DWORD dwSize;
600} INTERNET_PREFETCH_STATUS, *LPINTERNET_PREFETCH_STATUS;
601
602typedef struct {
603 DWORD dwAccessType;
604 LPCTSTR lpszProxy;
605 LPCTSTR lpszProxyBypass;
606} INTERNET_PROXY_INFO, *LPINTERNET_PROXY_INFO;
607
608typedef struct {
609 DWORD dwStructSize;
610 LPTSTR lpszScheme;
611 DWORD dwSchemeLength;
612 INTERNET_SCHEME nScheme;
613 LPTSTR lpszHostName;
614 DWORD dwHostNameLength;
615 INTERNET_PORT nPort;
616 LPTSTR lpszUserName;
617 DWORD dwUserNameLength;
618 LPTSTR lpszPassword;
619 DWORD dwPasswordLength;
620 LPTSTR lpszUrlPath;
621 DWORD dwUrlPathLength;
622 LPTSTR lpszExtraInfo;
623 DWORD dwExtraInfoLength;
624} URL_COMPONENTS, *LPURL_COMPONENTS;
625
626typedef struct {
627 FILETIME ftExpiry;
628 FILETIME ftStart;
629 LPTSTR lpszSubjectInfo;
630 LPTSTR lpszIssuerInfo;
631 LPTSTR lpszProtocolName;
632 LPTSTR lpszSignatureAlgName;
633 LPTSTR lpszEncryptionAlgName;
634 DWORD dwKeySize;
635} INTERNET_CERTIFICATE_INFO, *LPINTERNET_CERTIFICATE_INFO;
636
637typedef VOID (CALLBACK * INTERNET_STATUS_CALLBACK)(
638 HINTERNET hInternet,
639 DWORD dwContext,
640 DWORD dwInternetStatus,
641 LPVOID lpvStatusInformation,
642 DWORD dwStatusInformationLength
643 );
644
645typedef INTERNET_STATUS_CALLBACK * LPINTERNET_STATUS_CALLBACK;
646
647typedef struct {
648 CHAR DisplayString[MAX_GOPHER_DISPLAY_TEXT + 1];
649 DWORD GopherType;
650 DWORD SizeLow;
651 DWORD SizeHigh;
652 FILETIME LastModificationTime;
653 CHAR Locator[MAX_GOPHER_LOCATOR_LENGTH + 1];
654} GOPHER_FIND_DATAA, * LPGOPHER_FIND_DATAA;
655
656typedef struct {
657 WCHAR DisplayString[MAX_GOPHER_DISPLAY_TEXT + 1];
658 DWORD GopherType;
659 DWORD SizeLow;
660 DWORD SizeHigh;
661 FILETIME LastModificationTime;
662 WCHAR Locator[MAX_GOPHER_LOCATOR_LENGTH + 1];
663} GOPHER_FIND_DATAW, * LPGOPHER_FIND_DATAW;
664
665#define GOPHER_FIND_DATA WINELIB_NAME_AW(GOPHER_FIND_DATA)
666#define LPGOPHER_FIND_DATA WINELIB_NAME_AW(LPGOPHER_FIND_DATA)
667
668typedef struct {
669 LPCTSTR Comment;
670 LPCTSTR EmailAddress;
671} GOPHER_ADMIN_ATTRIBUTE_TYPE, *LPGOPHER_ADMIN_ATTRIBUTE_TYPE;
672
673typedef struct {
674 FILETIME DateAndTime;
675} GOPHER_MOD_DATE_ATTRIBUTE_TYPE, *LPGOPHER_MOD_DATE_ATTRIBUTE_TYPE;
676
677typedef struct {
678 DWORD Ttl;
679} GOPHER_TTL_ATTRIBUTE_TYPE, *LPGOPHER_TTL_ATTRIBUTE_TYPE;
680
681typedef struct {
682 INT Score;
683} GOPHER_SCORE_ATTRIBUTE_TYPE, *LPGOPHER_SCORE_ATTRIBUTE_TYPE;
684
685typedef struct {
686 INT LowerBound;
687 INT UpperBound;
688} GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE, *LPGOPHER_SCORE_RANGE_ATTRIBUTE_TYPE;
689
690typedef struct {
691 LPCTSTR Site;
692} GOPHER_SITE_ATTRIBUTE_TYPE, *LPGOPHER_SITE_ATTRIBUTE_TYPE;
693
694typedef struct {
695 LPCTSTR Organization;
696} GOPHER_ORGANIZATION_ATTRIBUTE_TYPE, *LPGOPHER_ORGANIZATION_ATTRIBUTE_TYPE;
697
698typedef struct {
699 LPCTSTR Location;
700} GOPHER_LOCATION_ATTRIBUTE_TYPE, *LPGOPHER_LOCATION_ATTRIBUTE_TYPE;
701
702typedef struct {
703 INT DegreesNorth;
704 INT MinutesNorth;
705 INT SecondsNorth;
706 INT DegreesEast;
707 INT MinutesEast;
708 INT SecondsEast;
709} GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE, *LPGOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE;
710
711typedef struct {
712 INT Zone;
713} GOPHER_TIMEZONE_ATTRIBUTE_TYPE, *LPGOPHER_TIMEZONE_ATTRIBUTE_TYPE;
714
715typedef struct {
716 LPCTSTR Provider;
717} GOPHER_PROVIDER_ATTRIBUTE_TYPE, *LPGOPHER_PROVIDER_ATTRIBUTE_TYPE;
718
719typedef struct {
720 LPCTSTR Version;
721} GOPHER_VERSION_ATTRIBUTE_TYPE, *LPGOPHER_VERSION_ATTRIBUTE_TYPE;
722
723typedef struct {
724 LPCTSTR ShortAbstract;
725 LPCTSTR AbstractFile;
726} GOPHER_ABSTRACT_ATTRIBUTE_TYPE, *LPGOPHER_ABSTRACT_ATTRIBUTE_TYPE;
727
728typedef struct {
729 LPCTSTR ContentType;
730 LPCTSTR Language;
731 DWORD Size;
732} GOPHER_VIEW_ATTRIBUTE_TYPE, *LPGOPHER_VIEW_ATTRIBUTE_TYPE;
733
734typedef struct {
735 BOOL TreeWalk;
736} GOPHER_VERONICA_ATTRIBUTE_TYPE, *LPGOPHER_VERONICA_ATTRIBUTE_TYPE;
737
738typedef struct {
739 LPCTSTR QuestionType;
740 LPCTSTR QuestionText;
741} GOPHER_ASK_ATTRIBUTE_TYPE, *LPGOPHER_ASK_ATTRIBUTE_TYPE;
742
743typedef struct {
744 LPCTSTR Text;
745} GOPHER_UNKNOWN_ATTRIBUTE_TYPE, *LPGOPHER_UNKNOWN_ATTRIBUTE_TYPE;
746
747typedef struct {
748 DWORD CategoryId;
749 DWORD AttributeId;
750 union {
751 GOPHER_ADMIN_ATTRIBUTE_TYPE Admin;
752 GOPHER_MOD_DATE_ATTRIBUTE_TYPE ModDate;
753 GOPHER_TTL_ATTRIBUTE_TYPE Ttl;
754 GOPHER_SCORE_ATTRIBUTE_TYPE Score;
755 GOPHER_SCORE_RANGE_ATTRIBUTE_TYPE ScoreRange;
756 GOPHER_SITE_ATTRIBUTE_TYPE Site;
757 GOPHER_ORGANIZATION_ATTRIBUTE_TYPE Organization;
758 GOPHER_LOCATION_ATTRIBUTE_TYPE Location;
759 GOPHER_GEOGRAPHICAL_LOCATION_ATTRIBUTE_TYPE GeographicalLocation;
760 GOPHER_TIMEZONE_ATTRIBUTE_TYPE TimeZone;
761 GOPHER_PROVIDER_ATTRIBUTE_TYPE Provider;
762 GOPHER_VERSION_ATTRIBUTE_TYPE Version;
763 GOPHER_ABSTRACT_ATTRIBUTE_TYPE Abstract;
764 GOPHER_VIEW_ATTRIBUTE_TYPE View;
765 GOPHER_VERONICA_ATTRIBUTE_TYPE Veronica;
766 GOPHER_ASK_ATTRIBUTE_TYPE Ask;
767 GOPHER_UNKNOWN_ATTRIBUTE_TYPE Unknown;
768 } AttributeType;
769} GOPHER_ATTRIBUTE_TYPE, *LPGOPHER_ATTRIBUTE_TYPE;
770
771typedef BOOL (CALLBACK * GOPHER_ATTRIBUTE_ENUMERATOR)(
772 LPGOPHER_ATTRIBUTE_TYPE lpAttributeInfo,
773 DWORD dwError
774 );
775
776//WININET apis
777BOOL WINAPI InternetTimeFromSystemTime(CONST SYSTEMTIME *pst, DWORD dwRFC,
778 LPSTR lpszTime, DWORD cbTime);
779
780BOOL WINAPI InternetCrackUrlA(LPCSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
781 LPURL_COMPONENTS lpUrlComponents);
782
783BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
784 LPURL_COMPONENTS lpUrlComponents);
785
786#define InternetCrackUrl WINELIB_NAME_AW(InternetCrackUrl)
787
788BOOL WINAPI InternetCreateUrlA(LPURL_COMPONENTS lpUrlComponents, DWORD dwFlags,
789 LPSTR lpszUrl, LPDWORD lpdwUrlLength);
790
791BOOL WINAPI InternetCreateUrlW(LPURL_COMPONENTS lpUrlComponents, DWORD dwFlags,
792 LPWSTR lpszUrl, LPDWORD lpdwUrlLength);
793
794#define InternetCreateUrl WINELIB_NAME_AW(InternetCreateUrl)
795
796BOOL WINAPI InternetCanonicalizeUrlA(LPCSTR lpszUrl, LPSTR lpszBuffer,
797 LPDWORD lpdwBufferLength, DWORD dwFlags);
798
799BOOL WINAPI InternetCanonicalizeUrlW(LPCWSTR lpszUrl, LPWSTR lpszBuffer,
800 LPDWORD lpdwBufferLength, DWORD dwFlags);
801
802#define InternetCanonicalizeUrl WINELIB_NAME_AW(InternetCanonicalizeUrl)
803
804
805BOOL WINAPI InternetCombineUrlA(LPCSTR lpszBaseUrl, LPCSTR lpszRelativeUrl,
806 LPSTR lpszBuffer, LPDWORD lpdwBufferLength,
807 DWORD dwFlags);
808
809BOOL WINAPI InternetCombineUrlW(LPCWSTR lpszBaseUrl, LPCWSTR lpszRelativeUrl,
810 LPWSTR lpszBuffer, LPDWORD lpdwBufferLength,
811 DWORD dwFlags);
812
813#define InternetCombineUrl WINELIB_NAME_AW(InternetCombineUrl)
814
815
816HINTERNET WINAPI InternetOpenA(LPCSTR lpszAgent, DWORD dwAccessType,
817 LPCSTR lpszProxy, LPCSTR lpszProxyBypass,
818 DWORD dwFlags);
819
820HINTERNET WINAPI InternetOpenW(LPCWSTR lpszAgent, DWORD dwAccessType,
821 LPCWSTR lpszProxy, LPCWSTR lpszProxyBypass,
822 DWORD dwFlags);
823
824#define InternetOpen WINELIB_NAME_AW(InternetOpen)
825
826BOOL WINAPI InternetCloseHandle(HINTERNET hInternet);
827
828HINTERNET WINAPI InternetConnectA(HINTERNET hInternet, LPCSTR lpszServerName,
829 INTERNET_PORT nServerPort, LPCSTR lpszUserName,
830 LPCSTR lpszPassword, DWORD dwService,
831 DWORD dwFlags, DWORD dwContext);
832
833HINTERNET WINAPI InternetConnectW(HINTERNET hInternet, LPCWSTR lpszServerName,
834 INTERNET_PORT nServerPort, LPCWSTR lpszUserName,
835 LPCWSTR lpszPassword, DWORD dwService,
836 DWORD dwFlags, DWORD dwContext);
837
838#define InternetConnect WINELIB_NAME_AW(InternetConnect)
839
840
841HINTERNET WINAPI InternetOpenUrlA(HINTERNET hInternet, LPCSTR lpszUrl, LPCSTR lpszHeaders,
842 DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext);
843
844HINTERNET WINAPI InternetOpenUrlW(HINTERNET hInternet, LPCWSTR lpszUrl, LPCWSTR lpszHeaders,
845 DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext);
846
847#define InternetOpenUrl WINELIB_NAME_AW(InternetOpenUrl)
848
849BOOL WINAPI InternetReadFile(HINTERNET hFile, LPVOID lpBuffer, DWORD dwNumberOfBytesToRead,
850 LPDWORD lpdwNumberOfBytesRead);
851
852
853DWORD WINAPI InternetSetFilePointer(HINTERNET hFile, LONG lDistanceToMove,
854 PVOID pReserved, DWORD dwMoveMethod,
855 DWORD dwContext);
856
857
858BOOL WINAPI InternetWriteFile(HINTERNET hFile, LPCVOID lpBuffer, DWORD dwNumberOfBytesToWrite,
859 LPDWORD lpdwNumberOfBytesWritten);
860
861
862BOOL WINAPI InternetQueryDataAvailable(HINTERNET hFile,LPDWORD lpdwNumberOfBytesAvailable,
863 DWORD dwFlags, DWORD dwContext);
864
865
866BOOL WINAPI InternetFindNextFileA(HINTERNET hFind, LPVOID lpvFindData);
867BOOL WINAPI InternetFindNextFileW(HINTERNET hFind, LPVOID lpvFindData);
868#define InternetFindNextFile WINELIB_NAME_AW(InternetFindNextFile)
869
870BOOL WINAPI InternetQueryOptionA(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
871 LPDWORD lpdwBufferLength);
872BOOL WINAPI InternetQueryOptionW(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
873 LPDWORD lpdwBufferLength);
874#define InternetQueryOption WINELIB_NAME_AW(InternetQueryOption)
875
876BOOL WINAPI InternetSetOptionA(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
877 DWORD dwBufferLength);
878BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
879 DWORD dwBufferLength);
880#define InternetSetOption WINELIB_NAME_AW(InternetSetOption)
881
882BOOL WINAPI InternetSetOptionExA(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
883 DWORD dwBufferLength, DWORD dwFlags);
884BOOL WINAPI InternetSetOptionExW(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
885 DWORD dwBufferLength, DWORD dwFlags);
886#define InternetSetOptionEx WINELIB_NAME_AW(InternetSetOptionEx)
887
888BOOL WINAPI InternetGetLastResponseInfoA(LPDWORD lpdwError, LPSTR lpszBuffer,
889 LPDWORD lpdwBufferLength);
890BOOL WINAPI InternetGetLastResponseInfoW(LPDWORD lpdwError, LPWSTR lpszBuffer,
891 LPDWORD lpdwBufferLength);
892#define InternetGetLastResponseInfo WINELIB_NAME_AW(InternetGetLastResponseInfo)
893
894INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallback(HINTERNET hInternet,
895 INTERNET_STATUS_CALLBACK lpfnInternetCallback);
896
897HINTERNET WINAPI FtpFindFirstFileA(HINTERNET hConnect, LPCSTR lpszSearchFile,
898 LPWIN32_FIND_DATAA lpFindFileData,
899 DWORD dwFlags, DWORD dwContext);
900HINTERNET WINAPI FtpFindFirstFileW(HINTERNET hConnect, LPCWSTR lpszSearchFile,
901 LPWIN32_FIND_DATAW lpFindFileData,
902 DWORD dwFlags, DWORD dwContext);
903#define FtpFindFirstFile WINELIB_NAME_AW(FtpFindFirstFile)
904
905
906BOOL WINAPI FtpGetFileA(HINTERNET hConnect, LPCSTR lpszRemoteFile,
907 LPCSTR lpszNewFile, BOOL fFailIfExists,
908 DWORD dwFlagsAndAttributes, DWORD dwFlags,
909 DWORD dwContext);
910BOOL WINAPI FtpGetFileW(HINTERNET hConnect, LPCWSTR lpszRemoteFile,
911 LPCWSTR lpszNewFile, BOOL fFailIfExists,
912 DWORD dwFlagsAndAttributes, DWORD dwFlags,
913 DWORD dwContext);
914#define FtpGetFile WINELIB_NAME_AW(FtpGetFile)
915
916BOOL WINAPI FtpPutFileA(HINTERNET hConnect, LPCSTR lpszLocalFile, LPCSTR lpszNewRemoteFile,
917 DWORD dwFlags, DWORD dwContext);
918
919BOOL WINAPI FtpPutFileW(HINTERNET hConnect, LPCWSTR lpszLocalFile, LPCWSTR lpszNewRemoteFile,
920 DWORD dwFlags, DWORD dwContext);
921
922#define FtpPutFile WINELIB_NAME_AW(FtpPutFile)
923
924BOOL WINAPI FtpDeleteFileA(HINTERNET hConnect, LPCSTR lpszFileName);
925BOOL WINAPI FtpDeleteFileW(HINTERNET hConnect, LPCWSTR lpszFileName);
926#define FtpDeleteFile WINELIB_NAME_AW(FtpDeleteFile)
927
928BOOL WINAPI FtpRenameFileA(HINTERNET hConnect, LPCSTR lpszExisting, LPCSTR lpszNew);
929BOOL WINAPI FtpRenameFileW(HINTERNET hConnect, LPCWSTR lpszExisting,LPCWSTR lpszNew);
930#define FtpRenameFile WINELIB_NAME_AW(FtpRenameFile)
931
932HINTERNET WINAPI FtpOpenFileA(HINTERNET hConnect, LPCSTR lpszFileName,
933 DWORD dwAccess, DWORD dwFlags, DWORD dwContext);
934HINTERNET WINAPI FtpOpenFileW(HINTERNET hConnect, LPCWSTR lpszFileName,
935 DWORD dwAccess, DWORD dwFlags, DWORD dwContext);
936#define FtpOpenFile WINELIB_NAME_AW(FtpOpenFile)
937
938BOOL WINAPI FtpCreateDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory);
939BOOL WINAPI FtpCreateDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory);
940#define FtpCreateDirectory WINELIB_NAME_AW(FtpCreateDirectory)
941
942BOOL WINAPI FtpRemoveDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory);
943BOOL WINAPI FtpRemoveDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory);
944#define FtpRemoveDirectory WINELIB_NAME_AW(FtpRemoveDirectory)
945
946BOOL WINAPI FtpSetCurrentDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory);
947BOOL WINAPI FtpSetCurrentDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory);
948#define FtpSetCurrentDirectory WINELIB_NAME_AW(FtpSetCurrentDirectory)
949
950BOOL WINAPI FtpGetCurrentDirectoryA(HINTERNET hConnect, LPSTR lpszCurrentDirectory,
951 LPDWORD lpdwCurrentDirectory);
952BOOL WINAPI FtpGetCurrentDirectoryW(HINTERNET hConnect, LPWSTR lpszCurrentDirectory,
953 LPDWORD lpdwCurrentDirectory);
954#define FtpGetCurrentDirectory WINELIB_NAME_AW(FtpGetCurrentDirectory)
955
956BOOL WINAPI FtpCommandA(HINTERNET hConnect, BOOL fExpectResponse, DWORD dwFlags,
957 LPCSTR lpszCommand, DWORD dwContext);
958BOOL WINAPI FtpCommandW(HINTERNET hConnect, BOOL fExpectResponse, DWORD dwFlags,
959 LPCWSTR lpszCommand, DWORD dwContext);
960#define FtpCommand WINELIB_NAME_AW(FtpCommand)
961
962
963BOOL WINAPI GopherCreateLocatorA(LPCSTR lpszHost,INTERNET_PORT nServerPort,
964 LPCSTR lpszDisplayString, LPCSTR lpszSelectorString,
965 DWORD dwGopherType, LPSTR lpszLocator,
966 LPDWORD lpdwBufferLength);
967BOOL WINAPI GopherCreateLocatorW(LPCWSTR lpszHost,INTERNET_PORT nServerPort,
968 LPCWSTR lpszDisplayString, LPCWSTR lpszSelectorString,
969 DWORD dwGopherType, LPWSTR lpszLocator,
970 LPDWORD lpdwBufferLength);
971#define GopherCreateLocator WINELIB_NAME_AW(GopherCreateLocator)
972
973BOOL WINAPI GopherGetLocatorTypeA(LPCSTR lpszLocator, LPDWORD lpdwGopherType);
974BOOL WINAPI GopherGetLocatorTypeW(LPCWSTR lpszLocator, LPDWORD lpdwGopherType);
975#define GopherGetLocatorType WINELIB_NAME_AW(GopherGetLocatorType)
976
977HINTERNET WINAPI GopherFindFirstFileA(HINTERNET hConnect, LPCSTR lpszLocator,
978 LPCSTR lpszSearchString, LPGOPHER_FIND_DATAA lpFindData,
979 DWORD dwFlags, DWORD dwContext);
980HINTERNET WINAPI GopherFindFirstFileW(HINTERNET hConnect, LPCWSTR lpszLocator,
981 LPCWSTR lpszSearchString, LPGOPHER_FIND_DATAA lpFindData,
982 DWORD dwFlags, DWORD dwContext);
983#define GopherFindFirstFile WINELIB_NAME_AW(GopherFindFirstFile)
984
985HINTERNET WINAPI GopherOpenFileA(HINTERNET hConnect, LPCSTR lpszLocator,
986 LPCSTR lpszView, DWORD dwFlags, DWORD dwContext);
987HINTERNET WINAPI GopherOpenFileW(HINTERNET hConnect, LPCWSTR lpszLocator,
988 LPCWSTR lpszView, DWORD dwFlags, DWORD dwContext);
989#define GopherOpenFile WINELIB_NAME_AW(GopherOpenFile)
990
991BOOL WINAPI GopherGetAttributeA(HINTERNET hConnect, LPCSTR lpszLocator,
992 LPCSTR lpszAttributeName, LPBYTE lpBuffer,
993 DWORD dwBufferLength, LPDWORD lpdwCharactersReturned,
994 GOPHER_ATTRIBUTE_ENUMERATOR lpfnEnumerator,
995 DWORD dwContext);
996BOOL WINAPI GopherGetAttributeW(HINTERNET hConnect, LPCWSTR lpszLocator,
997 LPCWSTR lpszAttributeName, LPBYTE lpBuffer,
998 DWORD dwBufferLength, LPDWORD lpdwCharactersReturned,
999 GOPHER_ATTRIBUTE_ENUMERATOR lpfnEnumerator,
1000 DWORD dwContext);
1001#define GopherGetAttribute WINELIB_NAME_AW(GopherGetAttribute)
1002
1003
1004HINTERNET WINAPI HttpOpenRequestA(HINTERNET hConnect, LPCSTR lpszVerb,
1005 LPCSTR lpszObjectName, LPCSTR lpszVersion,
1006 LPCSTR lpszReferrer, LPCSTR * lplpszAcceptTypes,
1007 DWORD dwFlags, DWORD dwContext);
1008
1009HINTERNET WINAPI HttpOpenRequestW(HINTERNET hConnect, LPCWSTR lpszVerb,
1010 LPCWSTR lpszObjectName, LPCWSTR lpszVersion,
1011 LPCWSTR lpszReferrer, LPCWSTR * lplpszAcceptTypes,
1012 DWORD dwFlags, DWORD dwContext);
1013#define HttpOpenRequest WINELIB_NAME_AW(HttpOpenRequest)
1014
1015BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hRequest, LPCSTR lpszHeaders,
1016 DWORD dwHeadersLength, DWORD dwModifiers);
1017BOOL WINAPI HttpAddRequestHeadersW(HINTERNET hRequest, LPCWSTR lpszHeaders,
1018 DWORD dwHeadersLength, DWORD dwModifiers);
1019#define HttpAddRequestHeaders WINELIB_NAME_AW(HttpAddRequestHeaders)
1020
1021BOOL WINAPI HttpSendRequestA(HINTERNET hRequest, LPCSTR lpszHeaders,
1022 DWORD dwHeadersLength, LPVOID lpOptional,
1023 DWORD dwOptionalLength);
1024BOOL WINAPI HttpSendRequestW(HINTERNET hRequest, LPCWSTR lpszHeaders,
1025 DWORD dwHeadersLength, LPVOID lpOptional,
1026 DWORD dwOptionalLength);
1027#define HttpSendRequest WINELIB_NAME_AW(HttpSendRequest)
1028
1029
1030BOOL WINAPI HttpQueryInfoA(HINTERNET hRequest, DWORD dwInfoLevel, LPVOID lpBuffer,
1031 LPDWORD lpdwBufferLength, LPDWORD lpdwIndex);
1032BOOL WINAPI HttpQueryInfoW(HINTERNET hRequest, DWORD dwInfoLevel, LPVOID lpBuffer,
1033 LPDWORD lpdwBufferLength, LPDWORD lpdwIndex);
1034#define HttpQueryInfo WINELIB_NAME_AW(HttpQueryInfo)
1035
1036
1037BOOL WINAPI InternetSetCookieA(LPCSTR lpszUrl, LPCSTR lpszCookieName, LPCSTR lpszCookieData);
1038BOOL WINAPI InternetSetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPCWSTR lpszCookieData);
1039#define InternetSetCookie WINELIB_NAME_AW(InternetSetCookie)
1040
1041BOOL WINAPI InternetGetCookieA(LPCSTR lpszUrl, LPCSTR lpszCookieName, LPSTR lpCookieData,
1042 LPDWORD lpdwSize);
1043BOOL WINAPI InternetGetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPWSTR lpCookieData,
1044 LPDWORD lpdwSize);
1045#define InternetGetCookie WINELIB_NAME_AW(InternetGetCookie)
1046
1047DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
1048 DWORD dwError, DWORD dwFlags, LPVOID * lppvData);
1049
1050DWORD WINAPI InternetConfirmZoneCrossing(HWND hWnd, LPSTR szUrlPrev,
1051 LPSTR szUrlNew, BOOL bPost);
1052
1053
1054
1055BOOL WINAPI CreateUrlCacheEntryA(LPCSTR lpszUrlName, DWORD dwExpectedFileSize,
1056 LPCSTR lpszFileExtension, LPSTR lpszFileName,
1057 DWORD dwReserved);
1058BOOL WINAPI CreateUrlCacheEntryW(LPCWSTR lpszUrlName, DWORD dwExpectedFileSize,
1059 LPCWSTR lpszFileExtension, LPWSTR lpszFileName,
1060 DWORD dwReserved);
1061#define CreateUrlCacheEntry WINELIB_NAME_AW(CreateUrlCacheEntry)
1062
1063
1064BOOL WINAPI CommitUrlCacheEntryA(LPCSTR lpszUrlName, LPCSTR lpszLocalFileName,
1065 FILETIME ExpireTime, FILETIME LastModifiedTime,
1066 DWORD CacheEntryType, LPBYTE lpHeaderInfo,
1067 DWORD dwHeaderSize, LPCTSTR lpszFileExtension,
1068 DWORD dwReserved);
1069BOOL WINAPI CommitUrlCacheEntryW(LPCWSTR lpszUrlName, LPCWSTR lpszLocalFileName,
1070 FILETIME ExpireTime, FILETIME LastModifiedTime,
1071 DWORD CacheEntryType, LPBYTE lpHeaderInfo,
1072 DWORD dwHeaderSize, LPCTSTR lpszFileExtension,
1073 DWORD dwReserved);
1074#define CommitUrlCacheEntry WINELIB_NAME_AW(CommitUrlCacheEntry)
1075
1076
1077BOOL WINAPI RetrieveUrlCacheEntryFileA(LPCSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
1078 LPDWORD lpdwCacheEntryInfoBufferSize,
1079 DWORD dwReserved);
1080BOOL WINAPI RetrieveUrlCacheEntryFileW(LPCWSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
1081 LPDWORD lpdwCacheEntryInfoBufferSize,
1082 DWORD dwReserved);
1083#define RetrieveUrlCacheEntryFile WINELIB_NAME_AW(RetrieveUrlCacheEntryFile)
1084
1085
1086BOOL WINAPI UnlockUrlCacheEntryFile(LPCSTR lpszUrlName, DWORD dwReserved);
1087
1088HANDLE WINAPI RetrieveUrlCacheEntryStreamA(LPCSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
1089 LPDWORD lpdwCacheEntryInfoBufferSize,
1090 BOOL fRandomRead, DWORD dwReserved);
1091HANDLE WINAPI RetrieveUrlCacheEntryStreamW(LPCWSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
1092 LPDWORD lpdwCacheEntryInfoBufferSize,
1093 BOOL fRandomRead, DWORD dwReserved);
1094#define RetrieveUrlCacheEntryStream WINELIB_NAME_AW(RetrieveUrlCacheEntryStream)
1095
1096
1097BOOL WINAPI ReadUrlCacheEntryStream(HANDLE hUrlCacheStream, DWORD dwLocation,
1098 LPVOID lpBuffer, LPDWORD lpdwLen,
1099 DWORD Reserved);
1100
1101
1102BOOL WINAPI UnlockUrlCacheEntryStream(HANDLE hUrlCacheStream, DWORD Reserved);
1103
1104BOOL WINAPI GetUrlCacheEntryInfoA(LPCSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
1105 LPDWORD lpdwCacheEntryInfoBufferSize);
1106BOOL WINAPI GetUrlCacheEntryInfoW(LPCWSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
1107 LPDWORD lpdwCacheEntryInfoBufferSize);
1108#define GetUrlCacheEntryInfo WINELIB_NAME_AW(GetUrlCacheEntryInfo)
1109
1110
1111BOOL WINAPI SetUrlCacheEntryInfoA(LPCSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
1112 DWORD dwFieldControl);
1113BOOL WINAPI SetUrlCacheEntryInfoW(LPCWSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
1114 DWORD dwFieldControl);
1115#define SetUrlCacheEntryInfo WINELIB_NAME_AW(SetUrlCacheEntryInfo)
1116
1117
1118HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
1119 LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo,
1120 LPDWORD lpdwFirstCacheEntryInfoBufferSize);
1121HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR lpszUrlSearchPattern,
1122 LPINTERNET_CACHE_ENTRY_INFOW lpFirstCacheEntryInfo,
1123 LPDWORD lpdwFirstCacheEntryInfoBufferSize);
1124#define FindFirstUrlCacheEntry WINELIB_NAME_AW(FindFirstUrlCacheEntry)
1125
1126BOOL WINAPI FindNextUrlCacheEntryA(HANDLE hEnumHandle,
1127 LPINTERNET_CACHE_ENTRY_INFOA lpNextCacheEntryInfo,
1128 LPDWORD lpdwNextCacheEntryInfoBufferSize);
1129BOOL WINAPI FindNextUrlCacheEntryW(HANDLE hEnumHandle,
1130 LPINTERNET_CACHE_ENTRY_INFOW lpNextCacheEntryInfo,
1131 LPDWORD lpdwNextCacheEntryInfoBufferSize);
1132#define FindNextUrlCacheEntry WINELIB_NAME_AW(FindNextUrlCacheEntry)
1133
1134BOOL WINAPI FindCloseUrlCache(HANDLE hEnumHandle);
1135
1136BOOL WINAPI DeleteUrlCacheEntry(LPCSTR lpszUrlName);
1137
1138#endif // !__WININET_H__
Note: See TracBrowser for help on using the repository browser.