forked from Mirrors/wine-wine
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>
(cherry picked from commit 16803516ef
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
parent
fee0e11d36
commit
d614927a10
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue