DevHelp Beep

This service generates a beep.

C
 USHORT APIENTRY DevHelp_Beep(USHORT Frequency,                            USHORT DurationMS); 

Assembler
 MOV  BX,_Freq        ; Frequency of beep in Hz MOV   CX,_Duration    ; Duration of beep in milliseconds MOV  DL,DevHlp_Beep

CALL [Device_Help] 

C

 * Frequency (USHORT) : Frequency of beep in Hz
 * DurationMS (USHORT) : Duration of beep in milliseconds

Assembler
 MOV  BX,_Freq        ; Frequency of beep in Hz MOV   CX,_Duration    ; Duration of beep in milliseconds MOV  DL,DevHlp_Beep

CALL [Device_Help] 

C
Success Indicator: 0

Possible errors: ERROR_INVALID_FREQUENCY (395)

Assembler
 'C' Clear if successful. AX = 0.

'C' Set if error. AX = Error code. Possible errors: ERROR_INVALID_FREQUENCY (395) 

Remarks
This function uses the DX register.

C

 * 1) include "dhcalls.h"

USHORT APIENTRY DevHelp_Beep(USHORT Frequency,                            USHORT DurationMS); 