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.

61 lines
918 B

  1. /*++
  2. Copyright (c) 1994-1995 Microsoft Corporation
  3. Module Name:
  4. Support.h
  5. Abstract:
  6. Support routine interfaces
  7. Author:
  8. Matthew Bradburn [mattbr] 05-Oct-1994
  9. Revision History:
  10. --*/
  11. extern TCHAR DecimalPlace[];
  12. extern TCHAR ThousandSeparator[];
  13. extern VOID
  14. ArrangeCommandLine(
  15. PTCHAR **pargv,
  16. int *pargc
  17. );
  18. extern BOOLEAN
  19. ExcludeThisFile(
  20. IN PTCHAR pch
  21. );
  22. extern BOOLEAN
  23. IsUncRoot(
  24. PTCHAR pch
  25. );
  26. extern VOID
  27. DisplayMsg(DWORD MsgNum, ... );
  28. extern VOID
  29. DisplayErr(PTCHAR Prefix, DWORD MsgNum, ... );
  30. extern VOID
  31. InitializeIoStreams();
  32. #define lstrchr wcschr
  33. #define lstricmp _wcsicmp
  34. #define lstrnicmp _wcsnicmp
  35. extern ULONG
  36. FormatFileSize(
  37. IN PLARGE_INTEGER FileSize,
  38. IN DWORD Width,
  39. OUT PTCHAR FormattedSize,
  40. IN BOOLEAN WithCommas
  41. );