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.

67 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. UniUtf.h
  5. Abstract:
  6. This file declares the functions used for Unicode object name to/from Utf8-URL coversion
  7. Author:
  8. Mukul Gupta [Mukgup] 20-Dec-2000
  9. Revision History:
  10. --*/
  11. #ifndef _UNICODE_UTF8_
  12. #define _UNICODE_UTF8_
  13. #include <stdio.h>
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif // __cplusplus
  17. HRESULT
  18. UtfUrlStrToWideStr(
  19. IN LPWSTR UtfStr,
  20. IN DWORD UtfStrLen,
  21. OUT LPWSTR WideStr,
  22. OUT LPDWORD pWideStrLen
  23. );
  24. DWORD
  25. WideStrToUtfUrlStr(
  26. IN LPWSTR WideStr,
  27. IN DWORD WideStrLen,
  28. IN OUT LPWSTR InOutBuf,
  29. IN DWORD InOutBufLen
  30. );
  31. BOOL
  32. DavHttpOpenRequestW(
  33. IN HINTERNET hConnect,
  34. IN LPWSTR lpszVerb,
  35. IN LPWSTR lpszObjectName,
  36. IN LPWSTR lpszVersion,
  37. IN LPWSTR lpszReferer,
  38. IN LPWSTR FAR * lpszAcceptTypes,
  39. IN DWORD dwFlags,
  40. IN DWORD_PTR dwContext,
  41. IN LPWSTR ErrMsgTag,
  42. OUT HINTERNET * phInternet
  43. );
  44. #ifdef __cplusplus
  45. }
  46. #endif // __cplusplus
  47. #endif // _UNICODE_UTF8_