hnetcfg: Return S_OK in get_StaticPortMappingCollection.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49449
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Vijay Kiran Kamuju 2020-10-10 12:44:44 +02:00 committed by Alexandre Julliard
parent aaf461b7d2
commit 5160c30fa7
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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);