diff --git a/PInvoke/Shared/WinError/HRESULT.Values.cs b/PInvoke/Shared/WinError/HRESULT.Values.cs index 0182fd15..58b28e4f 100644 --- a/PInvoke/Shared/WinError/HRESULT.Values.cs +++ b/PInvoke/Shared/WinError/HRESULT.Values.cs @@ -8806,5 +8806,133 @@ namespace Vanara.PInvoke /// This function can be used only if a program is running in the local console session. It cannot be used if the program is running on a remote desktop session or on a terminal server session. public const uint ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED = 0xC02625E0; + + public const uint COPYENGINE_S_YES = 0x00270001; + public const uint COPYENGINE_S_NOT_HANDLED = 0x00270003; + public const uint COPYENGINE_S_USER_RETRY = 0x00270004; + public const uint COPYENGINE_S_USER_IGNORED = 0x00270005; + public const uint COPYENGINE_S_MERGE = 0x00270006; + public const uint COPYENGINE_S_DONT_PROCESS_CHILDREN = 0x00270008; + public const uint COPYENGINE_S_ALREADY_DONE = 0x0027000A; + public const uint COPYENGINE_S_PENDING = 0x0027000B; + public const uint COPYENGINE_S_KEEP_BOTH = 0x0027000C; + /// Close the program using the current file + public const uint COPYENGINE_S_CLOSE_PROGRAM = 0x0027000D; + /// User wants to canceled entire job + public const uint COPYENGINE_E_USER_CANCELLED = 0x80270000; + /// Engine wants to canceled entire job, don't set the CANCELLED bit + public const uint COPYENGINE_E_CANCELLED = 0x80270001; + /// Need to elevate the process to complete the operation + public const uint COPYENGINE_E_REQUIRES_ELEVATION = 0x80270002; + /// Source and destination file are the same + public const uint COPYENGINE_E_SAME_FILE = 0x80270003; + /// Trying to rename a file into a different location, use move instead + public const uint COPYENGINE_E_DIFF_DIR = 0x80270004; + /// One source specified, multiple destinations + public const uint COPYENGINE_E_MANY_SRC_1_DEST = 0x80270005; + /// The destination is a sub-tree of the source + public const uint COPYENGINE_E_DEST_SUBTREE = 0x80270009; + /// The destination is the same folder as the source + public const uint COPYENGINE_E_DEST_SAME_TREE = 0x8027000A; + /// Existing destination file with same name as folder + public const uint COPYENGINE_E_FLD_IS_FILE_DEST = 0x8027000B; + /// Existing destination folder with same name as file + public const uint COPYENGINE_E_FILE_IS_FLD_DEST = 0x8027000C; + /// File too large for destination file system + public const uint COPYENGINE_E_FILE_TOO_LARGE = 0x8027000D; + /// Destination device is full and happens to be removable + public const uint COPYENGINE_E_REMOVABLE_FULL = 0x8027000E; + /// Destination is a Read-Only CDRom, possibly unformatted + public const uint COPYENGINE_E_DEST_IS_RO_CD = 0x8027000F; + /// Destination is a Read/Write CDRom, possibly unformatted + public const uint COPYENGINE_E_DEST_IS_RW_CD = 0x80270010; + /// Destination is a Recordable (Audio, CDRom, possibly unformatted + public const uint COPYENGINE_E_DEST_IS_R_CD = 0x80270011; + /// Destination is a Read-Only DVD, possibly unformatted + public const uint COPYENGINE_E_DEST_IS_RO_DVD = 0x80270012; + /// Destination is a Read/Wrote DVD, possibly unformatted + public const uint COPYENGINE_E_DEST_IS_RW_DVD = 0x80270013; + /// Destination is a Recordable (Audio, DVD, possibly unformatted + public const uint COPYENGINE_E_DEST_IS_R_DVD = 0x80270014; + /// Source is a Read-Only CDRom, possibly unformatted + public const uint COPYENGINE_E_SRC_IS_RO_CD = 0x80270015; + /// Source is a Read/Write CDRom, possibly unformatted + public const uint COPYENGINE_E_SRC_IS_RW_CD = 0x80270016; + /// Source is a Recordable (Audio, CDRom, possibly unformatted + public const uint COPYENGINE_E_SRC_IS_R_CD = 0x80270017; + /// Source is a Read-Only DVD, possibly unformatted + public const uint COPYENGINE_E_SRC_IS_RO_DVD = 0x80270018; + /// Source is a Read/Wrote DVD, possibly unformatted + public const uint COPYENGINE_E_SRC_IS_RW_DVD = 0x80270019; + /// Source is a Recordable (Audio, DVD, possibly unformatted + public const uint COPYENGINE_E_SRC_IS_R_DVD = 0x8027001A; + /// Invalid source path + public const uint COPYENGINE_E_INVALID_FILES_SRC = 0x8027001B; + /// Invalid destination path + public const uint COPYENGINE_E_INVALID_FILES_DEST = 0x8027001C; + /// Source Files within folders where the overall path is longer than MAX_PATH + public const uint COPYENGINE_E_PATH_TOO_DEEP_SRC = 0x8027001D; + /// Destination files would be within folders where the overall path is longer than MAX_PATH + public const uint COPYENGINE_E_PATH_TOO_DEEP_DEST = 0x8027001E; + /// Source is a root directory, cannot be moved or renamed + public const uint COPYENGINE_E_ROOT_DIR_SRC = 0x8027001F; + /// Destination is a root directory, cannot be renamed + public const uint COPYENGINE_E_ROOT_DIR_DEST = 0x80270020; + /// Security problem on source + public const uint COPYENGINE_E_ACCESS_DENIED_SRC = 0x80270021; + /// Security problem on destination + public const uint COPYENGINE_E_ACCESS_DENIED_DEST = 0x80270022; + /// Source file does not exist, or is unavailable + public const uint COPYENGINE_E_PATH_NOT_FOUND_SRC = 0x80270023; + /// Destination file does not exist, or is unavailable + public const uint COPYENGINE_E_PATH_NOT_FOUND_DEST = 0x80270024; + /// Source file is on a disconnected network location + public const uint COPYENGINE_E_NET_DISCONNECT_SRC = 0x80270025; + /// Destination file is on a disconnected network location + public const uint COPYENGINE_E_NET_DISCONNECT_DEST = 0x80270026; + /// Sharing Violation on source + public const uint COPYENGINE_E_SHARING_VIOLATION_SRC = 0x80270027; + /// Sharing Violation on destination + public const uint COPYENGINE_E_SHARING_VIOLATION_DEST = 0x80270028; + /// Destination exists, cannot replace + public const uint COPYENGINE_E_ALREADY_EXISTS_NORMAL = 0x80270029; + /// Destination with read-only attribute exists, cannot replace + public const uint COPYENGINE_E_ALREADY_EXISTS_READONLY = 0x8027002A; + /// Destination with system attribute exists, cannot replace + public const uint COPYENGINE_E_ALREADY_EXISTS_SYSTEM = 0x8027002B; + /// Destination folder exists, cannot replace + public const uint COPYENGINE_E_ALREADY_EXISTS_FOLDER = 0x8027002C; + /// Secondary Stream information would be lost + public const uint COPYENGINE_E_STREAM_LOSS = 0x8027002D; + /// Extended Attributes would be lost + public const uint COPYENGINE_E_EA_LOSS = 0x8027002E; + /// Property would be lost + public const uint COPYENGINE_E_PROPERTY_LOSS = 0x8027002F; + /// Properties would be lost + public const uint COPYENGINE_E_PROPERTIES_LOSS = 0x80270030; + /// Encryption would be lost + public const uint COPYENGINE_E_ENCRYPTION_LOSS = 0x80270031; + /// Entire operation likely won't fit + public const uint COPYENGINE_E_DISK_FULL = 0x80270032; + /// Entire operation likely won't fit, clean-up wizard available + public const uint COPYENGINE_E_DISK_FULL_CLEAN = 0x80270033; + /// Can't reach source folder") + public const uint COPYENGINE_E_CANT_REACH_SOURCE = 0x80270035; + /// ??? + public const uint COPYENGINE_E_RECYCLE_UNKNOWN_ERROR = 0x80270035; + /// Recycling not available (usually turned off, + public const uint COPYENGINE_E_RECYCLE_FORCE_NUKE = 0x80270036; + /// Item is too large for the recycle-bin + public const uint COPYENGINE_E_RECYCLE_SIZE_TOO_BIG = 0x80270037; + /// Folder is too deep to fit in the recycle-bin + public const uint COPYENGINE_E_RECYCLE_PATH_TOO_LONG = 0x80270038; + /// Recycle bin could not be found or is unavailable + public const uint COPYENGINE_E_RECYCLE_BIN_NOT_FOUND = 0x8027003A; + /// Name of the new file being created is too long + public const uint COPYENGINE_E_NEWFILE_NAME_TOO_LONG = 0x8027003B; + /// Name of the new folder being created is too long + public const uint COPYENGINE_E_NEWFOLDER_NAME_TOO_LONG = 0x8027003C; + /// The directory being processed is not empty + public const uint COPYENGINE_E_DIR_NOT_EMPTY = 0x8027003D; } } \ No newline at end of file