shell32: Implement IPersistFolder2 for the desktop folder.

Nikolay Sivov nsivov at codeweavers.com
Sat Jul 17 10:34:46 CDT 2010


  On 7/17/2010 19:08, David Hedberg wrote:
> +static HRESULT WINAPI ISF_Desktop_IPersistFolder2_fnInitialize(
> +    IPersistFolder2 *iface, LPCITEMIDLIST pidl)
> +{
> +    FIXME("Not implemented.\n");
> +    return E_NOTIMPL;
Call it just "stub" and dump parameters please.
> +
> +        pidl = NULL;
> +        hr = IPersistFolder2_GetCurFolder(ppf2,&pidl);
> +        ok(hr == S_OK, "got %08x\n", hr);
> +        ok(pidl != NULL, "pidl was NULL.\n");
> +
> +        IPersistFolder2_Release(ppf2);
> +    }
You're leaking pidl here.




More information about the wine-devel mailing list