[Toc][Index]

DosBeep


Bindings:  C, MASM 

This call generates sound from the speaker. 
 DosBeep    (Frequency, Duration) 
 
 Frequency (USHORT) - input 
    Tone in Hertz (cycles per second) in the range 37 through 32767. 
 Duration (USHORT) - input 
    Length of the sound in milliseconds. 
 rc (USHORT) - return 
    Return code descriptions are: 
    0         NO_ERROR 
    395       ERROR_INVALID_FREQUENCY 
 
 Remarks 
 DosBeep executes synchronously.  An application program that invokes 
 DosBeep waits until the specified number of milliseconds expire before it 
 resumes execution. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs