delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/15/04:16:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <Dautrevaux AT microprocess DOT com>
To: "'MU List'" <MinGW-Users AT SF DOT Net>, Pavel Tsekov <ptsekov AT syntrex DOT com>
Cc: MU List <MinGW-Users AT sourceforge DOT net>,
Kim Saunders
<kim DOT saunders AT mercuryit DOT com DOT au>, CU List <Cygwin AT Cygwin DOT 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)

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019