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.

68 lines
946 B

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