Commit 38bea949 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Introduce NtUserGetMessagePos.

parent 0efb4bb9
......@@ -4641,6 +4641,9 @@ ULONG_PTR WINAPI NtUserCallNoParam( ULONG code )
case NtUserCallNoParam_GetInputState:
return get_input_state();
case NtUserCallNoParam_GetMessagePos:
return get_user_thread_info()->GetMessagePosVal;
case NtUserCallNoParam_ReleaseCapture:
return release_capture();
......
......@@ -578,6 +578,7 @@ enum
NtUserCallNoParam_CreateMenu,
NtUserCallNoParam_GetDesktopWindow,
NtUserCallNoParam_GetInputState,
NtUserCallNoParam_GetMessagePos,
NtUserCallNoParam_ReleaseCapture,
/* temporary exports */
NtUserExitingThread,
......@@ -600,6 +601,11 @@ static inline BOOL NtUserGetInputState(void)
return NtUserCallNoParam( NtUserCallNoParam_GetInputState );
}
static inline DWORD NtUserGetMessagePos(void)
{
return NtUserCallNoParam( NtUserCallNoParam_GetMessagePos );
}
static inline BOOL NtUserReleaseCapture(void)
{
return NtUserCallNoParam( NtUserCallNoParam_ReleaseCapture );
......
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