hnetcfg: Return NET_FW_IP_VERSION_ANY as ipVersion property value.

This commit is contained in:
Nikolay Sivov 2015-01-14 08:25:56 +03:00 committed by Alexandre Julliard
parent e606551c21
commit 23927e2644
1 changed files with 8 additions and 4 deletions

View File

@ -256,8 +256,12 @@ static HRESULT WINAPI fw_app_get_IpVersion(
{ {
fw_app *This = impl_from_INetFwAuthorizedApplication( iface ); fw_app *This = impl_from_INetFwAuthorizedApplication( iface );
FIXME("%p, %p\n", This, ipVersion); TRACE("%p, %p\n", This, ipVersion);
return E_NOTIMPL;
if (!ipVersion)
return E_POINTER;
*ipVersion = NET_FW_IP_VERSION_ANY;
return S_OK;
} }
static HRESULT WINAPI fw_app_put_IpVersion( 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 ); fw_app *This = impl_from_INetFwAuthorizedApplication( iface );
FIXME("%p, %u\n", This, ipVersion); TRACE("%p, %u\n", This, ipVersion);
return E_NOTIMPL; return S_OK;
} }
static HRESULT WINAPI fw_app_get_Scope( static HRESULT WINAPI fw_app_get_Scope(