On 8/2/2010 16:07, David Hedberg wrote:
On Mon, Aug 2, 2010 at 10:50 AM, Nikolay Sivov wrote:
Ok, this test is present already cause Desktop list is an empty list. So
please change this test for
mkid.cb magic value to _ILIsEmpty() in BindToObject() and all other
occurrences too (InitializeTre
On Mon, Aug 2, 2010 at 10:50 AM, Nikolay Sivov wrote:
>
> Ok, this test is present already cause Desktop list is an empty list. So
> please change this test for
> mkid.cb magic value to _ILIsEmpty() in BindToObject() and all other
> occurrences too (InitializeTreeView() for example).
>
Is someth
On 8/2/2010 12:07, David Hedberg wrote:
Hi,
On Mon, Aug 2, 2010 at 7:04 AM, Nikolay Sivov wrote:
On 8/2/2010 02:36, David Hedberg wrote:
+static HRESULT ShellItem_get_shellfolder(ShellItem *This, IBindCtx *pbc,
IShellFolder **ppsf)
+{
+IShellFolder *desktop;
+HRESULT ret;
+
+re
Hi,
On Mon, Aug 2, 2010 at 7:04 AM, Nikolay Sivov wrote:
> On 8/2/2010 02:36, David Hedberg wrote:
>>
>> +static HRESULT ShellItem_get_shellfolder(ShellItem *This, IBindCtx *pbc,
>> IShellFolder **ppsf)
>> +{
>> + IShellFolder *desktop;
>> + HRESULT ret;
>> +
>> + ret = SHGetDesktopFold
On 8/2/2010 02:36, David Hedberg wrote:
+static HRESULT ShellItem_get_shellfolder(ShellItem *This, IBindCtx *pbc,
IShellFolder **ppsf)
+{
+IShellFolder *desktop;
+HRESULT ret;
+
+ret = SHGetDesktopFolder(&desktop);
+if (SUCCEEDED(ret))
+{
+if (_ILIsDesktop(This->pidl