Rémi Bernon
4edad99303
winegstreamer: Return E_UNEXPECTED from WMReaderAdvanced2_OpenStream when already opened.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:48 +02:00
Rémi Bernon
d6af590a80
winegstreamer: Return E_UNEXPECTED from WMReader_Open when already opened.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:47 +02:00
Rémi Bernon
d54b194550
winegstreamer: Return NS_E_INVALID_REQUEST on WMReader Start before Open.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:47 +02:00
Alex Henrie
001d78a582
user32: Plug icon handle leak in MDI_AugmentFrameMenu (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2022-06-14 11:28:27 +02:00
Tim Clem
f86a66b660
ntdll: Move SEH exception info logs back to the seh channel.
...
These were accidentally moved as part of the introduction of +unwind.
Signed-off-by: Tim Clem <tclem@codeweavers.com>
2022-06-13 22:56:21 +02:00
Rémi Bernon
5dcf77d8d0
winegstreamer: Remove copying support from wg_transform_push_data.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon
ca0719f440
winegstreamer: Support zero-copy wg_transform_read_data in quartz_transform.c.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon
6c110bd398
winegstreamer: Support zero-copy wg_transform_push_data in quartz_transform.c.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon
2bbdd1eee6
winegstreamer: Introduce new wg_sample_create_quartz helper for quartz_transform.c.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon
b2828c1c88
winegstreamer: Use a union in struct sample to keep API pointers.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon
57b3b2923a
winegstreamer: Split wg_sample wrapper helpers to a separate source.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:54 +02:00
Piotr Caban
0c7928061c
server: Don't reset socket error in IOCTL_AFD_GET_SO_ERROR.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-13 21:33:54 +02:00
Piotr Caban
73648f901c
server: Don't reset socket error in poll_socket.
...
Otherwise socket error may be cleared in poll_socket causing ioctl SO_ERROR calls to return no error.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51433
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-13 21:33:54 +02:00
Piotr Caban
9d1085c8d3
server: Always return Win32 error code from IOCTL_AFD_GET_SO_ERROR.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-13 21:33:54 +02:00
Jinoh Kang
ecc607c6da
riched20: Draw OLE objects with IViewObject implementation.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52752
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-13 19:57:31 +02:00
Jinoh Kang
164897e6c9
riched20: Fetch extent from object if REOBJECT::sizel is unset.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-13 19:57:31 +02:00
Jinoh Kang
a7d29d1625
riched20/tests: Add tests for drawing embedded OLE objects.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
e2936702a4
winebus.sys: Implement SOCD neutral cleaning for hatswitches.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52841
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
4ca954ad0b
ntdll: Remove heap pointer from SUBHEAP structure.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
a6fcf059a7
ntdll: Use block_size and data_size in subheap structure.
...
Respectively describing allocated size vs commit size, relative to the
first subheap block, instead of size / commitSize.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
2ef69e4492
ntdll: Rename HEAP_GetPtr to unsafe_heap_from_handle.
...
And related heap variables to handle and heapPtr to heap.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
fef774f953
ntdll: Consistently name heap handles and pointers.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
4b05b2bcb7
ntdll: Rename HEAP to struct heap and remove typedef.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Daniel Lehman
1714963a5f
kernelbase: Pass va_list copy to internal RtlFormatMessage.
...
va_list passed to RtlFormatMessage is modified even on error in this
case, if the buffer is not large enough, STATUS_BUFFER_OVERFLOW is
returned and FormatMessage tries again, but the va_list pointer is now
moved to a later argument, so the next call reads off the end,
crashing.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-13 16:54:30 +02:00
Daniel Lehman
8986f6fadd
kernel32/tests: Test if FormatMessage modifies va_list on error.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-13 16:54:30 +02:00
Daniel Lehman
dd95979b0a
ntdll/tests: Test if RtlFormatMessage modifies va_list on error.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-13 16:54:30 +02:00
Nikolay Sivov
bc4afb8b2a
d2d1: Update to ID2D1DeviceContext1.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
6ead654f55
win32u: Simplify get_text_metr_size.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
d65f2492ed
win32u: Move GetDialogBaseUnits implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
817dca1099
win32u: Move WM_NCACTIVATE implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
9f03d8f3e1
win32u: Move WM_NCPAINT handling from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
952affeaeb
win32u: Allow passing simple LOGFONTW to NtGdiHfontCreate.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams
fdd7f3152e
uiautomationcore: Implement NavigateDirection_Parent for MSAA Providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams
ef27965e82
uiautomationcore/tests: Add navigation tests for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams
f1d77f18b9
uiautomationcore: Add stub IRawElementProviderFragment for MSAA providers.
...
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-13 16:37:03 +02:00
Matteo Bruni
35939bbe0c
d3dx10/tests: Add a test for loading an invalid resource from a valid module.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-10 23:23:05 +02:00
Matteo Bruni
caa402ab91
d3dx10/tests: Initialize a function argument.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
4cbf8890dc
d3dx10/tests: Add D3DX10GetImageInfoFromMemory thread pump tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
b577dc22c7
d3dx10: Support ID3DX10ThreadPump parameter in D3DX10GetImageInfoFromMemory.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
3d9c70229e
d3dx10: Add support for ID3DX10ThreadPump parameter in D3DX10GetImageInfoFromResourceW.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
b8b3acbfca
d3dx10: Add support for ID3DX10ThreadPump parameter in D3DX10GetImageInfoFromResourceA.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
9b0e3de465
d3dx10: Add support for ID3DX10ThreadPump parameter in D3DX10GetImageInfoFromFileW.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
0d6b9b83eb
d3dx10/tests: Add D3DX10GetImageInfoFromMemory HRESULT argument tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Piotr Caban
0683a629f6
d3dx10: Don't ignore HRESULT parameter in D3DX10GetImageInfoFrom* functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-10 23:23:05 +02:00
Paul Gofman
95a8bec9f1
ws2_32: Make wait in WS2_recv_base() alertable.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-10 23:23:05 +02:00
Paul Gofman
dfdfba2638
ws2_32: Make wait in select() alertable.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-10 22:23:54 +02:00
Rémi Bernon
a4966b6690
kernelbase: Cleanup and simplify (Global|Local)ReAlloc.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-10 18:24:35 +02:00
Rémi Bernon
a3a2688585
kernel32: Cleanup and simplify (Global|Local)Handle.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-10 18:24:35 +02:00
Rémi Bernon
866d7d0c07
kernel32: Cleanup and simplify (Global|Local)Size.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-10 18:24:35 +02:00
Rémi Bernon
660332326e
kernelbase: Stop using an offset for HLOCAL pointers.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-10 18:24:35 +02:00