The partial free is not supported from VirtualFree (we have a test for that) but NtFreeVirtualMemory supports it.
The primary motivation behind these patches is the preparation for VM placeholders support. With those flags (MEM_RESERVE_PLACEHOLDER, MEM_PRESERVE_PLACEHOLDER, MEM_REPLACE_PLACEHOLDER and MEM_COALESCE_PLACEHOLDERS) views might be arbitrary split or joined with just page alignment.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1339
--
v4: uiautomationcore: Add support for returning multiple HUIANODEs from UiaFind.
uiautomationcore: Store traverse_uia_node_tree() results in a dynamic array.
uiautomationcore: Add support for ExcludeRoot parameter in UiaFind.
uiautomationcore: Partially implement UiaFind.
uiautomationcore: Add UiaFind stub.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1249
--
v3: uiautomationcore: Add support for returning multiple HUIANODEs from UiaFind.
uiautomationcore: Store traverse_uia_node_tree() results in a dynamic array.
uiautomationcore: Add support for ExcludeRoot parameter in UiaFind.
uiautomationcore: Partially implement UiaFind.
uiautomationcore: Add UiaFind stub.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1249