comparison src/redisplay-msw.c @ 223:2c611d1463a6 r20-4b10

Import from CVS: tag r20-4b10
author cvs
date Mon, 13 Aug 2007 10:10:54 +0200
parents 1f0dabaa0855
children 0e522484dd2a
comparison
equal deleted inserted replaced
222:aae4c8b01452 223:2c611d1463a6
711 } 711 }
712 712
713 static void 713 static void
714 mswindows_ring_bell (struct device *d, int volume, int pitch, int duration) 714 mswindows_ring_bell (struct device *d, int volume, int pitch, int duration)
715 { 715 {
716 /* XXX FIXME: I'm guessing pitch=Hz and duration is milliseconds */ 716 /* Beep does not work at all, anyways! -kkm */
717 717 MessageBeep (MB_OK);
718 if ((pitch|duration) == -1) /* Pitch and/or duration may be bogus */ 718 }
719 MessageBeep(-1); /* Default system sound via speaker */
720 else
721 Beep(pitch, duration);
722 }
723
724 719
725 /***************************************************************************** 720 /*****************************************************************************
726 mswindows_output_display_block 721 mswindows_output_display_block
727 722
728 Given a display line, a block number for that start line, output all 723 Given a display line, a block number for that start line, output all