SHBrowseForFolder
-
Hi Leute.
Wie kriege ich den Pfad von dem Ordner in:
SHBrowseForFolder(&ofn)
Also in MSDN steht:
Returns a pointer to an ITEMIDLIST structure (PIDL) that specifies the location of the selected folder relative to the root of the namespace.
ITEMIDLIST
Contains a list of item identifiers.typedef struct _ITEMIDLIST { SHITEMID mkid; } ITEMIDLIST, * LPITEMIDLIST; typedef const ITEMIDLIST * LPCITEMIDLIST;
und wie kriege ich den Pfad von mkid?
-
Das geht mit SHGetPathFromIDList().
-
Danke!