Specifications
BHT_StartBeeperOnly
Description
Drive the beeper.
Syntax
DWORD BHT_StartBeeperOnly (
DWORD dwOnTime ,
DWORD dwOffTime,
WORD wRepCnt ,
WORD wFreq )
Parameters
dwOnTime
[in] ON-duration (in units of 100 ms), Entry range: 0 to 255
dwOffTime
[in] OFF-duration (in units of 100 ms), Entry range: 0 to 255
wRepCnt
[in] Number of repetitions, Entry range: 0 to 255
wFreq
[in] Frequency (Hz) , Entry range: 0 to 32767
Specification of 0, 1 or 2 to wFeq produces the special beeper effects as listed below.
wFreq Tone Frequency (Hz)
0 Low-pitched 698
1 Medium-pitched 1396
2 High-pitched 2793
Return value
Error code Meaning
ERROR_SUCCESS Successful completion
ERROR_INVALID_PARAMETER Parameter error.
112










