reactos/dll/win32/shell32/shellrecyclebin
Whindmar Saksit bc8c7d185d
[SHELL32] Fix CRecycleBin crash caused by PR #7173 (#7330)
PR #7173 (22b913928f) fails to initialize the DELETED_FILE_RECORD struct when constructing a RecycleBin5File instance. This causes _ILCreateRecycleItem to create PIDLs without filenames and the CRecycleBin IShellFolder does not expect this to happen.

Also fixes incorrect usage of SHFileOperationW when restoring deleted files. The previous code might have worked by chance in the past if the string just happened to be double-null terminated as required by this API!
2024-09-08 22:08:15 +02:00
..
CMakeLists.txt [SHELL32] RecycleBin5: Make it C++ (#7174) 2024-07-29 09:20:36 +09:00
guid.c
readme.txt
recyclebin.c [SHELL32] Introduce 'HDELFILE' handle type (#6902) 2024-05-18 21:35:48 +09:00
recyclebin.h [SHELL32] RecycleBinGenericEnum: Make it C++ (#7167) 2024-07-24 11:24:56 +09:00
recyclebin_generic.cpp [SHELL32] Follow-up of #7169 (#7175) 2024-07-29 20:37:42 +09:00
recyclebin_generic_enumerator.cpp [SHELL32] RecycleBinGenericEnum: Make it C++ (#7167) 2024-07-24 11:24:56 +09:00
recyclebin_private.h [SHELL32] RecycleBin5: Make it C++ (#7174) 2024-07-29 09:20:36 +09:00
recyclebin_v5.cpp [SHELL32] Fix CRecycleBin crash caused by PR #7173 (#7330) 2024-09-08 22:08:15 +02:00
recyclebin_v5.h [SHELL32] RecycleBin5Enum: Make it C++ (#7173) 2024-07-29 08:14:02 +09:00
recyclebin_v5_enumerator.cpp [SHELL32] Fix CRecycleBin crash caused by PR #7173 (#7330) 2024-09-08 22:08:15 +02:00

This library deals with Recycle bin.
It is aimed to be compatible with Windows 2000/XP/2003 (at least) on FAT or NTFS volumes.

TODO
- Set security on recycle bin folder
- Make the library thread-safe

3 levels
- 1: recyclebin.c         : Public C interface
- 2: recyclebin_generic.c : 'System-wide' recycle bin, which knows no implementation detail
- 3: recyclebin_v5.c      : Deals with recycle bins of Windows 2000/XP/2003