mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +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 */
|
/* FIXME: Should use UserEnterShared */
|
||||||
RETURN(IntEnumClipboardFormats(Param));
|
RETURN(IntEnumClipboardFormats(Param));
|
||||||
|
|
||||||
case ONEPARAM_ROUTINE_CSRSS_GUICHECK:
|
case ONEPARAM_ROUTINE_CSRSS_GUICHECK:
|
||||||
IntUserManualGuiCheck(Param);
|
IntUserManualGuiCheck(Param);
|
||||||
RETURN(TRUE);
|
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",
|
DPRINT1("Calling invalid routine number 0x%x in NtUserCallOneParam(), Param=0x%x\n",
|
||||||
Routine, Param);
|
Routine, Param);
|
||||||
|
|
Loading…
Reference in a new issue