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.

50 lines
1.2 KiB

  1. /*
  2. * comc.h - Shared routines description.
  3. */
  4. /* Prototypes
  5. *************/
  6. /* comc.c */
  7. extern void CatPath(LPTSTR, LPCTSTR, int);
  8. extern COMPARISONRESULT MapIntToComparisonResult(int);
  9. extern void MyLStrCpyN(LPTSTR, LPCTSTR, int);
  10. #ifdef DEBUG
  11. extern BOOL IsStringContained(LPCTSTR, LPCTSTR);
  12. #endif /* DEBUG */
  13. #if defined(_SYNCENG_) || defined(_LINKINFO_)
  14. extern void DeleteLastPathElement(LPTSTR);
  15. extern LONG GetDefaultRegKeyValue(HKEY, LPCTSTR, LPTSTR, PDWORD);
  16. extern BOOL StringCopy(LPCTSTR, LPTSTR *);
  17. extern void CopyRootPath(LPCTSTR, LPTSTR);
  18. extern COMPARISONRESULT ComparePathStrings(LPCTSTR, LPCTSTR);
  19. extern BOOL MyStrChr(LPCTSTR, TCHAR, LPCTSTR *);
  20. extern BOOL PathExists(LPCTSTR);
  21. extern BOOL IsDrivePath(LPCTSTR);
  22. #if defined(DEBUG) || defined(VSTF)
  23. extern BOOL IsValidDriveType(UINT);
  24. extern BOOL IsValidPathSuffix(LPCTSTR);
  25. #endif /* DEBUG || VSTF */
  26. #ifdef DEBUG
  27. extern BOOL IsRootPath(LPCTSTR);
  28. extern BOOL IsTrailingSlashCanonicalized(LPCTSTR);
  29. extern BOOL IsFullPath(LPCTSTR);
  30. extern BOOL IsCanonicalPath(LPCTSTR);
  31. extern BOOL IsValidCOMPARISONRESULT(COMPARISONRESULT);
  32. #endif /* DEBUG */
  33. #endif /* _SYNCENG_ || _LINKINFO_ */