On Wed Jul 3 20:06:14 2024 +0000, Paul Gofman wrote:
Actually, the difference happens when $WINEPREFIX\dosdevices\c:: or z:: point to a directory (which is the case for common drives like C: and Z:).
a:: should never point to a directory. If there's no corresponding block device (like for C) then a:: just doesn't exist. In that case we end up opening the real NT symlink ??\C:, which resolves to the mountmgr device, and in that case we do a real kernel ioctl instead of using the ntdll code.