Hans Leidekker (@hans) commented about dlls/wbemprox/tests/query.c:
hr = IWbemQualifierSet_Get( qualifiers, L"ID", 0, &val, &flavor ); ok( hr == WBEM_E_NOT_FOUND, "got %#lx\n", hr );
- /* Test query and result properties */
- wsprintfW( query_buffer, L"SELECT * FROM Win32_Process WHERE ProcessId = %lu\n", GetCurrentProcessId() );
- query = SysAllocString( query_buffer);
- hr = IWbemServices_ExecQuery( services, wql, query, 0, NULL, &enum_result );
- ok( hr == S_OK, "got %#lx\n", hr );
You don't need this query, you already have a process object in this test.