Eh, sorry, I'm blind. Still, why do you care?
I want to make the function as accurate to Windows until it gets properly implemented
That test is failing because the handle was never allocated.
All of my tests are passing on Windows: https://testbot.winehq.org/JobDetails.pl?Key=143303 (including the 0xdeadbeef handle one) so I want to replicate that handle behavior on Wine too