zig/lib/std/os/windows
Jonathan S 51c5740879 Use a specific access mask in `Dir.openDirListW` instead of a generic one. Untested.
The actual desired access mask in this case seems quite confusing and badly documented. The previous combination of `GENERIC_READ` and `SYNCHRONIZE` seems both illegal and redundant according to the [`ntifs.h` documentation](https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntifs-ntcreatefile), which specifies that `GENERIC_READ` should not be used for directories and includes `SYNCHRONIZE`. `winnt.h` contains a number of relevant-sounding flags such as `FILE_ADD_FILE`, `FILE_ADD_SUBDIRECTORY`, and `FILE_DELETE_CHILD` that do not show up in documentation at all. These are equal in value to file-specific flags that are documented as flags you should not specify when opening a directory.
2019-11-25 23:46:47 -05:00
..
advapi32.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
bits.zig Use a specific access mask in `Dir.openDirListW` instead of a generic one. Untested. 2019-11-25 23:46:47 -05:00
error.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
kernel32.zig std: add DeviceIoControl and GetOverlappedResult for windows 2019-11-14 17:09:21 +11:00
lang.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
ntdll.zig std: add NtDeviceIoControlFile definition for windows 2019-11-15 10:31:51 +11:00
ole32.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
shell32.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
status.zig add std.fs.Dir.openRead 2019-11-21 17:07:29 -05:00
sublang.zig mv std/ lib/ 2019-09-25 23:35:41 -04:00
ws2_32.zig zig fmt 2019-11-25 13:53:13 -05:00