mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 02:05:57 +00:00
[NTUSER][IMM32] Use Imm32CurrentPti and pool (#4356)
- Use newly-defined Imm32CurrentPti() instead of NtCurrentTeb()->Win32ThreadInfo. - THREADSTATE_GETTHREADINFO is same as THREADSTATE_UNKNOWN18. - Use the paged pool to allocate HIMC rather than heap. - Fix and improve ImmDestroyContext function. CORE-11700
This commit is contained in:
parent
78a7d7dc32
commit
45a4e53fa4
7 changed files with 64 additions and 65 deletions
|
@ -1215,7 +1215,7 @@ typedef struct tagIMEUI
|
|||
/* Window Extra data container. */
|
||||
typedef struct _IMEWND
|
||||
{
|
||||
WND;
|
||||
WND wnd;
|
||||
PIMEUI pimeui;
|
||||
} IMEWND, *PIMEWND;
|
||||
|
||||
|
@ -2570,8 +2570,7 @@ enum ThreadStateRoutines
|
|||
THREADSTATE_ISWINLOGON,
|
||||
THREADSTATE_ISWINLOGON2,
|
||||
THREADSTATE_UNKNOWN17,
|
||||
THREADSTATE_UNKNOWN18,
|
||||
THREADSTATE_GETTHREADINFO = 100, /* FIXME: Delete this HACK */
|
||||
THREADSTATE_GETTHREADINFO,
|
||||
THREADSTATE_PROGMANWINDOW, /* FIXME: Delete this HACK */
|
||||
THREADSTATE_TASKMANWINDOW, /* FIXME: Delete this HACK */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue