wmic: Don't set WBEM_FLAG_FORWARD_ONLY flag on query.

The result access is not forward only.
This commit is contained in:
Paul Gofman 2022-11-23 11:58:20 -06:00 committed by Alexandre Julliard
parent 5c00a8a330
commit 6412b3dc3a

View file

@ -171,7 +171,7 @@ static int query_prop( const WCHAR *class, const WCHAR *propnames )
IWbemLocator *locator = NULL;
IWbemServices *services = NULL;
IEnumWbemClassObject *result = NULL;
LONG flags = WBEM_FLAG_RETURN_IMMEDIATELY | WBEM_FLAG_FORWARD_ONLY;
LONG flags = WBEM_FLAG_RETURN_IMMEDIATELY;
BSTR path = NULL, wql = NULL, query = NULL, name, str = NULL;
WCHAR *proplist = NULL;
int len, ret = -1;