Commit 5160c30f authored by Vijay Kiran Kamuju's avatar Vijay Kiran Kamuju Committed by Alexandre Julliard

hnetcfg: Return S_OK in get_StaticPortMappingCollection.

parent aaf461b7
......@@ -720,7 +720,7 @@ static HRESULT WINAPI upnpnat_get_StaticPortMappingCollection(IUPnPNAT *iface, I
FIXME("%p, %p\n", This, collection);
if(collection)
*collection = NULL;
return E_NOTIMPL;
return S_OK;
}
static HRESULT WINAPI upnpnat_get_DynamicPortMappingCollection(IUPnPNAT *iface, IDynamicPortMappingCollection **collection)
......
......@@ -180,7 +180,7 @@ static void test_IUPnPNAT(void)
ok(hr == E_NOINTERFACE, "got: %08x\n", hr);
hr = IUPnPNAT_get_StaticPortMappingCollection(nat, &static_ports);
todo_wine ok(hr == S_OK, "got: %08x\n", hr);
ok(hr == S_OK, "got: %08x\n", hr);
if(hr == S_OK && static_ports)
IStaticPortMappingCollection_Release(static_ports);
......
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