- I already have a test case for the NULL handle
Eh, sorry, I'm blind. Still, why do you care?
- I think I need it to pass the last QOSCloseHandle() test case (the one where I set the handle value to 0xdeadbeef)
That test is failing because the handle was never allocated. Why would dereferencing the handle make any sense?