* fhandler_console.cc (fhandler_console::write_normal): Use MessageBeep for
bell sound. * autoload.cc (MessageBeep): Add.
This commit is contained in:
parent
97c61aeba5
commit
d1d1797eb7
|
@ -1,3 +1,11 @@
|
||||||
|
|
||||||
|
2003-02-13 Vaclav Haisman <V.Haisman@sh.cvut.cz>
|
||||||
|
Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* fhandler_console.cc (fhandler_console::write_normal): Use MessageBeep
|
||||||
|
for bell sound.
|
||||||
|
* autoload.cc (MessageBeep): Add.
|
||||||
|
|
||||||
2003-02-13 Christopher Faylor <cgf@redhat.com>
|
2003-02-13 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* include/cygwin/types.h: Use correct ifdef guard for u_ definitions.
|
* include/cygwin/types.h: Use correct ifdef guard for u_ definitions.
|
||||||
|
|
|
@ -419,6 +419,7 @@ LoadDLLfunc (GetProcessWindowStation, 0, user32)
|
||||||
LoadDLLfunc (GetThreadDesktop, 4, user32)
|
LoadDLLfunc (GetThreadDesktop, 4, user32)
|
||||||
LoadDLLfunc (GetUserObjectInformationA, 20, user32)
|
LoadDLLfunc (GetUserObjectInformationA, 20, user32)
|
||||||
LoadDLLfunc (KillTimer, 8, user32)
|
LoadDLLfunc (KillTimer, 8, user32)
|
||||||
|
LoadDLLfunc (MessageBeep, 4, user32)
|
||||||
LoadDLLfunc (MessageBoxA, 16, user32)
|
LoadDLLfunc (MessageBoxA, 16, user32)
|
||||||
LoadDLLfunc (MsgWaitForMultipleObjects, 20, user32)
|
LoadDLLfunc (MsgWaitForMultipleObjects, 20, user32)
|
||||||
LoadDLLfunc (OemToCharBuffA, 12, user32)
|
LoadDLLfunc (OemToCharBuffA, 12, user32)
|
||||||
|
|
|
@ -1406,7 +1406,7 @@ fhandler_console::write_normal (const unsigned char *src,
|
||||||
switch (base_chars[*src])
|
switch (base_chars[*src])
|
||||||
{
|
{
|
||||||
case BEL:
|
case BEL:
|
||||||
Beep (412, 100);
|
MessageBeep (0xFFFFFFFF);
|
||||||
break;
|
break;
|
||||||
case ESC:
|
case ESC:
|
||||||
dev_state->state_ = gotesc;
|
dev_state->state_ = gotesc;
|
||||||
|
|
Loading…
Reference in New Issue