Hi,
playing around a bit with wine, i found a thing that is obviously a bug.
In lines 1944 and 1977 of dlls/comctl32/comctl32undoc.c the value "0x7FFF" is used to check for the boundary of a 32 bit integer. However, there should be used MAX_INT instead.
By the way: Looking at current MSDN, DPA and DSA looks rather documented than "undoc" :-)
Regards Sascha
P.S.: Please CC me on answers as i'm not subscribed here.