Re:Windows NT Kernel Contributor Explains Why Performance is...
by yuhong on Thursday May 16, 2013 @08:52PM
(#5722156)
It does this already when the window is on the same thread if no window hooks are installed. When the window is on a different thread, it is GetMessage or PeekMessage on the target thread that notices the sent message and does the user-mode callback to call the window procedure.
Wouldn't that completely avoid needing to call back into user-mode from kernel mode?