mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
add opened files to the "recent documents" list
svn path=/trunk/; revision=8522
This commit is contained in:
@@ -1125,6 +1125,9 @@ void StartMenu::ActivateEntry(int id, const ShellEntrySet& entries)
|
||||
|
||||
shexinfo.lpIDList = &*shell_path;
|
||||
|
||||
// add PIDL to the recent file list
|
||||
SHAddToRecentDocs(SHARD_PIDL, shexinfo.lpIDList);
|
||||
|
||||
if (!ShellExecuteEx(&shexinfo))
|
||||
display_error(hparent, GetLastError());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user