Difference between revisions of "User:Alvinhochun/Localization/IME/IMM"

From ReactOS Wiki
Jump to: navigation, search
(Loading of imm32.dll)
(Loading of imm32.dll)
Line 2: Line 2:
  
 
== Loading of <code>imm32.dll</code> ==
 
== Loading of <code>imm32.dll</code> ==
IMM32 is loaded by <code>user32.dll</code> from <code>User32InitializeImmEntryTable</code>. It loads the library (if not already) and fill in a structure of function pointers <code>gImmApiEntries</code>
+
IMM32 is loaded by <code>user32.dll</code> from <code>User32InitializeImmEntryTable</code>. It loads the library (if not already) and fill in a structure of function pointers <code>gImmApiEntries</code>. This function is supposed to be called in the DllMain of USER32 but the relevant code is currently commented out.
  
 
In ReactOS, the related functions are located under <code>win32ss\user\user32\misc\imm.c</code>. The functions it loads is different from that of Windows XP.
 
In ReactOS, the related functions are located under <code>win32ss\user\user32\misc\imm.c</code>. The functions it loads is different from that of Windows XP.
  
 
''TODO: Log all calls to Imm* functions with stack traces.''
 
''TODO: Log all calls to Imm* functions with stack traces.''

Revision as of 10:50, 10 May 2015

Operations of IMM under XP.

Loading of imm32.dll

IMM32 is loaded by user32.dll from User32InitializeImmEntryTable. It loads the library (if not already) and fill in a structure of function pointers gImmApiEntries. This function is supposed to be called in the DllMain of USER32 but the relevant code is currently commented out.

In ReactOS, the related functions are located under win32ss\user\user32\misc\imm.c. The functions it loads is different from that of Windows XP.

TODO: Log all calls to Imm* functions with stack traces.