Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » ZebraScanEngines » ZebraScanEngines_SwitchHostMode
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Switch host mode of a specified scanner.
Syntax
void fil::ZebraScanEngines_SwitchHostMode ( ZebraScanEngines_State& ioState, ftl::Optional<int> inDeviceID, fil::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.