Commit 8117ca9c authored by Daniel Jelinski's avatar Daniel Jelinski Committed by Alexandre Julliard

wbemprox: Return success if only one result requested from enum.

parent 70ed25fa
......@@ -130,7 +130,7 @@ static HRESULT WINAPI enum_class_object_Next(
ec->index++;
*puReturned = 1;
if (ec->index == view->count) return WBEM_S_FALSE;
if (ec->index == view->count && uCount > 1) return WBEM_S_FALSE;
if (uCount > 1) return WBEM_S_TIMEDOUT;
return WBEM_S_NO_ERROR;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment