79326430

Date: 2025-01-03 12:19:40
Score: 2
Natty:
Report link

To get working access to the "Properties" and "Restore previous versions" menu items for C:\Users\CurrentUser, you need to access LPITEMIDLIST differently.

Instead of calling SHParseDisplayName to get LPITEMIDLIST, you need to call SHGetKnownFolderIDList with FOLDERID_Profile.

In this case, "Properties" and "Restore previous versions" will be displayed and will work. However, the question about the "Share" menu is still open.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joe J