Akihiro Sagawa
b1281f9cf8
ieframe: Allow STGM_WRITE in IPropertyStorage::Open.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-12 22:12:47 +02:00
Akihiro Sagawa
e31ec426ec
ieframe/tests: Add a test for IPropertySetStorage::Open with STGM_WRITE.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-12 22:12:47 +02:00
Akihiro Sagawa
3535fe2591
ieframe/tests: Add more IPropertyStorage read/write tests.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-12 22:12:47 +02:00
Jacek Caban
c5d8ebe7ab
wow64win: Fix NULL msg handling in wow64_NtUserPeekMessage.
2022-08-12 22:12:33 +02:00
Jacek Caban
901ccc8e61
wow64win: Fix error handling in wow64_NtUserGetMessage.
2022-08-12 22:12:33 +02:00
Jacek Caban
76e28e6029
wow64win: Always set output bits pointer in wow64_NtGdiCreateDIBSection.
2022-08-12 22:12:33 +02:00
Jacek Caban
c3c82bd96a
wow64win: Handle bitmaps and pens in wow64_NtGdiExtGetObjectW.
2022-08-12 22:12:33 +02:00
Jacek Caban
3606a163d5
wow64win: Implement more user callbacks.
2022-08-12 22:12:33 +02:00
Jacek Caban
eee0a5fd38
wow64win: Implement more user thunks.
2022-08-12 22:12:33 +02:00
Jacek Caban
40dbc84913
win32u: Use NtUserCallMessage for passing packed winproc result.
2022-08-12 22:12:32 +02:00
Robert Wilhelm
484f028338
wshom: Use signed type for ExitCode in IWshShell3::Run().
...
DWORD is unsigned and will be converted to VT_UI4 variant when used from VBScript.
But VT_UI4 is no VBScript data type and should not be used as retval.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53542
Signed-off-by: Robert Wilhelm <robert.wilhelm@gmx.net>
2022-08-12 18:29:18 +02:00
Zhiyi Zhang
b5becc2ee8
winegstreamer: Trace mf_media_type_from_wg_format_{audio|video}().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-11 19:40:26 +02:00
Zhiyi Zhang
6f8990b431
winegstreamer: Always check the return value from mf_media_type_from_wg_format().
...
mf_media_type_from_wg_format() may return NULL.
Fix Airborne Kingdom crash at start because WG_AUDIO_FORMAT_UNKNOWN is passed to
mf_media_type_from_wg_format().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-11 19:40:23 +02:00
Nikolay Sivov
4244b4b138
mfreadwrite/writer: Create output stream if it wasn't provided.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:09 +02:00
Nikolay Sivov
aaebf839f7
mfreadwrite/writer: Create archive sink automatically when writer is created from url/bytestream.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:07 +02:00
Nikolay Sivov
8aca379966
mf: Add archive sink creation exported functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:06 +02:00
Nikolay Sivov
857ec56f45
dwrite/fallback: Add Georgian and Armenian ranges.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-11 16:51:00 +02:00
Jacek Caban
701932a6ce
wow64win: Add initial user callbacks support.
2022-08-11 16:50:55 +02:00
Jacek Caban
21a3690ad1
wow64: Preserve TEB exception frame in Wow64KiUserCallbackDispatcher.
2022-08-11 16:50:55 +02:00
Jacek Caban
de5f640abf
wow64: Directly use CPU area in Wow64KiUserCallbackDispatcher for I386_CONTEXT.
...
NtSetInformationThread for i386 causes WOW64_CPURESERVED_FLAG_RESET_STATE to be set, which makes subsequent syscall to restore the state instead of returning its result.
2022-08-11 16:50:52 +02:00
Akihiro Sagawa
8e27f6c2ef
mciqtz32: Show the default video window when switching from another one.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:43 +02:00
Akihiro Sagawa
6f7c0c76bf
mciqtz32: Hide the default video window when switching to another one.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:43 +02:00
Akihiro Sagawa
9cdc681265
mciqtz32: Reset the video size when changing video destination.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:43 +02:00
Akihiro Sagawa
23dabd570f
mciqtz32: Fix MCI_DGV_WHERE_WINDOW behavior.
...
Use parent window dimensions instead of IVideoWindow ones.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:41 +02:00
Akihiro Sagawa
8c9ccf8622
mciqtz32: Correct video window behavior by creating default window.
...
Now the video renderer window by IVideoWindow always has WS_CHILD style
regardless open parameters.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52448
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:40 +02:00
Akihiro Sagawa
e08631097e
winmm/tests: Add tests for destination of video window.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:40 +02:00
Akihiro Sagawa
4bf8935d43
winmm/tests: Add tests for dimensions of video window.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:40 +02:00
Akihiro Sagawa
34671bdcff
winmm/tests: Add tests for window style of video window.
...
The test shows that even if MCI_DGV_OPEN_PARENT is specified, the video window
is shown. In other words, it doesn't imply the window is a child window.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:38 +02:00
Akihiro Sagawa
92f661da19
mciqtz32: Don't hide video window when stopping.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:38 +02:00
Akihiro Sagawa
524a92fb33
winmm/tests: Add tests for visibility of video window.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-08-10 19:24:38 +02:00
Gabriel Ivăncescu
5b07fb4d56
mshtml: Implement targetOrigin for postMessage.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-10 19:24:26 +02:00
Gabriel Ivăncescu
619312fd76
mshtml: Semi-implement non-string primitive data for postMessage.
...
IE10 and up actually pass cloned data without converting them to strings,
using the Structured Clone Algorithm. Implement support for the basic
variant types for now.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-10 19:24:22 +02:00
Jacek Caban
0d4817fadb
wow64win: Set last error in 32-bit TEB in wow64 thunks.
2022-08-10 19:24:13 +02:00
Jacek Caban
f79f58cb3a
winemac: Use RtlSetLastWin32Error.
2022-08-10 19:24:13 +02:00
Jacek Caban
7ea592e5fe
wineandroid: Use RtlSetLastWin32Error.
2022-08-10 19:24:13 +02:00
Jacek Caban
131de4bb8d
winex11: Use RtlSetLastWin32Error.
2022-08-10 19:24:12 +02:00
Jacek Caban
1dfedae903
win32u: Use RtlSetLastWin32Error.
2022-08-10 19:24:12 +02:00
Jacek Caban
2f0c2684b2
include: Use RtlSetLastWin32Error in server.h.
2022-08-10 19:24:12 +02:00
Jacek Caban
35ae4703c4
ntdll: Introduce RtlSetLastWin32Error for unixlibs that additionally sets 32-bit error on wow64.
2022-08-10 19:24:12 +02:00
Nikolay Sivov
1795fd7af9
dwrite/fallback: Fill in some more fallback ranges for various scripts.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-10 14:07:35 +02:00
Zebediah Figura
7cd30faabe
winhttp: Don't make a copy of the string in add_request_headers().
2022-08-10 14:07:27 +02:00
Zebediah Figura
6a84877cc2
winhttp: Pass a length to parse_header().
2022-08-10 14:07:27 +02:00
Zebediah Figura
57955c735b
winhttp: Allow custom headers to be separated by any sequence of \r and \n.
...
This fixes connecting to multiplayer game servers in Riptide GP: Renegade.
2022-08-10 14:07:25 +02:00
Zebediah Figura
cba0d5c5d5
winhttp/tests: Add some more tests for newline handling in custom header parsing.
2022-08-10 14:07:25 +02:00
Tim Clem
a7937e83b2
kernelbase: Don't assume the length of the process image name.
...
NtQueryInformationProcess(ProcessImageFileNameWin32) may return an
empty string in some circumstances, which leads
QueryFullProcessImageNameW to crash if called with flags including
PROCESS_NAME_NATIVE, as that path assumed the image name had a length
of at least 2.
2022-08-10 11:36:33 +02:00
Zhiyi Zhang
88f1d681c1
dsdmo: Add IMediaParams stub interface.
...
Zuma's Revenge queries this interface.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-10 11:35:29 +02:00
Zhiyi Zhang
bc712170a5
include: Add IMediaParams definitions.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-10 11:35:29 +02:00
David Gow
cf41f6d9b5
quartz: Test: Files opened with FileSource can be deleted.
...
Some games (such as Digimon Survive) will delete a file while it's open
as a FileSource.
Signed-off-by: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:22 +02:00
David Gow
9cfd5d00ca
quartz: Open files with FILE_SHARE_DELETE in FileSource.
...
Some games (such as Digimon Survive) create temporary video files and
will hang if deleting them fails. Open the files with FILE_SHARE_DELETE,
which will allow this deletion to go ahead even if the FileSource hasn't
yet been closed.
Note that many windows codec packs do themselves open files without
FILE_SHARE_DELETE, so a similar hang can be observed in some windows
configurations.
I haven't checked that this is the file share mode used on windows
(alas, I don't have a windows machine available), so I haven't removed
the FIXME comment. Equally, I also updated the CreateFileW() call
in get_media_type(), but that _may_ be unnecessary.
Signed-off-by: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:08 +02:00
Nikolay Sivov
da581d383d
mfplat: Add some attributes related to transcoding.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 21:07:47 +02:00