Nikolay Sivov : hnetcfg: Return NET_FW_IP_VERSION_ANY as ipVersion property value.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 14 14:35:42 CST 2015


Module: wine
Branch: master
Commit: 23927e26442bd894149d850ce08b7104b231ea35
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=23927e26442bd894149d850ce08b7104b231ea35

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Jan 14 08:25:56 2015 +0300

hnetcfg: Return NET_FW_IP_VERSION_ANY as ipVersion property value.

---

 dlls/hnetcfg/apps.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/hnetcfg/apps.c b/dlls/hnetcfg/apps.c
index dded141..18031a3 100644
--- a/dlls/hnetcfg/apps.c
+++ b/dlls/hnetcfg/apps.c
@@ -256,8 +256,12 @@ static HRESULT WINAPI fw_app_get_IpVersion(
 {
     fw_app *This = impl_from_INetFwAuthorizedApplication( iface );
 
-    FIXME("%p, %p\n", This, ipVersion);
-    return E_NOTIMPL;
+    TRACE("%p, %p\n", This, ipVersion);
+
+    if (!ipVersion)
+        return E_POINTER;
+    *ipVersion = NET_FW_IP_VERSION_ANY;
+    return S_OK;
 }
 
 static HRESULT WINAPI fw_app_put_IpVersion(
@@ -266,8 +270,8 @@ static HRESULT WINAPI fw_app_put_IpVersion(
 {
     fw_app *This = impl_from_INetFwAuthorizedApplication( iface );
 
-    FIXME("%p, %u\n", This, ipVersion);
-    return E_NOTIMPL;
+    TRACE("%p, %u\n", This, ipVersion);
+    return S_OK;
 }
 
 static HRESULT WINAPI fw_app_get_Scope(




More information about the wine-cvs mailing list