[WIN32K][NTUSER] Specify constant name explicitly (#1067)

Reduce confusion by specifying the omitted constant HWND_TOP == 0.
This commit is contained in:
Andrew Boyarshin 2018-11-25 20:31:23 +07:00 committed by Hermès BÉLUSCA - MAÏTO
parent 62ec69278d
commit f48eb70af3

View file

@ -3326,7 +3326,7 @@ NtUserSetWindowPos(
RETURN(FALSE);
}
if ( hWndInsertAfter &&
if ( hWndInsertAfter != HWND_TOP &&
hWndInsertAfter != HWND_BOTTOM &&
hWndInsertAfter != HWND_TOPMOST &&
hWndInsertAfter != HWND_NOTOPMOST )