win32u: Fix NtUserIsCurrent{Process/Thread}Window enum typo.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
This commit is contained in:
parent
ee7d047dd5
commit
285620b177
3 changed files with 6 additions and 6 deletions
|
@ -113,7 +113,7 @@ static inline BOOL is_broadcast( HWND hwnd )
|
|||
*/
|
||||
HWND WIN_IsCurrentProcess( HWND hwnd )
|
||||
{
|
||||
return UlongToHandle( NtUserCallHwnd( hwnd, NtUserIsCurrehtProcessWindow ));
|
||||
return UlongToHandle( NtUserCallHwnd( hwnd, NtUserIsCurrentProcessWindow ));
|
||||
}
|
||||
|
||||
|
||||
|
@ -124,7 +124,7 @@ HWND WIN_IsCurrentProcess( HWND hwnd )
|
|||
*/
|
||||
HWND WIN_IsCurrentThread( HWND hwnd )
|
||||
{
|
||||
return UlongToHandle( NtUserCallHwnd( hwnd, NtUserIsCurrehtThreadWindow ));
|
||||
return UlongToHandle( NtUserCallHwnd( hwnd, NtUserIsCurrentThreadWindow ));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5474,10 +5474,10 @@ ULONG_PTR WINAPI NtUserCallHwnd( HWND hwnd, DWORD code )
|
|||
case NtUserGetFullWindowHandle:
|
||||
return HandleToUlong( get_full_window_handle( hwnd ));
|
||||
|
||||
case NtUserIsCurrehtProcessWindow:
|
||||
case NtUserIsCurrentProcessWindow:
|
||||
return HandleToUlong( is_current_process_window( hwnd ));
|
||||
|
||||
case NtUserIsCurrehtThreadWindow:
|
||||
case NtUserIsCurrentThreadWindow:
|
||||
return HandleToUlong( is_current_thread_window( hwnd ));
|
||||
|
||||
default:
|
||||
|
|
|
@ -1071,8 +1071,8 @@ enum
|
|||
NtUserCallHwnd_SetTaskmanWindow,
|
||||
/* temporary exports */
|
||||
NtUserGetFullWindowHandle,
|
||||
NtUserIsCurrehtProcessWindow,
|
||||
NtUserIsCurrehtThreadWindow,
|
||||
NtUserIsCurrentProcessWindow,
|
||||
NtUserIsCurrentThreadWindow,
|
||||
};
|
||||
|
||||
static inline void NtUserActivateOtherWindow( HWND hwnd )
|
||||
|
|
Loading…
Add table
Reference in a new issue