Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

268 lines
4.7 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. foldstyleinitialization = true;
  3. enablemapdirect1632 = true;
  4. defaultholdwin16lock = true;
  5. #include "types.thk"
  6. #include "ImmTypes.thk"
  7. BOOL Imm32Init(LPBYTE lpDGroup)
  8. {
  9. }
  10. BOOL Imm32LoadIME(DWORD dwThreadLink, DWORD dwIMELink, DWORD dwIMEDDIs)
  11. {
  12. releasewin16lock = true;
  13. }
  14. BOOL Imm32Configure(DWORD, HKL, HWND, DWORD, LPVOID, DWORD, BOOL)
  15. {
  16. body=special;
  17. releasewin16lock = true;
  18. }
  19. DWORD Imm32ConversionList(DWORD, DWORD, HIMC, LPSTR, LPCANDIDATELIST lpDest, DWORD, UINT, BOOL)
  20. {
  21. releasewin16lock = true;
  22. lpDest = output;
  23. }
  24. BOOL Imm32Destroy(DWORD, UINT)
  25. {
  26. releasewin16lock = true;
  27. }
  28. LRESULT Imm32Escape(DWORD, HIMC, UINT, LPVOID lpData, DWORD, BOOL)
  29. {
  30. releasewin16lock = true;
  31. lpData = output;
  32. }
  33. BOOL Imm32Notify(DWORD, HIMC, DWORD, DWORD, DWORD)
  34. {
  35. releasewin16lock = true;
  36. }
  37. BOOL Imm32ProcessKey(DWORD, HIMC, UINT, LPARAM, LPBYTE)
  38. {
  39. releasewin16lock = true;
  40. }
  41. BOOL Imm32Select(DWORD, HIMC, BOOL)
  42. {
  43. }
  44. BOOL Imm32SetActiveContext(DWORD, HIMC, BOOL)
  45. {
  46. }
  47. UINT Imm32SetCompositionString(DWORD, HIMC, DWORD, LPVOID, DWORD, LPVOID, DWORD)
  48. {
  49. releasewin16lock = true;
  50. }
  51. UINT Imm32ToAsciiEx(DWORD, UINT, UINT, LPBYTE, LPDWORD lpTarnsKey, UINT, HIMC)
  52. {
  53. releasewin16lock = true;
  54. }
  55. BOOL Imm32RegisterWord(DWORD, LPSTR, DWORD, LPSTR, DWORD, BOOL)
  56. {
  57. releasewin16lock = true;
  58. }
  59. BOOL Imm32UnregisterWord(DWORD, LPSTR, DWORD, LPSTR, DWORD, BOOL)
  60. {
  61. releasewin16lock = true;
  62. }
  63. UINT Imm32GetRegisterWordStyle(DWORD, UINT, LPSTYLEBUFA lpStyleBuf, DWORD, BOOL)
  64. {
  65. releasewin16lock = true;
  66. lpStyleBuf = output;
  67. }
  68. UINT Imm32EnumRegisterWord(DWORD, DWORD, LPSTR, DWORD, LPSTR, LPVOID lpData, DWORD, BOOL)
  69. {
  70. releasewin16lock = true;
  71. lpData = output;
  72. }
  73. DWORD ImmLockIMCLinear(HIMC)
  74. {
  75. target = ImmLockIMC;
  76. }
  77. BOOL ImmUnlockIMCLinear(HIMC)
  78. {
  79. target = ImmUnlockIMC;
  80. }
  81. DWORD ImmGetIMCSize(HIMC)
  82. {
  83. }
  84. DWORD ImmGetIMCLockCount(HIMC)
  85. {
  86. }
  87. HIMCC ImmCreateIMCC(DWORD)
  88. {
  89. }
  90. HIMCC ImmDestroyIMCC(HIMCC)
  91. {
  92. }
  93. DWORD ImmLockIMCCLinear(HIMCC)
  94. {
  95. target = ImmLockIMCC;
  96. }
  97. BOOL ImmUnlockIMCCLinear(HIMCC)
  98. {
  99. target = ImmUnlockIMCC;
  100. }
  101. DWORD ImmGetIMCCLockCount(HIMCC)
  102. {
  103. }
  104. HIMCC ImmReSizeIMCC(HIMCC, DWORD)
  105. {
  106. }
  107. DWORD ImmGetIMCCSize(HIMCC)
  108. {
  109. }
  110. DWORD Imm32GlobalAlloc(UINT, DWORD)
  111. {
  112. }
  113. DWORD Imm32GlobalFree(DWORD)
  114. {
  115. }
  116. DWORD Imm32GlobalLockLinear(DWORD)
  117. {
  118. }
  119. BOOL Imm32GlobalUnlockLinear(DWORD)
  120. {
  121. }
  122. DWORD Imm32GlobalLockIMCLinear(HIMC, LPDWORD lplpIMC, LPDWORD lplpCompStr, LPDWORD lplpCandInfo, LPDWORD lplpPrivate, LPDWORD lplpMsgBuf)
  123. {
  124. lplpIMC = output;
  125. lplpCompStr = output;
  126. lplpCandInfo = output;
  127. lplpPrivate = output;
  128. lplpMsgBuf = output;
  129. }
  130. DWORD Imm32GlobalUnlockIMCLinear(HIMC, HIMCC, HIMCC, HIMCC, HIMCC)
  131. {
  132. }
  133. DWORD Imm32GetProcessHeap()
  134. {
  135. releasewin16lock = true;
  136. }
  137. HIMC Imm32CreateContext(DWORD, DWORD, BOOL, DWORD, DWORD)
  138. {
  139. }
  140. BOOL Imm32DestroyContext(HIMC, DWORD)
  141. {
  142. }
  143. BOOL Imm32SelectContext(HIMC, DWORD)
  144. {
  145. }
  146. LONG ImmGetCompositionStringA(HIMC, DWORD, LPVOID lpBuf, DWORD)
  147. {
  148. releasewin16lock = true;
  149. lpBuf = output;
  150. }
  151. DWORD ImmGetCandidateListCountA(HIMC, LPDWORD lpNumList)
  152. {
  153. releasewin16lock = true;
  154. lpNumList = output;
  155. }
  156. DWORD ImmGetCandidateListA(HIMC, DWORD, LPCANDIDATELIST lpCandList, DWORD)
  157. {
  158. releasewin16lock = true;
  159. lpCandList = output;
  160. }
  161. BOOL ImmGetConversionStatus(HIMC, LPDWORD lpfdwConversion, LPDWORD lpfdwSentence)
  162. {
  163. releasewin16lock = true;
  164. lpfdwConversion = output;
  165. lpfdwSentence = output;
  166. }
  167. BOOL ImmGetOpenStatus(HIMC)
  168. {
  169. releasewin16lock = true;
  170. }
  171. BOOL ImmGetCompositionFontA(HIMC, LPLOGFONT lpLogFont)
  172. {
  173. releasewin16lock = true;
  174. lpLogFont = output;
  175. }
  176. DWORD ImmGetGuideLineA(HIMC, DWORD, LPSTR lpStr, DWORD)
  177. {
  178. releasewin16lock = true;
  179. lpStr = output;
  180. }
  181. BOOL ImmGetStatusWindowPos(HIMC, LPPOINT lpptPos)
  182. {
  183. releasewin16lock = true;
  184. lpptPos = output;
  185. }
  186. BOOL ImmGetCompositionWindow(HIMC, LPCOMPOSITIONFORM lpCompForm)
  187. {
  188. releasewin16lock = true;
  189. lpCompForm = output;
  190. }
  191. BOOL ImmGetCandidateWindow(HIMC, DWORD, LPCANDIDATEFORM lpCandForm)
  192. {
  193. releasewin16lock = true;
  194. lpCandForm = output;
  195. }
  196. UINT ImmGetVirtualKey(HWND)
  197. {
  198. releasewin16lock = true;
  199. }
  200. DWORD ImmGetImeMenuItems32(HIMC, DWORD, DWORD, LPVOID, LPVOID lpBuf, DWORD) =
  201. DWORD ImmGetImeMenuItemsA(HIMC, DWORD, DWORD, LPVOID, LPVOID lpBuf, DWORD)
  202. {
  203. releasewin16lock = true;
  204. lpBuf = output;
  205. }
  206. UINT ImmSetCompositionStringA(HIMC, DWORD, LPVOID, DWORD, LPVOID, DWORD)
  207. {
  208. releasewin16lock = true;
  209. }
  210. INT ImmMultiByteToWideChar(UINT CodePage, DWORD dwFlags, LPSTR lpSrc, int cchSrc, LPSTR lpDst, int cchDst )
  211. {}
  212. INT ImmWideCharToMultiByte(UINT CodePage, DWORD dwFlags, LPSTR lpSrc, int cchSrc, LPSTR lpDst, int cchDst, LPSTR lpDefaultChar, LPINT lpUsedDefaultChar )
  213. {}