URLMON: Added ReleaseBindInfo implementation
Jacek Caban
jack at itma.pwr.wroc.pl
Wed Sep 7 11:49:03 CDT 2005
Changelog:
Added ReleaseBindInfo implementation
-------------- next part --------------
Index: dlls/urlmon/urlmon_main.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/urlmon_main.c,v
retrieving revision 1.32
diff -u -p -r1.32 urlmon_main.c
--- dlls/urlmon/urlmon_main.c 6 Sep 2005 09:27:04 -0000 1.32
+++ dlls/urlmon/urlmon_main.c 7 Sep 2005 16:44:48 -0000
@@ -362,3 +362,27 @@ HRESULT WINAPI CoGetClassObjectFromURL(
debugstr_guid(riid), ppv);
return E_NOINTERFACE;
}
+
+/***********************************************************************
+ * ReleaseBindInfo (URLMON.@)
+ *
+ * Release the resources used by the specified BINDINFO structure.
+ *
+ * PARAMS
+ * pbindinfo [I] BINDINFO to release.
+ *
+ * RETURNS
+ * Nothing.
+ */
+void WINAPI ReleaseBindInfo(BINDINFO* pbindinfo)
+{
+ TRACE("(%p)\n", pbindinfo);
+
+ if(!pbindinfo)
+ return;
+
+ if(pbindinfo->szExtraInfo)
+ CoTaskMemFree(pbindinfo->szExtraInfo);
+ if(pbindinfo->pUnk)
+ IUnknown_Release(pbindinfo->pUnk);
+}
Index: dlls/urlmon/umon.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umon.c,v
retrieving revision 1.62
diff -u -p -r1.62 umon.c
--- dlls/urlmon/umon.c 3 Sep 2005 09:36:12 -0000 1.62
+++ dlls/urlmon/umon.c 7 Sep 2005 16:44:48 -0000
@@ -1491,22 +1491,6 @@ HRESULT WINAPI RevokeBindStatusCallback(
}
/***********************************************************************
- * ReleaseBindInfo (URLMON.@)
- *
- * Release the resources used by the specified BINDINFO structure.
- *
- * PARAMS
- * pbindinfo [I] BINDINFO to release.
- *
- * RETURNS
- * Nothing.
- */
-void WINAPI ReleaseBindInfo(BINDINFO* pbindinfo)
-{
- FIXME("(%p)stub!\n", pbindinfo);
-}
-
-/***********************************************************************
* URLDownloadToFileA (URLMON.@)
*
* Downloads URL szURL to rile szFileName and call lpfnCB callback to
More information about the wine-patches
mailing list