mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
parent
0c5fc49f82
commit
e5f637f93f
3 changed files with 5 additions and 0 deletions
|
@ -355,6 +355,7 @@ Quit:
|
|||
return ret;
|
||||
}
|
||||
|
||||
// Win: ImmGetImeMenuItemsInterProcess
|
||||
DWORD APIENTRY
|
||||
Imm32GetImeMenuItemWCrossProcess(HIMC hIMC, DWORD dwFlags, DWORD dwType, LPVOID lpImeParentMenu,
|
||||
LPVOID lpImeMenu, DWORD dwSize)
|
||||
|
|
|
@ -102,6 +102,7 @@ static inline BOOL Imm32IsCrossThreadAccess(HIMC hIMC)
|
|||
return (dwImeThreadId != dwThreadId);
|
||||
}
|
||||
|
||||
// Win: TestWindowProcess
|
||||
static inline BOOL Imm32IsCrossProcessAccess(HWND hWnd)
|
||||
{
|
||||
return (NtUserQueryWindow(hWnd, QUERY_WINDOW_UNIQUE_PROCESS_ID) !=
|
||||
|
|
|
@ -50,6 +50,7 @@ BOOL APIENTRY Imm32IsSystemJapaneseOrKorean(VOID)
|
|||
return (wPrimary == LANG_JAPANESE || wPrimary == LANG_KOREAN);
|
||||
}
|
||||
|
||||
// Win: IsAnsiIMC
|
||||
BOOL WINAPI Imm32IsImcAnsi(HIMC hIMC)
|
||||
{
|
||||
BOOL ret;
|
||||
|
@ -166,6 +167,7 @@ static PVOID FASTCALL DesktopPtrToUser(PVOID ptr)
|
|||
return (PVOID)NtUserCallOneParam((DWORD_PTR)ptr, ONEPARAM_ROUTINE_GETDESKTOPMAPPING);
|
||||
}
|
||||
|
||||
// Win: HMValidateHandle
|
||||
LPVOID FASTCALL ValidateHandleNoErr(HANDLE hObject, UINT uType)
|
||||
{
|
||||
UINT index;
|
||||
|
@ -223,6 +225,7 @@ BOOL APIENTRY Imm32CheckImcProcess(PIMC pIMC)
|
|||
return dwProcessID == (DWORD_PTR)NtCurrentTeb()->ClientId.UniqueProcess;
|
||||
}
|
||||
|
||||
// Win: ImmLocalAlloc
|
||||
LPVOID APIENTRY ImmLocalAlloc(DWORD dwFlags, DWORD dwBytes)
|
||||
{
|
||||
if (!ghImmHeap)
|
||||
|
|
Loading…
Reference in a new issue