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
Nikolay Sivov
7e55129b7a
wbemprox/tests: Add a simple test for semi-synchronous mode behaviour.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-18 16:00:26 +01:00
Hans Leidekker
cee8986529
wbemprox: Create one processor object per package.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:39:44 +01:00
Hans Leidekker
f2e1c51422
wbemprox: Fix processor caption on AMD 64-bit.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:39:32 +01:00
Sven Baars
b9eaf07111
wbemprox/tests: Fix some memory leaks (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-01-15 14:30:29 +01:00
Piotr Caban
91e4961d01
wbemprox: Return NULL signature when there are no input parameters.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 09:45:20 +02:00
Piotr Caban
ff4f1c2e3a
wbemprox: Support specifying server and namespace in WbemServices functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-16 11:32:42 +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
Hans Leidekker
a9c6ff2327
wbemprox: Don't return an error from IWbemClassObject::BeginMethodEnumeration if the object has an iterator.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-09 17:33:28 +02:00
Hans Leidekker
05cdc07d44
wbemprox: Implement StdRegProv.CreateKey.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-28 11:06:25 +02:00
Andrew Eikum
300b0f6ad6
wbemprox: Add support for Win32_PnPEntity table.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Andrew Eikum
335ad09175
wbemprox/tests: Don't crash on VirtualBox.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Michael Stefaniuc
847693558f
wbemprox/tests: Use the available 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-06-01 08:50:14 +02:00
Hans Leidekker
151f3fc2f2
wbemprox/tests: Add tests for Win32_Printer.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 16:19:44 +01:00
Hans Leidekker
28bbe41138
wbemprox/tests: Add a test for Win32_OperatingSystem.FreePhysicalMemory.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-02 16:19:44 +01:00
Hans Leidekker
d306f596d3
wbemprox/tests: Add tests for Win32_VideoController.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-01 19:25:58 +01:00
Hans Leidekker
4f640fa9b6
wbemprox: Add more Win32_Processor properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 16:24:58 +01:00
Hans Leidekker
bc07327c15
wbemprox: Add more Win32_BIOS properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 16:24:56 +01:00
Hans Leidekker
7c0025b608
wbemprox: Add more Win32_ComputerSystemProduct properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-05 16:24:55 +01:00
Hans Leidekker
b5633cc69b
wbemprox: Support NULL tests that use equality operators.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-20 17:10:47 +01:00