Well, actually, it seems like there is no need to change any convension, we can just check for 0 count in driver and return 0 in that case which probably will be more straightforward (I checked that there is no other usage of driver's MsgWaitForMultipleObjectsEx for which that would introduce ambiguity). I will resend that way.