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

This commit is contained in:
Daniel Jelinski 2013-05-15 22:19:12 +02:00 committed by Alexandre Julliard
parent 70ed25fa1a
commit 8117ca9c61
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}