Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phnt: Fix some problems in ntuser.h #2427

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions phnt/include/ntuser.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ ULONG
NTAPI
NtUserGetClassName(
_In_ HWND WindowHandle,
_In_ LONGLONG Real,
_In_ BOOL Real,
_Out_ PUNICODE_STRING ClassName
);

Expand Down Expand Up @@ -177,21 +177,21 @@ NTSYSCALLAPI
HWINSTA
NTAPI
NtUserOpenWindowStation(
_In_ OBJECT_ATTRIBUTES ObjectAttributes,
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
_In_ ACCESS_MASK DesiredAccess
);

NTSYSCALLAPI
HWINSTA
NTAPI
NtUserCreateWindowStation(
_In_ OBJECT_ATTRIBUTES ObjectAttributes,
_In_ POBJECT_ATTRIBUTES ObjectAttributes,
_In_ ACCESS_MASK DesiredAccess,
_In_opt_ HANDLE KeyboardLayoutHandle,
_In_opt_ PVOID KeyboardLayoutOffset,
_In_opt_ PVOID NlsTableOffset,
_In_opt_ PVOID KeyboardDescriptor,
_In_opt_ UNICODE_STRING LanguageIdString,
_In_opt_ PUNICODE_STRING LanguageIdString,
_In_opt_ ULONG KeyboardLocale
);

Expand Down Expand Up @@ -430,7 +430,7 @@ NtUserBlockInput(
NTSYSCALLAPI
BOOL
NTAPI
tUserCalculatePopupWindowPosition(
NtUserCalculatePopupWindowPosition(
_In_ const POINT* anchorPoint,
_In_ const SIZE* windowSize,
_In_ ULONG flags,
Expand All @@ -448,10 +448,10 @@ NtUserChangeWindowMessageFilterEx(
_Inout_opt_ PCHANGEFILTERSTRUCT ChangeFilterStruct
);

NTSYSCALLAPI
NTSYSAPI
HWND
NTAPI
NtUserChildWindowFromPoint(
ChildWindowFromPoint(
_In_ HWND WindowHandle,
_In_ POINT pt
);
Expand Down Expand Up @@ -939,7 +939,6 @@ NtUserQueryInformationThread(
_In_ HANDLE ThreadHandle,
_In_ USERTHREADINFOCLASS ThreadInformationClass,
_Out_writes_bytes_(ThreadInformationLength) PVOID ThreadInformation,
_In_ ULONG ThreadInformationLength,
_Out_opt_ PULONG ReturnLength
);

Expand Down