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.



Reply via email to