[NTUSER][USER32] Make NtUserBuildHwndList exclusive (#4485)

- Modify prototype of NtUserBuildHwndList function.
- Wrap the code by UserEnterExclusive(); and UserLeave();.
CORE-18173
This commit is contained in:
Katayama Hirofumi MZ 2022-05-05 08:49:00 +09:00 committed by GitHub
parent bbc9a877cc
commit c2a51c7249
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 28 deletions

View file

@ -1561,9 +1561,9 @@ NtUserBuildHwndList(
HWND hwndParent,
BOOLEAN bChildren,
ULONG dwThreadId,
ULONG lParam,
HWND *pWnd,
ULONG *pBufSize);
ULONG cHwnd,
HWND *phwndList,
ULONG *pcHwndNeeded);
NTSTATUS
NTAPI