You've
just proven yourself what's wrong with flow control macros. Do
you really think that in the sorry state in which Win32K is, it
really needs macros to HIDE what's going on? When we can't even show
a font properly with -O2? When we still have random graphics
corruption? When we.. (I could go on for ages).
I can't see how the poor state of win32k has anything to do with it.
Returning from a function isnt exactly rocket science, and the amount
of code and logic hidden is minimal.
I'm with Gunnar on this. It's a pattern (system calls in general are
pattern-heavy), it's better to codify it. Microsoft would approve