aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-04-10 12:01:01 +0100
committerGitHub <noreply@github.com>2024-04-10 12:01:01 +0100
commitaf67cc7afeb32e3945ec3ed1d9f366b68ae90f35 (patch)
tree78104fb67d24fe6d96925eaad4ec83d2b6271bc1
parent53558313d8c8bbeff01a1f895e462028b86b6344 (diff)
parent9b496e82f33a626ae815281a214afcfb8537b4fe (diff)
Merge pull request #3397 from wrapperup/add-movefile-flags
Add flags for windows `MoveFileEx`
-rw-r--r--core/sys/windows/types.odin8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin
index 37f953c58..4b54f0ed1 100644
--- a/core/sys/windows/types.odin
+++ b/core/sys/windows/types.odin
@@ -2074,7 +2074,13 @@ SRWLOCK_INIT :: SRWLOCK{}
STARTF_USESTDHANDLES: DWORD : 0x00000100
VOLUME_NAME_DOS: DWORD : 0x0
-MOVEFILE_REPLACE_EXISTING: DWORD : 1
+
+MOVEFILE_COPY_ALLOWED: DWORD: 0x2
+MOVEFILE_CREATE_HARDLINK: DWORD: 0x10
+MOVEFILE_DELAY_UNTIL_REBOOT: DWORD: 0x4
+MOVEFILE_FAIL_IF_NOT_TRACKABLE: DWORD: 0x20
+MOVEFILE_REPLACE_EXISTING: DWORD : 0x1
+MOVEFILE_WRITE_THROUGH: DWORD: 0x8
FILE_BEGIN: DWORD : 0
FILE_CURRENT: DWORD : 1