mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- Add One Param Call GetCursorPos. This will be used when GDIPOINTER is deprecated.
svn path=/trunk/; revision=38309
This commit is contained in:
parent
80eedc2faf
commit
db48311d5b
1 changed files with 18 additions and 1 deletions
|
@ -396,9 +396,26 @@ NtUserCallOneParam(
|
|||
/* FIXME: Should use UserEnterShared */
|
||||
RETURN(IntEnumClipboardFormats(Param));
|
||||
|
||||
case ONEPARAM_ROUTINE_CSRSS_GUICHECK:
|
||||
case ONEPARAM_ROUTINE_CSRSS_GUICHECK:
|
||||
IntUserManualGuiCheck(Param);
|
||||
RETURN(TRUE);
|
||||
|
||||
case ONEPARAM_ROUTINE_GETCURSORPOS:
|
||||
{
|
||||
BOOL Ret = TRUE;
|
||||
PPOINTL pptl;
|
||||
_SEH2_TRY
|
||||
{
|
||||
pptl = (PPOINTL)Param;
|
||||
*pptl = gpsi->ptCursor;
|
||||
}
|
||||
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
|
||||
{
|
||||
Ret = FALSE;
|
||||
}
|
||||
_SEH2_END;
|
||||
RETURN(Ret);
|
||||
}
|
||||
}
|
||||
DPRINT1("Calling invalid routine number 0x%x in NtUserCallOneParam(), Param=0x%x\n",
|
||||
Routine, Param);
|
||||
|
|
Loading…
Reference in a new issue