Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <17B78BDF120BD411B70100500422FC6309E369@IIS000>
From: Bernard Dautrevaux <Dautrevaux@microprocess.com>
To: "'MU List'" <MinGW-Users@SF.Net>, Pavel Tsekov <ptsekov@syntrex.com>
Cc: MU List <MinGW-Users@sourceforge.net>,
   Kim Saunders
	 <kim.saunders@mercuryit.com.au>, CU List <Cygwin@Cygwin.Com>
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@yahoo.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@microprocess.com
		b.dautrevaux@usa.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/

