Dmitry Timoshkov <dmi...@codeweavers.com> writes: > + SetLastError(0xdeadbeef); > +todo_wine > + ok(SetForegroundWindow(popup), "SetForegroundWindow() error %d\n", > GetLastError());
It would be interesting to test what the foreground window is actually set to. > + SetLastError(0xdeadbeef); > + ok(DestroyWindow(parent), "DestroyWindow() error %d\n", GetLastError()); Please don't add invalid uses of GetLastError again, this was cleaned up recently. -- Alexandre Julliard julli...@winehq.org