<div dir="ltr"><div class="gmail_extra">Hi Huw,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for review!<br><br></div><div class="gmail_extra">2017-07-31 15:47 GMT+08:00 Huw Davies <<a href="mailto:huw@codeweavers.com">huw@codeweavers.com</a>>:<br>><br>> You probably want to use SHGetKnownFolderIDList() instead of these<br>> last two calls.<br>><br>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.</div><div class="gmail_extra">So keep using SHGetKnownFolderPath() and IShellFolder_ParseDisplayName() seems can make this work more easy?</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Jactry Zeng</div><div><br></div></div></div>
</div></div>