USER32: result of ScrollBar functions review
Dmitry Timoshkov
dmitry at baikal.ru
Mon Jan 3 09:23:45 CST 2005
"Vitaly Lipatov" <lav at etersoft.ru> wrote:
> +/* New Scrollbar info since Windows 98, Windows NT 4.0 with SP6 */
> +typedef struct tagSCROLLBARINFO
> +{
> + DWORD cbSize; /* Size of SCROLLBARINFO struct */
...
> +BOOL WINAPI GetScrollBarInfo(HWND hwnd, LONG idObject, LPSCROLLBARINFO psbi)
> +{
> + RECT rect;
> + INT arrowSize, thumbSize, thumbPos, nBar, vertical;
> + FIXME("check me");
> + if (psbi->cbSize != sizeof(RECT))
> + return FALSE;
Why are you testing psbi->cbSize for sizeof(RECT) here?
--
Dmitry.
More information about the wine-devel
mailing list