hnetcfg: Initialize INetFwRules::get__NewEnum out parameter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46906 Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d99605d714
commit
16803516ef
|
@ -238,6 +238,10 @@ static HRESULT WINAPI netfw_rules_get__NewEnum(
|
||||||
fw_rules *This = impl_from_INetFwRules( iface );
|
fw_rules *This = impl_from_INetFwRules( iface );
|
||||||
|
|
||||||
FIXME("%p, %p\n", This, newEnum);
|
FIXME("%p, %p\n", This, newEnum);
|
||||||
|
|
||||||
|
if (!newEnum) return E_POINTER;
|
||||||
|
*newEnum = NULL;
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,9 @@ static void test_policy2_rules(INetFwPolicy2 *policy2)
|
||||||
INetFwServiceRestriction_Release(restriction);
|
INetFwServiceRestriction_Release(restriction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr = INetFwRules_get__NewEnum(rules, NULL);
|
||||||
|
ok(hr == E_POINTER, "got %08x\n", hr);
|
||||||
|
|
||||||
INetFwRules_Release(rules);
|
INetFwRules_Release(rules);
|
||||||
INetFwRules_Release(rules2);
|
INetFwRules_Release(rules2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue