Source code of Windows XP (NT5)
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.

40 lines
1.1 KiB

  1. #ifndef _RWPOST_H_
  2. #define _RWPOST_H_
  3. /**************************************************************************
  4. File: RWPOST.h
  5. Description:
  6. **************************************************************************/
  7. #define MAX_BUFFER 5*1024
  8. #ifdef __cplusplus
  9. extern "C"
  10. {
  11. #endif
  12. DWORD CheckInternetConnectivityExists( HWND hWnd, HINSTANCE hInstance);
  13. DWORD_PTR CheckWithDisplayInternetConnectivityExists(HINSTANCE hIns,HWND hwnd,int iMsgType=0);
  14. //DWORD SendHTTPData(HINSTANCE hInstance,LPTSTR czB, DWORD *dwBufSize);
  15. DWORD SendHTTPData(HWND hWnd, HINSTANCE hInstance);
  16. DWORD PostHTTPData(HINSTANCE hInstance);
  17. DWORD_PTR PostDataWithWindowMessage( HINSTANCE hIns);
  18. void InitializeInetThread(HINSTANCE hInstance);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #define RWZ_SITE_CONNECTED 1
  23. #define RWZ_FAIL_TOCONNECTTOSITE 0
  24. #define RWZ_SITE_REQUIRES_AUTHENTICATION 2
  25. DWORD ChkSiteAvailability( HWND hWnd,
  26. LPCTSTR szIISServer,
  27. DWORD dwTimeOut,
  28. LPTSTR szProxyServer,
  29. LPTSTR szUserName ,
  30. LPTSTR szPassword);
  31. extern RECT gRect;
  32. #endif //_INTERFACE_H_