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.

58 lines
1.7 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // File: NetworkTools.h
  3. //
  4. // Copyright (c) 2001 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // Purpose:
  7. // NetworkTools.h: Helper functions that send/receive data.
  8. //
  9. // History:
  10. // 02/22/01 DennisCh Created
  11. //
  12. //////////////////////////////////////////////////////////////////////
  13. #if !defined(AFX_NETWORKTOOLS_H__4243AA4D_B243_4A0E_B729_243F260FC4F4__INCLUDED_)
  14. #define AFX_NETWORKTOOLS_H__4243AA4D_B243_4A0E_B729_243F260FC4F4__INCLUDED_
  15. #if _MSC_VER > 1000
  16. #pragma once
  17. #endif // _MSC_VER > 1000
  18. //////////////////////////////////////////////////////////////////////
  19. // Includes
  20. //////////////////////////////////////////////////////////////////////
  21. //
  22. // WIN32 headers
  23. //
  24. #define UNICODE
  25. #define _UNICODE
  26. #include <stdio.h>
  27. #include <windows.h>
  28. #include <tchar.h>
  29. #include <winhttp.h>
  30. #include <shlwapi.h>
  31. //
  32. // Project headers
  33. //
  34. //////////////////////////////////////////////////////////////////////
  35. // Constants
  36. //////////////////////////////////////////////////////////////////////
  37. #define DEBUGGER_TOOLS_PATH _T("c:\\debuggers\\")
  38. BOOL NetworkTools__POSTResponse(LPTSTR, LPSTR, LPTSTR);
  39. BOOL NetworkTools__SendLog(LPSTR, LPSTR, LPTSTR, DWORD);
  40. BOOL NetworkTools__URLDownloadToFile(LPCTSTR, LPCTSTR, LPCTSTR);
  41. BOOL NetworkTools__GetFileNameFromURL(LPTSTR, LPTSTR, DWORD);
  42. BOOL NetworkTools__CopyFile(LPCTSTR, LPCTSTR);
  43. BOOL NetworkTools__PageHeap(BOOL, LPCTSTR, LPCTSTR);
  44. BOOL NetworkTools__UMDH(BOOL, LPCTSTR, LPCTSTR, LPCTSTR, DWORD);
  45. BOOL NetworkTools__GetDllVersion(LPTSTR, LPSTR, DWORD);
  46. #endif // !defined(AFX_NETWORKTOOLS_H__4243AA4D_B243_4A0E_B729_243F260FC4F4__INCLUDED_)