Commit 285620b1 authored by Connor McAdams's avatar Connor McAdams Committed by Alexandre Julliard

win32u: Fix NtUserIsCurrent{Process/Thread}Window enum typo.

parent ee7d047d
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment