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.

49 lines
955 B

  1. /*
  2. * i n e t d e f . h
  3. *
  4. * Purpose:
  5. * Defered wininet.
  6. *
  7. * Owner:
  8. * brettm.
  9. *
  10. * Copyright (C) Microsoft Corp. 1993, 1994.
  11. */
  12. #ifndef _INETDEF_H
  13. #define _INETDEF_H
  14. #include "wininet.h"
  15. HRESULT HrInit_WinInetDef(BOOL fInit);
  16. HINTERNET Def_InternetOpen (
  17. IN LPCSTR lpszAgent,
  18. IN DWORD dwAccessType,
  19. IN LPCSTR lpszProxy OPTIONAL,
  20. IN LPCSTR lpszProxyBypass OPTIONAL,
  21. IN DWORD dwFlags
  22. );
  23. BOOL Def_InternetReadFile (
  24. IN HINTERNET hFile,
  25. IN LPVOID lpBuffer,
  26. IN DWORD dwNumberOfBytesToRead,
  27. OUT LPDWORD lpdwNumberOfBytesRead
  28. );
  29. HINTERNET Def_InternetOpenUrl (
  30. IN HINTERNET hInternet,
  31. IN LPCSTR lpszUrl,
  32. IN LPCSTR lpszHeaders OPTIONAL,
  33. IN DWORD dwHeadersLength,
  34. IN DWORD dwFlags,
  35. IN DWORD dwContext
  36. );
  37. BOOL
  38. Def_InternetCloseHandle (
  39. IN HINTERNET hInternet
  40. );
  41. #endif //_INETDEF_H