Back to Aurora Vision Library Lite website
You are here: Start » Camera Support » ZebraScanEngines » ZebraScanEngines_SwitchHostMode
ZebraScanEngines_SwitchHostMode
Header: | ThirdPartySdk.h |
---|---|
Namespace: | avl |
Switch host mode of a specified scanner.
Syntax
void avl::ZebraScanEngines_SwitchHostMode ( ZebraScanEngines_State& ioState, atl::Optional<int> inDeviceID, avl::ZebraScanEnginesHostModes::Type inHostMode, bool inSilentSwitch, bool inIsPermanentChange )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | ZebraScanEngines_State& | Object used to maintain state of the function. | |||
inDeviceID | Optional<int> | 1 - | NIL | Device identifying number | |
inHostMode | ZebraScanEnginesHostModes::Type | USB_SNAPI_with_Imaging | Scanner USB host mode | ||
inSilentSwitch | bool | Whether to suppress the typical device reboot beeps | |||
inIsPermanentChange | bool | Whether to keep the targeted host mode as the permanent host mode of the device |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.