'How can I restore a winapi window if it's minimized?

I have tried many functions, such as ShowWindow & IsWindowVisible to at least try to give the result if the window is minimized, let alone restore it. These functions constantly return false whether the window is minimized or not. I have also tried using GetWindowPlacementwith SetWindowPlacement with no success. My HWND finds Chrome with FindWindow(TEXT("Chrome_WidgetWin_1"), NULL); which is successful, but I want to test/restore the window if it's minimized and these past 10 hours has nothing to show for it.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source