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
Input will be modified
ioState ZebraScanEngines_State& Object used to maintain state of the function.
Input value
inDeviceID Optional<int> 1 - NIL Device identifying number
Input value
inHostMode ZebraScanEnginesHostModes::Type USB_SNAPI_with_Imaging Scanner USB host mode
Input value
inSilentSwitch bool Whether to suppress the typical device reboot beeps
Input value
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.