mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:00:30 +00:00
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);
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue