The test code here is pulled in from the d3dx10 tests, with some variable name changes to work around existing d3dx11 test definitions and a removal of a few `broken()`s for Windows Vista since we no longer test on it.
--
v2: d3dx11: Implement D3DX11CreateTextureFromMemory() using shared code.
d3dx11/tests: Import test_create_texture() from d3dx10.
d3dx11/tests: Import test_get_image_info() from d3dx10.
d3dx11/tests: Rearrange and reformat tests to more closely match d3dx10 tests.
d3dx11: Add stubs for D3DX11CreateTextureFromResource{A,W}().
d3dx11: Add stubs for D3DX11GetImageInfoFromResource{A,W}().
d3dx10/tests: Cleanup test image definitions.
d3dx10/tests: Get rid of broken() workarounds for Vista.
d3dx10: Downgrade invalid filter trace from an ERR to a WARN.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9206
The frame index should be strictly less than idCount. Previously, an index equal to idCount was not rejected, leading to an out-of-range access.
Signed-off-by: chenzhengyong chenzhengyong(a)uniontech.com
Although this bug was not fatal because subsequent IStream_Read and related functions also perform boundary checks, it is better to catch the invalid index early for clarity and consistency.
--
v2: windowscodecs: Fix off-by-one check in IcoDecoder_GetFrame.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9347
WinSxS DLLs are found via find_actctx_dll(). When activation contexts are inactive, GetModuleHandle()
shouldn't find WinSxS DLLs with the same base name of a normal DLL.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9356
Initializing the audio client without AUTOCONVERTPCM is expected
to fail when the requested sampling rate or channel count does not
match the mixing format. Such behavior is not currently modeled on
Wine, but it should be introduced, and since in many cases we expect
automatic format conversion to work we add the flag.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/9307
Current code attempts to copy a file to itself. File is not actually copied; instead, a file sharing error is received. This result is ugly and differs from native. Behavior now appears to be the same as native with changes in this MR .
--
v9: xcopy: Don't attempt to copy a file to itself.
xcopy/tests: Add test for XCOPY to self.
xcopy: Fix leaked resource in an error case.
cmd: Don't attempt to copy a file to itself.
cmd/tests: Add tests for COPY to self.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9112