How can I get an IShellItem object for a non-existent file (or directory)?
- SHCreateItemFromParsingName and SHCreateItemFromRelativeName fail with 0x80070002 (file not found) and
- ILCreateFromPath returns a
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).