Commit Graph

306 Commits

Author SHA1 Message Date
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
Hans Leidekker 0c38f7083e wbemprox: Implement Win32_NetworkAdapterConfiguration.DNSServerSearchOrder.
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 dd04d232d3 wbemprox: Implement Win32_NetworkAdapterConfiguration.DHCPEnabled.
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 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 ee81036a16 wbemprox: Implement Win32_NetworkAdapterConfiguration.DefaultIPGateway.
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 9982b16837 wbemprox: Implement Win32_NetworkAdapterConfiguration.Description.
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 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
Joachim Priesner 29862da337 wbemprox: Iterate over all drives instead of just the first four.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:29 +01:00
Michael Müller 20ff3352eb wbemprox: Add bios name column in Win32_BIOS.
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>
2015-10-07 22:07:32 +09:00
Sebastian Lackner 08acac5f91 wbemprox/tests: Add tests for Win32_Bios table.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-07 22:07:28 +09:00
Frédéric Delanoy ea3dba9d69 wbemprox: Silence some noisy FIXMEs.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
2015-10-06 22:18:13 +09:00
Hans Leidekker 725c7aec8c wbemprox: Fix evaluation of LIKE queries. 2015-08-17 14:46:08 +09:00
Hans Leidekker deaf036992 wbemprox: Implement Win32_DesktopMonitor.PixelsPerXLogicalInch. 2015-07-29 21:44:02 +02:00
Huw Davies 125f3151cb wbemprox: Don't call CloseServiceHandle() with an invalid handle. 2015-07-16 21:20:53 +09:00
Hans Leidekker 927400be63 wbemprox: Implement Win32_Process.WorkingSetSize. 2015-06-22 19:18:57 +09:00
Hans Leidekker bd647dc013 wbemprox: Implement Win32_OperatingSystem.Primary. 2015-06-22 19:18:55 +09:00
Hans Leidekker 13490899f1 wbemprox: Fix some memory leaks (Coverity). 2015-06-22 19:18:52 +09:00
Michael Müller 688db4d273 wbemprox: Treat \r as whitespace. 2015-06-04 15:56:29 +09:00
Michael Müller 96b5d9aa97 wbemprox: Add support for Win32_SystemEnclosure.
From: Michael Müller <michael@fds-team.de>
2015-05-22 16:15:15 +09:00
Sebastian Lackner 37b1048bd2 wbemprox: Fix handling of arrays as query results. 2015-05-22 16:15:06 +09:00
Sebastian Lackner 856b03501a wbemprox/tests: Add tests for Win32_SystemEnclosure. 2015-05-22 16:14:36 +09:00
Sebastian Lackner a248418325 wbemprox/tests: Fix memory leak when tests are skipped. 2015-05-05 23:15:31 +09:00
Sebastian Lackner a5414e8bed wbemprox/tests: Actually test the return value of IEnumWbemClassObject_Next. 2015-05-05 23:15:31 +09:00
Michael Müller 9961961901 wbemprox: Allow connecting to localhost. 2015-04-29 12:23:40 +09:00
Nikolay Sivov 84a8ae79d2 wbemprox: Fix BSTR leaks caused by incorrect use of SafeArrayPutElement() (Valgrind). 2015-04-22 23:25:20 +09:00
Nikolay Sivov f068eb9acd wbemprox/tests: Fix interface instance leak (Valgrind). 2015-04-22 23:25:04 +09:00
Hans Leidekker 09aec59870 wbemprox: Add a partial implementation of Win32_Printer. 2015-04-03 17:07:36 +09:00
Hans Leidekker 64823801fc wbemprox: Implement more properties of Win32_VideoController. 2015-04-03 17:07:36 +09:00
Hans Leidekker 1f004b34ad wbemprox: Implement more properties of Win32_Processor. 2015-04-03 17:07:35 +09:00
Hans Leidekker db6d7dd060 wbemprox: Fix a memory leak. 2015-04-03 17:07:35 +09:00
Hans Leidekker 3c5ef7c4ad wbemprox: Make sure to allocate sufficient memory in resize_table. 2015-04-03 17:07:35 +09:00
Francois Gouget 325672f5e6 wbemprox: Mark internal symbols with hidden visibility. 2015-04-01 14:13:43 +09:00
Thomas Faber b7664e603b wbemprox: Implement MSVC version of do_cpuid. 2015-02-23 21:47:19 +09:00
Thomas Faber 00b2461ba9 wbemprox: Implement Win32_ComputerSystem.UserName. 2015-02-23 21:46:56 +09:00
Thomas Faber 42825cdc14 wbemprox: Allocate a large enough buffer in get_computername. 2015-02-23 21:46:17 +09:00