Hans Leidekker : wbemprox: Implement IEnumWbemClassObject::Reset.

Alexandre Julliard julliard at winehq.org
Mon Jun 18 15:00:25 CDT 2012


Module: wine
Branch: master
Commit: 0f936f49ca199b9ba6b834e69bfdf6e470f4e05d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0f936f49ca199b9ba6b834e69bfdf6e470f4e05d

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Jun 18 09:30:43 2012 +0200

wbemprox: Implement IEnumWbemClassObject::Reset.

---

 dlls/wbemprox/class.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/wbemprox/class.c b/dlls/wbemprox/class.c
index a950e41..9119132 100644
--- a/dlls/wbemprox/class.c
+++ b/dlls/wbemprox/class.c
@@ -91,8 +91,13 @@ static HRESULT WINAPI enum_class_object_QueryInterface(
 static HRESULT WINAPI enum_class_object_Reset(
     IEnumWbemClassObject *iface )
 {
-    FIXME("%p\n", iface);
-    return E_NOTIMPL;
+    struct enum_class_object *ec = impl_from_IEnumWbemClassObject( iface );
+    struct view *view = ec->query->view;
+
+    TRACE("%p\n", iface);
+
+    view->index = 0;
+    return WBEM_S_NO_ERROR;
 }
 
 static HRESULT WINAPI enum_class_object_Next(




More information about the wine-cvs mailing list