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
Hans Leidekker
65c0f308ba
wbemprox: Make system restore naming consistent with the other method implementations.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-05 17:56:41 +01:00
Nikolay Sivov
76f90ab6df
wbemprox: Implement DeleteKey() method.
...
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-01 10:31:24 +01:00
Nikolay Sivov
1e80402e9b
wbemprox: Implement SetDWORDValue() method.
...
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-01 10:31:22 +01:00
Nikolay Sivov
1e01c4f657
wbemprox: Implement SetStringValue() method.
...
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-01 10:31:20 +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
bdba6037d0
wbemprox: Fix Windows 8/8.1 caption.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50610
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 20:58:09 +01:00
Hans Leidekker
ba06f7a541
wbemprox: Report the real OS version.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50580
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-02 22:31:46 +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
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
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
Hans Leidekker
81e0a6225f
wbemprox: Mark some string properties as dynamic.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 10:20:03 +01:00
Pengpeng Dong
89698cfae4
wbemprox: Implement Win32_SoundDevice.{DeviceID, PNPDeviceID}.
...
Signed-off-by: Pengpeng Dong <dongpengpeng@uniontech.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-29 20:19:13 +01:00
Haoyang Chen
16b8f2b3e7
wbemprox: Implement Win32_SoundDevice.Status.
...
Signed-off-by: Haoyang Chen <chenhaoyang@uniontech.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-22 11:44:07 +02:00
Michael Stefaniuc
99392eafaa
wbemprox: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:57:50 +02:00
Rémi Bernon
3c63029180
wbemprox: Report 4095MiB video memory if it overflows.
...
That's what Windows do apparently. Anything with more than 4GiB of VRAM
would report less otherwise, confusing the VRAM detection in some games.
The Mafia III launcher is trying to open a warning popup with a 8GiB
VRAM GPU for instance, as the reported value overflows to 0.
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:38 +02:00
Rémi Bernon
75fb68e424
wbemprox: Use empty strings instead of NULL.
...
For Win32_PhysicalMemory PartNumber and Serial properties.
Injustice 2 calls SysStringLen directly on the value without checking
its type.
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-08-13 12:28:41 +02:00
Sven Baars
ea60927fbd
wbemprox: Avoid a use after free (Coverity).
...
Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-03 21:22:36 +02:00
Esme Povirk
2ea3e40465
wbemprox: Implement Win32_SoundDevice.Manufacturer.
...
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
Alexandre Julliard
7161dcd426
ntdll: Return the current time and timezone bias in NtQuerySystemInformation(SystemTimeOfDayInformation).
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-25 23:08:30 +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
f516a23041
wbemprox: Get the operating system serial number from the registry.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-21 20:48:24 +02:00
Hans Leidekker
93758fc3ef
wbemprox: Fix allocation size.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49128
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-11 22:18:46 +02:00
Jacek Caban
8b6c86eb82
wbemprox: Use __cpuid from intrin.h.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-05 10:53:30 +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
78e9b02ceb
wbemprox: Use wide character string literals.
...
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
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
Brendan Shanks
4e886e8ca0
wbemprox: Add embedded controller and system BIOS release numbers to Win32_BIOS.
...
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:18 +01:00
Jacek Caban
5a44fc7b81
wbemprox: Fix checking for digit characters.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 21:28:24 +01:00
Francois Gouget
81df49fadc
wbemprox: Fix the spelling of the free_associations() function name.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-28 20:45:46 +01:00
Serge Gautherie
a45dfea99a
wbemprox: Always free 'new_path'.
...
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01: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
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
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
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
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
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
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