Source code of Windows XP (NT5)
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

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. parse.c
  5. Abstract:
  6. This module contains UI code for the OS chooser
  7. Author:
  8. Geoff Pease (GPease) May 29 1998
  9. Revision History:
  10. --*/
  11. #ifndef __PARSE_H__
  12. #define __PARSE_H__
  13. enum ACTIONS {
  14. ACTION_NOP = 0,
  15. ACTION_REBOOT,
  16. ACTION_JUMP,
  17. ACTION_LOGIN
  18. #if defined(_BUILDING_OSDISP_)
  19. ,ACTION_REFRESH
  20. #endif
  21. };
  22. extern enum ACTIONS SpecialAction;
  23. extern CHAR DomainName[256];
  24. extern CHAR UserName[256];
  25. extern CHAR Password[128];
  26. extern CHAR AdministratorPassword[OSC_ADMIN_PASSWORD_LEN+1];
  27. extern CHAR AdministratorPasswordConfirm[OSC_ADMIN_PASSWORD_LEN+1];
  28. CHAR
  29. BlProcessScreen(
  30. IN PCHAR InputString,
  31. OUT PCHAR OutputString
  32. );
  33. #define ASCI_CSI_OUT TEXT("\033[") // escape-leftbracket
  34. #define ATT_FG_BLUE 4
  35. #define ATT_FG_WHITE 7
  36. #define ATT_BG_BLUE (ATT_FG_BLUE << 4)
  37. #define ATT_BG_WHITE (ATT_FG_WHITE << 4)
  38. #define DEFATT (ATT_FG_WHITE | ATT_BG_BLUE)
  39. #define INVATT (ATT_FG_BLUE | ATT_BG_WHITE)
  40. #endif // __PARSE_H__