Using [GS]etWindowLong{Ptr} in tests

Dmitry Timoshkov dmitry at codeweavers.com
Fri Jun 8 10:23:20 CDT 2007


"Saulius Krasuckas" <saulius2 at ar.fi.lt> wrote:

> Hello.  I see some tests call [GS]etWindowLongPtr(..., GWLP_WNDPROC, ...).  
> I think this is somewhat confusing.  API offers both A- an W- versions of 
> this function, while at my first glance I cannot firmly decide, what used 
> name does refer to.
> 
> Shouldn't occurences be renamed to ...WindowLongPtrA() here (or even all 
> occurrences {by not requiring second parameter == GWLP_WNDPROC}) ?
> 
> Same question stands for [GS]etWindowLong().

The code is correct as it is now, there is no need to change anything.

-- 
Dmitry.



More information about the wine-devel mailing list