Group: Window - Library: user32
Minimizing all running applications
BOOL CloseWindow(
HWND hWnd // handle to window to minimize
);
DECLARE INTEGER CloseWindow IN user32;
INTEGER hWnd
hWnd [in] Handle to the window to be minimized.
If the function succeeds, the return value is nonzero.
It is an example of misleading name. To destroy a window, an application must use the DestroyWindow function.