Share via


USB Serial Host Driver Registry Settings (Windows CE 5.0)

Send Feedback

The following list shows the registry keys that you can configure to alter various functionalities in the USB serial host driver:

  • The USB serial host driver assumes that the endpoints are on AlternateSetting zero. On the Windows-based desktop platform, you can change the value of AlternateSetting in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wceusbsh. To change the value of AlternateSetting, you must add a Parameters registry subkey to the wceusbsh registry key. Then add an AlternateSetting registry key of REG_DWORD type as a subkey of the Parameters registry key. Then assign a value to AlternateSetting.
  • The USB serial host driver assigns a timeout value for reading the IN endpoint, then the USB serial host driver polls the IN endpoint while there is data or until the timeout expires. The default timeout value is 1280 milliseconds. You can change the value of InterruptTimeout in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wceusbsh. To change the value of InterruptTimeout, you must add a Parameters registry subkey to the wceusbsh registry key. Then add an InterruptTimeout registry key of REG_DWORD type as a subkey of the Parameters registry key. Then assign a value to InterruptTimeout. For information about how the USB serial host driver assigns a timeout value for reading the IN endpoint, see USB Serial Host Driver USB Interface.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.