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.

48 lines
1.3 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation
  3. Module Name:
  4. sxspath.h
  5. Abstract:
  6. Author:
  7. Jay Krell (a-JayK, JayKrell) October 2000
  8. Revision History:
  9. --*/
  10. #pragma once
  11. /*-----------------------------------------------------------------------------
  12. \\machine\share -> \\?\unc\machine\share
  13. c:\foo -> \\?\c:\foo
  14. \\? -> \\?
  15. a\b\c -> \\?\c:\windows\a\b\c current-working-directory is c:\windows (can never be unc)
  16. -----------------------------------------------------------------------------*/
  17. BOOL
  18. FusionpConvertToBigPath(PCWSTR Path, SIZE_T BufferSize, PWSTR Buffer);
  19. #define MAXIMUM_BIG_PATH_GROWTH_CCH (NUMBER_OF(L"\\\\?\\unc\\"))
  20. /*-----------------------------------------------------------------------------
  21. \\?\unc\machine\share\bob
  22. \\?\c:\foo\bar ^
  23. --------^---------------------------------------------------------------------*/
  24. BOOL
  25. FusionpSkipBigPathRoot(PCWSTR s, OUT SIZE_T*);
  26. /*-----------------------------------------------------------------------------
  27. just the 52 chars a-zA-Z, need to check with fs
  28. -----------------------------------------------------------------------------*/
  29. BOOL
  30. FusionpIsDriveLetter(
  31. WCHAR ch
  32. );
  33. /*-----------------------------------------------------------------------------
  34. -----------------------------------------------------------------------------*/