Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenbeep.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
1.7.6.1
|