Consider the following scenario:
- You connect a Web Services on Devices (WSD) scanning device to a Windows-based computer.
- You disconnect the WSD scanner.
- You connect a different scanning device, such as a USB scanner, to the computer.
- You start an application that uses the new scanner.
In this scenario, the application may not behave correctly. For example, the application may not find the new scanner.
When this issue occurs, the scanner driver may experience a WIA_ERROR_OFFLINE error when it calls the IStiDevice::LockDevice method.