This should really be
 
while( GetMessage( &msg, NULL, 0, 0 ) > 0 )
 
as GetMessage returns <0 on failure.
It will then break on failure or WM_QUIT
 
 Just being anal though as GetMessage should never really fail  ;)
 
 
-----Original Message-----
From: mbosma@svn.reactos.org [mailto:mbosma@svn.reactos.org]
Sent: 03 January 2006 11:50
To: ros-diffs@reactos.org
Subject: [ros-diffs] [mbosma] 20543: fix typos.
+	while(GetMessage(&msg,NULL,0,0))

************************************************************************

The information contained in this message or any of its

attachments is confidential and is intended for the exclusive

use of the addressee. The information may also be legally

privileged. The views expressed may not be company policy,

but the personal views of the originator. If you are not the

addressee, any disclosure, reproduction, distribution or other

dissemination or use of this communication is strictly prohibited.

If you have received this message in error, please contact

postmaster@exideuk.co.uk

and then delete this message.


Exide Technologies is an industrial and transportation battery

producer and recycler with operations in 89 countries.

Further information can be found at www.exide.com