[user32/tests] Fix failures on W2K and below

Dmitry Timoshkov dmitry at codeweavers.com
Mon Oct 6 19:39:21 CDT 2008


"Paul Vriens" <paul.vriens.wine at gmail.com> wrote:

> (Independent from the other user32/tests patch "Run tests on win95 again").
> 
> Basically the same patch/logic as in commit
> 5cf418f5218d46e28c00f15ba2eb5748888794f6 but now for user32. The GetProcAddress
> is needed as GetComboBoxInfo is not available on win95.
> 
> I've also changed the ok() test to test for all outcomes of the
> SendMessageA(hCombo, CB_ADDSTRING, 0, (LPARAM)&buffer).

That's of course is not your fault, but the above SendMessage call
is invalid, it should be
SendMessageA(hCombo, CB_ADDSTRING, 0, (LPARAM)buffer)
instead, notice the removal of '&'.

-- 
Dmitry.



More information about the wine-devel mailing list