phnt: Fix some problems in ntuser.h #2427
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I Found problems by linking to win32u.lib with the headers. :)
NtUserGetClassName
https://github.com/wine-mirror/wine/blob/4de563994426e258d1f2848b663f6ed85dd1298d/include/ntuser.h#L811
https://doxygen.reactos.org/dd/d79/include_2ntuser_8h.html#a1c63176401b004bdffb56c8e8ea42b50
NtUserOpenWindowStation, NtUserCreateWindowStation
https://github.com/wine-mirror/wine/blob/4de563994426e258d1f2848b663f6ed85dd1298d/include/ntuser.h#L899
Should be typos, no large struct are passed by value in syscall
NtUserCalculatePopupWindowPosition
typo
ChildWindowFromPoint
https://j00ru.vexillium.org/syscalls/nt/64/
There's only syscall NtUserChildWindowFromPointEx, but ChildWindowFromPoint exists in user32.dll
NtUserQueryInformationThread
https://doxygen.reactos.org/dd/d79/include_2ntuser_8h.html#a87b3e470ffd45fe18b9edc4e6f968484