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.

38 lines
978 B

  1. /*/###########################################################################
  2. //**
  3. //** Copyright (C) 1996-97 Intel Corporation. All rights reserved.
  4. //**
  5. //** The information and source code contained herein is the exclusive
  6. //** property of Intel Corporation and may not be disclosed, examined
  7. //** from the company.
  8. //**
  9. //###########################################################################
  10. *
  11. * $Header: /ITP_E-DOS/INC/Sys/DOSKEY.H 1 8/28/97 11:56a Ajfish $
  12. * $NoKeywords: $
  13. */
  14. #ifndef _DOSKEY_H
  15. #define _DOSKEY_H
  16. #define MAX_CMDLINE 80
  17. #define MAX_HISTORY 16
  18. #define MODE_INSERT 1
  19. #define MODE_BUFFER 0
  20. typedef struct DosKey {
  21. BOOLEAN InsertMode;
  22. UINTN Start;
  23. UINTN End;
  24. UINTN Current;
  25. CHAR16 Buffer[MAX_HISTORY][MAX_CMDLINE];
  26. } DosKey_t;
  27. DosKey_t *InitDosKey(DosKey_t *DosKey, UINTN HistorySize);
  28. CHAR16 *DosKeyGetCommandLine(DosKey_t *Doskey);
  29. #define CNTL_Z 26
  30. #endif