mirror of https://github.com/tongzx/nt5src
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
68 lines
946 B
/*++
|
|
|
|
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
|
|
);
|