Specifications
BHT_SetNLedStatus
Description
Control the indicator LED (red/blue).
Syntax
DWORD BHT_SetNLedStatus (
DWORD dwStatus )
Parameters
dwStatus
[in] Controls the LED ON/OFF
dwStatus Specification
LED_OFF Turn off both red and blue LEDs
RED_LED_ON Turn on red LED only
GREEN_LED_ON Turn on blue LED only
RED_LED_ON | GREEN_LED_ON Turn on both red and blue LEDs
Return value
Error code Meaning
ERROR_SUCCESS Successful completion
ERROR_INVALID_PARAMETER Parameter error.
Notes:
- When the barcode device file is opened by the BHT_EnableBar function, the indicator LED cannot be
controlled. Note that if the LED has been specified to be kept off by the BHT_EnableBar, the LED can
be controlled.
- If the LED is turned on by this function in a user program, it will be kept on until this function turns off the
LED even if the user program is terminated.
106










