Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > WinUSB Error 121 - semaphore timeout

Reply
Thread Tools Display Modes

WinUSB Error 121 - semaphore timeout

 
 
Asaf Shelly
Guest
Posts: n/a

 
      12-22-2009
Asking WinUSB to read a large buffer will fail with error 121 - "The
semaphore timeout period has expired" which means "timeout".
It looks like this result means that the function failed to fill the entire
buffer but there is some data in the buffer and the LengthTransferred
parameter says that there was some data sent.
Can anyone verify that? The documentation forgot to mention error 997 and 121.

Asaf

 
Reply With Quote
 
 
 
 
Tim Roberts
Guest
Posts: n/a

 
      12-23-2009
Asaf Shelly <> wrote:
>
>Asking WinUSB to read a large buffer will fail with error 121 - "The
>semaphore timeout period has expired" which means "timeout".
>It looks like this result means that the function failed to fill the entire
>buffer but there is some data in the buffer and the LengthTransferred
>parameter says that there was some data sent.
>Can anyone verify that?


Did you set a timeout with SetPipePolicy? If so, then I believe this is
the normal course of events. ERROR_SEM_TIMEOUT in that case is not so much
an "error" as it is a "success with conditions"

>The documentation forgot to mention error 997 and 121.


ERROR_IO_PENDING is part of the standard protocol for doing overlapped I/O.
--
Tim Roberts,
Providenza & Boekelheide, Inc.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinUsb timing issue Kenneth Adelhorst Andersen Windows Vista Drivers 6 02-22-2010 08:08 AM
WinUSB on XP without WDK giajh01 Windows Vista Drivers 4 12-03-2009 06:43 PM
WinUsb and WHQL signing Morten Guld Windows Vista Drivers 8 11-17-2009 07:27 PM
Error: 0x80070079 The semaphore timeout period has expired. MaxTilt Windows Vista Performance 1 02-11-2008 12:12 PM
Internet_2: Active Sync Timeout during GPRS Exchange Sync (VPN issue?) Adrian ActiveSync 2 01-20-2005 02:46 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59