Daniel Lehman
1d2ac5d8b6
oleaut32: Extend value range before getting absolute value in VarBstrFromI4.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Daniel Lehman
7198499dd0
oleaut32/tests: Add test for VarBstrFromI4.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Michael Stefaniuc
32c6e823bc
imm32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Michael Stefaniuc
f22d727e45
shdocvw: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Michael Stefaniuc
a2201e8add
urlmon: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Alexandre Julliard
68cfa7fd03
widl: Silence a gcc warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 10:49:06 +02:00
Alexandre Julliard
3c562da161
oleaut32: Explicitly define call_double_method() to avoid function mismatch warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 07:16:06 +02:00
Alexandre Julliard
3386c01349
shell32/tests: Don't use strncat with known large enough buffer.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 07:08:50 +02:00
Alexandre Julliard
9b94096448
winedump: Don't use strncat with source length.
...
gcc is now warning about this.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 07:08:04 +02:00
Jon Doron
ba9f3dc198
kernel32: Fix BeginUpdateResource structure layout.
...
The utility muirct.exe for some reason accesses the opaque
HANDLE that is returned by BeginUpdateResource, it assumes
a certain structure in which (on 32bit systems) there is a
pointer to the wide repesentation of the file name in offset
0x18 (0x30 on 64bit).
Signed-off-by: Jon Doron <arilou@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:59:48 +02:00
Fabian Maurer
78a1ba1e33
hnetcfg: Add more GUIDs.
...
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:52:11 +02:00
Fabian Maurer
8ca2938757
wnet: Make WNetGetUniversalNameW return required size when buffer is too small and add test.
...
The pointer is set to the required size not only when the input size
is 0, but generally when it is too small.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:51:34 +02:00
Fabian Maurer
7ec1ae2bef
hnetcfg/tests: Pass correct parameter to WNetGetUniversalNameW.
...
Currently a pointer to a local variable is passed,
that causes severe stack corruption.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 14:51:01 +02:00
Guillaume Charifi
94dda4690b
kernel32: Add stub for GetDynamicTimeZoneInformationEffectiveYears().
...
Signed-off-by: Guillaume Charifi <guillaume.charifi@sfr.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Dmitry Timoshkov
7def0f200f
ntdll: Don't allow blocking on a critical section during process termination.
...
As a result HeapLock() no longer blocks process termination since underlying
implementation uses a critical section. However this should be considered as
a minor side effect because applications shouldn't depend on this behaviour.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Dmitry Timoshkov
0f99327e78
kernel32/tests: Add a test for holding a critical section during process termination.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Andrew Eikum
27ffb662ce
dinput: Use vid/pid for first chunk of product guid on OSX, too.
...
This is already done on the linux backends.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Nikolay Sivov
f9ea009fe9
wmp: Make it possible to query IUnknown from IWMPControls.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura
ca9b1d0077
dbghelp/msc: Use the word size of the target process.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura
b7defd2946
dbghelp: Correctly determine the dyld image info address.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura
42745c068f
dbghelp/dwarf: Use the word size of the target process.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45490
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura
3507615f35
dbghelp/dwarf: Allow get_context_reg() to handle different register sizes.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura
9ae588a96e
dbghelp/dwarf: Use the correct backend CPU in dwarf2_virtual_unwind().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Zebediah Figura
3ce304e601
dbghelp: Use WOW64_CONTEXT instead of CONTEXT for i386 backend.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 13:55:55 +02:00
Hua Meng
a3a2e6413b
msvcp90: Add implementation of _Concurrent_vector_Internal_push_back.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:23:01 +02:00
Hua Meng
c784d172d4
msvcp90: Add implementation of _Concurrent_vector_Internal_resize.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:57 +02:00
Hua Meng
9a9f2836a5
msvcp90: Add implementation of _Concurrent_vector_Internal_compact.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:52 +02:00
Hua Meng
ca0cb4ef26
msvcp90: Add implementation of _Concurrent_vector_Internal_swap.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:46 +02:00
Hua Meng
2e54a47c98
msvcp90: Add implementation of _Concurrent_vector_Internal_grow_to_at_least_with_result.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:41 +02:00
Hua Meng
3feaa6bfa1
msvcp90: Add implementation of _Concurrent_vector_Internal_grow_by.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:35 +02:00
Hua Meng
a30a9380a1
msvcp90: Add implementation of _Concurrent_vector_Internal_assign.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:29 +02:00
Hua Meng
28de2317a1
msvcp90: Add implementation of _Concurrent_vector_Internal_copy.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:24 +02:00
Hua Meng
38b2acaedd
msvcp90: Add implementation of _Concurrent_vector_Internal_clear.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:18 +02:00
Hua Meng
2abdbe2118
msvcp90: Add implementation of _Concurrent_vector_Internal_reserve.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:22:07 +02:00
Hua Meng
58f43430c9
msvcp90: Add implementation of _Concurrent_vector_Internal_capacity.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:21:58 +02:00
Hua Meng
989aa095fd
msvcp90: Add implementation of _Concurrent_vector_dtor.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:21:53 +02:00
Hua Meng
91f202e04b
msvcp120: Add tests for _Concurrent_vector->segment.
...
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:21:47 +02:00
Jacek Caban
254ae896df
odbc32: Add SQLGetDiagRecA implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:08:23 +02:00
Nikolay Sivov
470ed3c559
dwrite: Avoid possible out-of-bounds cluster metrics access.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45535
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:07:04 +02:00
Alistair Leslie-Hughes
8ad509ed70
msxml3: Accept NormalizeAttributeValues property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:56 +02:00
Nikolay Sivov
6634b31520
shell32: Support BYREF index in FolderItems::Item().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:44 +02:00
Nikolay Sivov
824837ec2c
comctl32: Fix background and text color for DrawStatusText().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:39 +02:00
Nikolay Sivov
2225ff4126
comctl32/header: Fix item text color.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:34 +02:00
Nikolay Sivov
7226d7f559
wmp/tests: Fix a minor leak on error path (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:29 +02:00
Nikolay Sivov
898db9248c
comctl32/tests: More tests for HTREEITEM layout.
...
Based on research by Zhiyi Zhang.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:23 +02:00
Alex Henrie
a4522d00df
quartz: Use wine_dbgstr_longlong in WAVEParserImpl_seek.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:51 +02:00
Alex Henrie
9a70bb5275
quartz: Remove redundant if clause from WAVEParser_InputPin_PreConnect.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:45 +02:00
Andrew Eikum
ff9168a458
xaudio2: IXAPO::Reset returns void.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:35 +02:00
Andrew Eikum
a235530ac5
xaudio2: Fix XAUDIO2_VOICE_SENDS usage before version 2.4.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:05:33 +02:00
Daniel Lehman
bcba9eecb1
odbc32: Rename functions to avoid conflicts with native drivers.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:01:26 +02:00