urlmon: Silenced a noisy fixme.
authorThomas Mullaly <thomas.mullaly@gmail.com>
Thu, 29 Jul 2010 23:46:37 +0000 (19:46 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Aug 2010 10:55:20 +0000 (12:55 +0200)
dlls/urlmon/uri.c

index 63e862674f4137485e85b6b6e5201245d41a6e01..c825b006f7e4f9127a3e12dff002b8516297f52d 100644 (file)
@@ -2597,17 +2597,8 @@ static HRESULT WINAPI Uri_GetScheme(IUri *iface, DWORD *pdwScheme)
 
 static HRESULT WINAPI Uri_GetZone(IUri *iface, DWORD *pdwZone)
 {
-    Uri *This = URI_THIS(iface);
-    FIXME("(%p)->(%p)\n", This, pdwZone);
-
-    if(!pdwZone)
-        return E_INVALIDARG;
-
-    /* Microsoft doesn't seem to have this implemented yet... See
-     * the comment in Uri_GetPropertyDWORD for more about this.
-     */
-    *pdwZone = URLZONE_INVALID;
-    return E_NOTIMPL;
+    TRACE("(%p)->(%p)\n", iface, pdwZone);
+    return Uri_GetPropertyDWORD(iface, Uri_PROPERTY_ZONE,pdwZone, 0);
 }
 
 static HRESULT WINAPI Uri_GetProperties(IUri *iface, DWORD *pdwProperties)