mirror of
https://github.com/sp00nznet/xboxrecomp.git
synced 2026-12-04 09:38:16 +00:00
f2fa37e226
Win32 CreateFile on a directory needs FILE_FLAG_BACKUP_SEMANTICS, so such opens failed with ERROR_ACCESS_DENIED. FILE_NON_DIRECTORY_FILE still refuses. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Opening an existing directory without FILE_DIRECTORY_FILE
Windows regression using a temporary directory only; no game assets.
cmake -S tests/kernel_open_directory -B build/open-dir -A x64
cmake --build build/open-dir --config Release --target kernel_open_directory_test
ctest --test-dir build/open-dir -C Release --output-on-failure