1 Aug
2017
1 Aug
'17
9:58 p.m.
Hi Huw, Thanks for review! 2017-07-31 15:47 GMT+08:00 Huw Davies <huw(a)codeweavers.com>:
You probably want to use SHGetKnownFolderIDList() instead of these last two calls.
I had some more tests of SHGetKnownFolderIDList() and IShellFolder_BindToObject(), I found that in some cases SHGetKnownFolderIDList() will return a pidl which ILIsEmpty() thinks it is empty. And IShellFolder_BindToObject() will return E_INVALIDARG for an empty pidl. So keep using SHGetKnownFolderPath() and IShellFolder_ParseDisplayName() seems can make this work more easy? -- Regards, Jactry Zeng