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.

45 lines
1.6 KiB

  1. #ifndef _PRIVPATH_H_
  2. #define _PRIVPATH_H_
  3. //
  4. // #define all private path functions here so we dont get redefinition
  5. // warnings when linking pathw.obj and patha.obj, who both have these
  6. // functions.
  7. //
  8. #ifdef UNICODE
  9. #define CaseConvertPathExceptDBCS CaseConvertPathExceptDBCSW
  10. #define AnsiLowerNoDBCS AnsiLowerNoDBCSW
  11. #define AnsiUpperNoDBCS AnsiUpperNoDBCSW
  12. #define AnsiLowerBuffNoDBCS AnsiLowerBuffNoDBCSW
  13. #define AnsiUpperBuffNoDBCS AnsiUpperBuffNoDBCSW
  14. #define NextPath NextPathW
  15. #define IsOtherDir IsOtherDirW
  16. #define StrSlash StrSlashW
  17. #define GetPCEnd GetPCEndW
  18. #define PCStart PCStartW
  19. #define NearRootFixups NearRootFixupsW
  20. #define UnExpandEnvironmentString UnExpandEnvironmentStringW
  21. #define IsSystemSpecialCase IsSystemSpecialCaseW
  22. #define CharLowerBuffNoDBCS CharLowerBuffNoDBCSW
  23. #define CharUpperBuffNoDBCS CharUpperBuffNoDBCSW
  24. #define PathMatchSingleSpec PathMatchSingleSpecW
  25. #else
  26. #define CaseConvertPathExceptDBCS CaseConvertPathExceptDBCSA
  27. #define AnsiLowerNoDBCS AnsiLowerNoDBCSA
  28. #define AnsiUpperNoDBCS AnsiUpperNoDBCSA
  29. #define AnsiLowerBuffNoDBCS AnsiLowerBuffNoDBCSA
  30. #define AnsiUpperBuffNoDBCS AnsiUpperBuffNoDBCSA
  31. #define NextPath NextPathA
  32. #define IsOtherDir IsOtherDirA
  33. #define StrSlash StrSlashA
  34. #define GetPCEnd GetPCEndA
  35. #define PCStart PCStartA
  36. #define NearRootFixups NearRootFixupsA
  37. #define UnExpandEnvironmentString UnExpandEnvironmentStringA
  38. #define IsSystemSpecialCase IsSystemSpecialCaseA
  39. #define CharLowerBuffNoDBCS CharLowerBuffNoDBCSA
  40. #define CharUpperBuffNoDBCS CharUpperBuffNoDBCSA
  41. #define PathMatchSingleSpec PathMatchSingleSpecA
  42. #endif // UNICODE
  43. #endif // _PRIVPATH_H_