On 4/7/22 19:39, Eric Pouech wrote:
What do you suggest then ? Include condrv.h and test each individual manifest constant ?
I still think that we could use negative values. Collision with other magic handles does not seem concerning to me, since those handles are limited CreateProcess() interface anyway. Another idea would be to use magic lower bits.
BTW, I'd also consider WARN() instead of once+FIXME() for console_ioctl().
Thanks,
Jacek