FileRenameInfoEx is already handled by NtSetInformationFile, SetFileInformationByHandle need only pass it through correctly.
As of version 5.3, Apple's Metal Developer Tools are dependent on SetFileInformationByHandle to handle FileRenameInfoEx in this fashion.
--
v3: kernelbase: pass FileRenameInfoEx to NtSetInformationFile
kernel32/tests: SetFileInfo should accept FileRenameInfoEx
https://gitlab.winehq.org/wine/wine/-/merge_requests/8293
In native Windows, the COPY command will display the names of the files as they are copied. Wine should do the same. This change enables that.
--
v20: cmd: Allow '+' as delimiter for tab-completion, e.g. 'copy file+file2'.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8200
NdrClientCall() should only be used in 32-bit mode when
Oi or Oic stub optimizations are used. Currently our interpreted
mode targets Oicf mode and other levels are not supported.
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v4: include: Add errlup.idl.
widl: Do not write "const" modifiers for _PARAM_STRUCT fields.
widl: Always use NdrClientCall2() for interpreted stubs.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8195
This MR adds a very basic implementation of `IPropertyDescription` for system defined properties (i.e, the ones in \<propkey.h\>). This is needed to support the [`Properties`](https://learn.microsoft.com/en-us/uwp/api/windows.devices.enumeration.deviceinformation.properties?view=winrt-26100) method for `IDeviceInformation` in Windows.Devices.Enumeration (!6874).
--
v7: dlls/propsys: Implement IPropertyDescription for several known system properties.
dlls/propsys: Add IPropertyDescription stub for system defined properties.
dlls/propsys/tests: Add conformance tests for PSGetNameFromPropertyKey.
dlls/propsys: Add stubs for PSGetNameFromPropertyKey.
dlls/propsys: Add stubs for PropertySystem.
dlls/propsys/tests: Add conformance tests for PSGetPropertyKeyFromName.
dlls/propsys/tests: Add conformance tests for getting PropertyDescriptions from PropertySystem.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6892
I tripped over this function while trying to run a game, so I thought I would have a go at it :-)
The implementation is very similar to what is done in `Local32Info16` already.
Regarding the place to put the function: I am not sure about the exact relationship between `kernel32` and `kernelbase`, but as most of the heap related functions are implemented in `kernelbase` I opted to add it to the latter. The tests reside in the `kernel32` directory though.
The tests are currently pretty basic as I was a bit hesitant to compare against hard coded sizes for reserved / committed memory (that could break if someone made changes to the heap implementation).
Also, I am not entirely sure about the semantics of the `cbMaxReserve` field. I opted to always set it to the same value as `cbReserved`, which seems *good enough™*.
Let me know if this needs improvement!
--
v5: kernelbase: Implement HeapSummary
https://gitlab.winehq.org/wine/wine/-/merge_requests/8237
This is necessary if a protection software hooks LdrLoadDll, and then tries to use LoadLibrary[Ex]A from the hook. Yes, this actually happened.
--
v2: kernelbase: Made LoadLibraryExA allocate a new buffer for the module name.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8324