On Wed Dec 14 07:48:00 2022 +0000, eric pouech wrote:
These handles are created by Wine when inheriting unix's fd 0,1,2. So they don't really exist per se on Windows. Currently, all NtQueryInformation returning a name fail on such handles. Please advise which name should be exposed?
Well, I mean it's always possible to query the name of an open file, right?
It's unfortunate that POSIX doesn't provide an API for this, but in the absence of that, it still seems to me like using platform-specific APIs is the right thing to do. Or, failing that, perhaps we should provide a fake name, like an empty string.