Commit Graph

340 Commits

Author SHA1 Message Date
Michael Stefaniuc 904820a523 wbemprox: Prefer the standard 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-11-16 11:28:53 +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
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
Gerald Pfeifer 37fdbf9afa wbemprox: Use WS_AF_INET instead of AF_INET in get_ipsubnet.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-19 17:48:23 +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
Piotr Caban 88d52edcc4 wbemprox: Add Win32_NetworkAdapterConfiguration::IPSubnet property.
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-08-14 10:15:59 +02:00
Piotr Caban 7be190057d wbemprox: Add Win32_NetworkAdapterConfiguration::IPAddress property.
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-08-14 10:15:59 +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
Francois Gouget f0182f854e wbemprox: Tweak a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-16 16:40:32 +01: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
Michael Müller be9758f08f wbemprox: Provide DeviceID, Location and PortName for printers.
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
Michael Müller fe6127dc67 wbemprox: Add FreePhysicalMemory to Win32_OperatingSystem.
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
Michael Müller 854482c3b2 wbemprox: Add DriverDate 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
Michael Müller 7e14d29837 wbemprox: Add InstalledDisplayDrivers 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
Michael Müller 6dc5eee71b wbemprox: Add Status 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
Michael Müller d42026af6e wbemprox: Add ConfigManagerErrorCode 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
Michael Stefaniuc aae49dc7ad wbemprox: Use the global HeapAlloc() wrappers.
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-02-06 12:58:59 +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
Hans Leidekker 94892721ec wbemprox: Avoid an invalid write when there are no forwards in the route table (Valgrind).
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-05 19:33:08 +02:00
Nikolay Sivov 5773203afd wbemprox/tests: Fix some leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-03 13:38:29 +02:00
Hans Leidekker 66e3c97ca7 wbemprox: Also free data for tables that don't have a fill function (Valgrind).
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-24 20:52:00 +01:00
Francois Gouget 34f77a656a wbemprox: Simplify and standardize the heap_xxx() declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-01 10:30:06 +01:00
Hans Leidekker 92168c4e41 wbemprox: Add a partial implementation of Win32_IP4RouteTable.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:52 +01:00
Hans Leidekker d11a07ec7c wbemprox: Don't define USE_WS_PREFIX on MinGW.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:52 +01:00
Hans Leidekker f2c005464e wbemprox: Only include matching rows in the table row count.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-27 16:31:44 +01:00
Hans Leidekker a2545727fe wbemprox: Return the machine ID for Win32_ComputerSystemProduct.UUID on Linux.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 13:52:50 -06:00
Hans Leidekker 9842bf333a wbemprox: Return a non-null UUID for Win32_ComputerSystemProduct.UUID if nothing better is available.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-17 13:51:21 -06:00
Hans Leidekker b05928aae0 wbemprox: Implement Win32_PhysicalMemory.MemoryType.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 10:08:08 -06:00
Hans Leidekker 710abd65bb wbemprox: Implement Win32_OperatingSystem.TotalVirtualMemorySize.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-16 10:08:07 -06:00
Hans Leidekker 96c46b1ca7 wbemprox: Return the hardware UUID for Win32_ComputerSystemProduct.UUID on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 11:02:33 +02:00
Hans Leidekker c8598a7309 wbemprox: Use the WS_ prefix to avoid conflicts with Unix headers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 11:02:28 +02:00
Hans Leidekker 1977baa793 wbemprox: Get rid of hard-coded OS version numbers.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:07 +02:00
Hans Leidekker f2f57152b2 wbemprox: Return NULL for Win32_BIOS.IdentificationCode.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:05 +02:00
Hans Leidekker 1e32ae8bdd wbemprox: Fix the variant type for Win32_SystemEnclosure.ChassisTypes.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-05 11:43:03 +02:00
Sebastian Lackner 9429c1a2ec wbemprox: Do not return error in HRESULT functions.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-13 22:41:03 +09:00
Michael Müller df5388b977 wbemprox/tests: Add initial tests for ASSOCIATORS query.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 19:27:59 +09:00
André Hentschel fa7d4e6015 wbemprox/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-23 20:22:22 +09:00
Hans Leidekker 62c367d12d wbemprox: Implement Win32_VideoController.VideoModeDescription.
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 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 fafab91751 wbemprox: Implement Win32_NetworkAdapterConfiguration.SettingID.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:32:15 +01:00