140 pSettings =
new (std::nothrow)
CSettings();
168#define INPUT_BUFFER_SIZE 1024
175 if (pchCommand ==
NULL)
184 WORD wOldConsoleAttribute;
228 int nCommandReturnValue;
229 switch(CommandsList.
Execute(Parser,nCommandReturnValue))
235 size_t cmdlen =
_tcslen(pchCommandItself);
237 (pchCommandItself[cmdlen-1] !=
_T(
'\\'))||
const TCHAR * CompletionCallback(unsigned __int64 &rnIndex, const BOOL *pblnForward, const TCHAR *pszContext, const TCHAR *pszBegin)
BOOL WINAPI HandlerRoutine(DWORD dwCtrlType)
BOOL blnCommandExecutionInProgress
#define INPUT_BUFFER_SIZE
TCHAR pchCurrentKey[PROMPT_BUFFER_SIZE]
#define PROMPT_BUFFER_SIZE
#define SETTINGS_REGISTRY_KEY
void SetArgumentList(TCHAR *pchArguments)
void ResetArgumentIteration()
TCHAR * GetNextArgument()
BOOL SetTitle(const TCHAR *p)
void BeginScrollingOperation()
BOOL SetTextAttribute(WORD wAttributes)
TCHAR * Init(DWORD dwBufferSize, DWORD dwMaxHistoryLines=0)
BOOL GetTextAttribute(WORD &rwAttributes)
BOOL Write(const TCHAR *p, DWORD dwChars=0)
void SetReplaceCompletionCallback(ReplaceCompletionCallback pfCallback)
void ShowPrompt(CConsole &rConsole)
HRESULT SetPrompt(LPCTSTR pszPrompt)
BOOL ChangeCurrentKey(const TCHAR *pchRelativePath)
HRESULT Load(LPCTSTR pszLoadKey)
WORD GetCommandTextAttributes()
WORD GetNormalTextAttributes()
void AddCommand(CShellCommand *pCommand)
int Execute(CArgumentParser &rArgumentParser, int &nReturnValue)
BOOL HelpCommand(PCOMMAND pCommand)
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine, BOOL Add)
BOOL(CALLBACK * PHANDLER_ROUTINE)(_In_ DWORD)