freq (ULONG) - input
dur (ULONG) - input
ulrc (APIRET) - returns
DosBeep returns one of the following values: