mstask: Implement IEnumWorkItems::Reset().

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2018-06-11 17:24:34 +08:00 committed by Alexandre Julliard
parent c0dd4f5aee
commit c84082209a
1 changed files with 10 additions and 2 deletions

View File

@ -217,8 +217,16 @@ static HRESULT WINAPI EnumWorkItems_Skip(IEnumWorkItems *iface, ULONG count)
static HRESULT WINAPI EnumWorkItems_Reset(IEnumWorkItems *iface)
{
EnumWorkItemsImpl *This = impl_from_IEnumWorkItems(iface);
FIXME("(%p): stub\n", This);
return E_NOTIMPL;
TRACE("(%p)\n", This);
if (This->handle != INVALID_HANDLE_VALUE)
{
FindClose(This->handle);
This->handle = INVALID_HANDLE_VALUE;
}
return S_OK;
}
static HRESULT WINAPI EnumWorkItems_Clone(IEnumWorkItems *iface, IEnumWorkItems **cloned)