signedness/WINAPI changing question

Francois Gouget fgouget at free.fr
Sun Feb 11 04:50:32 CST 2007


On Sat, 10 Feb 2007, Joris Huizer wrote:
> 
> I find some function
>   LONG WINAPI AVIStreamSampleToTime(PAVISTREAM
> pstream, LONG lSample)
> (in the avifil32 dll), the second parameter should
> really be an ULONG instead of a LONG. It'd fix the
> signedness problems.
> 
> My question is, is such a change allowed?

No. Our headers must match the PSDK ones otherwise it would cause 
trouble for people trying to recompile Windows code with them. Since the 
PSDK says the second parameter is a LONG, that's what we have to use 
too.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
In theory, theory and practice are the same, but in practice they're different.



More information about the wine-devel mailing list