From: Nikolay Sivov Subject: [PATCH 1/2] hnetcfg: Return NET_FW_IP_VERSION_ANY as ipVersion property value Message-Id: <54B5FF4D.20809@codeweavers.com> Date: Wed, 14 Jan 2015 08:31:57 +0300 --- From 75115bd763b007a7f11d41d15ebb9e16494503ef Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 14 Jan 2015 08:25:56 +0300 Subject: [PATCH 1/2] 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( -- 2.1.4