Commit Graph

69 Commits

Author SHA1 Message Date
Hans Leidekker b1ceb7853c wbemprox: Also return system properties from IWbemClassObject::GetNames.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50038
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-23 11:02:40 +02:00
Rémi Bernon 4b9d3909b8 wbemprox: Set variant type to VT_NULL if BSTR is NULL.
Mafia III launcher crashes when querying video controllers when it
passes the NULL __PATH value through COM marshalling.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-30 15:50:32 +02:00
Hans Leidekker 78e9b02ceb wbemprox: Use wide character string literals.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:49:11 +02:00
Sven Baars 11470a7763 wbemprox: Fix a leak on error path (Coverity).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 09:58:56 +02:00
Sven Baars e4f0786816 wbemprox: Fix a string leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-07 09:58:49 +02:00
Hans Leidekker 34bd6a9cf3 wbemprox: Map CIM_UINT16 and CIM_UINT32 to VT_I4 by default.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47782
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-19 22:07:53 +02:00
Hans Leidekker 58572fc916 wbemprox: Avoid a crash when a class is not implemented.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-19 22:07:53 +02:00
Hans Leidekker 8487265f81 wbemprox: Add support for evaluating ASSOCIATORS OF queries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Hans Leidekker 90b0e94b5b wbemprox: Support evaluating CIM_REFERENCE expressions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Hans Leidekker 08d928171c wbemprox: Avoid evaluating row conditions twice.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 18:16:32 +02:00
Hans Leidekker 3995b5ecf9 wbemprox: Store the element size in struct array.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-27 20:23:48 +02:00
Hans Leidekker b37eb06ba3 wbemprox: Add support for CIM_REFERENCE.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-05 17:38:11 +02:00
Hans Leidekker dba0dd4161 wbemprox: Build with msvcrt.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-04 21:14:53 +02:00
Hans Leidekker d83b71ebfd wbemprox: Add support for parsing ASSOCIATORS OF queries.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-24 21:21:16 +02:00
Hans Leidekker 492a9653f5 wbemprox: Make name and value optional in IWbemClassObject::Next.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 17:33:29 +02:00
Michael Stefaniuc 3f4f96e088 wbemprox: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-12 23:15:12 +02:00
Hans Leidekker 298c64c6eb wbemprox: Fix a typo.
Spotted by Nikolay Sivov.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:35 +01:00
Hans Leidekker 086a1a4ed2 wbemprox: Set correct variant type if array property value is NULL.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:15 +01:00
Hans Leidekker df42519cb2 wbemprox: Support string literals in comparisons with integer properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:14 +01:00
Hans Leidekker 725c7aec8c wbemprox: Fix evaluation of LIKE queries. 2015-08-17 14:46:08 +09:00
Nikolay Sivov 84a8ae79d2 wbemprox: Fix BSTR leaks caused by incorrect use of SafeArrayPutElement() (Valgrind). 2015-04-22 23:25:20 +09:00
Vincent Povirk c55beb6548 wbemprox: Implement __SystemSecurity::GetSD. 2014-08-22 17:26:13 +02:00
Hans Leidekker 27b18a395b wbemprox: Use a separate index variable to build the safearray in get_properties. 2014-05-13 13:47:08 +02:00
Hans Leidekker 8343aed4c2 wbemprox: Return selected properties only from IWbemClassObject::Next. 2014-04-30 15:15:27 +02:00
Hans Leidekker c9abb27d89 wbemprox: Return selected properties only from IWbemClassObject::GetNames. 2014-04-30 15:15:27 +02:00
Hans Leidekker c3566b088d wbemprox: Add support for WBEM_FLAG_NONSYSTEM_ONLY and WBEM_FLAG_SYSTEM_ONLY in IWbemClassObject::GetNames. 2014-03-24 20:20:05 +01:00
Hans Leidekker d0d9b9dcd7 wbemprox: Add support for negated expressions in WHERE clauses. 2014-03-03 17:02:18 +01:00
Austin English dc9de59f7f wbemprox: Add a missing break (Coverity). 2014-02-10 10:39:25 +01:00
Hans Leidekker 6a042307a5 wbemprox: Allow string values in boolean comparisons. 2014-01-28 19:38:41 +01:00
Dmitry Timoshkov 182ff187a9 wbemprox: Remove unused IUnknown *outer parameter from object constructors. 2014-01-07 15:23:07 +01:00
Hans Leidekker f4da96bb29 wbemprox: Rewrite IWbemServices::ExecMethod with low-level functions so we can reuse the object instance. 2013-06-04 15:01:42 +02:00
Hans Leidekker aca407bfe7 wbemprox: Return a status from table fillers and add an optional condition parameter. 2013-05-22 11:25:05 +02:00
Hans Leidekker 8f69a44b1c wbemprox: Refill tables with dynamic content before each query. 2013-05-22 11:25:02 +02:00
Hans Leidekker 6253d49e15 wbemprox: Fill tables at latest possible moment. 2013-05-22 11:24:59 +02:00
Hans Leidekker 7f81a2c6b1 wbemprox: Avoid a crash in to_safearray. 2013-05-03 21:39:21 +02:00
Hans Leidekker a247c7cf23 wbemprox: Avoid a crash in destroy_view. 2013-02-25 13:02:24 +01:00
Hans Leidekker d74cf43fbe wbemprox: Check the result count instead of the result pointer in get_propval. 2013-01-25 17:42:31 +01:00
Hans Leidekker 035315c45c wbemprox: Avoid a crash in get_propval when the query returned no results. 2012-12-18 12:37:21 +01:00
Hans Leidekker 2eb666d624 wbemprox: Keep a reference to the table from uncommitted instances. 2012-10-17 11:46:12 +02:00
Hans Leidekker 71fbae963e wbemprox: Implement class methods StdRegProv.EnumKey and StdRegProv.EnumValues. 2012-10-12 14:33:34 +02:00
Hans Leidekker 3b8266d20b wbemprox: Always convert from BSTR. 2012-10-12 14:33:08 +02:00
Hans Leidekker 3e52cea324 wbemprox: Add support for array types. 2012-10-10 20:34:05 +02:00
Hans Leidekker ef6fa2b9f2 wbemprox: Add reference counting to the table structure. 2012-10-10 20:34:04 +02:00
Hans Leidekker 68f0e174d6 wbemprox: Handle NULL operands in eval_strcmp. 2012-10-10 20:34:03 +02:00
Hans Leidekker 0d28920804 wbemprox: Add support for uncommitted instances in IWbemClassObject::Put. 2012-09-06 18:23:39 +02:00
Hans Leidekker 773f5f8dc2 wbemprox: Add support for boolean properties. 2012-07-30 17:57:42 +02:00
Hans Leidekker 53d1cc1ed6 wbemprox: Implement IWbemClassObject::Put. 2012-07-25 16:11:18 +02:00
Hans Leidekker 91049f5e75 wbemprox: Add support for creating new tables. 2012-07-13 10:27:59 -05:00
Hans Leidekker 4e6eb13c41 wbemprox: Add a partial StdRegProv class implementation. 2012-07-13 10:27:20 -05:00
Hans Leidekker cd5cad6959 wbemprox: Return a null variant instead of an empty string if the property isn't set. 2012-07-13 10:27:14 -05:00