Commit Graph

384 Commits

Author SHA1 Message Date
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 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 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 18ff2817be wbemprox: Implement more Win32_PhysicalMemory 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 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 a94c466c54 wbemprox: Implement Win32_BIOS.CurrentLanguage.
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 4e133e7aaf wbemprox: Add support for CIM_REAL32 values.
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 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 c69813bcd0 wbemprox: Fix index in fill_diskdrive and fill_diskpartition.
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 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 ce3a0fc290 wbemprox: Perform a case insensitive match on path components.
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 05cb6543b0 wbemprox: Strip curly brackets from path strings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-10 23:20:41 +02:00
Alistair Leslie-Hughes d2590f2099 wbemprox: Return NULL on error (Coverity).
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>
2019-09-05 11:14:45 +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 8e2e897432 wbemprox: Implement IWbemClassObject::GetQualifierSet.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 18:16:37 +02:00
Hans Leidekker 59b647a3e8 wbemprox: Support boolean qualifier values.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 18:16:35 +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 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 7e085d6ee2 wbemprox: Retrieve more properties from the SMBIOS table.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-27 20:24:08 +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 ea3caa2d83 wbemprox: Retrieve the system UUID from the SMBIOS table.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 15:24:55 +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
Alexandre Julliard d5a372abbb include: Move inline assembly definitions to a new wine/asm.h header.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 13:45:07 +02:00
Alexandre Julliard cea239e905 wbemprox: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:35:23 -05: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
Alexandre Julliard 6d4cdeb658 wbemprox: Use %define parse.error verbose instead of %error-verbose.
The latter is deprecated and causes warnings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-23 23:50:45 +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
Sven Baars 88399dee3f wbemprox: Initialize a variable (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-02-18 16:00:32 +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
Hans Leidekker dfb0c8c951 wbemprox: Include extended model and family fields in processor properties.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:39:05 +01:00
Hans Leidekker d1f70b17e6 wbemprox: Strip trailing spaces from processor name.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:37:27 +01:00
Hans Leidekker 48554a2645 wbemprox: Support cpuid on 64-bit.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 11:37:24 +01:00
Piotr Caban 9b0e1f0bb8 wbemprox: Add Win32_NetworkAdapter Description 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>
2019-01-24 16:26:09 +01:00
Piotr Caban 0185fcc94f wbemprox: Add Win32_NetworkAdapter DeviceAdapterID 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>
2019-01-24 16:26:07 +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
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