ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pause.c
Go to the documentation of this file.
00001 /*
00002  *  PAUSE.C - pause internal command.
00003  *
00004  *
00005  *  History:
00006  *
00007  *    16 Jul 1998 (Hans B Pufal)
00008  *        started.
00009  *
00010  *    16 Jul 1998 (John P Price)
00011  *        Seperated commands into individual files.
00012  *
00013  *    27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
00014  *        added config.h include
00015  *
00016  *    18-Jan-1999 (Eric Kohl)
00017  *        Unicode ready!
00018  */
00019 
00020 #include <precomp.h>
00021 
00022 #ifdef INCLUDE_CMD_PAUSE
00023 
00024 /*
00025  * Perform PAUSE command.
00026  *
00027  * FREEDOS extension : If parameter is specified use that as the pause
00028  *   message.
00029  *
00030  * ?? Extend to include functionality of CHOICE if switch chars
00031  *     specified.
00032  *
00033  *    30-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
00034  *        Remove all hardcode string to En.rc
00035  */
00036 
00037 INT cmd_pause (LPTSTR param)
00038 {
00039 
00040     TRACE ("cmd_pause: \'%s\')\n", debugstr_aw(param));
00041 
00042     if (!_tcsncmp (param, _T("/?"), 2))
00043     {
00044         ConOutResPaging(TRUE,STRING_PAUSE_HELP1);
00045         return 0;
00046     }
00047 
00048     if (*param)
00049         ConOutPrintf (param);
00050     else
00051         msg_pause ();
00052 
00053     cgetchar ();
00054 
00055     return 0;
00056 }
00057 
00058 #endif
00059 
00060 /* EOF */

Generated on Fri May 25 2012 04:16:32 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.