mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[WIN32SS][USER32] Simplify CloseWindow (#986)
This commit is contained in:
parent
e69213448d
commit
3a9fe2b1bf
1 changed files with 1 additions and 3 deletions
|
@ -127,9 +127,7 @@ ChildWindowFromPointEx(HWND hwndParent,
|
|||
BOOL WINAPI
|
||||
CloseWindow(HWND hWnd)
|
||||
{
|
||||
PostMessageW(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0);
|
||||
|
||||
return ValidateHwnd(hWnd) != NULL;
|
||||
return PostMessageW(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0);
|
||||
}
|
||||
|
||||
FORCEINLINE
|
||||
|
|
Loading…
Reference in a new issue