[Libevent-users] GetQueuedCompletionStatus return values question/problem

Toby Douglass toby.douglass at summerblue.net
Wed Nov 1 10:48:04 EST 2006


Kevin Sanders wrote:
>> Now, the problem is this: ERROR_SUCCESS is #defined as zero!
>>
>> In other words, I don't think it's possible to differentiate between
>> case 3 and 4, because in case 3, *lpNumberOfBytes might be 0 just by 
>> chance.

> Call GetLastError().

I could be wrong, but I don't think that helps you, because you would 
have to know the full list of possible errors for both cases, so that 
you could be certain that you were correctly differentiating between them.

I have no idea what errors either cases might return, nor any idea of 
where to look to find the full list of possible errors for both cases 
and indeed I suspect that information is not documented.




More information about the Libevent-users mailing list