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.

392 lines
15 KiB

  1. @COMMENT IME Functions
  2. @@ ImmGetCompositionStringA
  3. typedef LONG (WINAPI*IGCSA_CAST)(HIMC, DWORD, LPVOID, DWORD);
  4. @define pImmGetCompositionStringA(a,b,c,d) ((IGCSA_CAST)nlsProcTable[iImmGetCompositionStringA])(a,b,c,d)
  5. @@ ImmGetContext
  6. typedef HIMC (WINAPI*IGC_CAST)(HWND);
  7. @define pImmGetContext(a) ((IGC_CAST)nlsProcTable[iImmGetContext])(a)
  8. @@ ImmSetCompositionFontA
  9. typedef BOOL (WINAPI*ISCFA_CAST)(HIMC, LPLOGFONTA);
  10. @define pImmSetCompositionFontA(a,b) ((ISCFA_CAST)nlsProcTable[iImmSetCompositionFontA])(a,b)
  11. @MAC pImmSetCompositionFont not supported in crayon
  12. @@ ImmSetCompositionWindow
  13. typedef BOOL (WINAPI*ISCW_CAST)(HIMC, LPCOMPOSITIONFORM);
  14. @define pImmSetCompositionWindow(a,b) ((ISCW_CAST)nlsProcTable[iImmSetCompositionWindow])(a,b)
  15. @MAC pImmSetCompositionWindow not supported in crayon
  16. @@ ImmReleaseContext
  17. typedef BOOL (WINAPI*IRC_CAST)(HWND, HIMC);
  18. @define pImmReleaseContext(a,b) ((IRC_CAST)nlsProcTable[iImmReleaseContext])(a,b)
  19. @@ ImmGetProperty
  20. typedef DWORD (WINAPI*IGP_CAST)(HKL, DWORD);
  21. @define pImmGetProperty(a,b) ((IGP_CAST)nlsProcTable[iImmGetProperty])(a,b)
  22. @MAC pImmGetProperty not supported in crayon
  23. @@ ImmGetCandidateWindow
  24. typedef BOOL (WINAPI*IGCW_CAST)(HIMC, DWORD, LPCANDIDATEFORM);
  25. @define pImmGetCandidateWindow(a,b,c) (( IGCW_CAST) nlsProcTable[iImmGetCandidateWindow])(a,b,c)
  26. @MAC pImmGetCandidateWindow not supported in crayon
  27. @@ ImmSetCandidateWindow
  28. typedef BOOL (WINAPI*ISCAW_CAST)(HIMC, LPCANDIDATEFORM);
  29. @define pImmSetCandidateWindow(a,b) (( ISCAW_CAST) nlsProcTable[iImmSetCandidateWindow])(a,b)
  30. @MAC pImmSetCandidateWindow not supported in crayon
  31. @@ ImmNotifyIME
  32. typedef BOOL (WINAPI*INIME_CAST)(HIMC, DWORD, DWORD, DWORD);
  33. @define pImmNotifyIME(a,b,c,d) ((INIME_CAST)nlsProcTable[iImmNotifyIME])(a,b,c,d)
  34. @@ ImmAssociateContext
  35. typedef HIMC (WINAPI*IAC_CAST)(HWND, HIMC);
  36. @define pImmAssociateContext(a,b) ((IAC_CAST)nlsProcTable[iImmAssociateContext])(a,b)
  37. @@ ImmGetVirtualKey
  38. typedef UINT (WINAPI*IGVK_CAST)(HWND);
  39. @define pImmGetVirtualKey(a) ((IGVK_CAST)nlsProcTable[iImmGetVirtualKey])(a)
  40. @MAC pImmGetVirtualKey not supported in crayon
  41. @@ ImmEscape
  42. typedef HIMC (WINAPI*IES_CAST)(HKL, HIMC, UINT, LPVOID);
  43. @define pImmEscape(a,b,c,d) ((IES_CAST)nlsProcTable[iImmEscape])(a,b,c,d)
  44. @@ ImmGetOpenStatus
  45. typedef LONG (WINAPI*IGOS_CAST)(HIMC);
  46. @define pImmGetOpenStatus(a)((IGOS_CAST) nlsProcTable[iImmGetOpenStatus])(a)
  47. @@ ImmGetConversionStatus
  48. typedef BOOL (WINAPI*IGCS_CAST)(HIMC, LPDWORD, LPDWORD);
  49. @define pImmGetConversionStatus(a,b,c)((IGCS_CAST) nlsProcTable[iImmGetConversionStatus])(a,b,c)
  50. @MAC pImmGetConversionStatus not supported in crayon
  51. @COMMENT National Language Keyboard support
  52. @@ GetKeyboardLayout
  53. typedef WINUSERAPI HKL (WINAPI* GKL_CAST)(DWORD);
  54. @define pGetKeyboardLayout(a) ((GKL_CAST) nlsProcTable[iGetKeyboardLayout])(a)
  55. @@ GetKeyboardLayoutList
  56. typedef WINUSERAPI int (WINAPI*GKLL_CAST)(int, HKL FAR *);
  57. @define pGetKeyboardLayoutList(a,b) ((GKLL_CAST) nlsProcTable[iGetKeyboardLayoutList])(a,b)
  58. @COMMENT Ole
  59. @@ LoadRegTypeLib
  60. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *LRTL_CAST)(REFGUID, WORD, WORD, LCID, ITypeLib **);
  61. @define pLoadRegTypeLib(a, b, c, d, e) (CheckIfLoaded(), ((LRTL_CAST)nlsProcTable[iLoadRegTypeLib])(a, b, c, d, e))
  62. @@ LoadTypeLib
  63. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *LTL_CAST)(const OLECHAR *, ITypeLib **);
  64. @define pLoadTypeLib(a, b) (CheckIfLoaded(), ((LTL_CAST)nlsProcTable[iLoadTypeLib])(a, b))
  65. @@ SysAllocString
  66. typedef DECLSPEC_IMPORT BSTR (STDAPICALLTYPE *SAS_CAST)(const OLECHAR *);
  67. @define pSysAllocString(a) (CheckIfLoaded(), ((SAS_CAST)nlsProcTable[iSysAllocString])(a))
  68. @@ SysAllocStringLen
  69. typedef DECLSPEC_IMPORT BSTR (STDAPICALLTYPE *SASL_CAST)(const OLECHAR *, UINT);
  70. @define pSysAllocStringLen(a, b) (CheckIfLoaded(), ((SASL_CAST)nlsProcTable[iSysAllocStringLen])(a, b))
  71. @@ SysFreeString
  72. typedef DECLSPEC_IMPORT void (STDAPICALLTYPE *SFS_CAST)(BSTR);
  73. @define pSysFreeString(a) (CheckIfLoaded(), ((SFS_CAST)nlsProcTable[iSysFreeString])(a))
  74. @@ SysStringLen
  75. typedef DECLSPEC_IMPORT UINT (STDAPICALLTYPE *SSL_CAST)(BSTR);
  76. @define pSysStringLen(a) (CheckIfLoaded(), ((SSL_CAST)nlsProcTable[iSysStringLen])(a))
  77. @@ VariantInit
  78. typedef DECLSPEC_IMPORT void (STDAPICALLTYPE *VI_CAST)(VARIANTARG *);
  79. @define pVariantInit(a) (CheckIfLoaded(), ((VI_CAST)nlsProcTable[iVariantInit])(a))
  80. @@ OleCreateFromData
  81. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCFD_CAST)(LPDATAOBJECT, REFIID, DWORD, LPFORMATETC, LPOLECLIENTSITE, LPSTORAGE, void **);
  82. @define pOleCreateFromData(a,b,c,d,e,f,g) (CheckIfOle32Loaded(), \
  83. ((OCFD_CAST)nlsProcTable[iOleCreateFromData])(a,b,c,d,e,f,g))
  84. @@ CoTaskMemFree
  85. typedef DECLSPEC_IMPORT void (STDAPICALLTYPE *CTMF_CAST)(LPVOID);
  86. @define pCoTaskMemFree(a) (CheckIfOle32Loaded(), \
  87. ((CTMF_CAST)nlsProcTable[iCoTaskMemFree])(a))
  88. @@ CreateBindCtx
  89. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *CBC_CAST)(DWORD, LPBC *);
  90. @define pCreateBindCtx(a,b) (CheckIfOle32Loaded(), \
  91. ((CBC_CAST)nlsProcTable[iCreateBindCtx])(a,b))
  92. @@ OleDuplicateData
  93. typedef DECLSPEC_IMPORT HANDLE (STDAPICALLTYPE *ODD_CAST)(HANDLE, CLIPFORMAT, UINT);
  94. @define pOleDuplicateData(a,b,c) (CheckIfOle32Loaded(),\
  95. ((ODD_CAST)nlsProcTable[iOleDuplicateData])(a,b,c))
  96. @@ CoTreatAsClass
  97. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *CTAC_CAST)(REFCLSID, REFCLSID);
  98. @define pCoTreatAsClass(a,b) (CheckIfOle32Loaded(),\
  99. ((CTAC_CAST)nlsProcTable[iCoTreatAsClass])(a,b))
  100. @@ ProgIDFromCLSID
  101. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *PIFC_CAST)(REFCLSID, LPOLESTR *);
  102. @define pProgIDFromCLSID(a,b) (CheckIfOle32Loaded(),\
  103. ((PIFC_CAST)nlsProcTable[iProgIDFromCLSID])(a,b))
  104. @@ OleConvertIStorageToOLESTREAM
  105. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCITO_CAST)(LPSTORAGE, LPOLESTREAM);
  106. @define pOleConvertIStorageToOLESTREAM(a,b) (CheckIfOle32Loaded(),\
  107. ((OCITO_CAST)nlsProcTable[iOleConvertIStorageToOLESTREAM])(a,b))
  108. @@ OleConvertIStorageToOLESTREAMEx
  109. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCITOX_CAST)(LPSTORAGE, CLIPFORMAT, LONG, LONG, DWORD, LPSTGMEDIUM, LPOLESTREAM);
  110. @define pOleConvertIStorageToOLESTREAMEx(a,b,c,d,e,f,g) \
  111. (CheckIfOle32Loaded(),\
  112. ((OCITOX_CAST)nlsProcTable[iOleConvertIStorageToOLESTREAMEx])(a,b,c,d,e,f,g))
  113. @@ OleSave
  114. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OS_CAST)(LPPERSISTSTORAGE, LPSTORAGE, BOOL);
  115. @define pOleSave(a,b,c) (CheckIfOle32Loaded(),\
  116. ((OS_CAST)nlsProcTable[iOleSave])(a,b,c))
  117. @@ StgCreateDocfileOnILockBytes
  118. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *SCDOI_CAST)(ILockBytes *, DWORD, DWORD, IStorage **);
  119. @define pStgCreateDocfileOnILockBytes(a,b,c,d) (CheckIfOle32Loaded(),\
  120. ((SCDOI_CAST)nlsProcTable[iStgCreateDocfileOnILockBytes])(a,b,c,d))
  121. @@ CreateILockBytesOnHGlobal
  122. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *CIOH_CAST)(HGLOBAL, BOOL, ILockBytes **);
  123. @define pCreateILockBytesOnHGlobal(a,b,c) (CheckIfOle32Loaded(),\
  124. ((CIOH_CAST)nlsProcTable[iCreateILockBytesOnHGlobal])(a,b,c))
  125. @@ OleCreateLinkToFile
  126. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCLTF_CAST)(LPCOLESTR, REFIID, DWORD, LPFORMATETC, LPOLECLIENTSITE, LPSTORAGE, void **);
  127. @define pOleCreateLinkToFile(a,b,c,d,e,f,g) (CheckIfOle32Loaded(),\
  128. ((OCLTF_CAST)nlsProcTable[iOleCreateLinkToFile])(a,b,c,d,e,f,g))
  129. @@ CoTaskMemAlloc
  130. typedef DECLSPEC_IMPORT LPVOID (STDAPICALLTYPE *CTMA_CAST)(ULONG);
  131. @define pCoTaskMemAlloc(a) (CheckIfOle32Loaded(),\
  132. ((CTMA_CAST)nlsProcTable[iCoTaskMemAlloc])(a))
  133. @@ CoTaskMemRealloc
  134. typedef DECLSPEC_IMPORT LPVOID (STDAPICALLTYPE *CTMR_CAST)(LPVOID, ULONG);
  135. @define pCoTaskMemRealloc(a,b) (CheckIfOle32Loaded(),\
  136. ((CTMR_CAST)nlsProcTable[iCoTaskMemRealloc])(a,b))
  137. @@ OleIntialize
  138. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OI_CAST)(LPVOID);
  139. @define pOleInitialize(a) (((OI_CAST)nlsProcTable[iOleInitialize])(a))
  140. @@ OleUninitialize
  141. typedef DECLSPEC_IMPORT void (STDAPICALLTYPE *OUI_CAST)();
  142. @define pOleUninitialize() if( fHaveOle32Procs ) {\
  143. ((OUI_CAST)nlsProcTable[iOleUninitialize])(); }
  144. @@ OleSetClipboard
  145. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OSC_CAST)(IDataObject *);
  146. @define pOleSetClipboard(a) (CheckIfOle32Loaded(),\
  147. ((OSC_CAST)nlsProcTable[iOleSetClipboard])(a))
  148. @@ OleFlushClipboard
  149. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OFC_CAST)();
  150. @define pOleFlushClipboard()(CheckIfOle32Loaded(), \
  151. ((OFC_CAST)nlsProcTable[iOleFlushClipboard])())
  152. @@ OleIsCurrentClipboard
  153. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OICC_CAST)(IDataObject *);
  154. @define pOleIsCurrentClipboard(a)(CheckIfOle32Loaded(),\
  155. ((OICC_CAST)nlsProcTable[iOleIsCurrentClipboard])(a))
  156. @@ DoDragDrop
  157. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *DDD_CAST)(IDataObject *, IDropSource *, DWORD, DWORD *);
  158. @define pDoDragDrop(a,b,c,d)(CheckIfOle32Loaded(),\
  159. ((DDD_CAST)nlsProcTable[iDoDragDrop])(a,b,c,d))
  160. @@ OleGetClipboard
  161. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OGC_CAST)(IDataObject **);
  162. @define pOleGetClipboard(a)(CheckIfOle32Loaded(),\
  163. ((OGC_CAST)nlsProcTable[iOleGetClipboard])(a))
  164. @@ RegisterDragDrop
  165. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *RDD_CAST)(HWND, IDropTarget *);
  166. @define pRegisterDragDrop(a,b)(CheckIfOle32Loaded(),\
  167. ((RDD_CAST)nlsProcTable[iRegisterDragDrop])(a,b))
  168. @@ OleCreateLinkFromData
  169. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCLFD_CAST)(IDataObject *, REFIID, DWORD, LPFORMATETC, IOleClientSite *, IStorage *, void **);
  170. @define pOleCreateLinkFromData(a,b,c,d,e,f,g)(CheckIfOle32Loaded(),\
  171. ((OCLFD_CAST)nlsProcTable[iOleCreateLinkFromData])(a,b,c,d,e,f,g))
  172. @@ OleCreateStaticFromData
  173. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCSFD_CAST)(IDataObject *, REFIID, DWORD, LPFORMATETC, IOleClientSite *, IStorage *, void **);
  174. @define pOleCreateStaticFromData(a,b,c,d,e,f,g)(CheckIfOle32Loaded(),\
  175. ((OCSFD_CAST)nlsProcTable[iOleCreateStaticFromData])(a,b,c,d,e,f,g))
  176. @@ OleDraw
  177. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OD_CAST)(IUnknown *, DWORD, HDC, LPCRECT);
  178. @define pOleDraw(a,b,c,d)(CheckIfOle32Loaded(),\
  179. ((OD_CAST)nlsProcTable[iOleDraw])(a,b,c,d))
  180. @@ OleSetContainedObject
  181. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OSCO_CAST)(IUnknown *, BOOL);
  182. @define pOleSetContainedObject(a,b)(CheckIfOle32Loaded(),\
  183. ((OSCO_CAST)nlsProcTable[iOleSetContainedObject])(a,b))
  184. @@ CoDisconnectObject
  185. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *CDO_CAST)(IUnknown *, DWORD);
  186. @define pCoDisconnectObject(a,b)(CheckIfOle32Loaded(),\
  187. ((CDO_CAST)nlsProcTable[iCoDisconnectObject])(a,b))
  188. @@ WriteFmtUserTypeStg
  189. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *WFUTS_CAST)(IStorage *, CLIPFORMAT, LPOLESTR);
  190. @define pWriteFmtUserTypeStg(a,b,c)(CheckIfOle32Loaded(),\
  191. ((WFUTS_CAST)nlsProcTable[iWriteFmtUserTypeStg])(a,b,c))
  192. @@ WriteClassStg
  193. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *WCS_CAST)(IStorage *, REFCLSID);
  194. @define pWriteClassStg(a,b)(CheckIfOle32Loaded(), \
  195. ((WCS_CAST)nlsProcTable[iWriteClassStg])(a,b))
  196. @@ SetConvertStg
  197. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *SCS_CAST)(IStorage *, BOOL);
  198. @define pSetConvertStg(a,b)(CheckIfOle32Loaded(),\
  199. ((SCS_CAST)nlsProcTable[iSetConvertStg])(a,b))
  200. @@ ReadFmtUserTypeStg
  201. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *RFUTS_CAST)(IStorage *, CLIPFORMAT *, LPOLESTR *);
  202. @define pReadFmtUserTypeStg(a,b,c)(CheckIfOle32Loaded(),\
  203. ((RFUTS_CAST)nlsProcTable[iReadFmtUserTypeStg])(a,b,c))
  204. @@ ReadClassStg
  205. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *RCS_CAST)(IStorage *pstg, CLSID *);
  206. @define pReadClassStg(a,b)(CheckIfOle32Loaded(),\
  207. ((RCS_CAST)nlsProcTable[iReadClassStg])(a,b))
  208. @@ OleRun
  209. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OR_CAST)(IUnknown *);
  210. @define pOleRun(a)(CheckIfOle32Loaded(),\
  211. ((OR_CAST)nlsProcTable[iOleRun])(a))
  212. @@ RevokeDragDrop
  213. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *RegDD_CAST)(HWND);
  214. @define pRevokeDragDrop(a)(CheckIfOle32Loaded(),\
  215. ((RegDD_CAST)nlsProcTable[iRevokeDragDrop])(a))
  216. @@ CreateStreamOnHGlobal
  217. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *CSOH_CAST)(HGLOBAL, BOOL, IStream **);
  218. @define pCreateStreamOnHGlobal(a,b,c)(CheckIfOle32Loaded(),\
  219. ((CSOH_CAST)nlsProcTable[iCreateStreamOnHGlobal])(a,b,c))
  220. @@ GetHGlobalFromStream
  221. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *GHFS_CAST)(IStream *pstm, HGLOBAL *);
  222. @define pGetHGlobalFromStream(a,b)(CheckIfOle32Loaded(),\
  223. ((GHFS_CAST)nlsProcTable[iGetHGlobalFromStream])(a,b))
  224. @@ OleCreateDefaultHandler
  225. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCDH_CAST)(REFCLSID, IUnknown *, REFIID, void **);
  226. @define pOleCreateDefaultHandler(a,b,c,d)(CheckIfOle32Loaded(),\
  227. ((OCDH_CAST)nlsProcTable[iOleCreateDefaultHandler])(a,b,c,d))
  228. @@ CLSIDFromProgID
  229. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *CFPI_CAST)(LPCOLESTR, LPCLSID);
  230. @define pCLSIDFromProgID(a,b)(CheckIfOle32Loaded(),\
  231. ((CFPI_CAST)nlsProcTable[iCLSIDFromProgID])(a,b))
  232. @@ OleConvertOLESTREAMToIStorage
  233. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OCOTI_CAST)(LPOLESTREAM, IStorage *, const DVTARGETDEVICE *);
  234. @define pOleConvertOLESTREAMToIStorage(a,b,c)(CheckIfOle32Loaded(),\
  235. ((OCOTI_CAST)nlsProcTable[iOleConvertOLESTREAMToIStorage])(a,b,c))
  236. @@ OleLoad
  237. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *OL_CAST)(IStorage *, REFIID, IOleClientSite *, void **);
  238. @define pOleLoad(a,b,c,d)(CheckIfOle32Loaded(),\
  239. ((OL_CAST)nlsProcTable[iOleLoad])(a,b,c,d))
  240. @@ ReleaseStgMedium
  241. typedef DECLSPEC_IMPORT HRESULT (STDAPICALLTYPE *RSM_CAST)(LPSTGMEDIUM);
  242. @define pReleaseStgMedium(a)(CheckIfOle32Loaded(),\
  243. ((RSM_CAST)nlsProcTable[iReleaseStgMedium])(a))
  244. @COMMENT Ime Share
  245. @@ FSupportSty
  246. typedef IMESHAREAPI BOOL (*FSS_CAST)(UINT, UINT);
  247. @define pFSupportSty(a,b) ((FSS_CAST)nlsProcTable[iFSupportSty])(a,b)
  248. @@ PIMEStyleFromAttr
  249. typedef IMESHAREAPI const IMESTYLE * (IMECDECL*PISFA_CAST)(const UINT);
  250. @define pPIMEStyleFromAttr(a) ((PISFA_CAST)nlsProcTable[iPIMEStyleFromAttr])(a)
  251. @@ PColorStyleTextFromIMEStyle
  252. typedef IMESHAREAPI const IMECOLORSTY * (IMECDECL*PCSTFIS_CAST)(const IMESTYLE *);
  253. @define pPColorStyleTextFromIMEStyle(a) ((PCSTFIS_CAST)nlsProcTable[iPColorStyleTextFromIMEStyle])(a)
  254. @@ PColorStyleBackFromIMEStyle 1 2 3
  255. typedef IMESHAREAPI const IMECOLORSTY * (IMECDECL*PCSBFIS_CAST)(const IMESTYLE *);
  256. @define pPColorStyleBackFromIMEStyle(a) ((PCSBFIS_CAST)nlsProcTable[iPColorStyleBackFromIMEStyle])(a)
  257. @@ FBoldIMEStyle
  258. typedef IMESHAREAPI BOOL (IMECDECL*FBIS_CAST)(const IMESTYLE *);
  259. @define pFBoldIMEStyle(a) ((FBIS_CAST)nlsProcTable[iFBoldIMEStyle])(a)
  260. @@ FItalicIMEStyle
  261. typedef IMESHAREAPI BOOL (IMECDECL*FIIS_CAST)(const IMESTYLE *);
  262. @define pFItalicIMEStyle(a) ((FIIS_CAST)nlsProcTable[iFItalicIMEStyle])(a)
  263. @@ FUlIMEStyle
  264. typedef IMESHAREAPI BOOL (IMECDECL*FUIS_CAST)(const IMESTYLE *);
  265. @define pFUlIMEStyle(a) ((FUIS_CAST)nlsProcTable[iFUlIMEStyle])(a)
  266. @@ IdUlIMEStyle
  267. typedef IMESHAREAPI UINT (IMECDECL*IUIS_CAST)(const IMESTYLE *);
  268. @define pIdUlIMEStyle(a) ((IUIS_CAST)nlsProcTable[iIdUlIMEStyle])(a)
  269. @@ RGBFromIMEColorStyle
  270. typedef IMESHAREAPI COLORREF (IMECDECL*RFICS_CAST)(const IMECOLORSTY *);
  271. @define pRGBFromIMEColorStyle(a) ((RFICS_CAST)nlsProcTable[iRGBFromIMEColorStyle])(a)