https://bugs.winehq.org/show_bug.cgi?id=23221
--- Comment #7 from hanska2@luukku.com --- 1450 /*********************************************************************** 1451 * AnimateWindow (USER32.@) 1452 * Shows/Hides a window with an animation 1453 * NO ANIMATION YET 1454 */ 1455 BOOL WINAPI AnimateWindow(HWND hwnd, DWORD dwTime, DWORD dwFlags) 1456 { 1457 FIXME("partial stub\n"); 1458 1459 /* If trying to show/hide and it's already * 1460 * shown/hidden or invalid window, fail with * 1461 * invalid parameter */ 1462 if(!IsWindow(hwnd) || 1463 (IsWindowVisible(hwnd) && !(dwFlags & AW_HIDE)) || 1464 (!IsWindowVisible(hwnd) && (dwFlags & AW_HIDE))) 1465 { 1466 SetLastError(ERROR_INVALID_PARAMETER); 1467 return FALSE; 1468 } 1469 1470 ShowWindow(hwnd, (dwFlags & AW_HIDE) ? SW_HIDE : ((dwFlags & AW_ACTIVATE) ? SW_SHOW : SW_SHOWNA)); 1471 1472 return TRUE; 1473 }
http://source.winehq.org/git/wine.git/blob/622191f7bcdb409f9aafa257e3f5cf6e3...
What's wrong here?