First, the return value depends on which message gets processed.
Most of processed messages return 0, whereas some are handles, some are Booleans, etc.
I¡¯m a little bit confused with who will use these non zero return value of DefWindowProc, and why designed it in this way.
Thanks.