Commit 6412b3dc authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

wmic: Don't set WBEM_FLAG_FORWARD_ONLY flag on query.

The result access is not forward only.
parent 5c00a8a3
......@@ -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;
......
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