mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line): /DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible. /DEBUGPORT=FOO --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...) /DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port. svn path=/branches/kd++/; revision=58883
50 lines
858 B
C
50 lines
858 B
C
/*
|
|
* BEEP.C - beep internal command.
|
|
*
|
|
*
|
|
* History:
|
|
*
|
|
* 16 Jul 1998 (Hans B Pufal)
|
|
* started.
|
|
*
|
|
* 16 Jul 1998 (John P Price)
|
|
* Separated commands into individual files.
|
|
*
|
|
* 27-Jul-1998 (John P Price <[email protected]>)
|
|
* added config.h include
|
|
*
|
|
* 14-Jan-1999 (Eric Kohl)
|
|
* Added help text ("beep /?").
|
|
* Unicode ready!
|
|
*
|
|
* 20-Jan-1999 (Eric Kohl)
|
|
* Redirection ready!
|
|
*
|
|
* 02-Apr-2005 (Magnus Olsen) <[email protected]>)
|
|
* Remove all hardcode string to En.rc
|
|
*/
|
|
|
|
#include "precomp.h"
|
|
|
|
#ifdef INCLUDE_CMD_BEEP
|
|
|
|
|
|
INT cmd_beep (LPTSTR param)
|
|
{
|
|
if (_tcsncmp (param, _T("/?"), 2) == 0)
|
|
{
|
|
ConOutResPaging(TRUE,STRING_BEEP_HELP);
|
|
return 0;
|
|
}
|
|
|
|
#if 0
|
|
/* check if run in batch mode */
|
|
if (bc == NULL)
|
|
return 1;
|
|
#endif
|
|
MessageBeep (-1);
|
|
|
|
return 0;
|
|
}
|
|
#endif
|