Commit Graph

82 Commits

Author SHA1 Message Date
Jactry Zeng 50a4c4642a propsys: Partially implement PropVariantToBuffer().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:28 +01:00
Jactry Zeng 6d2c277a8b propsys: Add VT_CLSID support for PropVariantToGUID().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:25 +01:00
Jactry Zeng e0a829db99 propsys: Implement PropVariantToString().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:22 +01:00
Jactry Zeng 8db8c94155 propsys: Add VT_EMPTY support for PropVariantToStringAlloc().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:15 +01:00
Jactry Zeng 3fc1180623 propsys: Implement PropVariantToDouble().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Jactry Zeng 2e2fc55009 propsys/tests: Add tests of IPropertyStore interface.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Jactry Zeng 906f91db32 propsys: Implement PSCreateMemoryPropertyStore().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Sven Baars 61a1dae398 propsys/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 13:59:20 +01:00
Nikolay Sivov 6fbf6c330b propsys: Add InitPropVariantFromCLSID().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45347
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:41:59 +02:00
Michael Stefaniuc fddb389641 propsys/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 14:22:53 +02:00
Alistair Leslie-Hughes cbd9354862 propsys: Add PSGetPropertyKeyFromName stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 13:25:07 +01:00
Fabian Maurer 8f1e4097bb propsys: Add PropVariantToStringWithDefault and tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Nikolay Sivov 3b18054f25 propsys: Fix negative numeric source handling in PropVariantToBoolean().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 11:32:38 +02:00
Fabian Maurer 58ea6bddae propsys: Added PropVariantToBoolean with some tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 15:05:25 +02:00
Alexandre Julliard 7960ed9d42 propsys: Don't use the format string size as buffer size.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-28 20:21:37 +02:00
Alistair Leslie-Hughes b2f266906b propsys/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 15:57:45 +02:00
Dmitry Timoshkov ff9601147d propsys: Add support for VT_LPSTR and VT_LPWSTR to PropVariantCompareEx.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 10:05:06 +02:00
Dmitry Timoshkov db7e816c9c propsys: Add support for VT_LPSTR to PropVariantChangeType.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:24:21 +02:00
Dmitry Timoshkov 3a7fb75751 propsys: Make VT_FILETIME handling by PropVariantChangeType more implicit.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:24:03 +02:00
Dmitry Timoshkov aa8dc616e0 propsys: Add support for VT_BSTR to PropVariantChangeType.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:23:58 +02:00
Dmitry Timoshkov 97c512082c propsys: Add support for VT_LPWSTR and VT_BSTR to PropVariantToStringAlloc.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:23:55 +02:00
Dmitry Timoshkov 09a2547f2d propsys: Add support for VT_I1 and VT_UI1 to PropVariantChangeType.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 15:23:49 +02:00
André Hentschel 8e273c8f8a propsys: Fix PSGetPropertyDescriptionListFromString spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-24 09:33:53 +01:00
Gerald Pfeifer 6df21d4015 propsys: Use snprintf in PROPVAR_ConvertFILETIME.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-20 10:40:22 +01:00
Thomas Faber 60fa2d7aa5 propsys/tests: Fix build with MSVC.
VC2010 does not allow initializing a struct inside a struct with a variable.

E.g.
error C2440: 'initializing' : cannot convert from 'PROPERTYKEY' to 'unsigned long'

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-09 16:33:45 +01:00
Alistair Leslie-Hughes 173515e733 propsys: Support VT_LPWSTR in PropVariantChangeType.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:54:31 +09:00
Alistair Leslie-Hughes 1807e5346f propsys: Add semi-stub for PropVariantToStringAlloc.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:54:27 +09:00
Gerald Pfeifer 519ad57cb5 propsys: Cast to ULONGLONG instead of LONGLONG in test_intconversions test_intconversions to avoid shift overflow. 2015-09-07 15:04:11 +09:00
Nikolay Sivov a7b848f32e propsys: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Nikolay Sivov 47de869fda propsys: Forward corresponding methods to exports. 2014-06-11 13:03:25 +02:00
Nikolay Sivov d897b32598 propsys: Implement PSGetPropertySystem(). 2014-06-11 13:03:17 +02:00
Frédéric Delanoy 5380596379 propsys/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-02-12 19:15:07 +01:00
Frédéric Delanoy 7533040cfc propsys: Use BOOL type where appropriate. 2014-02-11 19:19:13 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
André Hentschel e8ac5892e8 propsys: Add stub for PSGetPropertyDescriptionListFromString. 2013-12-02 10:57:28 +01:00
Frédéric Delanoy bb9d1986a9 propsys: Use BOOL type where appropriate. 2013-11-21 13:36:18 +01:00
Frédéric Delanoy d51e50cbaf propsys/tests: Use BOOL type where appropriate. 2013-11-21 13:36:12 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Frédéric Delanoy 0ab0384047 propsys: Use BOOL type where appropriate. 2013-10-02 11:06:28 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Marcus Meissner 1104678b40 propsys: PropVariantClear does not clear on uninitialized values (Coverity). 2012-09-17 12:05:30 +02:00
Vincent Povirk 60dae84bc6 propsys: Use integer conversion functions in PropVariantCompareEx. 2012-09-14 11:32:12 +02:00
Vincent Povirk c66b5ac4c3 propsys: Implement prop variant integer conversions with tests. 2012-09-14 11:32:09 +02:00
Vincent Povirk 6d52262e56 propsys: Add basic implementation of PropVariantCompareEx. 2012-09-14 11:32:05 +02:00
Vincent Povirk 8191af07d8 propsys: Add tests for PropVariantCompareEx. 2012-09-14 11:32:01 +02:00
Vincent Povirk 52d1db1908 propsys: Stub PropVariantCompareEx. 2012-09-14 11:31:57 +02:00
Vincent Povirk 0537454eae propsys: Fix memory leak in IPropertyStore::SetValue. 2012-08-28 10:01:09 +02:00
Vincent Povirk 6fe6a43a6c propsys: Add test for saving/loading an empty property store. 2012-05-29 19:14:41 +02:00