I can get the ShellObj for "My Pictures"-Folder with that call:
Code: Select all
madShell.ShellObj(sfMyPictures)
Code: Select all
madShell.ShellObj(sfMyPictures)
Code: Select all
uses
Winapi, Winapi.KnownFolders;
var
PIDL: PItemIDList;
Assert(Windows7);
SHGetKnownFolderIDList(FOLDERID_PicturesLibrary, 0, 0, PIDL);
try
...
finally
ILFree(PIDL);
end;