How can I get an IShellItem object for a non-existent file (or directory)?
NULL
pidl. First I thought it might be impossible, but for example IFileSaveDialog creates such an IShellItem
for its result (if you specify a new file in the dialog).
There is such a thing as a simple pidl and they can represent non-existent files. So I guess you want SHSimpleIDListFromPath and SHCreateItemFromIDList
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With