mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
parent
eb902e5bee
commit
0f1e19a7b6
1 changed files with 3 additions and 5 deletions
|
@ -1257,7 +1257,6 @@ VOID UserFreeInputContext(PVOID Object)
|
|||
BOOLEAN UserDestroyInputContext(PVOID Object)
|
||||
{
|
||||
PIMC pIMC = Object;
|
||||
|
||||
if (!pIMC || !UserMarkObjectDestroy(pIMC))
|
||||
return TRUE;
|
||||
|
||||
|
@ -1265,17 +1264,16 @@ BOOLEAN UserDestroyInputContext(PVOID Object)
|
|||
}
|
||||
|
||||
// Win: DestroyInputContext
|
||||
BOOLEAN IntDestroyInputContext(PVOID Object)
|
||||
BOOL IntDestroyInputContext(PIMC pIMC)
|
||||
{
|
||||
PIMC pIMC = Object;
|
||||
HIMC hIMC = pIMC->head.h;
|
||||
HIMC hIMC = UserHMGetHandle(pIMC);
|
||||
PTHREADINFO pti = pIMC->head.pti;
|
||||
PWND pwndChild;
|
||||
PWINDOWLIST pwl;
|
||||
HWND *phwnd;
|
||||
PWND pWnd;
|
||||
|
||||
if (pIMC->head.pti != gptiCurrent)
|
||||
if (pti != gptiCurrent)
|
||||
{
|
||||
EngSetLastError(ERROR_ACCESS_DENIED);
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue