Commit Graph

30 Commits

Author SHA1 Message Date
Michael Müller c7fd541cb6 dxdiagn: Calling GetChildContainer with an empty string on a leaf container returns the object itself.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38014
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 21:06:18 +01:00
Michael Müller b1eedc7b6f dxdiagn: Enumerate DirectSound devices and add some basic properties.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=32613
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-16 21:06:18 +01:00
Michael Stefaniuc 521f954d3c dxdiagn/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Alexandre Julliard c8f3383696 include: Allow using debug.h in tests.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-17 16:55:15 +01:00
Michael Stefaniuc 243e8b26ed dxdiagn/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-30 09:11:01 +02:00
Michael Müller 3eee8b5594 dxdiagn: Add several more fields for DisplayDevices.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-24 09:12:30 +02:00
Nikolay Sivov 2c59f6fe46 dxdiagn/tests: Fix a couple of leaks (Valgrind). 2015-04-20 22:04:42 +09:00
Markus Weiland 7462da1345 dxdiagn: Added properties for hardware acceleration capabilities. 2014-03-25 19:01:32 +01:00
Piotr Caban 2bfbac07a8 dxdiagn: Initialize ProcessorEnglish property. 2012-08-31 17:02:31 +02:00
Andrew Nguyen 7664adb215 dxdiagn: Add additional adapter identifier properties for DxDiag_DisplayDevices subcontainers. 2011-06-15 20:04:40 +02:00
Andrew Nguyen 55296f6edb dxdiagn/tests: Add tests for some DxDiag_DisplayDevices subcontainer properties. 2011-06-15 20:04:40 +02:00
Andrew Nguyen 9d7d35c1ee dxdiagn: Unconditionally initialize the passed variant in IDxDiagContainer::GetProp. 2011-06-15 20:04:39 +02:00
Nicolas Le Cam 66b11a00b5 dxdiagn/tests: Initialize a variable and reduce its scope (valgrind). 2011-04-21 16:53:42 +02:00
Andrew Nguyen 097a31bb21 dxdiagn: Add operating system string properties to the DxDiag_SystemInfo container. 2011-04-04 13:21:03 +02:00
Andrew Nguyen ca854b82cf dxdiagn: Add paged memory display string properties to the DxDiag_SystemInfo container. 2011-04-04 13:20:49 +02:00
Andrew Nguyen 791aa53839 dxdiagn: Add a physical memory display string property to the DxDiag_SystemInfo container. 2011-04-04 13:16:02 +02:00
Andrew Nguyen bd7ad13bb3 dxdiagn: Add date and time properties to the DxDiag_SystemInfo container. 2011-04-04 13:15:58 +02:00
Andrew Nguyen 35d313c4d4 dxdiagn/tests: Add tests for some DxDiag_SystemInfo properties. 2011-04-04 13:15:50 +02:00
Andrew Nguyen a9d1f1bb4f dxdiagn: Transition to the information tree by making IDxDiagContainer view the information tree. 2011-02-15 17:01:43 +01:00
Andrew Nguyen c99e0fbc0e dxdiagn: Simplify the root container initialization. 2011-02-01 18:14:06 +01:00
Andrew Nguyen 5f1764c629 dxdiagn: Successfully copy to destination variants with an invalid type in IDxDiagContainer::GetProp.
GetProp now simply unconditionally clears the destination variant if
VariantClear fails.
2010-03-23 17:30:04 +01:00
Andrew Nguyen 61cb53e24d dxdiagn: Fix return value of IDxDiagContainer::GetProp on property search failure. 2010-03-23 12:19:48 +01:00
Francois Gouget f096b023c4 dxdiagn/tests: Add a trailing '\n' to an ok() call. 2010-03-22 10:48:26 +01:00
Andrew Nguyen af28d72aaf dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContainer::EnumPropNames. 2010-03-15 15:12:17 +01:00
Andrew Nguyen f1e005410f dxdiagn: Fix return and output behavior of IDxDiagContainer::EnumPropNames. 2010-03-15 15:12:10 +01:00
Andrew Nguyen af1bcf7768 dxdiagn: Fix dot parsing in IDxDiagContainer::GetChildContainer for the case of a lone dot terminator. 2010-03-15 15:12:06 +01:00
Andrew Nguyen c245c6ed09 dxdiagn: Initialize output pointer to NULL in IDxDiagContainer::GetChildContainer. 2010-03-15 15:12:00 +01:00
Andrew Nguyen fa9af5b68a dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContainer::EnumChildContainerNames. 2010-03-15 15:11:56 +01:00
Andrew Nguyen 2c9a5900e6 dxdiagn: Fix return and output behavior of IDxDiagContainer::EnumChildContainerNames. 2010-03-15 15:11:52 +01:00
Andrew Nguyen 5801d60a37 dxdiagn/tests: Add tests for IDxDiagContainer. 2010-03-15 15:09:54 +01:00