microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.34k stars 118 forks source link

CopyFile* constants should be in the `Windows.Win32.Storage.FileSystem` namespace #2004

Closed ChrisDenton closed 2 weeks ago

ChrisDenton commented 1 month ago

Currently a number of CopyFile[Ex|2] constants are in Windows.Win32.System.WindowsProgramming.Apis but they should be moved to Windows.Win32.Storage.FileSystem.Apis. List:

COPY_FILE_ALLOW_DECRYPTED_DESTINATION
COPY_FILE_COPY_SYMLINK
COPY_FILE_DIRECTORY
COPY_FILE_DISABLE_PRE_ALLOCATION
COPY_FILE_DONT_REQUEST_DEST_WRITE_DAC
COPY_FILE_ENABLE_LOW_FREE_SPACE_MODE
COPY_FILE_ENABLE_SPARSE_COPY
COPY_FILE_FAIL_IF_EXISTS
COPY_FILE_IGNORE_EDP_BLOCK
COPY_FILE_IGNORE_SOURCE_ENCRYPTION
COPY_FILE_NO_BUFFERING
COPY_FILE_NO_OFFLOAD
COPY_FILE_OPEN_AND_COPY_REPARSE_POINT
COPY_FILE_OPEN_SOURCE_FOR_WRITE
COPY_FILE_REQUEST_COMPRESSED_TRAFFIC
COPY_FILE_REQUEST_SECURITY_PRIVILEGES
COPY_FILE_RESTARTABLE
COPY_FILE_RESUME_FROM_PAUSE
COPY_FILE_SKIP_ALTERNATE_STREAMS
COPY_FILE2_V2_DONT_COPY_JUNCTIONS
COPY_FILE2_V2_VALID_FLAGS
COPYFILE2_IO_CYCLE_SIZE_MAX
COPYFILE2_IO_CYCLE_SIZE_MIN
COPYFILE2_IO_RATE_MIN
COPYFILE2_MESSAGE_COPY_OFFLOAD
PROGRESS_CANCEL
PROGRESS_CONTINUE
PROGRESS_QUIET
PROGRESS_STOP

Note that the PROGRESS_* constants are return codes for LPPROGRESS_ROUTINE.