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.
57 lines
1.1 KiB
57 lines
1.1 KiB
/*++
|
|
|
|
Copyright (c) 1991 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
parse.c
|
|
|
|
Abstract:
|
|
|
|
This module contains UI code for the OS chooser
|
|
|
|
Author:
|
|
|
|
Geoff Pease (GPease) May 29 1998
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#ifndef __PARSE_H__
|
|
#define __PARSE_H__
|
|
|
|
enum ACTIONS {
|
|
ACTION_NOP = 0,
|
|
ACTION_REBOOT,
|
|
ACTION_JUMP,
|
|
ACTION_LOGIN
|
|
#if defined(_BUILDING_OSDISP_)
|
|
,ACTION_REFRESH
|
|
#endif
|
|
};
|
|
|
|
extern enum ACTIONS SpecialAction;
|
|
|
|
extern CHAR DomainName[256];
|
|
extern CHAR UserName[256];
|
|
extern CHAR Password[128];
|
|
extern CHAR AdministratorPassword[OSC_ADMIN_PASSWORD_LEN+1];
|
|
extern CHAR AdministratorPasswordConfirm[OSC_ADMIN_PASSWORD_LEN+1];
|
|
|
|
CHAR
|
|
BlProcessScreen(
|
|
IN PCHAR InputString,
|
|
OUT PCHAR OutputString
|
|
);
|
|
|
|
#define ASCI_CSI_OUT TEXT("\033[") // escape-leftbracket
|
|
|
|
#define ATT_FG_BLUE 4
|
|
#define ATT_FG_WHITE 7
|
|
#define ATT_BG_BLUE (ATT_FG_BLUE << 4)
|
|
#define ATT_BG_WHITE (ATT_FG_WHITE << 4)
|
|
#define DEFATT (ATT_FG_WHITE | ATT_BG_BLUE)
|
|
#define INVATT (ATT_FG_BLUE | ATT_BG_WHITE)
|
|
|
|
#endif // __PARSE_H__
|