Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. internalapi.hxx
  5. Abstract:
  6. Function declarations for a set of internal WinHTTP API used
  7. mainly by the WinHTTP caching layer. See .cxx file for
  8. detailed abstract.
  9. Environment:
  10. Win32 user-mode DLL
  11. Revision History:
  12. --*/
  13. #ifndef __INTERNAL_API_HXX__
  14. #define __INTERNAL_API_HXX__
  15. // #define for the dwOption in InternalQueryOptionA
  16. #define WINHTTP_OPTION_REQUEST_FLAGS 0x2001
  17. #define WINHTTP_OPTION_CACHE_FLAGS 0x2002
  18. BOOL InternalQueryOptionA(
  19. IN HINTERNET hInternet,
  20. IN DWORD dwOption,
  21. IN OUT LPDWORD lpdwResult
  22. );
  23. DWORD InternalReplaceResponseHeader(
  24. IN HINTERNET hRequest,
  25. IN DWORD dwQueryIndex,
  26. IN LPSTR lpszHeaderValue,
  27. IN DWORD dwHeaderValueLength,
  28. IN DWORD dwIndex,
  29. IN DWORD dwFlags
  30. );
  31. DWORD InternalCreateResponseHeaders(
  32. IN HINTERNET hRequest,
  33. IN OUT LPSTR* ppszBuffer,
  34. IN DWORD dwBufferLength
  35. );
  36. BOOL InternalIsResponseHeaderPresent(
  37. IN HINTERNET hRequest,
  38. IN DWORD dwQueryIndex
  39. );
  40. BOOL InternalIsResponseHttp1_1(
  41. IN HINTERNET hRequest
  42. );
  43. VOID InternalReuseHTTP_Request_Handle_Object(
  44. IN HINTERNET hRequest
  45. );
  46. DWORD InternalAddResponseHeader(
  47. IN HINTERNET hRequest,
  48. IN DWORD dwHeaderIndex,
  49. IN LPSTR lpszHeader,
  50. IN DWORD dwHeaderLength
  51. );
  52. #endif // __INTERNAL_API_HXX__