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

beep.c
Go to the documentation of this file.
00001 /*
00002  *  BEEP.C - beep 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  *        Separated commands into individual files.
00012  *
00013  *    27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
00014  *        added config.h include
00015  *
00016  *    14-Jan-1999 (Eric Kohl)
00017  *        Added help text ("beep /?").
00018  *        Unicode ready!
00019  *
00020  *    20-Jan-1999 (Eric Kohl)
00021  *        Redirection ready!
00022  *
00023  *    02-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
00024  *        Remove all hardcode string to En.rc
00025  */
00026 
00027 #include <precomp.h>
00028 
00029 #ifdef INCLUDE_CMD_BEEP
00030 
00031 
00032 INT cmd_beep (LPTSTR param)
00033 {
00034     if (_tcsncmp (param, _T("/?"), 2) == 0)
00035     {
00036         ConOutResPaging(TRUE,STRING_BEEP_HELP);
00037         return 0;
00038     }
00039 
00040 #if 0
00041     /* check if run in batch mode */
00042     if (bc == NULL)
00043         return 1;
00044 #endif
00045     MessageBeep (-1);
00046 
00047     return 0;
00048 }
00049 #endif

Generated on Sat May 26 2012 04:17:00 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.