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.

55 lines
1.2 KiB

  1. //=======================================================================
  2. // Microsoft SORG migration helper tool
  3. //
  4. // Copyright Microsoft (c) 2000 Microsoft Corporation.
  5. //
  6. // File: util.hxx
  7. //
  8. //=======================================================================
  9. #ifndef UTIL_HXX
  10. #define UTIL_HXX
  11. #include <filelist.hxx>
  12. class CSpecialDirectory;
  13. DWORD StatePrintfA (HANDLE h, CHAR *szFormat, ...);
  14. BOOL MatchString(const TCHAR *ptsPattern,
  15. const TCHAR *ptsString,
  16. const BOOL bRequireNullPatMatch);
  17. BOOL IsPatternMatch(const TCHAR *ptsPatternDir,
  18. const TCHAR *ptsPatternFile,
  19. const TCHAR *ptsPatternExt,
  20. const TCHAR *ptsPath,
  21. const TCHAR *ptsFilename);
  22. BOOL IsPatternMatchFull(const TCHAR *ptsPatternFull,
  23. const TCHAR *ptsPath,
  24. const TCHAR *ptsFilename);
  25. BOOL DeconstructFilename(const TCHAR *pwsString,
  26. TCHAR *pwsPath,
  27. TCHAR *pwsName,
  28. TCHAR *pwsExt);
  29. BOOL PathPrefix(const TCHAR *ptsPath, const TCHAR *ptsInclude);
  30. #endif //UTIL_HXX