Skip to content
This repository was archived by the owner on Jul 26, 2023. It is now read-only.

Fix wrong value of FILE_FLAG_POSIX_SEMANTICS in Kernel32+CreateFileFlags.cs #581

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Kernel32/Kernel32+CreateFileFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public enum CreateFileFlags : uint
/// in case, for file systems that support that naming. Use care when using this option, because files created with
/// this flag may not be accessible by applications that are written for MS-DOS or 16-bit Windows.
/// </summary>
FILE_FLAG_POSIX_SEMANTICS = 0x0100000,
FILE_FLAG_POSIX_SEMANTICS = 0x01000000,

/// <summary>
/// Access is intended to be random. The system can use this as a hint to optimize file caching. This flag has no
Expand Down
2 changes: 1 addition & 1 deletion src/Kernel32/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_NO_BUFFERING = 536870912 -> PInvoke.K
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_OPEN_NO_RECALL = 1048576 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_OPEN_REPARSE_POINT = 2097152 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_OVERLAPPED = 1073741824 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_POSIX_SEMANTICS = 1048576 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_POSIX_SEMANTICS = 16777216 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_RANDOM_ACCESS = 268435456 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_SEQUENTIAL_SCAN = 134217728 -> PInvoke.Kernel32.CreateFileFlags
PInvoke.Kernel32.CreateFileFlags.FILE_FLAG_SESSION_AWARE = 8388608 -> PInvoke.Kernel32.CreateFileFlags
Expand Down