"Erich E. Hoover" ehoover@mymail.mines.edu writes:
This particular patch implements SetNamedSecurityInfoW by layering it on top of SetSecurityInfo, which permits the creation of tests for part 2 (GetNamedSecurityInfoW). This version has been updated to fix a bad return value and includes a test indicating the correct value (ERROR_FILE_NOT_FOUND).
That doesn't mean you can hardcode that specific error.