DevHelp RegisterBeep

This service is called by the physical Clock$ device driver during initialization time to register the beep service entry point so that other physical device drivers or the kernel can generate preemptive beeps.

C
USHORT APIENTRY DevHelp_RegisterBeep(PFN BeepHandler);

Assembler
 MOV  CX,SEGMENT PDDBeep_Func     ; CX:DI (16:16) = Entry point to MOV   DI,OFFSET PDDBeep_Func      ; physical device driver's Beep routine. MOV  DL,DevHlp_RegisterBeep

CALL [Device_Help] 

C

 * BeepHandler (PFN) : Pointer to the entry point after the physical device driver's Beep routine.

Assembler
 MOV  CX,SEGMENT PDDBeep_Func     ; CX:DI (16:16) = Entry point to MOV   DI,OFFSET PDDBeep_Func      ; physical device driver's Beep routine. 

C
Success Indicator: 0

Possible errors: None.

Assembler
 Success: If successful, AX = 0. Failure: N/A 

Remarks
None.

C

 * 1) include "dhcalls.h"

USHORT APIENTRY DevHelp_RegisterBeep(PFN BeepHandler); 