From f80ca42e4bb0fe003b88a28d96571e06adffb6a2 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 21 Oct 2009 13:17:53 +0200 Subject: [PATCH] hnetcfg: Improve the stub for INetFwServices::Item. --- dlls/hnetcfg/service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/hnetcfg/service.c b/dlls/hnetcfg/service.c index be30d8ade9d..ecfc00cba25 100644 --- a/dlls/hnetcfg/service.c +++ b/dlls/hnetcfg/service.c @@ -286,7 +286,7 @@ static const struct INetFwServiceVtbl fw_service_vtbl = fw_service_get_GloballyOpenPorts }; -HRESULT NetFwService_create( IUnknown *pUnkOuter, LPVOID *ppObj ) +static HRESULT NetFwService_create( IUnknown *pUnkOuter, LPVOID *ppObj ) { fw_service *fp; @@ -433,7 +433,7 @@ static HRESULT WINAPI fw_services_Item( fw_services *This = impl_from_INetFwServices( iface ); FIXME("%p, %u, %p\n", This, svcType, service); - return E_NOTIMPL; + return NetFwService_create( NULL, (void **)service ); } static HRESULT WINAPI fw_services_get__NewEnum(