Search notes:

Registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

This registry should not be used. In fact, it contains the entry *!Do not use this registry key* whose value is Use the SHGetFolderPath or SHGetKnownFolderPath function instead.
This is explained by Raymond Chen and Technet.

See also

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Index