[ros-dev] RE: [ros-diffs] [mbosma] 20543: fix typos.

Murphy, Ged (Bolton) MurphyG at cmpbatteries.co.uk
Tue Jan 3 14:27:07 CET 2006


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 at svn.reactos.org [mailto:mbosma at svn.reactos.org] 
Sent: 03 January 2006 11:50
To: ros-diffs at 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 at exideuk.co.uk 
<mailto:postmaster at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-dev/attachments/20060103/674ee20c/attachment.html


More information about the Ros-dev mailing list