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:
parent
aaf461b7d2
commit
5160c30fa7
|
@ -720,7 +720,7 @@ static HRESULT WINAPI upnpnat_get_StaticPortMappingCollection(IUPnPNAT *iface, I
|
||||||
FIXME("%p, %p\n", This, collection);
|
FIXME("%p, %p\n", This, collection);
|
||||||
if(collection)
|
if(collection)
|
||||||
*collection = NULL;
|
*collection = NULL;
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI upnpnat_get_DynamicPortMappingCollection(IUPnPNAT *iface, IDynamicPortMappingCollection **collection)
|
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);
|
ok(hr == E_NOINTERFACE, "got: %08x\n", hr);
|
||||||
|
|
||||||
hr = IUPnPNAT_get_StaticPortMappingCollection(nat, &static_ports);
|
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)
|
if(hr == S_OK && static_ports)
|
||||||
IStaticPortMappingCollection_Release(static_ports);
|
IStaticPortMappingCollection_Release(static_ports);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue