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.

31 lines
1002 B

  1. /*****************************************************************************\
  2. * MODULE: inetinfo.h
  3. *
  4. * Copyright (C) 1996-1997 Microsoft Corporation
  5. *
  6. * History:
  7. * 04/14/97 weihaic Pull declaration from global.h
  8. *
  9. \*****************************************************************************/
  10. #ifndef INETIO_H
  11. #define INETIO_H
  12. INT AnsiToUnicodeString(LPSTR pAnsi, LPWSTR pUnicode, UINT StringLength );
  13. INT UnicodeToAnsiString(LPWSTR pUnicode, LPSTR pAnsi, UINT StringLength);
  14. LPWSTR AllocateUnicodeString(LPSTR pAnsiString );
  15. BOOL htmlSendHeader(PALLINFO pAllInfo, LPTSTR lpszHeader, LPTSTR lpszContent);
  16. BOOL IsClientSameAsServer(EXTENSION_CONTROL_BLOCK *pECB);
  17. BOOL IsClientHttpProvider (PALLINFO pAllInfo);
  18. BOOL htmlSendRedirect(PALLINFO pAllInfo, LPTSTR lpszURL);
  19. LPTSTR EncodeFriendlyName (LPCTSTR lpText);
  20. LPTSTR DecodeFriendlyName (LPTSTR lpText);
  21. DWORD ProcessErrorMessage (PALLINFO pAllInfo, DWORD dwError = ERROR_SUCCESS);
  22. unsigned long GetIPAddr(LPSTR lpszName);
  23. #endif