ITCSCAN_SetNoBarcodeReadEventStatus

Call ITCSCAN Open before any other Native Scanner function, and call ITCSCAN Close when exiting the application.

Specifies that the MSG_BARCODEDATA_READ message (in GetBarcodeMessage) should be sent if no bar code is read after you release the scanner trigger. "<NULL_DATA>" is returned as the bar code data string.

Syntax

HRESULT ITCSCAN_SetNoBarcodeReadEventStatus(
INT32 iHandle,
BOOL fState)

Parameters

[in] iHandle
Pointer to a bar code reader object.

[in] fState
Boolean. Set to true to enable the notification, or set to false to disable the notification.

Return Value

A standard error status code that indicates success or failure.

Header and Library Files

Header File: ITCSCAN2.h

Library: ITCSCAN2.lib

More Information

Native Scanner Functions