Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <17B78BDF120BD411B70100500422FC6309E369@IIS000> From: Bernard Dautrevaux To: "'MU List'" , Pavel Tsekov Cc: MU List , Kim Saunders , CU List Subject: RE: [Mingw-users] Re: w32api maintainer Date: Mon, 15 Oct 2001 10:09:59 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" > -----Original Message----- > From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com] > Sent: Friday, October 12, 2001 6:12 PM > To: Pavel Tsekov > Cc: MU List; Kim Saunders; CU List > Subject: Re: [Mingw-users] Re: w32api maintainer > > > Pavel Tsekov wrote: > > > > Earnie Boyd wrote: > > > > > > I.E.: You must supply the constants in whiteroom > technique, finding the > > > values only from documentation. DO NOT SUBMIT A PATCH > WITH CODE COPIED > > > FROM THE PSDK. > > > > > > > Do you consider finding it with debugger a whiteroom > technique ? :) Or > > one > > should point exactly from where he extracted the information ? > > > > No! I consider that reverse engineering. The best source for the > information is from MSDN. Barring that some well known authorities on > Win32 documenting it will be the next best source of information. And what would be creating a program that print the values of the needed constants? Its seems to me it is allowed by the VC++ license (or else it would mean that VC++ could not be used to develop any program...). Thus main() { printf("#define MOUSEEVENTF_WHEEL 0x%08xu\n", MOUSEEVENTF_WHEEL); } should do the trick once compiled using a valid VC++ installation. Bernard -------------------------------------------- Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel: +33 (0) 1 47 68 80 80 Fax: +33 (0) 1 47 88 97 85 e-mail: dautrevaux AT microprocess DOT com b DOT dautrevaux AT usa DOT net -------------------------------------------- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/