home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / compact / support.h < prev   
C/C++ Source or Header  |  1996-01-27  |  832b  |  58 lines

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