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.

121 lines
3.5 KiB

  1. ;
  2. ; USER2A.ASM
  3. ; More Win16 USER thunks
  4. ;
  5. ; History:
  6. ;
  7. ; Created 25-Jan-1991 by Jeff Parsons (jeffpar)
  8. ; Added Win 31 thunks 22nd-March-1992 by Chandan S. Chauhan (ChandanC)
  9. ; Split off from USER.ASM 9-Jun-92 by BobDay
  10. ;
  11. ;--
  12. TITLE USER2A.ASM
  13. PAGE ,132
  14. .286p
  15. .xlist
  16. include wow.inc
  17. include wowusr.inc
  18. include cmacros.inc
  19. NOEXTERNS=1 ; to suppress including most of the stuff in user.inc
  20. include user.inc
  21. .list
  22. externFP GetModuleHandle
  23. externFP WOW16Call
  24. createSeg _TEXT,CODE,WORD,PUBLIC,CODE
  25. createSeg _DATA,DATA,WORD,PUBLIC,DATA,DGROUP
  26. defgrp DGROUP,DATA
  27. sBegin CODE
  28. assumes CS,CODE
  29. assumes DS,DATA
  30. assumes ES,NOTHING
  31. UserThunk GETUPDATERECT
  32. UserThunk GETUPDATERGN
  33. UserThunk GETWC2
  34. UserThunk GETWINDOWDC
  35. DUserThunk GETWINDOWLONG
  36. UserThunk GETWINDOWTASK
  37. EUserThunk GETWINDOWTEXT ;Use the empty buffer user thunk.
  38. UserThunk GETWINDOWTEXTLENGTH
  39. DUserThunk GETWINDOWWORD
  40. DUserThunk GLOBALADDATOM
  41. DUserThunk GLOBALDELETEATOM
  42. UserThunk GLOBALFINDATOM
  43. DUserThunk GLOBALGETATOMNAME
  44. UserThunk GRAYSTRING
  45. UserThunk HIDECARET
  46. UserThunk HILITEMENUITEM
  47. DUserThunk ICONSIZE ;;;;;;
  48. ;;; UserThunk INFLATERECT ; LOCALAPI in winrect.asm
  49. ;;; DUserThunk INITAPP ;LOCALAPI in user.asm
  50. DUserThunk INSENDMESSAGE,0
  51. UserThunk INSERTMENU
  52. ;;; UserThunk INTERSECTRECT ; LOCALAPI in winrect.asm
  53. UserThunk INVALIDATERECT
  54. UserThunk INVALIDATERGN
  55. UserThunk INVERTRECT
  56. ; Hack to use original IDs. These functions have local implementations
  57. ; that thunk to Win32 if the locale is other than U.S. English.
  58. FUN_WIN32ISCHARALPHA equ FUN_ISCHARALPHA
  59. FUN_WIN32ISCHARALPHANUMERIC equ FUN_ISCHARALPHANUMERIC
  60. FUN_WIN32ISCHARLOWER equ FUN_ISCHARLOWER
  61. FUN_WIN32ISCHARUPPER equ FUN_ISCHARUPPER
  62. DUserThunk WIN32ISCHARALPHA, %(size ISCHARALPHA16)
  63. DUserThunk WIN32ISCHARALPHANUMERIC, %(size ISCHARALPHANUMERIC16)
  64. DUserThunk WIN32ISCHARLOWER, %(size ISCHARLOWER16)
  65. DUserThunk WIN32ISCHARUPPER, %(size ISCHARUPPER16)
  66. DUserThunk ISCLIPBOARDFORMATAVAILABLE
  67. UserThunk ISDIALOGMESSAGE
  68. UserThunk ISDLGBUTTONCHECKED
  69. ;;; UserThunk ISRECTEMPTY ; LOCALAPI in winrect.asm
  70. DUserThunk ISTWOBYTECHARPREFIX ;;;;;;
  71. DUserThunk ISUSERIDLE
  72. DUserThunk KILLSYSTEMTIMER ;;;;;
  73. UserThunk KILLTIMER
  74. UserThunk KILLTIMER2
  75. UserThunk LBOXCARETBLINKER
  76. ;;; UserThunk LBOXCTLWNDPROC ;LOCALAPI in wsubcls.c
  77. ;;; UserThunk LOADACCELERATORS ; localapi in rmload.c
  78. FUN_WOWLOADBITMAP EQU FUN_LOADBITMAP
  79. DUserThunk WOWLOADBITMAP, %(size LOADBITMAP16)
  80. FUN_WOWLOADCURSORICON EQU FUN_LOADCURSOR
  81. DUserThunk WOWLOADCURSORICON, %(size LOADCURSOR16)
  82. ;FUN_WOWLOADICON EQU FUN_LOADICON
  83. ; DUserThunk WOWLOADICON, %(size LOADICON16)
  84. DUserThunk LOADICONHANDLER
  85. FUN_WOWLOADMENU EQU FUN_LOADMENU
  86. DUserThunk WOWLOADMENU, %(size LOADMENU16)
  87. UserThunk LOADMENUINDIRECT
  88. ;;; UserThunk LOADSTRING ;LOCALAPI in rmload.c
  89. DUserThunk LOCKMYTASK
  90. DUserThunk LOOKUPMENUHANDLE
  91. ; Hack to use original IDs. These functions have local implementations
  92. ; that thunk to Win32 if the locale is other than U.S. English.
  93. FUN_WIN32LSTRCMP equ FUN_LSTRCMP
  94. FUN_WIN32LSTRCMPI equ FUN_LSTRCMPI
  95. DUserThunk WIN32LSTRCMP, %(size LSTRCMP16)
  96. DUserThunk WIN32LSTRCMPI, %(size LSTRCMPI16)
  97. sEnd CODE
  98. end