69 lines
946 B
C
69 lines
946 B
C
/*++
|
|
|
|
Copyright (c) 1994-1999 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
Support.h
|
|
|
|
Abstract:
|
|
|
|
Support routine interfaces
|
|
|
|
Author:
|
|
|
|
Matthew Bradburn [mattbr] 05-Oct-1994
|
|
Robert Reichel [RobertRe] 01-Apr-1997
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
extern VOID
|
|
ArrangeCommandLine(
|
|
PTCHAR **pargv,
|
|
int *pargc
|
|
);
|
|
|
|
extern BOOLEAN
|
|
IsNtldr(
|
|
PTCHAR pch
|
|
);
|
|
|
|
extern BOOLEAN
|
|
IsUncRoot(
|
|
PTCHAR pch
|
|
);
|
|
|
|
extern VOID
|
|
DisplayMsg(DWORD MsgNum, ... );
|
|
|
|
extern VOID
|
|
DisplayErr(PTCHAR Prefix, DWORD MsgNum, ... );
|
|
|
|
|
|
extern DWORD
|
|
GetResourceString(LPWSTR *OutStr, DWORD MsgNum, ...);
|
|
|
|
extern VOID
|
|
InitializeIoStreams();
|
|
|
|
#define lstrchr wcschr
|
|
#define lstricmp _wcsicmp
|
|
#define lstrnicmp _wcsnicmp
|
|
|
|
extern ULONG
|
|
FormatFileSize(
|
|
IN PLARGE_INTEGER FileSize,
|
|
IN DWORD Width,
|
|
OUT PTCHAR FormattedSize,
|
|
IN BOOLEAN WithCommas
|
|
);
|
|
|
|
extern
|
|
PTOKEN_USER
|
|
GetTokenUser(
|
|
VOID
|
|
);
|