Louis Lenders
733dc15bae
wbemprox: Add ProductType to win32_operatingsystem class.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50805
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-15 10:50:53 +01:00
Nikolay Sivov
4b8fbc324c
wbemprox/tests: Use defined name for error code.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-05 17:55:48 +01:00
Nikolay Sivov
4a97c6b03c
wbemprox: Keep context object per services instance.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:44 +01:00
Nikolay Sivov
0e6c797999
wbemprox: Set iterator for spawned instances.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:24:39 +01:00
Nikolay Sivov
377853dc51
wbemprox: Implement GetValue()/SetValue() for context object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 12:22:07 +01:00
Nikolay Sivov
0eaccbb15e
wbemprox: Implement WbemContext stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-24 10:26:02 +01:00
Hans Leidekker
14905720ed
wbemprox: Implement Win32_LogicalDisk.Caption.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50643
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 11:13:50 +01:00
Hans Leidekker
4c5dee872b
wbemprox: Implement Win32_NetworkAdapter.ServiceName.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50256
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 20:46:13 +01:00
Hans Leidekker
d4032d69f6
wbemprox: Handle escaped backslashes in LIKE queries.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50256
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 20:46:13 +01:00
Hans Leidekker
e8aa254f34
wbemprox/tests: Add tests for Win32_NetworkAdapter/Configuration.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 20:46:13 +01:00
Hans Leidekker
ebff7de0c9
wbemprox: Implement Win32_NetworkAdapter.GUID.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50256
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-21 20:46:13 +01:00
Dmitry Timoshkov
d2baf148a1
wbemprox: Flesh out a bit SystemRestore::Enable() implementation.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-20 22:09:37 +01:00
Dmitry Timoshkov
e0cb4d5093
wbemprox: Add class SystemRestore stub implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50033
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-20 22:09:33 +01:00
Dmitry Timoshkov
5befc694fa
wbemprox/tests: Add some tests for SystemRestore class.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 11:56:13 +01:00
Dmitry Timoshkov
a45f6a49f7
wbemprox/tests: Run StdRegProv tests using ROOT\\DEFAULT connection point.
...
StdRegProv is not available on ROOT\\CIMV2 for unknown reason on some Windows configs.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 11:56:10 +01:00
Hans Leidekker
488ec98bf2
wbemprox/tests: Test more sound device properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-29 20:19:13 +01:00
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
Paul Gofman
9dea12d87d
wbemprox: Provide semi-stub implementation for client_security_QueryBlanket().
...
Horizon Zero Dawn fails to query system memory size if CoQueryProxyBlanket()
fails for wbem services.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-01 12:29:55 +02:00
Gijs Vermeulen
c3bd08b022
wbemprox: Don't crash in IWbemClassObject::Put() when called with empty class object.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40945
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-11 18:06:23 +02:00
Gijs Vermeulen
11f2057768
wbemprox: Set obj to NULL on error in get_object().
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-11 18:06:11 +02:00
Gijs Vermeulen
06e455c247
wbemprox: Accept 0 and WBEM_FLAG_ALWAYS | WBEM_MASK_CONDITION_ORIGIN as flags in IWbemClassObject::GetNames().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=34770
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-10 16:40:53 +02:00
Zebediah Figura
a0c9aab5de
wbemprox: Return WBEM_E_NOT_FOUND from get_object() if no object is available.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49685
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-10 16:40:40 +02:00
Gijs Vermeulen
84d85adeea
wbemprox: Support retrieving more than one object in IEnumWbemClassObject::Next().
...
Patch by GitHub user pnevmoslon with some modifications.
Fixes gamepad support in Mortal Kombat 11.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-28 12:59:27 +02:00
Gijs Vermeulen
2cc89668fe
wbemprox/tests: Add IEnumWbemClassObject::Next() tests.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-28 12:59:27 +02:00
Gijs Vermeulen
25853da03e
wbemprox/tests: Add a test for Win32_PhysicalMemory.ConfiguredClockSpeed.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-27 23:28:16 +02:00
Gijs Vermeulen
850b289ce9
wbemprox/tests: Fix test failures.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-27 23:28:16 +02:00
Gijs Vermeulen
d16a353700
wbemprox/tests: Add Win32_SoundDevice tests.
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 16:06:06 +02:00
Alistair Leslie-Hughes
fb7cc99f8a
wbemprox: Add more Win32_PhysicalMemory properties.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-07 19:24:27 +02:00
Hans Leidekker
84857d2706
wbemprox: Get the disk drive serial number from mountmgr.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49160
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:14:14 +02:00
Hans Leidekker
550d96b0bf
wbemprox: Implement Win32_VideoController.AdapterCompatibility.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48973
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:49:11 +02:00
Hans Leidekker
742875b6e5
wbemprox/tests: Use wide character string literals.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:18 +01:00
Hans Leidekker
9631a526cf
wbemprox: Implement Win32_DesktopMonitor.Name.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48646
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:18 +01:00
Hans Leidekker
b1c748c852
wbemprox: Implement Win32_PhysicalMemory.FormFactor.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:18 +01:00
Sven Baars
62a5e16eec
wbemprox/tests: Remove some unused variables.
...
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:52 +02:00
Sven Baars
ffb9bd9e6c
wbemprox/tests: Fix a memory 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:46 +02:00
Hans Leidekker
ca93830fc5
wbemprox: Implement Win32_QuickFixEngineering.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47755
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-30 22:24:27 +02:00
Hans Leidekker
31c0cb4862
wbemprox: Implement Win32_DisplayControllerConfiguration.
...
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-20 15:31:53 +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
6ecf912a7a
wbemprox: Implement Win32_WinSAT.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 16:50:44 +02:00
Hans Leidekker
ee74d9ad7a
wbemprox: Implement more Win32_OperatingSystem properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-17 16:50:44 +02:00
Hans Leidekker
08d0449e41
wbemprox: Implement Win32_DiskDriveToDiskPartition.
...
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
39bac1e32b
wbemprox: Implement Win32_LogicalDiskToPartition.
...
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
434e94a689
wbemprox: Implement IWbemQualifierSet::GetNames.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 18:16:40 +02:00
Hans Leidekker
22ae86f65c
wbemprox/tests: Add tests for Win32_Baseboard.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 18:16:24 +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
34d5f90db6
wbemprox/tests: Introduce a helper to check properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 21:55:18 +02:00
Hans Leidekker
fb26388b0a
wbemprox: Implement Win32_OperatingSystem.SystemDrive.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47065
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 21:55:15 +02:00
Hans Leidekker
5b2113de2d
wbemprox: Implement Win32_OperatingSystem.OperatingSystemSKU.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46895
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00
Hans Leidekker
66b2b3ea68
wbemprox: Implement Win32_PhysicalMemory.DeviceLocator.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46894
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-25 10:21:39 +01:00