Changeset 4845 for trunk/include/win/wininet.h
- Timestamp:
- Dec 28, 2000, 12:16:07 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/wininet.h
r2651 r4845 1 /* $Id: wininet.h,v 1. 2 2000-02-05 02:42:19sandervl Exp $ */1 /* $Id: wininet.h,v 1.3 2000-12-27 23:16:07 sandervl Exp $ */ 2 2 #ifndef __WININET_H__ 3 3 #define __WININET_H__ … … 339 339 340 340 341 #define HTTP_MAJOR_VERSION 1 342 #define HTTP_MINOR_VERSION 0 343 344 #define HTTP_VERSION TEXT("HTTP/1.0") 345 341 #define HTTP_MAJOR_VERSION 1 342 #define HTTP_MINOR_VERSION 0 343 #define HTTP_VERSION TEXT("HTTP/1.0") 346 344 #define HTTP_QUERY_MIME_VERSION 0 347 345 #define HTTP_QUERY_CONTENT_TYPE 1 … … 362 360 #define HTTP_QUERY_LINK 16 363 361 #define HTTP_QUERY_PRAGMA 17 364 #define HTTP_QUERY_VERSION 18 365 #define HTTP_QUERY_STATUS_CODE 19 366 #define HTTP_QUERY_STATUS_TEXT 20 367 #define HTTP_QUERY_RAW_HEADERS 21 368 #define HTTP_QUERY_RAW_HEADERS_CRLF 22 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 369 367 #define HTTP_QUERY_CONNECTION 23 370 368 #define HTTP_QUERY_ACCEPT 24 … … 389 387 #define HTTP_QUERY_SET_COOKIE 43 390 388 #define HTTP_QUERY_COOKIE 44 391 #define HTTP_QUERY_MAX 44 389 #define HTTP_QUERY_REQUEST_METHOD 45 390 #define HTTP_QUERY_REFRESH 46 391 #define HTTP_QUERY_CONTENT_DISPOSITION 47 392 #define HTTP_QUERY_AGE 48 393 #define HTTP_QUERY_CACHE_CONTROL 49 394 #define HTTP_QUERY_CONTENT_BASE 50 395 #define HTTP_QUERY_CONTENT_LOCATION 51 396 #define HTTP_QUERY_CONTENT_MD5 52 397 #define HTTP_QUERY_CONTENT_RANGE 53 398 #define HTTP_QUERY_ETAG 54 399 #define HTTP_QUERY_HOST 55 400 #define HTTP_QUERY_IF_MATCH 56 401 #define HTTP_QUERY_IF_NONE_MATCH 57 402 #define HTTP_QUERY_IF_RANGE 58 403 #define HTTP_QUERY_IF_UNMODIFIED_SINCE 59 404 #define HTTP_QUERY_MAX_FORWARDS 60 405 #define HTTP_QUERY_PROXY_AUTHORIZATION 61 406 #define HTTP_QUERY_RANGE 62 407 #define HTTP_QUERY_TRANSFER_ENCODING 63 408 #define HTTP_QUERY_UPGRADE 64 409 #define HTTP_QUERY_VARY 65 410 #define HTTP_QUERY_VIA 66 411 #define HTTP_QUERY_WARNING 67 412 #define HTTP_QUERY_MAX 67 392 413 #define HTTP_QUERY_CUSTOM 65535 393 394 414 #define HTTP_QUERY_FLAG_REQUEST_HEADERS 0x80000000 395 415 #define HTTP_QUERY_FLAG_SYSTEMTIME 0x40000000 396 416 #define HTTP_QUERY_FLAG_NUMBER 0x20000000 397 417 #define HTTP_QUERY_FLAG_COALESCE 0x10000000 398 #define HTTP_QUERY_MODIFIER_FLAGS_MASK (HTTP_QUERY_FLAG_REQUEST_HEADERS 418 #define HTTP_QUERY_MODIFIER_FLAGS_MASK (HTTP_QUERY_FLAG_REQUEST_HEADERS \ 399 419 | HTTP_QUERY_FLAG_SYSTEMTIME \ 400 420 | HTTP_QUERY_FLAG_NUMBER \ 401 421 | HTTP_QUERY_FLAG_COALESCE \ 402 422 ) 403 404 423 #define HTTP_QUERY_HEADER_MASK (~HTTP_QUERY_MODIFIER_FLAGS_MASK) 405 424 406 #define HTTP_STATUS_OK 200 407 #define HTTP_STATUS_CREATED 201 408 #define HTTP_STATUS_ACCEPTED 202 409 #define HTTP_STATUS_PARTIAL 203 410 #define HTTP_STATUS_NO_CONTENT 204 411 412 #define HTTP_STATUS_AMBIGUOUS 300 413 #define HTTP_STATUS_MOVED 301 414 #define HTTP_STATUS_REDIRECT 302 415 #define HTTP_STATUS_REDIRECT_METHOD 303 416 #define HTTP_STATUS_NOT_MODIFIED 304 417 418 #define HTTP_STATUS_BAD_REQUEST 400 419 #define HTTP_STATUS_DENIED 401 420 #define HTTP_STATUS_PAYMENT_REQ 402 421 #define HTTP_STATUS_FORBIDDEN 403 422 #define HTTP_STATUS_NOT_FOUND 404 423 #define HTTP_STATUS_BAD_METHOD 405 424 #define HTTP_STATUS_NONE_ACCEPTABLE 406 425 #define HTTP_STATUS_PROXY_AUTH_REQ 407 426 #define HTTP_STATUS_REQUEST_TIME 408 427 #define HTTP_STATUS_CONFLICT 409 428 #define HTTP_STATUS_GONE 410 429 #define HTTP_STATUS_AUTH_REFUSED 411 430 431 #define HTTP_STATUS_SERVER_ERROR 500 432 #define HTTP_STATUS_NOT_SUPPORTED 501 433 #define HTTP_STATUS_BAD_GATEWAY 502 434 #define HTTP_STATUS_SERVICE_UNAVAIL 503 435 #define HTTP_STATUS_GATEWAY_TIME 504 425 #define HTTP_STATUS_CONTINUE 100 426 #define HTTP_STATUS_SWITCH_PROTOCOLS 101 427 #define HTTP_STATUS_OK 200 428 #define HTTP_STATUS_CREATED 201 429 #define HTTP_STATUS_ACCEPTED 202 430 #define HTTP_STATUS_PARTIAL 203 431 #define HTTP_STATUS_NO_CONTENT 204 432 #define HTTP_STATUS_RESET_CONTENT 205 433 #define HTTP_STATUS_PARTIAL_CONTENT 206 434 #define HTTP_STATUS_AMBIGUOUS 300 435 #define HTTP_STATUS_MOVED 301 436 #define HTTP_STATUS_REDIRECT 302 437 #define HTTP_STATUS_REDIRECT_METHOD 303 438 #define HTTP_STATUS_NOT_MODIFIED 304 439 #define HTTP_STATUS_USE_PROXY 305 440 #define HTTP_STATUS_REDIRECT_KEEP_VERB 307 441 #define HTTP_STATUS_BAD_REQUEST 400 442 #define HTTP_STATUS_DENIED 401 443 #define HTTP_STATUS_PAYMENT_REQ 402 444 #define HTTP_STATUS_FORBIDDEN 403 445 #define HTTP_STATUS_NOT_FOUND 404 446 #define HTTP_STATUS_BAD_METHOD 405 447 #define HTTP_STATUS_NONE_ACCEPTABLE 406 448 #define HTTP_STATUS_PROXY_AUTH_REQ 407 449 #define HTTP_STATUS_REQUEST_TIMEOUT 408 450 #define HTTP_STATUS_CONFLICT 409 451 #define HTTP_STATUS_GONE 410 452 #define HTTP_STATUS_LENGTH_REQUIRED 411 453 #define HTTP_STATUS_PRECOND_FAILED 412 454 #define HTTP_STATUS_REQUEST_TOO_LARGE 413 455 #define HTTP_STATUS_URI_TOO_LONG 414 456 #define HTTP_STATUS_UNSUPPORTED_MEDIA 415 457 #define HTTP_STATUS_SERVER_ERROR 500 458 #define HTTP_STATUS_NOT_SUPPORTED 501 459 #define HTTP_STATUS_BAD_GATEWAY 502 460 #define HTTP_STATUS_SERVICE_UNAVAIL 503 461 #define HTTP_STATUS_GATEWAY_TIMEOUT 504 462 #define HTTP_STATUS_VERSION_NOT_SUP 505 463 #define HTTP_STATUS_FIRST HTTP_STATUS_CONTINUE 464 #define HTTP_STATUS_LAST HTTP_STATUS_VERSION_NOT_SUP 436 465 437 466 #define HTTP_ADDREQ_INDEX_MASK 0x0000FFFF … … 452 481 453 482 #define ERROR_INTERNET_OUT_OF_HANDLES (INTERNET_ERROR_BASE + 1) 454 #define ERROR_INTERNET_TIME 483 #define ERROR_INTERNET_TIMEOUT (INTERNET_ERROR_BASE + 2) 455 484 #define ERROR_INTERNET_EXTENDED_ERROR (INTERNET_ERROR_BASE + 3) 456 485 #define ERROR_INTERNET_INTERNAL_ERROR (INTERNET_ERROR_BASE + 4) … … 484 513 #define ERROR_INTERNET_FORCE_RETRY (INTERNET_ERROR_BASE + 32) 485 514 #define ERROR_INTERNET_INVALID_PROXY_REQUEST (INTERNET_ERROR_BASE + 33) 486 515 #define ERROR_INTERNET_NEED_UI (INTERNET_ERROR_BASE + 34) 487 516 #define ERROR_INTERNET_HANDLE_EXISTS (INTERNET_ERROR_BASE + 36) 488 517 #define ERROR_INTERNET_SEC_CERT_DATE_INVALID (INTERNET_ERROR_BASE + 37) … … 493 522 #define ERROR_INTERNET_CHG_POST_IS_NON_SECURE (INTERNET_ERROR_BASE + 42) 494 523 #define ERROR_INTERNET_POST_IS_NON_SECURE (INTERNET_ERROR_BASE + 43) 495 524 #define ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED (INTERNET_ERROR_BASE + 44) 525 #define ERROR_INTERNET_INVALID_CA (INTERNET_ERROR_BASE + 45) 526 #define ERROR_INTERNET_CLIENT_AUTH_NOT_SETUP (INTERNET_ERROR_BASE + 46) 527 #define ERROR_INTERNET_ASYNC_THREAD_FAILED (INTERNET_ERROR_BASE + 47) 528 #define ERROR_INTERNET_REDIRECT_SCHEME_CHANGE (INTERNET_ERROR_BASE + 48) 529 #define ERROR_INTERNET_DIALOG_PENDING (INTERNET_ERROR_BASE + 49) 530 #define ERROR_INTERNET_RETRY_DIALOG (INTERNET_ERROR_BASE + 50) 531 #define ERROR_INTERNET_HTTPS_HTTP_SUBMIT_REDIR (INTERNET_ERROR_BASE + 52) 532 #define ERROR_INTERNET_INSERT_CDROM (INTERNET_ERROR_BASE + 53) 496 533 #define ERROR_FTP_TRANSFER_IN_PROGRESS (INTERNET_ERROR_BASE + 110) 497 534 #define ERROR_FTP_DROPPED (INTERNET_ERROR_BASE + 111) 498 535 #define ERROR_FTP_NO_PASSIVE_MODE (INTERNET_ERROR_BASE + 112) 499 536 #define ERROR_GOPHER_PROTOCOL_ERROR (INTERNET_ERROR_BASE + 130) 500 537 #define ERROR_GOPHER_NOT_FILE (INTERNET_ERROR_BASE + 131) … … 506 543 #define ERROR_GOPHER_ATTRIBUTE_NOT_FOUND (INTERNET_ERROR_BASE + 137) 507 544 #define ERROR_GOPHER_UNKNOWN_LOCATOR (INTERNET_ERROR_BASE + 138) 508 509 545 #define ERROR_HTTP_HEADER_NOT_FOUND (INTERNET_ERROR_BASE + 150) 510 546 #define ERROR_HTTP_DOWNLEVEL_SERVER (INTERNET_ERROR_BASE + 151) … … 514 550 #define ERROR_HTTP_HEADER_ALREADY_EXISTS (INTERNET_ERROR_BASE + 155) 515 551 #define ERROR_HTTP_REDIRECT_FAILED (INTERNET_ERROR_BASE + 156) 516 517 #define INTERNET_ERROR_LAST ERROR_HTTP_REDIRECT_FAILED 552 #define ERROR_HTTP_NOT_REDIRECTED (INTERNET_ERROR_BASE + 160) 553 #define ERROR_HTTP_COOKIE_NEEDS_CONFIRMATION (INTERNET_ERROR_BASE + 161) 554 #define ERROR_HTTP_COOKIE_DECLINED (INTERNET_ERROR_BASE + 162) 555 #define ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION (INTERNET_ERROR_BASE + 168) 556 #define ERROR_INTERNET_SECURITY_CHANNEL_ERROR (INTERNET_ERROR_BASE + 157) 557 #define ERROR_INTERNET_UNABLE_TO_CACHE_FILE (INTERNET_ERROR_BASE + 158) 558 #define ERROR_INTERNET_TCPIP_NOT_INSTALLED (INTERNET_ERROR_BASE + 159) 559 #define ERROR_INTERNET_DISCONNECTED (INTERNET_ERROR_BASE + 163) 560 #define ERROR_INTERNET_SERVER_UNREACHABLE (INTERNET_ERROR_BASE + 164) 561 #define ERROR_INTERNET_PROXY_SERVER_UNREACHABLE (INTERNET_ERROR_BASE + 165) 562 #define ERROR_INTERNET_BAD_AUTO_PROXY_SCRIPT (INTERNET_ERROR_BASE + 166) 563 #define ERROR_INTERNET_UNABLE_TO_DOWNLOAD_SCRIPT (INTERNET_ERROR_BASE + 167) 564 #define ERROR_INTERNET_SEC_INVALID_CERT (INTERNET_ERROR_BASE + 169) 565 #define ERROR_INTERNET_SEC_CERT_REVOKED (INTERNET_ERROR_BASE + 170) 566 #define ERROR_INTERNET_FAILED_DUETOSECURITYCHECK (INTERNET_ERROR_BASE + 171) 567 #define INTERNET_ERROR_LAST ERROR_INTERNET_FAILED_DUETOSECURITYCHECK 568 518 569 519 570 #define CACHE_ENTRY_ATTRIBUTE_FC 0x00000004 … … 607 658 LPCTSTR lpszProxyBypass; 608 659 } INTERNET_PROXY_INFO, *LPINTERNET_PROXY_INFO; 660 661 typedef struct _INTERNET_BUFFERSA 662 { 663 DWORD dwStructSize; 664 struct _INTERNET_BUFFERSA * Next; 665 LPCSTR lpcszHeader; 666 DWORD dwHeadersLength; 667 DWORD dwHeadersTotal; 668 LPVOID lpvBuffer; 669 DWORD dwBufferLength; 670 DWORD dwBufferTotal; 671 DWORD dwOffsetLow; 672 DWORD dwOffsetHigh; 673 } INTERNET_BUFFERSA,* LPINTERNET_BUFFERSA; 609 674 610 675 typedef struct {
Note:
See TracChangeset
for help on using the changeset viewer.