aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows/kernel32.odin
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-04-04 20:40:31 +0100
committerGitHub <noreply@github.com>2024-04-04 20:40:31 +0100
commit510574aa7f2a0b470999f6949f5a79667ff81aae (patch)
tree8fb69aeb4b0a1bf7fd6035f6d831b2825418c08c /core/sys/windows/kernel32.odin
parent3fd3bf2d4d50ae919e4c7ab1c53adfdb66030e6f (diff)
parent1af84e082c12b620a77396211cdbfc30adaecd25 (diff)
Merge pull request #3373 from laytan/add-some-windows-wsa-symbols
add some wsa based additions to `core:sys/windows`
Diffstat (limited to 'core/sys/windows/kernel32.odin')
-rw-r--r--core/sys/windows/kernel32.odin4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin
index 76bf7ca9d..10cc80041 100644
--- a/core/sys/windows/kernel32.odin
+++ b/core/sys/windows/kernel32.odin
@@ -546,6 +546,10 @@ FILE_MAP_RESERVE :: DWORD(0x80000000)
FILE_MAP_TARGETS_INVALID :: DWORD(0x40000000)
FILE_MAP_LARGE_PAGES :: DWORD(0x20000000)
+// Flags for `SetFileCompletionNotificationModes`.
+FILE_SKIP_COMPLETION_PORT_ON_SUCCESS :: 0x1
+FILE_SKIP_SET_EVENT_ON_HANDLE :: 0x2
+
PAGE_NOACCESS :: 0x01
PAGE_READONLY :: 0x02
PAGE_READWRITE :: 0x04