]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler_console.cc (fhandler_console::write_normal): Use MessageBeep for
authorChristopher Faylor <me@cgf.cx>
Thu, 13 Feb 2003 23:51:41 +0000 (23:51 +0000)
committerChristopher Faylor <me@cgf.cx>
Thu, 13 Feb 2003 23:51:41 +0000 (23:51 +0000)
bell sound.
* autoload.cc (MessageBeep): Add.

winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/fhandler_console.cc

index a7a54ae18833bba3727d4be80cc9128c29b0101f..5c5e44c1ab7b2e87ee244f0a131f53b182409b94 100644 (file)
@@ -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>
 
        * include/cygwin/types.h: Use correct ifdef guard for u_ definitions.
index 3c21d1e2908d0a929f635b65efa97bc36ab79667..805055c82cede75df005c9bb021521cffa96350e 100644 (file)
@@ -419,6 +419,7 @@ LoadDLLfunc (GetProcessWindowStation, 0, user32)
 LoadDLLfunc (GetThreadDesktop, 4, user32)
 LoadDLLfunc (GetUserObjectInformationA, 20, user32)
 LoadDLLfunc (KillTimer, 8, user32)
+LoadDLLfunc (MessageBeep, 4, user32)
 LoadDLLfunc (MessageBoxA, 16, user32)
 LoadDLLfunc (MsgWaitForMultipleObjects, 20, user32)
 LoadDLLfunc (OemToCharBuffA, 12, user32)
index 78fa5e323e29f9cf17dafd986ace5ad5f78fa8fd..3fb91252c65830d10d55e5babe714b0625c6b1c8 100644 (file)
@@ -1406,7 +1406,7 @@ fhandler_console::write_normal (const unsigned char *src,
       switch (base_chars[*src])
        {
        case BEL:
-         Beep (412, 100);
+         MessageBeep (0xFFFFFFFF);
          break;
        case ESC:
          dev_state->state_ = gotesc;
This page took 0.036588 seconds and 5 git commands to generate.