Subject: RE: [Mingw-users] Re: w32api maintainer
From: Bernard Dautrevaux <[email-masked]>
To: "'MU List'" <[email-masked]>, Pavel Tsekov <[email-masked]>
Cc: MU List <[email-masked]>, Kim Saunders <[email-masked]>, CU List <[email-masked]>
Date: Mon, 15 Oct 2001 10:09:59 +0200

> -----Original Message-----
> From: Earnie Boyd [mailto:[email-masked]]
> 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:	[email-masked]
		[email-masked]
-------------------------------------------- 

--
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/