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.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users