[1/6] wbemprox: Implement IEnumWbemClassObject::Reset.
Hans Leidekker
hans at codeweavers.com
Mon Jun 18 02:30:43 CDT 2012
---
dlls/wbemprox/class.c | 9 +++++++--
1 file 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(
--
1.7.10
More information about the wine-patches
mailing list