win32u: Introduce NtUserGetMessagePos.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0efb4bb928
commit
38bea949c0
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue