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.

18 lines
592 B

  1. /*
  2. * util.h
  3. */
  4. char *CompressedFileName(char *name);
  5. void ConvertBackslashes(LPSTR sz);
  6. void EnsureTrailingBackslash(char *sz);
  7. void EnsureTrailingChar(char *sz, char c);
  8. void EnsureTrailingCR(char *sz);
  9. void EnsureTrailingSlash(char *sz);
  10. DWORD FileStatus(LPCSTR file);
  11. void pathcat(char *path, const char *node, DWORD size);
  12. void pathcpy(LPSTR trg, LPCSTR path, LPCSTR node, DWORD size);
  13. char *FormatStatus(HRESULT status);
  14. BOOL EnsurePathExists(LPCSTR DirPath, LPSTR ExistingPath, DWORD ExistingPathSize);
  15. BOOL UndoPath(LPCSTR DirPath, LPCSTR BasePath);