I got the test for failure on NT wrong in my last patch. The function
returns 0 on error and sets last error to ERROR_INVALID_FLAGS.

1 file changed