2 * BEEP.C - beep internal command.
7 * 16 Jul 1998 (Hans B Pufal)
10 * 16 Jul 1998 (John P Price)
11 * Separated commands into individual files.
13 * 27-Jul-1998 (John P Price <linux-guru@gcfl.net>)
14 * added config.h include
16 * 14-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
17 * Added help text ("beep /?").
20 * 20-Jan-1999 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
23 * 02-Apr-2005 (Magnus Olsen) <magnus@greatlord.com>)
24 * Remove all hardcode string to En.rc
30 #ifdef INCLUDE_CMD_BEEP
33 INT
cmd_beep (LPTSTR cmd
, LPTSTR param
)
35 WCHAR szMsg
[RC_STRING_MAX_SIZE
];
37 if (_tcsncmp (param
, _T("/?"), 2) == 0)
39 LoadString( GetModuleHandle(NULL
), STRING_ALIAS_HELP
, (LPTSTR
) szMsg
,sizeof(szMsg
));
40 ConOutPuts (_T((LPTSTR
)szMsg
));
45 /* check if run in batch mode */