"Andrew M. Johnston" johnstonam@logica.com writes:
Note the code as in this area CVS seems to have a bug. In the case of a zero infoPtr it zeros the return pointers not the return value as I am sure is intended. A patch like the one below shown the likely intended code.
Yes that's definitely what was intended. Though note that even with that fix the implementation is still not right, most of the GetScroll* functions should be sending messages to the window for the SB_CTL case instead of accessing the data structure directly.