https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2828ea2e06fdee0e29959d...
commit 2828ea2e06fdee0e29959d2f9fefc6ad72464a7f Author: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org AuthorDate: Tue Dec 24 18:04:55 2019 +0100 Commit: Hermès Bélusca-Maïto hermes.belusca-maito@reactos.org CommitDate: Tue Dec 24 18:05:09 2019 +0100
[SDK] Complete the list of DE_*** error codes for SHFileOperationA/W().
Documentation from https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfi... --- sdk/include/reactos/undocshell.h | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/sdk/include/reactos/undocshell.h b/sdk/include/reactos/undocshell.h index 570c69d806d..1757a055734 100644 --- a/sdk/include/reactos/undocshell.h +++ b/sdk/include/reactos/undocshell.h @@ -462,19 +462,33 @@ BOOL WINAPI PathIsSameRootAW(LPCVOID lpszPath1, LPCVOID lpszPath2); BOOL WINAPI PathFindOnPathAW(LPVOID sFile, LPCVOID *sOtherDirs);
/**************************************************************************** - * Shell File Operations error codes + * Shell File Operations error codes - SHFileOperationA/W */
/* Error codes could be pre-Win32 */ -#define DE_SAMEFILE 0x71 -#define DE_MANYSRC1DEST 0x72 -#define DE_DIFFDIR 0x73 -#define DE_OPCANCELLED 0x75 -#define DE_DESTSUBTREE 0x76 -#define DE_INVALIDFILES 0x7C -#define DE_DESTSAMETREE 0x7D -#define DE_FLDDESTISFILE 0x7E -#define DE_FILEDESTISFLD 0x80 +#define DE_SAMEFILE 0x71 +#define DE_MANYSRC1DEST 0x72 +#define DE_DIFFDIR 0x73 +#define DE_ROOTDIR 0x74 +#define DE_OPCANCELLED 0x75 +#define DE_DESTSUBTREE 0x76 +#define DE_ACCESSDENIEDSRC 0x78 +#define DE_PATHTOODEEP 0x79 +#define DE_MANYDEST 0x7A +#define DE_INVALIDFILES 0x7C +#define DE_DESTSAMETREE 0x7D +#define DE_FLDDESTISFILE 0x7E +#define DE_FILEDESTISFLD 0x80 +#define DE_FILENAMETOOLONG 0x81 +#define DE_DEST_IS_CDROM 0x82 +#define DE_DEST_IS_DVD 0x83 +#define DE_DEST_IS_CDRECORD 0x84 +#define DE_FILE_TOO_LARGE 0x85 +#define DE_SRC_IS_CDROM 0x86 +#define DE_SRC_IS_DVD 0x87 +#define DE_SRC_IS_CDRECORD 0x88 +// #define DE_ERROR_MAX +#define ERRORONDEST 0x10000
/**************************************************************************** * Shell Namespace Routines