Nikolay Sivov : scrrun: Implement Reset() for file collection.

Alexandre Julliard julliard at winehq.org
Tue Jan 7 13:21:17 CST 2014


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Jan  7 03:25:20 2014 +0400

scrrun: Implement Reset() for file collection.

---

 dlls/scrrun/filesystem.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dlls/scrrun/filesystem.c b/dlls/scrrun/filesystem.c
index eb75a1f..a2562ef 100644
--- a/dlls/scrrun/filesystem.c
+++ b/dlls/scrrun/filesystem.c
@@ -705,8 +705,13 @@ static HRESULT WINAPI filecoll_enumvariant_Skip(IEnumVARIANT *iface, ULONG celt)
 static HRESULT WINAPI filecoll_enumvariant_Reset(IEnumVARIANT *iface)
 {
     struct enumvariant *This = impl_from_IEnumVARIANT(iface);
-    FIXME("(%p): stub\n", This);
-    return E_NOTIMPL;
+
+    TRACE("(%p)\n", This);
+
+    FindClose(This->data.u.filecoll.find);
+    This->data.u.filecoll.find = NULL;
+
+    return S_OK;
 }
 
 static HRESULT WINAPI filecoll_enumvariant_Clone(IEnumVARIANT *iface, IEnumVARIANT **pclone)




More information about the wine-cvs mailing list