[2/7] hnetcfg: Improve the stub for INetFwServices::Item.

Hans Leidekker hans at codeweavers.com
Wed Oct 21 06:17:53 CDT 2009


---
 dlls/hnetcfg/service.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/hnetcfg/service.c b/dlls/hnetcfg/service.c
index be30d8a..ecfc00c 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(
-- 
1.6.3.3





More information about the wine-patches mailing list