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:
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.