DosBeep

To produce a beep from the speaker DosBeep is called with the frequency and the length of the beep as arguments.

Syntax
DosBeep( ulFrequency, ulDuration )

Parameters

 * ULONG ulFrequency (input)
 * The frequency in Hertz (Hz) of the beep to be generated. In the range of 0x25 to 0x7FFF (37 to 32767).


 * ULONG ulDuration (input)
 * The duration of the beep to be generated. In milliseconds.

Returns
APIRET rc
 * 0 NO_ERROR
 * 395 ERROR_INVALID_FREQUENCY

Include Info

 * 1) define INCL_DOSPROCESS
 * 2) include 