Commit 16803516 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

hnetcfg: Initialize INetFwRules::get__NewEnum out parameter.

parent d99605d7
......@@ -238,6 +238,10 @@ static HRESULT WINAPI netfw_rules_get__NewEnum(
fw_rules *This = impl_from_INetFwRules( iface );
FIXME("%p, %p\n", This, newEnum);
if (!newEnum) return E_POINTER;
*newEnum = NULL;
return E_NOTIMPL;
}
......
......@@ -60,6 +60,9 @@ static void test_policy2_rules(INetFwPolicy2 *policy2)
INetFwServiceRestriction_Release(restriction);
}
hr = INetFwRules_get__NewEnum(rules, NULL);
ok(hr == E_POINTER, "got %08x\n", hr);
INetFwRules_Release(rules);
INetFwRules_Release(rules2);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment