https://bugs.winehq.org/show_bug.cgi?id=29862
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- I think I tested something similar before, and the conclusion was that handles are actually validated, e.g. any invalid value is acceptable and gives appropriate error. Might be worth retesting again, but I don't have time for that currently.