--
v2: win32u: Move surface and swapchain wrappers from winevulkan.
win32u: Keep track of redirected host vulkan functions.
winevulkan: Pass wrapper structs to win32u_vkGet(Device|Instance)ProcAddr.
winevulkan: Use the vulkan object as the wrapper tree node.
winevulkan: Get rid of unnecessary *to_handle helpers.
winevulkan: Avoid changing client command buffer pointer.
winevulkan: Fix incorrect client queue pointers.
winevulkan: Introduce a new vulkan_object_init helper.
winevulkan: Use the result to decide if creation failed.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6931
On Sun Dec 1 21:56:35 2024 +0000, Jinoh Kang wrote:
> I'd advise you to test WaitCompletionPacket againat waitable objects
> that use `get_wait_queue_thread()`, including keyed events, mutexes, and
> message queue objects (not exposed via Win32 API, only at win32k level).
Thanks for the review. The problem is that there might be no threads that initiate any wait. Anyway, I will add more tests and get back to you.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6911#note_89419
I mostly commented the first patch for the tests...
we need I'm afraid more tests to discriminate whether the scan mask is bound to directory handle or to the directory itself
reading MSDN doc [1] suggests that it's likely the former; but I never trust MSDN doc, hence the need to more tests, esp with two handles opened to the same directory and test the mixing of calls
if it's the case, then it means that tweaking the fd cache is wrong (as you in your second patch), and we likely need another layer for storing the mask
[1] https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-nti…
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6904#note_89400
eric pouech (@epo) commented about dlls/ntdll/tests/directory.c:
> + InitializeObjectAttributes(&attr, &ntdirname, OBJ_CASE_INSENSITIVE, 0, NULL);
> +
> + /* Open a handle for our test directory */
> + status = pNtOpenFile(&dirh, SYNCHRONIZE | FILE_LIST_DIRECTORY, &attr, &io, FILE_SHARE_READ,
> + FILE_SYNCHRONOUS_IO_NONALERT | FILE_OPEN_FOR_BACKUP_INTENT | FILE_DIRECTORY_FILE);
> + ok( status == STATUS_SUCCESS, "failed to open dir '%s', ret 0x%lx, error %ld\n", testdir, status, GetLastError() );
> + if (status != STATUS_SUCCESS)
> + {
> + skip("can't test if we can't open the directory\n");
> + goto done;
> + }
> +
> + /* Verify that updated windows 8 and higher behaviour is supported */
> + if (!winetest_platform_is_wine && !test_NtQueryDirectoryFile_mask(dirh, TRUE, atestfile, TRUE, TRUE))
> + run_updated_tests = FALSE;
> + if (!winetest_platform_is_wine && !test_NtQueryDirectoryFile_mask(dirh, TRUE, notatestfile, FALSE, TRUE))
question: do you need both calls to test_NtQueryDirectoryFile_mask to invalidate a platform?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6904#note_89399